From 4c1fb22bcffa113795ffbd5b61d9cc86c1b8a6a7 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Wed, 6 May 2026 22:07:25 +0000 Subject: [PATCH] feat: Sync with Seam API via d780ce28c07528bf470f5b36c61202b639413681 --- .../access-codes/managed-access-code.ts | 7 ++++++ src/lib/seam/connect/openapi.ts | 12 ++++++++++ src/lib/seam/connect/route-types.ts | 22 +++++++++++++++++++ 3 files changed, 41 insertions(+) diff --git a/src/lib/seam/connect/models/access-codes/managed-access-code.ts b/src/lib/seam/connect/models/access-codes/managed-access-code.ts index a3b620d8..dcd24fe6 100644 --- a/src/lib/seam/connect/models/access-codes/managed-access-code.ts +++ b/src/lib/seam/connect/models/access-codes/managed-access-code.ts @@ -70,6 +70,13 @@ const duplicate_code_on_device = common_access_code_error error_code: z .literal('duplicate_code_on_device') .describe(error_code_description), + unmanaged_access_code_id: z + .string() + .uuid() + .optional() + .describe( + 'ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it.', + ), }) .describe('Duplicate access code detected on device.') diff --git a/src/lib/seam/connect/openapi.ts b/src/lib/seam/connect/openapi.ts index 28e53fcf..65e121f5 100644 --- a/src/lib/seam/connect/openapi.ts +++ b/src/lib/seam/connect/openapi.ts @@ -282,6 +282,12 @@ const openapi: OpenAPISpec = { 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.', type: 'string', }, + unmanaged_access_code_id: { + description: + 'ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it.', + format: 'uuid', + type: 'string', + }, }, required: ['message', 'is_access_code_error', 'error_code'], type: 'object', @@ -26477,6 +26483,12 @@ const openapi: OpenAPISpec = { 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.', type: 'string', }, + unmanaged_access_code_id: { + description: + 'ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it.', + format: 'uuid', + type: 'string', + }, }, required: ['message', 'is_access_code_error', 'error_code'], type: 'object', diff --git a/src/lib/seam/connect/route-types.ts b/src/lib/seam/connect/route-types.ts index fcd794e6..cd9d0d22 100644 --- a/src/lib/seam/connect/route-types.ts +++ b/src/lib/seam/connect/route-types.ts @@ -1671,6 +1671,8 @@ export type Routes = { created_at?: string | undefined /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'duplicate_code_on_device' + /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */ + unmanaged_access_code_id?: string | undefined } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ @@ -2372,6 +2374,8 @@ export type Routes = { created_at?: string | undefined /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'duplicate_code_on_device' + /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */ + unmanaged_access_code_id?: string | undefined } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ @@ -4627,6 +4631,8 @@ export type Routes = { created_at?: string | undefined /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'duplicate_code_on_device' + /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */ + unmanaged_access_code_id?: string | undefined } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ @@ -5415,6 +5421,8 @@ export type Routes = { created_at?: string | undefined /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'duplicate_code_on_device' + /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */ + unmanaged_access_code_id?: string | undefined } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ @@ -6105,6 +6113,8 @@ export type Routes = { created_at?: string | undefined /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'duplicate_code_on_device' + /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */ + unmanaged_access_code_id?: string | undefined } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ @@ -6772,6 +6782,8 @@ export type Routes = { created_at?: string | undefined /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'duplicate_code_on_device' + /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */ + unmanaged_access_code_id?: string | undefined } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ @@ -7474,6 +7486,8 @@ export type Routes = { created_at?: string | undefined /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'duplicate_code_on_device' + /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */ + unmanaged_access_code_id?: string | undefined } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ @@ -9629,6 +9643,8 @@ export type Routes = { created_at?: string | undefined /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'duplicate_code_on_device' + /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */ + unmanaged_access_code_id?: string | undefined } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ @@ -10206,6 +10222,8 @@ export type Routes = { created_at?: string | undefined /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'duplicate_code_on_device' + /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */ + unmanaged_access_code_id?: string | undefined } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ @@ -118706,6 +118724,8 @@ export type Routes = { created_at?: string | undefined /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'duplicate_code_on_device' + /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */ + unmanaged_access_code_id?: string | undefined } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */ @@ -119269,6 +119289,8 @@ export type Routes = { created_at?: string | undefined /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ error_code: 'duplicate_code_on_device' + /** ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it. */ + unmanaged_access_code_id?: string | undefined } | { /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */