Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/lib/seam/connect/internal/model-types.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export type { AccessCodeMutationsRequestedEvent } from '../models/events/access-codes.js'
export type { SeamEvent, SeamEventType } from '../models/events/seam-event.js'
export type {
AccessCode as ManagedAccessCode,
Expand Down
12 changes: 0 additions & 12 deletions src/lib/seam/connect/models/access-codes/managed-access-code.ts
Original file line number Diff line number Diff line change
Expand Up @@ -331,16 +331,6 @@ const management_transferred = common_access_code_warning
})
.describe('Management was transferred to another workspace.')

const access_code_inactive = common_access_code_warning
.extend({
warning_code: z
.literal('access_code_inactive')
.describe(warning_code_description),
})
.describe(
'Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.',
)

const using_backup_access_code = common_access_code_warning
.extend({
warning_code: z
Expand All @@ -367,7 +357,6 @@ const access_code_warning = z
third_party_integration_detected,
igloo_algopin_must_be_used_within_24_hours,
management_transferred,
access_code_inactive,
using_backup_access_code,
being_deleted,
])
Expand All @@ -394,7 +383,6 @@ const _access_code_warning_map = z.object({
igloo_algopin_must_be_used_within_24_hours:
igloo_algopin_must_be_used_within_24_hours.optional().nullable(),
management_transferred: management_transferred.optional().nullable(),
access_code_inactive: access_code_inactive.optional().nullable(),
using_backup_access_code: using_backup_access_code.optional().nullable(),
being_deleted: being_deleted.optional().nullable(),
})
Expand Down
50 changes: 0 additions & 50 deletions src/lib/seam/connect/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1709,31 +1709,6 @@ const openapi: OpenAPISpec = {
required: ['message', 'warning_code'],
type: 'object',
},
{
description:
'Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.',
properties: {
created_at: {
description:
'Date and time at which Seam created the warning.',
format: 'date-time',
type: 'string',
},
message: {
description:
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
type: 'string',
},
warning_code: {
description:
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
enum: ['access_code_inactive'],
type: 'string',
},
},
required: ['message', 'warning_code'],
type: 'object',
},
{
description:
'A backup access code has been pulled and is being used in place of this access code.',
Expand Down Expand Up @@ -30091,31 +30066,6 @@ const openapi: OpenAPISpec = {
required: ['message', 'warning_code'],
type: 'object',
},
{
description:
'Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.',
properties: {
created_at: {
description:
'Date and time at which Seam created the warning.',
format: 'date-time',
type: 'string',
},
message: {
description:
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
type: 'string',
},
warning_code: {
description:
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
enum: ['access_code_inactive'],
type: 'string',
},
},
required: ['message', 'warning_code'],
type: 'object',
},
{
description:
'A backup access code has been pulled and is being used in place of this access code.',
Expand Down
88 changes: 0 additions & 88 deletions src/lib/seam/connect/route-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2387,14 +2387,6 @@ export type Routes = {
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
warning_code: 'management_transferred'
}
| {
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
message: string
/** Date and time at which Seam created the warning. */
created_at?: string | undefined
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
warning_code: 'access_code_inactive'
}
| {
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
message: string
Expand Down Expand Up @@ -2980,14 +2972,6 @@ export type Routes = {
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
warning_code: 'management_transferred'
}
| {
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
message: string
/** Date and time at which Seam created the warning. */
created_at?: string | undefined
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
warning_code: 'access_code_inactive'
}
| {
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
message: string
Expand Down Expand Up @@ -5527,14 +5511,6 @@ export type Routes = {
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
warning_code: 'management_transferred'
}
| {
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
message: string
/** Date and time at which Seam created the warning. */
created_at?: string | undefined
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
warning_code: 'access_code_inactive'
}
| {
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
message: string
Expand Down Expand Up @@ -6207,14 +6183,6 @@ export type Routes = {
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
warning_code: 'management_transferred'
}
| {
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
message: string
/** Date and time at which Seam created the warning. */
created_at?: string | undefined
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
warning_code: 'access_code_inactive'
}
| {
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
message: string
Expand Down Expand Up @@ -6791,14 +6759,6 @@ export type Routes = {
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
warning_code: 'management_transferred'
}
| {
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
message: string
/** Date and time at which Seam created the warning. */
created_at?: string | undefined
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
warning_code: 'access_code_inactive'
}
| {
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
message: string
Expand Down Expand Up @@ -7352,14 +7312,6 @@ export type Routes = {
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
warning_code: 'management_transferred'
}
| {
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
message: string
/** Date and time at which Seam created the warning. */
created_at?: string | undefined
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
warning_code: 'access_code_inactive'
}
| {
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
message: string
Expand Down Expand Up @@ -7946,14 +7898,6 @@ export type Routes = {
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
warning_code: 'management_transferred'
}
| {
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
message: string
/** Date and time at which Seam created the warning. */
created_at?: string | undefined
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
warning_code: 'access_code_inactive'
}
| {
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
message: string
Expand Down Expand Up @@ -10395,14 +10339,6 @@ export type Routes = {
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
warning_code: 'management_transferred'
}
| {
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
message: string
/** Date and time at which Seam created the warning. */
created_at?: string | undefined
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
warning_code: 'access_code_inactive'
}
| {
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
message: string
Expand Down Expand Up @@ -10868,14 +10804,6 @@ export type Routes = {
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
warning_code: 'management_transferred'
}
| {
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
message: string
/** Date and time at which Seam created the warning. */
created_at?: string | undefined
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
warning_code: 'access_code_inactive'
}
| {
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
message: string
Expand Down Expand Up @@ -140174,14 +140102,6 @@ export type Routes = {
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
warning_code: 'management_transferred'
}
| {
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
message: string
/** Date and time at which Seam created the warning. */
created_at?: string | undefined
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
warning_code: 'access_code_inactive'
}
| {
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
message: string
Expand Down Expand Up @@ -140633,14 +140553,6 @@ export type Routes = {
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
warning_code: 'management_transferred'
}
| {
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
message: string
/** Date and time at which Seam created the warning. */
created_at?: string | undefined
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
warning_code: 'access_code_inactive'
}
| {
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
message: string
Expand Down
Loading