From 2157028ba296fc9c5e435a30be83d68daa412d8d Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Thu, 7 May 2026 17:20:33 +0000 Subject: [PATCH] feat: Sync with Seam API via f4c121dfd0c6ca297f64f5f9a1a22762944bce7e --- .../models/access-codes/unmanaged-access-code.ts | 4 ++-- src/lib/seam/connect/openapi.ts | 4 ++-- src/lib/seam/connect/route-types.ts | 16 ++++++++-------- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/lib/seam/connect/models/access-codes/unmanaged-access-code.ts b/src/lib/seam/connect/models/access-codes/unmanaged-access-code.ts index 946e43c4..be6aae0e 100644 --- a/src/lib/seam/connect/models/access-codes/unmanaged-access-code.ts +++ b/src/lib/seam/connect/models/access-codes/unmanaged-access-code.ts @@ -25,9 +25,9 @@ export const unmanaged_access_code = access_code .literal(false) .describe('Indicates that Seam does not manage the access code.'), status: z - .enum(['set']) + .enum(['set', 'unset']) .describe( - 'Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational.', + 'Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device.', ), dormakaba_oracode_metadata: dormakaba_oracode_access_code_metadata .nullable() diff --git a/src/lib/seam/connect/openapi.ts b/src/lib/seam/connect/openapi.ts index 65e121f5..2974dc00 100644 --- a/src/lib/seam/connect/openapi.ts +++ b/src/lib/seam/connect/openapi.ts @@ -27565,8 +27565,8 @@ const openapi: OpenAPISpec = { }, status: { description: - 'Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational.', - enum: ['set'], + 'Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device.', + enum: ['set', 'unset'], type: 'string', }, type: { diff --git a/src/lib/seam/connect/route-types.ts b/src/lib/seam/connect/route-types.ts index cd9d0d22..6ad6e00f 100644 --- a/src/lib/seam/connect/route-types.ts +++ b/src/lib/seam/connect/route-types.ts @@ -7943,8 +7943,8 @@ export type Routes = { starts_at?: (string | null) | undefined /** Date and time after which the time-bound access code becomes inactive. */ ends_at?: (string | null) | undefined - /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */ - status: 'set' + /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device. */ + status: 'set' | 'unset' /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */ dormakaba_oracode_metadata?: | ({ @@ -10100,8 +10100,8 @@ export type Routes = { starts_at?: (string | null) | undefined /** Date and time after which the time-bound access code becomes inactive. */ ends_at?: (string | null) | undefined - /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */ - status: 'set' + /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device. */ + status: 'set' | 'unset' /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */ dormakaba_oracode_metadata?: | ({ @@ -10679,8 +10679,8 @@ export type Routes = { starts_at?: (string | null) | undefined /** Date and time after which the time-bound access code becomes inactive. */ ends_at?: (string | null) | undefined - /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */ - status: 'set' + /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device. */ + status: 'set' | 'unset' /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */ dormakaba_oracode_metadata?: | ({ @@ -119181,8 +119181,8 @@ export type Routes = { starts_at?: (string | null) | undefined /** Date and time after which the time-bound access code becomes inactive. */ ends_at?: (string | null) | undefined - /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. */ - status: 'set' + /** Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device. */ + status: 'set' | 'unset' /** Metadata for a dormakaba Oracode unmanaged access code. Only present for unmanaged access codes from dormakaba Oracode devices. */ dormakaba_oracode_metadata?: | ({