Skip to content

Commit

Permalink
[sherlock-build] generated from 1ed3827
Browse files Browse the repository at this point in the history
  • Loading branch information
broadbot committed Jun 11, 2024
1 parent 1ed3827 commit dba2d3c
Show file tree
Hide file tree
Showing 15 changed files with 302 additions and 29 deletions.
9 changes: 9 additions & 0 deletions sherlock-go-client/client/models/sherlock_role_v3.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions sherlock-go-client/client/models/sherlock_role_v3_edit.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

93 changes: 93 additions & 0 deletions sherlock-go-client/client/roles/get_api_roles_v3_parameters.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions sherlock-go-client/client/roles/roles_client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions sherlock-typescript-client/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## @sherlock-js-client/sherlock@v1.4.10
## @sherlock-js-client/sherlock@v1.5.0

This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:

Expand Down Expand Up @@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
_published:_

```
npm install @sherlock-js-client/sherlock@v1.4.10 --save
npm install @sherlock-js-client/sherlock@v1.5.0 --save
```

_unPublished (not recommended):_
Expand Down
4 changes: 2 additions & 2 deletions sherlock-typescript-client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sherlock-typescript-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sherlock-js-client/sherlock",
"version": "v1.4.10",
"version": "v1.5.0",
"description": "OpenAPI client for @sherlock-js-client/sherlock",
"author": "OpenAPI-Generator",
"repository": {
Expand Down
12 changes: 6 additions & 6 deletions sherlock-typescript-client/src/apis/RoleAssignmentsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export class RoleAssignmentsApi extends runtime.BaseAPI {
}

/**
* Delete the RoleAssignment between a given Role and User. Non-super-admins may only mutate RoleAssignments for themselves, only for roles they can break-glass into, and only with an expiry no further than the role\'s default break-glass duration in the future.
* Delete the RoleAssignment between a given Role and User. Non-super-admins may only mutate RoleAssignments for themselves, only for roles they can break-glass into, and only with an expiry no further than the role\'s default break-glass duration in the future. Propagation will be triggered after this operation.
* Delete a RoleAssignment
*/
async apiRoleAssignmentsV3RoleSelectorUserSelectorDeleteRaw(requestParameters: ApiRoleAssignmentsV3RoleSelectorUserSelectorDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
Expand Down Expand Up @@ -145,7 +145,7 @@ export class RoleAssignmentsApi extends runtime.BaseAPI {
}

/**
* Delete the RoleAssignment between a given Role and User. Non-super-admins may only mutate RoleAssignments for themselves, only for roles they can break-glass into, and only with an expiry no further than the role\'s default break-glass duration in the future.
* Delete the RoleAssignment between a given Role and User. Non-super-admins may only mutate RoleAssignments for themselves, only for roles they can break-glass into, and only with an expiry no further than the role\'s default break-glass duration in the future. Propagation will be triggered after this operation.
* Delete a RoleAssignment
*/
async apiRoleAssignmentsV3RoleSelectorUserSelectorDelete(requestParameters: ApiRoleAssignmentsV3RoleSelectorUserSelectorDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
Expand Down Expand Up @@ -195,7 +195,7 @@ export class RoleAssignmentsApi extends runtime.BaseAPI {
}

/**
* Edit the RoleAssignment between a given Role and User. Non-super-admins may only mutate RoleAssignments for themselves, only for roles they can break-glass into, and only with an expiry no further than the role\'s default break-glass duration in the future.
* Edit the RoleAssignment between a given Role and User. Non-super-admins may only mutate RoleAssignments for themselves, only for roles they can break-glass into, and only with an expiry no further than the role\'s default break-glass duration in the future. Propagation will be triggered after this operation.
* Edit a RoleAssignment
*/
async apiRoleAssignmentsV3RoleSelectorUserSelectorPatchRaw(requestParameters: ApiRoleAssignmentsV3RoleSelectorUserSelectorPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SherlockRoleAssignmentV3>> {
Expand Down Expand Up @@ -238,7 +238,7 @@ export class RoleAssignmentsApi extends runtime.BaseAPI {
}

/**
* Edit the RoleAssignment between a given Role and User. Non-super-admins may only mutate RoleAssignments for themselves, only for roles they can break-glass into, and only with an expiry no further than the role\'s default break-glass duration in the future.
* Edit the RoleAssignment between a given Role and User. Non-super-admins may only mutate RoleAssignments for themselves, only for roles they can break-glass into, and only with an expiry no further than the role\'s default break-glass duration in the future. Propagation will be triggered after this operation.
* Edit a RoleAssignment
*/
async apiRoleAssignmentsV3RoleSelectorUserSelectorPatch(requestParameters: ApiRoleAssignmentsV3RoleSelectorUserSelectorPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SherlockRoleAssignmentV3> {
Expand All @@ -247,7 +247,7 @@ export class RoleAssignmentsApi extends runtime.BaseAPI {
}

/**
* Create the RoleAssignment between a given Role and User. Non-super-admins may only mutate RoleAssignments for themselves, only for roles they can break-glass into, and only with an expiry no further than the role\'s default break-glass duration in the future.
* Create the RoleAssignment between a given Role and User. Non-super-admins may only mutate RoleAssignments for themselves, only for roles they can break-glass into, and only with an expiry no further than the role\'s default break-glass duration in the future. Propagation will be triggered after this operation.
* Create a RoleAssignment
*/
async apiRoleAssignmentsV3RoleSelectorUserSelectorPostRaw(requestParameters: ApiRoleAssignmentsV3RoleSelectorUserSelectorPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SherlockRoleAssignmentV3>> {
Expand Down Expand Up @@ -290,7 +290,7 @@ export class RoleAssignmentsApi extends runtime.BaseAPI {
}

/**
* Create the RoleAssignment between a given Role and User. Non-super-admins may only mutate RoleAssignments for themselves, only for roles they can break-glass into, and only with an expiry no further than the role\'s default break-glass duration in the future.
* Create the RoleAssignment between a given Role and User. Non-super-admins may only mutate RoleAssignments for themselves, only for roles they can break-glass into, and only with an expiry no further than the role\'s default break-glass duration in the future. Propagation will be triggered after this operation.
* Create a RoleAssignment
*/
async apiRoleAssignmentsV3RoleSelectorUserSelectorPost(requestParameters: ApiRoleAssignmentsV3RoleSelectorUserSelectorPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SherlockRoleAssignmentV3> {
Expand Down
27 changes: 21 additions & 6 deletions sherlock-typescript-client/src/apis/RolesApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ export interface ApiRolesV3GetRequest {
defaultGlassBreakDuration?: string;
grantsDevAzureGroup?: string;
grantsDevFirecloudGroup?: string;
grantsProdAzureGroup?: string;
grantsProdFirecloudGroup?: string;
grantsQaFirecloudGroup?: string;
grantsSherlockSuperAdmin?: boolean;
id?: number;
name?: string;
Expand Down Expand Up @@ -92,6 +95,18 @@ export class RolesApi extends runtime.BaseAPI {
queryParameters['grantsDevFirecloudGroup'] = requestParameters['grantsDevFirecloudGroup'];
}

if (requestParameters['grantsProdAzureGroup'] != null) {
queryParameters['grantsProdAzureGroup'] = requestParameters['grantsProdAzureGroup'];
}

if (requestParameters['grantsProdFirecloudGroup'] != null) {
queryParameters['grantsProdFirecloudGroup'] = requestParameters['grantsProdFirecloudGroup'];
}

if (requestParameters['grantsQaFirecloudGroup'] != null) {
queryParameters['grantsQaFirecloudGroup'] = requestParameters['grantsQaFirecloudGroup'];
}

if (requestParameters['grantsSherlockSuperAdmin'] != null) {
queryParameters['grantsSherlockSuperAdmin'] = requestParameters['grantsSherlockSuperAdmin'];
}
Expand Down Expand Up @@ -142,7 +157,7 @@ export class RolesApi extends runtime.BaseAPI {
}

/**
* Create an individual Role with no one assigned to it. Only super-admins may mutate Roles.
* Create an individual Role with no one assigned to it. Only super-admins may mutate Roles. Propagation will be triggered after this operation.
* Create a Role
*/
async apiRolesV3PostRaw(requestParameters: ApiRolesV3PostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SherlockRoleV3>> {
Expand Down Expand Up @@ -171,7 +186,7 @@ export class RolesApi extends runtime.BaseAPI {
}

/**
* Create an individual Role with no one assigned to it. Only super-admins may mutate Roles.
* Create an individual Role with no one assigned to it. Only super-admins may mutate Roles. Propagation will be triggered after this operation.
* Create a Role
*/
async apiRolesV3Post(requestParameters: ApiRolesV3PostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SherlockRoleV3> {
Expand All @@ -180,7 +195,7 @@ export class RolesApi extends runtime.BaseAPI {
}

/**
* Delete an individual Role. Only super-admins may mutate Roles.
* Delete an individual Role. Only super-admins may mutate Roles. Propagation will NOT be triggered after this operation -- the grants will become un-managed by Sherlock and left as-is. Remove role assignments first to remove users from grants.
* Delete a Role
*/
async apiRolesV3SelectorDeleteRaw(requestParameters: ApiRolesV3SelectorDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SherlockRoleV3>> {
Expand All @@ -206,7 +221,7 @@ export class RolesApi extends runtime.BaseAPI {
}

/**
* Delete an individual Role. Only super-admins may mutate Roles.
* Delete an individual Role. Only super-admins may mutate Roles. Propagation will NOT be triggered after this operation -- the grants will become un-managed by Sherlock and left as-is. Remove role assignments first to remove users from grants.
* Delete a Role
*/
async apiRolesV3SelectorDelete(requestParameters: ApiRolesV3SelectorDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SherlockRoleV3> {
Expand Down Expand Up @@ -250,7 +265,7 @@ export class RolesApi extends runtime.BaseAPI {
}

/**
* Edit an individual Role. Only super-admins may mutate Roles.
* Edit an individual Role. Only super-admins may mutate Roles. Propagation will be triggered after this operation.
* Edit a Role
*/
async apiRolesV3SelectorPatchRaw(requestParameters: ApiRolesV3SelectorPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SherlockRoleV3>> {
Expand Down Expand Up @@ -286,7 +301,7 @@ export class RolesApi extends runtime.BaseAPI {
}

/**
* Edit an individual Role. Only super-admins may mutate Roles.
* Edit an individual Role. Only super-admins may mutate Roles. Propagation will be triggered after this operation.
* Edit a Role
*/
async apiRolesV3SelectorPatch(requestParameters: ApiRolesV3SelectorPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SherlockRoleV3> {
Expand Down
Loading

0 comments on commit dba2d3c

Please sign in to comment.