Skip to content

Commit ebec64a

Browse files
committed
feat: Sync with Seam API via 7c84259332ce578b8272724ec4b57cb53b02c1b5
1 parent f2d8c5b commit ebec64a

3 files changed

Lines changed: 41 additions & 0 deletions

File tree

src/lib/seam/connect/models/access-codes/managed-access-code.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,13 @@ const duplicate_code_on_device = common_access_code_error
7777
.describe(
7878
'ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it.',
7979
),
80+
managed_access_code_id: z
81+
.string()
82+
.uuid()
83+
.optional()
84+
.describe(
85+
'ID of the managed access code that conflicts with this managed access code, when Seam can identify it.',
86+
),
8087
})
8188
.describe('Duplicate access code detected on device.')
8289

src/lib/seam/connect/openapi.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,12 @@ const openapi: OpenAPISpec = {
277277
enum: [true],
278278
type: 'boolean',
279279
},
280+
managed_access_code_id: {
281+
description:
282+
'ID of the managed access code that conflicts with this managed access code, when Seam can identify it.',
283+
format: 'uuid',
284+
type: 'string',
285+
},
280286
message: {
281287
description:
282288
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
@@ -26478,6 +26484,12 @@ const openapi: OpenAPISpec = {
2647826484
enum: [true],
2647926485
type: 'boolean',
2648026486
},
26487+
managed_access_code_id: {
26488+
description:
26489+
'ID of the managed access code that conflicts with this managed access code, when Seam can identify it.',
26490+
format: 'uuid',
26491+
type: 'string',
26492+
},
2648126493
message: {
2648226494
description:
2648326495
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',

src/lib/seam/connect/route-types.ts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1673,6 +1673,8 @@ export type Routes = {
16731673
error_code: 'duplicate_code_on_device'
16741674
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
16751675
unmanaged_access_code_id?: string | undefined
1676+
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
1677+
managed_access_code_id?: string | undefined
16761678
}
16771679
| {
16781680
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -2376,6 +2378,8 @@ export type Routes = {
23762378
error_code: 'duplicate_code_on_device'
23772379
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
23782380
unmanaged_access_code_id?: string | undefined
2381+
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
2382+
managed_access_code_id?: string | undefined
23792383
}
23802384
| {
23812385
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -4633,6 +4637,8 @@ export type Routes = {
46334637
error_code: 'duplicate_code_on_device'
46344638
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
46354639
unmanaged_access_code_id?: string | undefined
4640+
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
4641+
managed_access_code_id?: string | undefined
46364642
}
46374643
| {
46384644
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -5423,6 +5429,8 @@ export type Routes = {
54235429
error_code: 'duplicate_code_on_device'
54245430
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
54255431
unmanaged_access_code_id?: string | undefined
5432+
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
5433+
managed_access_code_id?: string | undefined
54265434
}
54275435
| {
54285436
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -6115,6 +6123,8 @@ export type Routes = {
61156123
error_code: 'duplicate_code_on_device'
61166124
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
61176125
unmanaged_access_code_id?: string | undefined
6126+
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
6127+
managed_access_code_id?: string | undefined
61186128
}
61196129
| {
61206130
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -6784,6 +6794,8 @@ export type Routes = {
67846794
error_code: 'duplicate_code_on_device'
67856795
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
67866796
unmanaged_access_code_id?: string | undefined
6797+
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
6798+
managed_access_code_id?: string | undefined
67876799
}
67886800
| {
67896801
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -7488,6 +7500,8 @@ export type Routes = {
74887500
error_code: 'duplicate_code_on_device'
74897501
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
74907502
unmanaged_access_code_id?: string | undefined
7503+
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
7504+
managed_access_code_id?: string | undefined
74917505
}
74927506
| {
74937507
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -9645,6 +9659,8 @@ export type Routes = {
96459659
error_code: 'duplicate_code_on_device'
96469660
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
96479661
unmanaged_access_code_id?: string | undefined
9662+
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
9663+
managed_access_code_id?: string | undefined
96489664
}
96499665
| {
96509666
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -10224,6 +10240,8 @@ export type Routes = {
1022410240
error_code: 'duplicate_code_on_device'
1022510241
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
1022610242
unmanaged_access_code_id?: string | undefined
10243+
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
10244+
managed_access_code_id?: string | undefined
1022710245
}
1022810246
| {
1022910247
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -118726,6 +118744,8 @@ export type Routes = {
118726118744
error_code: 'duplicate_code_on_device'
118727118745
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
118728118746
unmanaged_access_code_id?: string | undefined
118747+
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
118748+
managed_access_code_id?: string | undefined
118729118749
}
118730118750
| {
118731118751
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
@@ -119291,6 +119311,8 @@ export type Routes = {
119291119311
error_code: 'duplicate_code_on_device'
119292119312
/** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */
119293119313
unmanaged_access_code_id?: string | undefined
119314+
/** ID of the managed access code that conflicts with this managed access code, when Seam can identify it. */
119315+
managed_access_code_id?: string | undefined
119294119316
}
119295119317
| {
119296119318
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */

0 commit comments

Comments
 (0)