From f8896c21c9431fe58e95cc027c945040972c0115 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Thu, 28 May 2026 22:40:15 +0000 Subject: [PATCH] feat: Sync with Seam API via 1b1fa070b5c4a6f18c06ae2477f64641cf8812f3 --- .../seam/connect/models/acs/acs-entrance.ts | 12 +++ src/lib/seam/connect/openapi.ts | 54 ++++++++++++ src/lib/seam/connect/route-types.ts | 88 +++++++++++++++++++ 3 files changed, 154 insertions(+) diff --git a/src/lib/seam/connect/models/acs/acs-entrance.ts b/src/lib/seam/connect/models/acs/acs-entrance.ts index 205839b4..333e1ca8 100644 --- a/src/lib/seam/connect/models/acs/acs-entrance.ts +++ b/src/lib/seam/connect/models/acs/acs-entrance.ts @@ -49,10 +49,21 @@ const entrance_shares_zone = common_acs_entrance_warning 'Indicates that this entrance shares a zone with other entrances in Avigilon Alta and cannot be added to an access group individually.', ) +const entrance_setup_required = common_acs_entrance_warning + .extend({ + warning_code: z + .literal('entrance_setup_required') + .describe(warning_code_description), + }) + .describe( + 'Indicates that this entrance requires additional configuration in the access control system before Seam can fully manage it.', + ) + const acs_entrance_warning = z .discriminatedUnion('warning_code', [ salto_ks_entrance_access_code_support_removed, entrance_shares_zone, + entrance_setup_required, ]) .describe( 'Warning associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).', @@ -62,6 +73,7 @@ const _acs_entrance_warning_map = z.object({ salto_ks_entrance_access_code_support_removed: salto_ks_entrance_access_code_support_removed.optional().nullable(), entrance_shares_zone: entrance_shares_zone.optional().nullable(), + entrance_setup_required: entrance_setup_required.optional().nullable(), }) export type AcsEntranceWarningMap = z.infer diff --git a/src/lib/seam/connect/openapi.ts b/src/lib/seam/connect/openapi.ts index 1c72df0b..526a5daf 100644 --- a/src/lib/seam/connect/openapi.ts +++ b/src/lib/seam/connect/openapi.ts @@ -4711,6 +4711,31 @@ const openapi: OpenAPISpec = { required: ['created_at', 'message', 'warning_code'], type: 'object', }, + { + description: + 'Indicates that this entrance requires additional configuration in the access control system before Seam can fully manage it.', + 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: ['entrance_setup_required'], + type: 'string', + }, + }, + required: ['created_at', 'message', 'warning_code'], + type: 'object', + }, ], }, type: 'array', @@ -26217,6 +26242,35 @@ const openapi: OpenAPISpec = { ], type: 'object', }, + { + description: + 'Indicates that this entrance requires additional configuration in the access control system before Seam can fully manage it.', + 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: ['entrance_setup_required'], + type: 'string', + }, + }, + required: [ + 'created_at', + 'message', + 'warning_code', + ], + type: 'object', + }, ], }, type: 'array', diff --git a/src/lib/seam/connect/route-types.ts b/src/lib/seam/connect/route-types.ts index 60b26fe8..57c2c199 100644 --- a/src/lib/seam/connect/route-types.ts +++ b/src/lib/seam/connect/route-types.ts @@ -15569,6 +15569,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'entrance_shares_zone' } + | { + /** Date and time at which Seam created the warning. */ + created_at: string + /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'entrance_setup_required' + } )[] /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */ latch_metadata?: @@ -21115,6 +21123,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'entrance_shares_zone' } + | { + /** Date and time at which Seam created the warning. */ + created_at: string + /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'entrance_setup_required' + } )[] /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */ latch_metadata?: @@ -22730,6 +22746,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'entrance_shares_zone' } + | { + /** Date and time at which Seam created the warning. */ + created_at: string + /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'entrance_setup_required' + } )[] /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */ latch_metadata?: @@ -24757,6 +24781,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'entrance_shares_zone' } + | { + /** Date and time at which Seam created the warning. */ + created_at: string + /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'entrance_setup_required' + } )[] /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */ latch_metadata?: @@ -31220,6 +31252,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'entrance_shares_zone' } + | { + /** Date and time at which Seam created the warning. */ + created_at: string + /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'entrance_setup_required' + } )[] /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */ latch_metadata?: @@ -31468,6 +31508,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'entrance_shares_zone' } + | { + /** Date and time at which Seam created the warning. */ + created_at: string + /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'entrance_setup_required' + } )[] /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */ latch_metadata?: @@ -35260,6 +35308,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'entrance_shares_zone' } + | { + /** Date and time at which Seam created the warning. */ + created_at: string + /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'entrance_setup_required' + } )[] /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */ latch_metadata?: @@ -88457,6 +88513,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'entrance_shares_zone' } + | { + /** Date and time at which Seam created the warning. */ + created_at: string + /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'entrance_setup_required' + } )[] /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */ latch_metadata?: @@ -90734,6 +90798,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'entrance_shares_zone' } + | { + /** Date and time at which Seam created the warning. */ + created_at: string + /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'entrance_setup_required' + } )[] /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */ latch_metadata?: @@ -117177,6 +117249,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'entrance_shares_zone' } + | { + /** Date and time at which Seam created the warning. */ + created_at: string + /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'entrance_setup_required' + } )[] /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */ latch_metadata?: @@ -120202,6 +120282,14 @@ export type Routes = { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'entrance_shares_zone' } + | { + /** Date and time at which Seam created the warning. */ + created_at: string + /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */ + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'entrance_setup_required' + } )[] /** Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */ latch_metadata?: