diff --git a/sherlock-go-client/client/models/sherlock_role_assignment_v3.go b/sherlock-go-client/client/models/sherlock_role_assignment_v3.go index ea738d60c..156c896ae 100644 --- a/sherlock-go-client/client/models/sherlock_role_assignment_v3.go +++ b/sherlock-go-client/client/models/sherlock_role_assignment_v3.go @@ -27,7 +27,7 @@ type SherlockRoleAssignmentV3 struct { RoleInfo interface{} `json:"roleInfo,omitempty"` // suspended - Suspended bool `json:"suspended,omitempty"` + Suspended *bool `json:"suspended,omitempty"` // user info UserInfo interface{} `json:"userInfo,omitempty"` diff --git a/sherlock-go-client/client/models/sherlock_role_assignment_v3_edit.go b/sherlock-go-client/client/models/sherlock_role_assignment_v3_edit.go index 9171bfeb0..99ef6f268 100644 --- a/sherlock-go-client/client/models/sherlock_role_assignment_v3_edit.go +++ b/sherlock-go-client/client/models/sherlock_role_assignment_v3_edit.go @@ -24,7 +24,7 @@ type SherlockRoleAssignmentV3Edit struct { ExpiresAt strfmt.DateTime `json:"expiresAt,omitempty"` // suspended - Suspended bool `json:"suspended,omitempty"` + Suspended *bool `json:"suspended,omitempty"` } // Validate validates this sherlock role assignment v3 edit diff --git a/sherlock-go-client/client/role_assignments/get_api_role_assignments_v3_parameters.go b/sherlock-go-client/client/role_assignments/get_api_role_assignments_v3_parameters.go index 0de585608..0d6f73cd6 100644 --- a/sherlock-go-client/client/role_assignments/get_api_role_assignments_v3_parameters.go +++ b/sherlock-go-client/client/role_assignments/get_api_role_assignments_v3_parameters.go @@ -97,7 +97,18 @@ func (o *GetAPIRoleAssignmentsV3Params) WithDefaults() *GetAPIRoleAssignmentsV3P // // All values with no default are reset to their zero value. func (o *GetAPIRoleAssignmentsV3Params) SetDefaults() { - // no default values defined for this parameter + var ( + suspendedDefault = bool(false) + ) + + val := GetAPIRoleAssignmentsV3Params{ + Suspended: &suspendedDefault, + } + + val.timeout = o.timeout + val.Context = o.Context + val.HTTPClient = o.HTTPClient + *o = val } // WithTimeout adds the timeout to the get API role assignments v3 params diff --git a/sherlock-typescript-client/.openapi-generator/VERSION b/sherlock-typescript-client/.openapi-generator/VERSION index ecb21862b..7e7b8b9bc 100644 --- a/sherlock-typescript-client/.openapi-generator/VERSION +++ b/sherlock-typescript-client/.openapi-generator/VERSION @@ -1 +1 @@ -7.6.0-SNAPSHOT +7.7.0-SNAPSHOT diff --git a/sherlock-typescript-client/README.md b/sherlock-typescript-client/README.md index 80eb7a980..390a99583 100644 --- a/sherlock-typescript-client/README.md +++ b/sherlock-typescript-client/README.md @@ -1,4 +1,4 @@ -## @sherlock-js-client/sherlock@v1.4.2 +## @sherlock-js-client/sherlock@v1.4.3 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: @@ -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.2 --save +npm install @sherlock-js-client/sherlock@v1.4.3 --save ``` _unPublished (not recommended):_ diff --git a/sherlock-typescript-client/package-lock.json b/sherlock-typescript-client/package-lock.json index 1e60ca979..69333be9c 100644 --- a/sherlock-typescript-client/package-lock.json +++ b/sherlock-typescript-client/package-lock.json @@ -1,14 +1,14 @@ { "name": "@sherlock-js-client/sherlock", - "version": "v1.4.2", + "version": "v1.4.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@sherlock-js-client/sherlock", - "version": "v1.4.2", + "version": "v1.4.3", "devDependencies": { - "typescript": "^4.0" + "typescript": "^4.0 || ^5.0" } }, "node_modules/typescript": { diff --git a/sherlock-typescript-client/package.json b/sherlock-typescript-client/package.json index 816e49ec3..32db5ebf7 100644 --- a/sherlock-typescript-client/package.json +++ b/sherlock-typescript-client/package.json @@ -1,6 +1,6 @@ { "name": "@sherlock-js-client/sherlock", - "version": "v1.4.2", + "version": "v1.4.3", "description": "OpenAPI client for @sherlock-js-client/sherlock", "author": "OpenAPI-Generator", "repository": { @@ -16,6 +16,6 @@ "prepare": "npm run build" }, "devDependencies": { - "typescript": "^4.0" + "typescript": "^4.0 || ^5.0" } } diff --git a/sherlock-typescript-client/src/models/ErrorsErrorResponse.ts b/sherlock-typescript-client/src/models/ErrorsErrorResponse.ts index c3636a147..308a930eb 100644 --- a/sherlock-typescript-client/src/models/ErrorsErrorResponse.ts +++ b/sherlock-typescript-client/src/models/ErrorsErrorResponse.ts @@ -42,7 +42,7 @@ export interface ErrorsErrorResponse { /** * Check if a given object implements the ErrorsErrorResponse interface. */ -export function instanceOfErrorsErrorResponse(value: object): boolean { +export function instanceOfErrorsErrorResponse(value: object): value is ErrorsErrorResponse { return true; } diff --git a/sherlock-typescript-client/src/models/MiscConnectionCheckResponse.ts b/sherlock-typescript-client/src/models/MiscConnectionCheckResponse.ts index e96e21b0e..4e5e013f2 100644 --- a/sherlock-typescript-client/src/models/MiscConnectionCheckResponse.ts +++ b/sherlock-typescript-client/src/models/MiscConnectionCheckResponse.ts @@ -30,7 +30,7 @@ export interface MiscConnectionCheckResponse { /** * Check if a given object implements the MiscConnectionCheckResponse interface. */ -export function instanceOfMiscConnectionCheckResponse(value: object): boolean { +export function instanceOfMiscConnectionCheckResponse(value: object): value is MiscConnectionCheckResponse { return true; } diff --git a/sherlock-typescript-client/src/models/MiscStatusResponse.ts b/sherlock-typescript-client/src/models/MiscStatusResponse.ts index a9fef21d0..234bff04d 100644 --- a/sherlock-typescript-client/src/models/MiscStatusResponse.ts +++ b/sherlock-typescript-client/src/models/MiscStatusResponse.ts @@ -30,7 +30,7 @@ export interface MiscStatusResponse { /** * Check if a given object implements the MiscStatusResponse interface. */ -export function instanceOfMiscStatusResponse(value: object): boolean { +export function instanceOfMiscStatusResponse(value: object): value is MiscStatusResponse { return true; } diff --git a/sherlock-typescript-client/src/models/MiscVersionResponse.ts b/sherlock-typescript-client/src/models/MiscVersionResponse.ts index 9af01b528..b180b0d57 100644 --- a/sherlock-typescript-client/src/models/MiscVersionResponse.ts +++ b/sherlock-typescript-client/src/models/MiscVersionResponse.ts @@ -42,7 +42,7 @@ export interface MiscVersionResponse { /** * Check if a given object implements the MiscVersionResponse interface. */ -export function instanceOfMiscVersionResponse(value: object): boolean { +export function instanceOfMiscVersionResponse(value: object): value is MiscVersionResponse { return true; } diff --git a/sherlock-typescript-client/src/models/PagerdutyAlertSummary.ts b/sherlock-typescript-client/src/models/PagerdutyAlertSummary.ts index 6404c9f36..0d9cf2d16 100644 --- a/sherlock-typescript-client/src/models/PagerdutyAlertSummary.ts +++ b/sherlock-typescript-client/src/models/PagerdutyAlertSummary.ts @@ -36,7 +36,7 @@ export interface PagerdutyAlertSummary { /** * Check if a given object implements the PagerdutyAlertSummary interface. */ -export function instanceOfPagerdutyAlertSummary(value: object): boolean { +export function instanceOfPagerdutyAlertSummary(value: object): value is PagerdutyAlertSummary { return true; } diff --git a/sherlock-typescript-client/src/models/PagerdutySendAlertResponse.ts b/sherlock-typescript-client/src/models/PagerdutySendAlertResponse.ts index 0356a5a29..c9906ef32 100644 --- a/sherlock-typescript-client/src/models/PagerdutySendAlertResponse.ts +++ b/sherlock-typescript-client/src/models/PagerdutySendAlertResponse.ts @@ -36,7 +36,7 @@ export interface PagerdutySendAlertResponse { /** * Check if a given object implements the PagerdutySendAlertResponse interface. */ -export function instanceOfPagerdutySendAlertResponse(value: object): boolean { +export function instanceOfPagerdutySendAlertResponse(value: object): value is PagerdutySendAlertResponse { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockAppVersionV3.ts b/sherlock-typescript-client/src/models/SherlockAppVersionV3.ts index 27d0305b2..9e9a2aba8 100644 --- a/sherlock-typescript-client/src/models/SherlockAppVersionV3.ts +++ b/sherlock-typescript-client/src/models/SherlockAppVersionV3.ts @@ -127,7 +127,7 @@ export interface SherlockAppVersionV3 { /** * Check if a given object implements the SherlockAppVersionV3 interface. */ -export function instanceOfSherlockAppVersionV3(value: object): boolean { +export function instanceOfSherlockAppVersionV3(value: object): value is SherlockAppVersionV3 { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockAppVersionV3ChangelogResponse.ts b/sherlock-typescript-client/src/models/SherlockAppVersionV3ChangelogResponse.ts index ea0d4c46c..cd6c342c2 100644 --- a/sherlock-typescript-client/src/models/SherlockAppVersionV3ChangelogResponse.ts +++ b/sherlock-typescript-client/src/models/SherlockAppVersionV3ChangelogResponse.ts @@ -43,7 +43,7 @@ export interface SherlockAppVersionV3ChangelogResponse { /** * Check if a given object implements the SherlockAppVersionV3ChangelogResponse interface. */ -export function instanceOfSherlockAppVersionV3ChangelogResponse(value: object): boolean { +export function instanceOfSherlockAppVersionV3ChangelogResponse(value: object): value is SherlockAppVersionV3ChangelogResponse { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockAppVersionV3Create.ts b/sherlock-typescript-client/src/models/SherlockAppVersionV3Create.ts index 954e9ffa3..a973a19b8 100644 --- a/sherlock-typescript-client/src/models/SherlockAppVersionV3Create.ts +++ b/sherlock-typescript-client/src/models/SherlockAppVersionV3Create.ts @@ -60,7 +60,7 @@ export interface SherlockAppVersionV3Create { /** * Check if a given object implements the SherlockAppVersionV3Create interface. */ -export function instanceOfSherlockAppVersionV3Create(value: object): boolean { +export function instanceOfSherlockAppVersionV3Create(value: object): value is SherlockAppVersionV3Create { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockAppVersionV3Edit.ts b/sherlock-typescript-client/src/models/SherlockAppVersionV3Edit.ts index a392e89e4..9daabe2c0 100644 --- a/sherlock-typescript-client/src/models/SherlockAppVersionV3Edit.ts +++ b/sherlock-typescript-client/src/models/SherlockAppVersionV3Edit.ts @@ -30,7 +30,7 @@ export interface SherlockAppVersionV3Edit { /** * Check if a given object implements the SherlockAppVersionV3Edit interface. */ -export function instanceOfSherlockAppVersionV3Edit(value: object): boolean { +export function instanceOfSherlockAppVersionV3Edit(value: object): value is SherlockAppVersionV3Edit { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockChangesetV3.ts b/sherlock-typescript-client/src/models/SherlockChangesetV3.ts index e5b3fdb85..9ec264710 100644 --- a/sherlock-typescript-client/src/models/SherlockChangesetV3.ts +++ b/sherlock-typescript-client/src/models/SherlockChangesetV3.ts @@ -295,7 +295,7 @@ export interface SherlockChangesetV3 { /** * Check if a given object implements the SherlockChangesetV3 interface. */ -export function instanceOfSherlockChangesetV3(value: object): boolean { +export function instanceOfSherlockChangesetV3(value: object): value is SherlockChangesetV3 { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockChangesetV3PlanRequest.ts b/sherlock-typescript-client/src/models/SherlockChangesetV3PlanRequest.ts index 6ff3e92d7..1ffaf7947 100644 --- a/sherlock-typescript-client/src/models/SherlockChangesetV3PlanRequest.ts +++ b/sherlock-typescript-client/src/models/SherlockChangesetV3PlanRequest.ts @@ -55,7 +55,7 @@ export interface SherlockChangesetV3PlanRequest { /** * Check if a given object implements the SherlockChangesetV3PlanRequest interface. */ -export function instanceOfSherlockChangesetV3PlanRequest(value: object): boolean { +export function instanceOfSherlockChangesetV3PlanRequest(value: object): value is SherlockChangesetV3PlanRequest { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockChangesetV3PlanRequestChartReleaseEntry.ts b/sherlock-typescript-client/src/models/SherlockChangesetV3PlanRequestChartReleaseEntry.ts index ef1258aed..1a13e1362 100644 --- a/sherlock-typescript-client/src/models/SherlockChangesetV3PlanRequestChartReleaseEntry.ts +++ b/sherlock-typescript-client/src/models/SherlockChangesetV3PlanRequestChartReleaseEntry.ts @@ -102,7 +102,7 @@ export interface SherlockChangesetV3PlanRequestChartReleaseEntry { /** * Check if a given object implements the SherlockChangesetV3PlanRequestChartReleaseEntry interface. */ -export function instanceOfSherlockChangesetV3PlanRequestChartReleaseEntry(value: object): boolean { +export function instanceOfSherlockChangesetV3PlanRequestChartReleaseEntry(value: object): value is SherlockChangesetV3PlanRequestChartReleaseEntry { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockChangesetV3PlanRequestEnvironmentEntry.ts b/sherlock-typescript-client/src/models/SherlockChangesetV3PlanRequestEnvironmentEntry.ts index bd9ff1d1c..f9e22b171 100644 --- a/sherlock-typescript-client/src/models/SherlockChangesetV3PlanRequestEnvironmentEntry.ts +++ b/sherlock-typescript-client/src/models/SherlockChangesetV3PlanRequestEnvironmentEntry.ts @@ -54,7 +54,7 @@ export interface SherlockChangesetV3PlanRequestEnvironmentEntry { /** * Check if a given object implements the SherlockChangesetV3PlanRequestEnvironmentEntry interface. */ -export function instanceOfSherlockChangesetV3PlanRequestEnvironmentEntry(value: object): boolean { +export function instanceOfSherlockChangesetV3PlanRequestEnvironmentEntry(value: object): value is SherlockChangesetV3PlanRequestEnvironmentEntry { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockChartReleaseV3.ts b/sherlock-typescript-client/src/models/SherlockChartReleaseV3.ts index 848684e57..25dc2095a 100644 --- a/sherlock-typescript-client/src/models/SherlockChartReleaseV3.ts +++ b/sherlock-typescript-client/src/models/SherlockChartReleaseV3.ts @@ -295,7 +295,7 @@ export type SherlockChartReleaseV3ChartVersionResolverEnum = typeof SherlockChar /** * Check if a given object implements the SherlockChartReleaseV3 interface. */ -export function instanceOfSherlockChartReleaseV3(value: object): boolean { +export function instanceOfSherlockChartReleaseV3(value: object): value is SherlockChartReleaseV3 { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockChartReleaseV3Create.ts b/sherlock-typescript-client/src/models/SherlockChartReleaseV3Create.ts index 1405e8acc..338ed24c2 100644 --- a/sherlock-typescript-client/src/models/SherlockChartReleaseV3Create.ts +++ b/sherlock-typescript-client/src/models/SherlockChartReleaseV3Create.ts @@ -168,7 +168,7 @@ export type SherlockChartReleaseV3CreateChartVersionResolverEnum = typeof Sherlo /** * Check if a given object implements the SherlockChartReleaseV3Create interface. */ -export function instanceOfSherlockChartReleaseV3Create(value: object): boolean { +export function instanceOfSherlockChartReleaseV3Create(value: object): value is SherlockChartReleaseV3Create { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockChartReleaseV3Edit.ts b/sherlock-typescript-client/src/models/SherlockChartReleaseV3Edit.ts index 5022724d0..25c5fc005 100644 --- a/sherlock-typescript-client/src/models/SherlockChartReleaseV3Edit.ts +++ b/sherlock-typescript-client/src/models/SherlockChartReleaseV3Edit.ts @@ -54,7 +54,7 @@ export interface SherlockChartReleaseV3Edit { /** * Check if a given object implements the SherlockChartReleaseV3Edit interface. */ -export function instanceOfSherlockChartReleaseV3Edit(value: object): boolean { +export function instanceOfSherlockChartReleaseV3Edit(value: object): value is SherlockChartReleaseV3Edit { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockChartV3.ts b/sherlock-typescript-client/src/models/SherlockChartV3.ts index 43e6a601f..043850eb7 100644 --- a/sherlock-typescript-client/src/models/SherlockChartV3.ts +++ b/sherlock-typescript-client/src/models/SherlockChartV3.ts @@ -121,7 +121,7 @@ export interface SherlockChartV3 { /** * Check if a given object implements the SherlockChartV3 interface. */ -export function instanceOfSherlockChartV3(value: object): boolean { +export function instanceOfSherlockChartV3(value: object): value is SherlockChartV3 { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockChartV3Create.ts b/sherlock-typescript-client/src/models/SherlockChartV3Create.ts index 02556879c..1e76a10e4 100644 --- a/sherlock-typescript-client/src/models/SherlockChartV3Create.ts +++ b/sherlock-typescript-client/src/models/SherlockChartV3Create.ts @@ -90,7 +90,7 @@ export interface SherlockChartV3Create { /** * Check if a given object implements the SherlockChartV3Create interface. */ -export function instanceOfSherlockChartV3Create(value: object): boolean { +export function instanceOfSherlockChartV3Create(value: object): value is SherlockChartV3Create { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockChartV3Edit.ts b/sherlock-typescript-client/src/models/SherlockChartV3Edit.ts index 2dc0890c3..a44244a66 100644 --- a/sherlock-typescript-client/src/models/SherlockChartV3Edit.ts +++ b/sherlock-typescript-client/src/models/SherlockChartV3Edit.ts @@ -84,7 +84,7 @@ export interface SherlockChartV3Edit { /** * Check if a given object implements the SherlockChartV3Edit interface. */ -export function instanceOfSherlockChartV3Edit(value: object): boolean { +export function instanceOfSherlockChartV3Edit(value: object): value is SherlockChartV3Edit { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockChartVersionV3.ts b/sherlock-typescript-client/src/models/SherlockChartVersionV3.ts index 9feb213b6..1e47905ba 100644 --- a/sherlock-typescript-client/src/models/SherlockChartVersionV3.ts +++ b/sherlock-typescript-client/src/models/SherlockChartVersionV3.ts @@ -115,7 +115,7 @@ export interface SherlockChartVersionV3 { /** * Check if a given object implements the SherlockChartVersionV3 interface. */ -export function instanceOfSherlockChartVersionV3(value: object): boolean { +export function instanceOfSherlockChartVersionV3(value: object): value is SherlockChartVersionV3 { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockChartVersionV3ChangelogResponse.ts b/sherlock-typescript-client/src/models/SherlockChartVersionV3ChangelogResponse.ts index b00204acd..60bad037d 100644 --- a/sherlock-typescript-client/src/models/SherlockChartVersionV3ChangelogResponse.ts +++ b/sherlock-typescript-client/src/models/SherlockChartVersionV3ChangelogResponse.ts @@ -43,7 +43,7 @@ export interface SherlockChartVersionV3ChangelogResponse { /** * Check if a given object implements the SherlockChartVersionV3ChangelogResponse interface. */ -export function instanceOfSherlockChartVersionV3ChangelogResponse(value: object): boolean { +export function instanceOfSherlockChartVersionV3ChangelogResponse(value: object): value is SherlockChartVersionV3ChangelogResponse { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockChartVersionV3Create.ts b/sherlock-typescript-client/src/models/SherlockChartVersionV3Create.ts index 9a624926b..44a27352b 100644 --- a/sherlock-typescript-client/src/models/SherlockChartVersionV3Create.ts +++ b/sherlock-typescript-client/src/models/SherlockChartVersionV3Create.ts @@ -48,7 +48,7 @@ export interface SherlockChartVersionV3Create { /** * Check if a given object implements the SherlockChartVersionV3Create interface. */ -export function instanceOfSherlockChartVersionV3Create(value: object): boolean { +export function instanceOfSherlockChartVersionV3Create(value: object): value is SherlockChartVersionV3Create { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockChartVersionV3Edit.ts b/sherlock-typescript-client/src/models/SherlockChartVersionV3Edit.ts index 1e6b8ea35..a3b898d12 100644 --- a/sherlock-typescript-client/src/models/SherlockChartVersionV3Edit.ts +++ b/sherlock-typescript-client/src/models/SherlockChartVersionV3Edit.ts @@ -30,7 +30,7 @@ export interface SherlockChartVersionV3Edit { /** * Check if a given object implements the SherlockChartVersionV3Edit interface. */ -export function instanceOfSherlockChartVersionV3Edit(value: object): boolean { +export function instanceOfSherlockChartVersionV3Edit(value: object): value is SherlockChartVersionV3Edit { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockCiIdentifierV3.ts b/sherlock-typescript-client/src/models/SherlockCiIdentifierV3.ts index fd193a998..26c76d3ac 100644 --- a/sherlock-typescript-client/src/models/SherlockCiIdentifierV3.ts +++ b/sherlock-typescript-client/src/models/SherlockCiIdentifierV3.ts @@ -73,7 +73,7 @@ export interface SherlockCiIdentifierV3 { /** * Check if a given object implements the SherlockCiIdentifierV3 interface. */ -export function instanceOfSherlockCiIdentifierV3(value: object): boolean { +export function instanceOfSherlockCiIdentifierV3(value: object): value is SherlockCiIdentifierV3 { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockCiRunV3.ts b/sherlock-typescript-client/src/models/SherlockCiRunV3.ts index 873d3f898..7fd68ae7d 100644 --- a/sherlock-typescript-client/src/models/SherlockCiRunV3.ts +++ b/sherlock-typescript-client/src/models/SherlockCiRunV3.ts @@ -164,7 +164,7 @@ export interface SherlockCiRunV3 { /** * Check if a given object implements the SherlockCiRunV3 interface. */ -export function instanceOfSherlockCiRunV3(value: object): boolean { +export function instanceOfSherlockCiRunV3(value: object): value is SherlockCiRunV3 { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockCiRunV3Upsert.ts b/sherlock-typescript-client/src/models/SherlockCiRunV3Upsert.ts index 57654ee9f..f7aeeb93a 100644 --- a/sherlock-typescript-client/src/models/SherlockCiRunV3Upsert.ts +++ b/sherlock-typescript-client/src/models/SherlockCiRunV3Upsert.ts @@ -193,7 +193,7 @@ export type SherlockCiRunV3UpsertRelateToChangesetNewVersionsEnum = typeof Sherl /** * Check if a given object implements the SherlockCiRunV3Upsert interface. */ -export function instanceOfSherlockCiRunV3Upsert(value: object): boolean { +export function instanceOfSherlockCiRunV3Upsert(value: object): value is SherlockCiRunV3Upsert { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockClusterV3.ts b/sherlock-typescript-client/src/models/SherlockClusterV3.ts index 8c7b9a214..94a6f88b8 100644 --- a/sherlock-typescript-client/src/models/SherlockClusterV3.ts +++ b/sherlock-typescript-client/src/models/SherlockClusterV3.ts @@ -120,7 +120,7 @@ export type SherlockClusterV3ProviderEnum = typeof SherlockClusterV3ProviderEnum /** * Check if a given object implements the SherlockClusterV3 interface. */ -export function instanceOfSherlockClusterV3(value: object): boolean { +export function instanceOfSherlockClusterV3(value: object): value is SherlockClusterV3 { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockClusterV3Create.ts b/sherlock-typescript-client/src/models/SherlockClusterV3Create.ts index 0d69d2c78..4a0f722b8 100644 --- a/sherlock-typescript-client/src/models/SherlockClusterV3Create.ts +++ b/sherlock-typescript-client/src/models/SherlockClusterV3Create.ts @@ -89,7 +89,7 @@ export type SherlockClusterV3CreateProviderEnum = typeof SherlockClusterV3Create /** * Check if a given object implements the SherlockClusterV3Create interface. */ -export function instanceOfSherlockClusterV3Create(value: object): boolean { +export function instanceOfSherlockClusterV3Create(value: object): value is SherlockClusterV3Create { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockClusterV3Edit.ts b/sherlock-typescript-client/src/models/SherlockClusterV3Edit.ts index 429777965..cd9855b2d 100644 --- a/sherlock-typescript-client/src/models/SherlockClusterV3Edit.ts +++ b/sherlock-typescript-client/src/models/SherlockClusterV3Edit.ts @@ -48,7 +48,7 @@ export interface SherlockClusterV3Edit { /** * Check if a given object implements the SherlockClusterV3Edit interface. */ -export function instanceOfSherlockClusterV3Edit(value: object): boolean { +export function instanceOfSherlockClusterV3Edit(value: object): value is SherlockClusterV3Edit { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockDatabaseInstanceV3.ts b/sherlock-typescript-client/src/models/SherlockDatabaseInstanceV3.ts index a9ffed645..eee5871da 100644 --- a/sherlock-typescript-client/src/models/SherlockDatabaseInstanceV3.ts +++ b/sherlock-typescript-client/src/models/SherlockDatabaseInstanceV3.ts @@ -85,7 +85,7 @@ export interface SherlockDatabaseInstanceV3 { /** * Check if a given object implements the SherlockDatabaseInstanceV3 interface. */ -export function instanceOfSherlockDatabaseInstanceV3(value: object): boolean { +export function instanceOfSherlockDatabaseInstanceV3(value: object): value is SherlockDatabaseInstanceV3 { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockDatabaseInstanceV3Create.ts b/sherlock-typescript-client/src/models/SherlockDatabaseInstanceV3Create.ts index 80d1262c3..18012bed4 100644 --- a/sherlock-typescript-client/src/models/SherlockDatabaseInstanceV3Create.ts +++ b/sherlock-typescript-client/src/models/SherlockDatabaseInstanceV3Create.ts @@ -54,7 +54,7 @@ export interface SherlockDatabaseInstanceV3Create { /** * Check if a given object implements the SherlockDatabaseInstanceV3Create interface. */ -export function instanceOfSherlockDatabaseInstanceV3Create(value: object): boolean { +export function instanceOfSherlockDatabaseInstanceV3Create(value: object): value is SherlockDatabaseInstanceV3Create { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockDatabaseInstanceV3Edit.ts b/sherlock-typescript-client/src/models/SherlockDatabaseInstanceV3Edit.ts index a6e62840f..58ff2056f 100644 --- a/sherlock-typescript-client/src/models/SherlockDatabaseInstanceV3Edit.ts +++ b/sherlock-typescript-client/src/models/SherlockDatabaseInstanceV3Edit.ts @@ -48,7 +48,7 @@ export interface SherlockDatabaseInstanceV3Edit { /** * Check if a given object implements the SherlockDatabaseInstanceV3Edit interface. */ -export function instanceOfSherlockDatabaseInstanceV3Edit(value: object): boolean { +export function instanceOfSherlockDatabaseInstanceV3Edit(value: object): value is SherlockDatabaseInstanceV3Edit { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockEnvironmentV3.ts b/sherlock-typescript-client/src/models/SherlockEnvironmentV3.ts index ed99cfe0d..8f02f3e2a 100644 --- a/sherlock-typescript-client/src/models/SherlockEnvironmentV3.ts +++ b/sherlock-typescript-client/src/models/SherlockEnvironmentV3.ts @@ -247,7 +247,7 @@ export interface SherlockEnvironmentV3 { /** * Check if a given object implements the SherlockEnvironmentV3 interface. */ -export function instanceOfSherlockEnvironmentV3(value: object): boolean { +export function instanceOfSherlockEnvironmentV3(value: object): value is SherlockEnvironmentV3 { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockEnvironmentV3Create.ts b/sherlock-typescript-client/src/models/SherlockEnvironmentV3Create.ts index df2741c07..2fad3fc40 100644 --- a/sherlock-typescript-client/src/models/SherlockEnvironmentV3Create.ts +++ b/sherlock-typescript-client/src/models/SherlockEnvironmentV3Create.ts @@ -174,7 +174,7 @@ export interface SherlockEnvironmentV3Create { /** * Check if a given object implements the SherlockEnvironmentV3Create interface. */ -export function instanceOfSherlockEnvironmentV3Create(value: object): boolean { +export function instanceOfSherlockEnvironmentV3Create(value: object): value is SherlockEnvironmentV3Create { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockEnvironmentV3Edit.ts b/sherlock-typescript-client/src/models/SherlockEnvironmentV3Edit.ts index 9bf8ae994..785f4b356 100644 --- a/sherlock-typescript-client/src/models/SherlockEnvironmentV3Edit.ts +++ b/sherlock-typescript-client/src/models/SherlockEnvironmentV3Edit.ts @@ -126,7 +126,7 @@ export interface SherlockEnvironmentV3Edit { /** * Check if a given object implements the SherlockEnvironmentV3Edit interface. */ -export function instanceOfSherlockEnvironmentV3Edit(value: object): boolean { +export function instanceOfSherlockEnvironmentV3Edit(value: object): value is SherlockEnvironmentV3Edit { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockGitCommitV3.ts b/sherlock-typescript-client/src/models/SherlockGitCommitV3.ts index 7336abe81..769d07628 100644 --- a/sherlock-typescript-client/src/models/SherlockGitCommitV3.ts +++ b/sherlock-typescript-client/src/models/SherlockGitCommitV3.ts @@ -78,7 +78,7 @@ export interface SherlockGitCommitV3 { /** * Check if a given object implements the SherlockGitCommitV3 interface. */ -export function instanceOfSherlockGitCommitV3(value: object): boolean { +export function instanceOfSherlockGitCommitV3(value: object): value is SherlockGitCommitV3 { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockGitCommitV3Upsert.ts b/sherlock-typescript-client/src/models/SherlockGitCommitV3Upsert.ts index a6ba04a24..2fbd55e16 100644 --- a/sherlock-typescript-client/src/models/SherlockGitCommitV3Upsert.ts +++ b/sherlock-typescript-client/src/models/SherlockGitCommitV3Upsert.ts @@ -54,7 +54,7 @@ export interface SherlockGitCommitV3Upsert { /** * Check if a given object implements the SherlockGitCommitV3Upsert interface. */ -export function instanceOfSherlockGitCommitV3Upsert(value: object): boolean { +export function instanceOfSherlockGitCommitV3Upsert(value: object): value is SherlockGitCommitV3Upsert { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockGithubActionsDeployHookTestRunRequest.ts b/sherlock-typescript-client/src/models/SherlockGithubActionsDeployHookTestRunRequest.ts index 926357ec2..3f1ce6c9e 100644 --- a/sherlock-typescript-client/src/models/SherlockGithubActionsDeployHookTestRunRequest.ts +++ b/sherlock-typescript-client/src/models/SherlockGithubActionsDeployHookTestRunRequest.ts @@ -30,7 +30,7 @@ export interface SherlockGithubActionsDeployHookTestRunRequest { /** * Check if a given object implements the SherlockGithubActionsDeployHookTestRunRequest interface. */ -export function instanceOfSherlockGithubActionsDeployHookTestRunRequest(value: object): boolean { +export function instanceOfSherlockGithubActionsDeployHookTestRunRequest(value: object): value is SherlockGithubActionsDeployHookTestRunRequest { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockGithubActionsDeployHookTestRunResponse.ts b/sherlock-typescript-client/src/models/SherlockGithubActionsDeployHookTestRunResponse.ts index f6074662d..c05c9858b 100644 --- a/sherlock-typescript-client/src/models/SherlockGithubActionsDeployHookTestRunResponse.ts +++ b/sherlock-typescript-client/src/models/SherlockGithubActionsDeployHookTestRunResponse.ts @@ -36,7 +36,7 @@ export interface SherlockGithubActionsDeployHookTestRunResponse { /** * Check if a given object implements the SherlockGithubActionsDeployHookTestRunResponse interface. */ -export function instanceOfSherlockGithubActionsDeployHookTestRunResponse(value: object): boolean { +export function instanceOfSherlockGithubActionsDeployHookTestRunResponse(value: object): value is SherlockGithubActionsDeployHookTestRunResponse { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockGithubActionsDeployHookV3.ts b/sherlock-typescript-client/src/models/SherlockGithubActionsDeployHookV3.ts index 0b388ce25..75f33b78d 100644 --- a/sherlock-typescript-client/src/models/SherlockGithubActionsDeployHookV3.ts +++ b/sherlock-typescript-client/src/models/SherlockGithubActionsDeployHookV3.ts @@ -114,7 +114,7 @@ export type SherlockGithubActionsDeployHookV3GithubActionsRefBehaviorEnum = type /** * Check if a given object implements the SherlockGithubActionsDeployHookV3 interface. */ -export function instanceOfSherlockGithubActionsDeployHookV3(value: object): boolean { +export function instanceOfSherlockGithubActionsDeployHookV3(value: object): value is SherlockGithubActionsDeployHookV3 { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockGithubActionsDeployHookV3Create.ts b/sherlock-typescript-client/src/models/SherlockGithubActionsDeployHookV3Create.ts index 5f91a797f..2d6671142 100644 --- a/sherlock-typescript-client/src/models/SherlockGithubActionsDeployHookV3Create.ts +++ b/sherlock-typescript-client/src/models/SherlockGithubActionsDeployHookV3Create.ts @@ -96,7 +96,7 @@ export type SherlockGithubActionsDeployHookV3CreateGithubActionsRefBehaviorEnum /** * Check if a given object implements the SherlockGithubActionsDeployHookV3Create interface. */ -export function instanceOfSherlockGithubActionsDeployHookV3Create(value: object): boolean { +export function instanceOfSherlockGithubActionsDeployHookV3Create(value: object): value is SherlockGithubActionsDeployHookV3Create { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockGithubActionsDeployHookV3Edit.ts b/sherlock-typescript-client/src/models/SherlockGithubActionsDeployHookV3Edit.ts index facad6b43..41201e492 100644 --- a/sherlock-typescript-client/src/models/SherlockGithubActionsDeployHookV3Edit.ts +++ b/sherlock-typescript-client/src/models/SherlockGithubActionsDeployHookV3Edit.ts @@ -84,7 +84,7 @@ export type SherlockGithubActionsDeployHookV3EditGithubActionsRefBehaviorEnum = /** * Check if a given object implements the SherlockGithubActionsDeployHookV3Edit interface. */ -export function instanceOfSherlockGithubActionsDeployHookV3Edit(value: object): boolean { +export function instanceOfSherlockGithubActionsDeployHookV3Edit(value: object): value is SherlockGithubActionsDeployHookV3Edit { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockGithubActionsJobV3.ts b/sherlock-typescript-client/src/models/SherlockGithubActionsJobV3.ts index a33d407ca..beb7322f9 100644 --- a/sherlock-typescript-client/src/models/SherlockGithubActionsJobV3.ts +++ b/sherlock-typescript-client/src/models/SherlockGithubActionsJobV3.ts @@ -96,7 +96,7 @@ export interface SherlockGithubActionsJobV3 { /** * Check if a given object implements the SherlockGithubActionsJobV3 interface. */ -export function instanceOfSherlockGithubActionsJobV3(value: object): boolean { +export function instanceOfSherlockGithubActionsJobV3(value: object): value is SherlockGithubActionsJobV3 { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockGithubActionsJobV3Create.ts b/sherlock-typescript-client/src/models/SherlockGithubActionsJobV3Create.ts index 24a0f88b7..e5b2c656d 100644 --- a/sherlock-typescript-client/src/models/SherlockGithubActionsJobV3Create.ts +++ b/sherlock-typescript-client/src/models/SherlockGithubActionsJobV3Create.ts @@ -78,7 +78,7 @@ export interface SherlockGithubActionsJobV3Create { /** * Check if a given object implements the SherlockGithubActionsJobV3Create interface. */ -export function instanceOfSherlockGithubActionsJobV3Create(value: object): boolean { +export function instanceOfSherlockGithubActionsJobV3Create(value: object): value is SherlockGithubActionsJobV3Create { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockIncidentV3.ts b/sherlock-typescript-client/src/models/SherlockIncidentV3.ts index c03265ea2..ce4932cef 100644 --- a/sherlock-typescript-client/src/models/SherlockIncidentV3.ts +++ b/sherlock-typescript-client/src/models/SherlockIncidentV3.ts @@ -72,7 +72,7 @@ export interface SherlockIncidentV3 { /** * Check if a given object implements the SherlockIncidentV3 interface. */ -export function instanceOfSherlockIncidentV3(value: object): boolean { +export function instanceOfSherlockIncidentV3(value: object): value is SherlockIncidentV3 { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockIncidentV3Create.ts b/sherlock-typescript-client/src/models/SherlockIncidentV3Create.ts index 201c50399..1382a92da 100644 --- a/sherlock-typescript-client/src/models/SherlockIncidentV3Create.ts +++ b/sherlock-typescript-client/src/models/SherlockIncidentV3Create.ts @@ -54,7 +54,7 @@ export interface SherlockIncidentV3Create { /** * Check if a given object implements the SherlockIncidentV3Create interface. */ -export function instanceOfSherlockIncidentV3Create(value: object): boolean { +export function instanceOfSherlockIncidentV3Create(value: object): value is SherlockIncidentV3Create { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockIncidentV3Edit.ts b/sherlock-typescript-client/src/models/SherlockIncidentV3Edit.ts index 5c10de302..f17a1b174 100644 --- a/sherlock-typescript-client/src/models/SherlockIncidentV3Edit.ts +++ b/sherlock-typescript-client/src/models/SherlockIncidentV3Edit.ts @@ -54,7 +54,7 @@ export interface SherlockIncidentV3Edit { /** * Check if a given object implements the SherlockIncidentV3Edit interface. */ -export function instanceOfSherlockIncidentV3Edit(value: object): boolean { +export function instanceOfSherlockIncidentV3Edit(value: object): value is SherlockIncidentV3Edit { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockPagerdutyIntegrationV3.ts b/sherlock-typescript-client/src/models/SherlockPagerdutyIntegrationV3.ts index 15650bd2d..bacc6dac1 100644 --- a/sherlock-typescript-client/src/models/SherlockPagerdutyIntegrationV3.ts +++ b/sherlock-typescript-client/src/models/SherlockPagerdutyIntegrationV3.ts @@ -60,7 +60,7 @@ export interface SherlockPagerdutyIntegrationV3 { /** * Check if a given object implements the SherlockPagerdutyIntegrationV3 interface. */ -export function instanceOfSherlockPagerdutyIntegrationV3(value: object): boolean { +export function instanceOfSherlockPagerdutyIntegrationV3(value: object): value is SherlockPagerdutyIntegrationV3 { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockPagerdutyIntegrationV3Create.ts b/sherlock-typescript-client/src/models/SherlockPagerdutyIntegrationV3Create.ts index 9987d92af..3139cb662 100644 --- a/sherlock-typescript-client/src/models/SherlockPagerdutyIntegrationV3Create.ts +++ b/sherlock-typescript-client/src/models/SherlockPagerdutyIntegrationV3Create.ts @@ -48,7 +48,7 @@ export interface SherlockPagerdutyIntegrationV3Create { /** * Check if a given object implements the SherlockPagerdutyIntegrationV3Create interface. */ -export function instanceOfSherlockPagerdutyIntegrationV3Create(value: object): boolean { +export function instanceOfSherlockPagerdutyIntegrationV3Create(value: object): value is SherlockPagerdutyIntegrationV3Create { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockPagerdutyIntegrationV3Edit.ts b/sherlock-typescript-client/src/models/SherlockPagerdutyIntegrationV3Edit.ts index 75373512f..992eb9ae8 100644 --- a/sherlock-typescript-client/src/models/SherlockPagerdutyIntegrationV3Edit.ts +++ b/sherlock-typescript-client/src/models/SherlockPagerdutyIntegrationV3Edit.ts @@ -42,7 +42,7 @@ export interface SherlockPagerdutyIntegrationV3Edit { /** * Check if a given object implements the SherlockPagerdutyIntegrationV3Edit interface. */ -export function instanceOfSherlockPagerdutyIntegrationV3Edit(value: object): boolean { +export function instanceOfSherlockPagerdutyIntegrationV3Edit(value: object): value is SherlockPagerdutyIntegrationV3Edit { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockRoleAssignmentV3.ts b/sherlock-typescript-client/src/models/SherlockRoleAssignmentV3.ts index 9b1eccbd4..5ec7bf390 100644 --- a/sherlock-typescript-client/src/models/SherlockRoleAssignmentV3.ts +++ b/sherlock-typescript-client/src/models/SherlockRoleAssignmentV3.ts @@ -48,7 +48,7 @@ export interface SherlockRoleAssignmentV3 { /** * Check if a given object implements the SherlockRoleAssignmentV3 interface. */ -export function instanceOfSherlockRoleAssignmentV3(value: object): boolean { +export function instanceOfSherlockRoleAssignmentV3(value: object): value is SherlockRoleAssignmentV3 { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockRoleAssignmentV3Edit.ts b/sherlock-typescript-client/src/models/SherlockRoleAssignmentV3Edit.ts index 821be5735..4cbaa6461 100644 --- a/sherlock-typescript-client/src/models/SherlockRoleAssignmentV3Edit.ts +++ b/sherlock-typescript-client/src/models/SherlockRoleAssignmentV3Edit.ts @@ -36,7 +36,7 @@ export interface SherlockRoleAssignmentV3Edit { /** * Check if a given object implements the SherlockRoleAssignmentV3Edit interface. */ -export function instanceOfSherlockRoleAssignmentV3Edit(value: object): boolean { +export function instanceOfSherlockRoleAssignmentV3Edit(value: object): value is SherlockRoleAssignmentV3Edit { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockRoleV3.ts b/sherlock-typescript-client/src/models/SherlockRoleV3.ts index 282a4a914..2cccb853e 100644 --- a/sherlock-typescript-client/src/models/SherlockRoleV3.ts +++ b/sherlock-typescript-client/src/models/SherlockRoleV3.ts @@ -103,7 +103,7 @@ export interface SherlockRoleV3 { /** * Check if a given object implements the SherlockRoleV3 interface. */ -export function instanceOfSherlockRoleV3(value: object): boolean { +export function instanceOfSherlockRoleV3(value: object): value is SherlockRoleV3 { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockRoleV3Edit.ts b/sherlock-typescript-client/src/models/SherlockRoleV3Edit.ts index 59a3e4b9c..2354b6caf 100644 --- a/sherlock-typescript-client/src/models/SherlockRoleV3Edit.ts +++ b/sherlock-typescript-client/src/models/SherlockRoleV3Edit.ts @@ -66,7 +66,7 @@ export interface SherlockRoleV3Edit { /** * Check if a given object implements the SherlockRoleV3Edit interface. */ -export function instanceOfSherlockRoleV3Edit(value: object): boolean { +export function instanceOfSherlockRoleV3Edit(value: object): value is SherlockRoleV3Edit { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockSlackDeployHookTestRunRequest.ts b/sherlock-typescript-client/src/models/SherlockSlackDeployHookTestRunRequest.ts index 5b8644c2e..8a01fba41 100644 --- a/sherlock-typescript-client/src/models/SherlockSlackDeployHookTestRunRequest.ts +++ b/sherlock-typescript-client/src/models/SherlockSlackDeployHookTestRunRequest.ts @@ -30,7 +30,7 @@ export interface SherlockSlackDeployHookTestRunRequest { /** * Check if a given object implements the SherlockSlackDeployHookTestRunRequest interface. */ -export function instanceOfSherlockSlackDeployHookTestRunRequest(value: object): boolean { +export function instanceOfSherlockSlackDeployHookTestRunRequest(value: object): value is SherlockSlackDeployHookTestRunRequest { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockSlackDeployHookTestRunResponse.ts b/sherlock-typescript-client/src/models/SherlockSlackDeployHookTestRunResponse.ts index dab27e2af..13efb290c 100644 --- a/sherlock-typescript-client/src/models/SherlockSlackDeployHookTestRunResponse.ts +++ b/sherlock-typescript-client/src/models/SherlockSlackDeployHookTestRunResponse.ts @@ -30,7 +30,7 @@ export interface SherlockSlackDeployHookTestRunResponse { /** * Check if a given object implements the SherlockSlackDeployHookTestRunResponse interface. */ -export function instanceOfSherlockSlackDeployHookTestRunResponse(value: object): boolean { +export function instanceOfSherlockSlackDeployHookTestRunResponse(value: object): value is SherlockSlackDeployHookTestRunResponse { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockSlackDeployHookV3.ts b/sherlock-typescript-client/src/models/SherlockSlackDeployHookV3.ts index 1f7f80bc2..28e8876e7 100644 --- a/sherlock-typescript-client/src/models/SherlockSlackDeployHookV3.ts +++ b/sherlock-typescript-client/src/models/SherlockSlackDeployHookV3.ts @@ -78,7 +78,7 @@ export interface SherlockSlackDeployHookV3 { /** * Check if a given object implements the SherlockSlackDeployHookV3 interface. */ -export function instanceOfSherlockSlackDeployHookV3(value: object): boolean { +export function instanceOfSherlockSlackDeployHookV3(value: object): value is SherlockSlackDeployHookV3 { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockSlackDeployHookV3Create.ts b/sherlock-typescript-client/src/models/SherlockSlackDeployHookV3Create.ts index 57c16a23e..837c91b9c 100644 --- a/sherlock-typescript-client/src/models/SherlockSlackDeployHookV3Create.ts +++ b/sherlock-typescript-client/src/models/SherlockSlackDeployHookV3Create.ts @@ -60,7 +60,7 @@ export interface SherlockSlackDeployHookV3Create { /** * Check if a given object implements the SherlockSlackDeployHookV3Create interface. */ -export function instanceOfSherlockSlackDeployHookV3Create(value: object): boolean { +export function instanceOfSherlockSlackDeployHookV3Create(value: object): value is SherlockSlackDeployHookV3Create { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockSlackDeployHookV3Edit.ts b/sherlock-typescript-client/src/models/SherlockSlackDeployHookV3Edit.ts index 23d71269e..3edcdd0ad 100644 --- a/sherlock-typescript-client/src/models/SherlockSlackDeployHookV3Edit.ts +++ b/sherlock-typescript-client/src/models/SherlockSlackDeployHookV3Edit.ts @@ -48,7 +48,7 @@ export interface SherlockSlackDeployHookV3Edit { /** * Check if a given object implements the SherlockSlackDeployHookV3Edit interface. */ -export function instanceOfSherlockSlackDeployHookV3Edit(value: object): boolean { +export function instanceOfSherlockSlackDeployHookV3Edit(value: object): value is SherlockSlackDeployHookV3Edit { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockUserV3.ts b/sherlock-typescript-client/src/models/SherlockUserV3.ts index 739c1f4b6..eeeeceac0 100644 --- a/sherlock-typescript-client/src/models/SherlockUserV3.ts +++ b/sherlock-typescript-client/src/models/SherlockUserV3.ts @@ -134,7 +134,7 @@ export type SherlockUserV3NameFromEnum = typeof SherlockUserV3NameFromEnum[keyof /** * Check if a given object implements the SherlockUserV3 interface. */ -export function instanceOfSherlockUserV3(value: object): boolean { +export function instanceOfSherlockUserV3(value: object): value is SherlockUserV3 { return true; } diff --git a/sherlock-typescript-client/src/models/SherlockUserV3Upsert.ts b/sherlock-typescript-client/src/models/SherlockUserV3Upsert.ts index e14bd79bd..bf8df58e7 100644 --- a/sherlock-typescript-client/src/models/SherlockUserV3Upsert.ts +++ b/sherlock-typescript-client/src/models/SherlockUserV3Upsert.ts @@ -63,7 +63,7 @@ export type SherlockUserV3UpsertNameFromEnum = typeof SherlockUserV3UpsertNameFr /** * Check if a given object implements the SherlockUserV3Upsert interface. */ -export function instanceOfSherlockUserV3Upsert(value: object): boolean { +export function instanceOfSherlockUserV3Upsert(value: object): value is SherlockUserV3Upsert { return true; } diff --git a/sherlock/docs/docs.go b/sherlock/docs/docs.go index ac068d5e0..cc7a19b6f 100644 --- a/sherlock/docs/docs.go +++ b/sherlock/docs/docs.go @@ -6592,6 +6592,7 @@ const docTemplate = `{ }, { "type": "boolean", + "default": false, "name": "suspended", "in": "query" }, @@ -9796,7 +9797,8 @@ const docTemplate = `{ "type": "object" }, "suspended": { - "type": "boolean" + "type": "boolean", + "default": false }, "userInfo": { "type": "object" @@ -9811,7 +9813,8 @@ const docTemplate = `{ "format": "date-time" }, "suspended": { - "type": "boolean" + "type": "boolean", + "default": false } } }, diff --git a/sherlock/docs/swagger.json b/sherlock/docs/swagger.json index 107adf600..dec0244ed 100644 --- a/sherlock/docs/swagger.json +++ b/sherlock/docs/swagger.json @@ -6588,6 +6588,7 @@ }, { "type": "boolean", + "default": false, "name": "suspended", "in": "query" }, @@ -9792,7 +9793,8 @@ "type": "object" }, "suspended": { - "type": "boolean" + "type": "boolean", + "default": false }, "userInfo": { "type": "object" @@ -9807,7 +9809,8 @@ "format": "date-time" }, "suspended": { - "type": "boolean" + "type": "boolean", + "default": false } } }, diff --git a/sherlock/docs/swagger.yaml b/sherlock/docs/swagger.yaml index abed426ff..7eff45539 100644 --- a/sherlock/docs/swagger.yaml +++ b/sherlock/docs/swagger.yaml @@ -1555,6 +1555,7 @@ definitions: roleInfo: type: object suspended: + default: false type: boolean userInfo: type: object @@ -1565,6 +1566,7 @@ definitions: format: date-time type: string suspended: + default: false type: boolean type: object sherlock.RoleV3: @@ -6186,7 +6188,8 @@ paths: in: query name: expiresAt type: string - - in: query + - default: false + in: query name: suspended type: boolean - description: Control how many RoleAssignments are returned (default 0, no diff --git a/sherlock/internal/pact/README.md b/sherlock/internal/pact/README.md index 0dbc15570..da3097d3c 100644 --- a/sherlock/internal/pact/README.md +++ b/sherlock/internal/pact/README.md @@ -2,8 +2,17 @@ ### [More Information](https://docs.pact.io/getting_started/provider_states) - `caller is suitable` - `caller is non-suitable` +- `User_SuperAdmin exists` - `User_Suitable exists` - `User_NonSuitable exists` +- `Role_SherlockSuperAdmin exists` +- `Role_TerraEngineer exists` +- `Role_TerraSuitableEngineer exists` +- `Role_TerraGlassBrokenAdmin exists` +- `RoleAssignment_SuperAdmin_SherlockSuperAdmin exists` +- `RoleAssignment_Suitable_TerraSuitableEngineer exists` +- `RoleAssignment_Suitable_TerraEngineer exists` +- `RoleAssignment_NonSuitable_TerraEngineer exists` - `PagerdutyIntegration_ManuallyTriggeredTerraIncident exists` - `Chart_Leonardo exists` - `Chart_D2p exists`