Skip to content

Commit

Permalink
[sherlock-build] generated from bda5ee7
Browse files Browse the repository at this point in the history
  • Loading branch information
broadbot committed Jun 3, 2024
1 parent bda5ee7 commit 7e47628
Show file tree
Hide file tree
Showing 12 changed files with 110 additions and 5 deletions.

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.

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.6
## @sherlock-js-client/sherlock@v1.4.7

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/[email protected].6 --save
npm install @sherlock-js-client/[email protected].7 --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.6",
"version": "v1.4.7",
"description": "OpenAPI client for @sherlock-js-client/sherlock",
"author": "OpenAPI-Generator",
"repository": {
Expand Down
5 changes: 5 additions & 0 deletions sherlock-typescript-client/src/apis/RoleAssignmentsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import {

export interface ApiRoleAssignmentsV3GetRequest {
expiresAt?: Date;
expiresIn?: string;
suspended?: boolean;
limit?: number;
offset?: number;
Expand Down Expand Up @@ -73,6 +74,10 @@ export class RoleAssignmentsApi extends runtime.BaseAPI {
queryParameters['expiresAt'] = (requestParameters['expiresAt'] as any).toISOString();
}

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

if (requestParameters['suspended'] != null) {
queryParameters['suspended'] = requestParameters['suspended'];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ export interface SherlockRoleAssignmentV3 {
* @memberof SherlockRoleAssignmentV3
*/
expiresAt?: Date;
/**
* A Go time.Duration string that will be added to the current time to attempt to set expiresAt (this may be more convenient than setting expiresAt directly)
* @type {string}
* @memberof SherlockRoleAssignmentV3
*/
expiresIn?: string;
/**
*
* @type {object}
Expand Down Expand Up @@ -63,6 +69,7 @@ export function SherlockRoleAssignmentV3FromJSONTyped(json: any, ignoreDiscrimin
return {

'expiresAt': json['expiresAt'] == null ? undefined : (new Date(json['expiresAt'])),
'expiresIn': json['expiresIn'] == null ? undefined : json['expiresIn'],
'roleInfo': json['roleInfo'] == null ? undefined : json['roleInfo'],
'suspended': json['suspended'] == null ? undefined : json['suspended'],
'userInfo': json['userInfo'] == null ? undefined : json['userInfo'],
Expand All @@ -76,6 +83,7 @@ export function SherlockRoleAssignmentV3ToJSON(value?: SherlockRoleAssignmentV3
return {

'expiresAt': value['expiresAt'] == null ? undefined : ((value['expiresAt']).toISOString()),
'expiresIn': value['expiresIn'],
'roleInfo': value['roleInfo'],
'suspended': value['suspended'],
'userInfo': value['userInfo'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ export interface SherlockRoleAssignmentV3Edit {
* @memberof SherlockRoleAssignmentV3Edit
*/
expiresAt?: Date;
/**
* A Go time.Duration string that will be added to the current time to attempt to set expiresAt (this may be more convenient than setting expiresAt directly)
* @type {string}
* @memberof SherlockRoleAssignmentV3Edit
*/
expiresIn?: string;
/**
*
* @type {boolean}
Expand All @@ -51,6 +57,7 @@ export function SherlockRoleAssignmentV3EditFromJSONTyped(json: any, ignoreDiscr
return {

'expiresAt': json['expiresAt'] == null ? undefined : (new Date(json['expiresAt'])),
'expiresIn': json['expiresIn'] == null ? undefined : json['expiresIn'],
'suspended': json['suspended'] == null ? undefined : json['suspended'],
};
}
Expand All @@ -62,6 +69,7 @@ export function SherlockRoleAssignmentV3EditToJSON(value?: SherlockRoleAssignmen
return {

'expiresAt': value['expiresAt'] == null ? undefined : ((value['expiresAt']).toISOString()),
'expiresIn': value['expiresIn'],
'suspended': value['suspended'],
};
}
Expand Down
14 changes: 14 additions & 0 deletions sherlock/docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -6590,6 +6590,12 @@ const docTemplate = `{
"name": "expiresAt",
"in": "query"
},
{
"type": "string",
"description": "A Go time.Duration string that will be added to the current time to attempt to set expiresAt (this may be more convenient than setting expiresAt directly)",
"name": "expiresIn",
"in": "query"
},
{
"type": "boolean",
"default": false,
Expand Down Expand Up @@ -9793,6 +9799,10 @@ const docTemplate = `{
"type": "string",
"format": "date-time"
},
"expiresIn": {
"description": "A Go time.Duration string that will be added to the current time to attempt to set expiresAt (this may be more convenient than setting expiresAt directly)",
"type": "string"
},
"roleInfo": {
"type": "object"
},
Expand All @@ -9812,6 +9822,10 @@ const docTemplate = `{
"type": "string",
"format": "date-time"
},
"expiresIn": {
"description": "A Go time.Duration string that will be added to the current time to attempt to set expiresAt (this may be more convenient than setting expiresAt directly)",
"type": "string"
},
"suspended": {
"type": "boolean",
"default": false
Expand Down
14 changes: 14 additions & 0 deletions sherlock/docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -6586,6 +6586,12 @@
"name": "expiresAt",
"in": "query"
},
{
"type": "string",
"description": "A Go time.Duration string that will be added to the current time to attempt to set expiresAt (this may be more convenient than setting expiresAt directly)",
"name": "expiresIn",
"in": "query"
},
{
"type": "boolean",
"default": false,
Expand Down Expand Up @@ -9789,6 +9795,10 @@
"type": "string",
"format": "date-time"
},
"expiresIn": {
"description": "A Go time.Duration string that will be added to the current time to attempt to set expiresAt (this may be more convenient than setting expiresAt directly)",
"type": "string"
},
"roleInfo": {
"type": "object"
},
Expand All @@ -9808,6 +9818,10 @@
"type": "string",
"format": "date-time"
},
"expiresIn": {
"description": "A Go time.Duration string that will be added to the current time to attempt to set expiresAt (this may be more convenient than setting expiresAt directly)",
"type": "string"
},
"suspended": {
"type": "boolean",
"default": false
Expand Down
16 changes: 16 additions & 0 deletions sherlock/docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1552,6 +1552,11 @@ definitions:
expiresAt:
format: date-time
type: string
expiresIn:
description: A Go time.Duration string that will be added to the current time
to attempt to set expiresAt (this may be more convenient than setting expiresAt
directly)
type: string
roleInfo:
type: object
suspended:
Expand All @@ -1565,6 +1570,11 @@ definitions:
expiresAt:
format: date-time
type: string
expiresIn:
description: A Go time.Duration string that will be added to the current time
to attempt to set expiresAt (this may be more convenient than setting expiresAt
directly)
type: string
suspended:
default: false
type: boolean
Expand Down Expand Up @@ -6188,6 +6198,12 @@ paths:
in: query
name: expiresAt
type: string
- description: A Go time.Duration string that will be added to the current time
to attempt to set expiresAt (this may be more convenient than setting expiresAt
directly)
in: query
name: expiresIn
type: string
- default: false
in: query
name: suspended
Expand Down

0 comments on commit 7e47628

Please sign in to comment.