Skip to content

Commit

Permalink
fix: Name of unknown_issue_with_acs_credential warning (#1406)
Browse files Browse the repository at this point in the history
  • Loading branch information
seambot authored Dec 20, 2024
1 parent c59e19b commit e7f5978
Show file tree
Hide file tree
Showing 3 changed files with 111 additions and 105 deletions.
8 changes: 4 additions & 4 deletions src/lib/seam/connect/models/acs/acs-credential.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ const being_deleted = common_acs_credential_warning
})
.describe('Indicates that this credential is being deleted.')

export const unknown_issue_with_credential = common_acs_credential_warning
export const unknown_issue_with_acs_credential = common_acs_credential_warning
.extend({
warning_code: z
.literal('unknown_issue_with_credential')
.literal('unknown_issue_with_acs_credential')
.describe(warning_code_description),
})
.describe(
Expand All @@ -87,7 +87,7 @@ const acs_credential_warning = z
schedule_externally_modified,
schedule_modified,
being_deleted,
unknown_issue_with_credential,
unknown_issue_with_acs_credential,
])
.describe('Warning associated with the `acs_credential`.')

Expand All @@ -98,7 +98,7 @@ const acs_credential_warning_map = z.object({
.nullable(),
schedule_modified: schedule_modified.optional().nullable(),
being_deleted: being_deleted.optional().nullable(),
unknown_issue_with_credential: unknown_issue_with_credential
unknown_issue_with_acs_credential: unknown_issue_with_acs_credential
.optional()
.nullable(),
})
Expand Down
20 changes: 13 additions & 7 deletions src/lib/seam/connect/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ export default {
warning_code: {
description:
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
enum: ['unknown_issue_with_credential'],
enum: ['unknown_issue_with_acs_credential'],
type: 'string',
},
},
Expand Down Expand Up @@ -2031,7 +2031,9 @@ export default {
warning_code: {
description:
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
enum: ['unknown_issue_with_credential'],
enum: [
'unknown_issue_with_acs_credential',
],
type: 'string',
},
},
Expand Down Expand Up @@ -2358,7 +2360,9 @@ export default {
warning_code: {
description:
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
enum: ['unknown_issue_with_credential'],
enum: [
'unknown_issue_with_acs_credential',
],
type: 'string',
},
},
Expand Down Expand Up @@ -2818,7 +2822,7 @@ export default {
warning_code: {
description:
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
enum: ['unknown_issue_with_credential'],
enum: ['unknown_issue_with_acs_credential'],
type: 'string',
},
},
Expand Down Expand Up @@ -3144,7 +3148,7 @@ export default {
warning_code: {
description:
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
enum: ['unknown_issue_with_credential'],
enum: ['unknown_issue_with_acs_credential'],
type: 'string',
},
},
Expand Down Expand Up @@ -13971,7 +13975,7 @@ export default {
warning_code: {
description:
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
enum: ['unknown_issue_with_credential'],
enum: ['unknown_issue_with_acs_credential'],
type: 'string',
},
},
Expand Down Expand Up @@ -14401,7 +14405,9 @@ export default {
warning_code: {
description:
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
enum: ['unknown_issue_with_credential'],
enum: [
'unknown_issue_with_acs_credential',
],
type: 'string',
},
},
Expand Down
Loading

0 comments on commit e7f5978

Please sign in to comment.