From 3a0323077ca8d2ba7d903f0e159c6a3e8fadf963 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Thu, 26 Mar 2026 00:42:26 +0000 Subject: [PATCH] feat: Sync with Seam API via f2684377a9aa107430467d285d1ce56bbfe139eb --- .../models/access-grants/access-method.ts | 4 +- .../access-grants/requested-access-method.ts | 4 +- .../seam/connect/models/acs/acs-entrance.ts | 8 +- src/lib/seam/connect/openapi.ts | 72 ++++++---- src/lib/seam/connect/route-types.ts | 124 +++++++++--------- 5 files changed, 116 insertions(+), 96 deletions(-) diff --git a/src/lib/seam/connect/models/access-grants/access-method.ts b/src/lib/seam/connect/models/access-grants/access-method.ts index f9351108..27ab8be3 100644 --- a/src/lib/seam/connect/models/access-grants/access-method.ts +++ b/src/lib/seam/connect/models/access-grants/access-method.ts @@ -220,9 +220,9 @@ export const access_method = z.object({ access_method_id: z.string().uuid().describe('ID of the access method.'), display_name: z.string().describe('Display name of the access method.'), mode: z - .enum(['code', 'card', 'mobile_key']) + .enum(['code', 'card', 'mobile_key', 'cloud_key']) .describe( - 'Access method mode. Supported values: `code`, `card`, `mobile_key`.', + 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.', ), created_at: z .string() diff --git a/src/lib/seam/connect/models/access-grants/requested-access-method.ts b/src/lib/seam/connect/models/access-grants/requested-access-method.ts index fbd9a317..c4c0927e 100644 --- a/src/lib/seam/connect/models/access-grants/requested-access-method.ts +++ b/src/lib/seam/connect/models/access-grants/requested-access-method.ts @@ -3,9 +3,9 @@ import { z } from 'zod' export const requested_access_method = z.object({ display_name: z.string().describe('Display name of the access method.'), mode: z - .enum(['code', 'card', 'mobile_key']) + .enum(['code', 'card', 'mobile_key', 'cloud_key']) .describe( - 'Access method mode. Supported values: `code`, `card`, `mobile_key`.', + 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.', ), code: z .string() diff --git a/src/lib/seam/connect/models/acs/acs-entrance.ts b/src/lib/seam/connect/models/acs/acs-entrance.ts index 119b18ff..a53085d5 100644 --- a/src/lib/seam/connect/models/acs/acs-entrance.ts +++ b/src/lib/seam/connect/models/acs/acs-entrance.ts @@ -31,17 +31,17 @@ export const acs_entrance_capability_flags = z.object({ .describe( 'Indicates whether the ACS entrance can be unlocked with pin codes.', ), - can_belong_to_reservation: z + can_unlock_with_cloud_key: z .boolean() .optional() .describe( - 'Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key.', + 'Indicates whether the ACS entrance can be unlocked with cloud key credentials.', ), - can_unlock_with_cloud_key: z + can_belong_to_reservation: z .boolean() .optional() .describe( - 'Indicates whether the ACS entrance can be remotely unlocked using a cloud_key credential.', + 'Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key.', ), }) diff --git a/src/lib/seam/connect/openapi.ts b/src/lib/seam/connect/openapi.ts index 634d7a8a..3d9f9b69 100644 --- a/src/lib/seam/connect/openapi.ts +++ b/src/lib/seam/connect/openapi.ts @@ -2099,8 +2099,8 @@ export default { }, mode: { description: - 'Access method mode. Supported values: `code`, `card`, `mobile_key`.', - enum: ['code', 'card', 'mobile_key'], + 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.', + enum: ['code', 'card', 'mobile_key', 'cloud_key'], type: 'string', }, }, @@ -2432,8 +2432,8 @@ export default { }, mode: { description: - 'Access method mode. Supported values: `code`, `card`, `mobile_key`.', - enum: ['code', 'card', 'mobile_key'], + 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.', + enum: ['code', 'card', 'mobile_key', 'cloud_key'], type: 'string', }, pending_mutations: { @@ -3906,7 +3906,7 @@ export default { }, can_unlock_with_cloud_key: { description: - 'Indicates whether the ACS entrance can be remotely unlocked using a cloud_key credential.', + 'Indicates whether the ACS entrance can be unlocked with cloud key credentials.', type: 'boolean', }, can_unlock_with_code: { @@ -24367,7 +24367,7 @@ export default { }, can_unlock_with_cloud_key: { description: - 'Indicates whether the ACS entrance can be remotely unlocked using a cloud_key credential.', + 'Indicates whether the ACS entrance can be unlocked with cloud key credentials.', type: 'boolean', }, can_unlock_with_code: { @@ -34219,8 +34219,8 @@ export default { }, mode: { description: - 'Access method mode. Supported values: `code`, `card`, `mobile_key`.', - enum: ['code', 'card', 'mobile_key'], + 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.', + enum: ['code', 'card', 'mobile_key', 'cloud_key'], type: 'string', }, }, @@ -35095,8 +35095,8 @@ export default { }, mode: { description: - 'Access method mode. Supported values: `code`, `card`, `mobile_key`.', - enum: ['code', 'card', 'mobile_key'], + 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.', + enum: ['code', 'card', 'mobile_key', 'cloud_key'], type: 'string', }, }, @@ -35453,8 +35453,13 @@ export default { }, mode: { description: - 'Access method mode. Supported values: `code`, `card`, `mobile_key`.', - enum: ['code', 'card', 'mobile_key'], + 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.', + enum: [ + 'code', + 'card', + 'mobile_key', + 'cloud_key', + ], type: 'string', }, }, @@ -36074,8 +36079,13 @@ export default { }, mode: { description: - 'Access method mode. Supported values: `code`, `card`, `mobile_key`.', - enum: ['code', 'card', 'mobile_key'], + 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.', + enum: [ + 'code', + 'card', + 'mobile_key', + 'cloud_key', + ], type: 'string', }, }, @@ -36743,8 +36753,13 @@ export default { }, mode: { description: - 'Access method mode. Supported values: `code`, `card`, `mobile_key`.', - enum: ['code', 'card', 'mobile_key'], + 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.', + enum: [ + 'code', + 'card', + 'mobile_key', + 'cloud_key', + ], type: 'string', }, }, @@ -37400,8 +37415,13 @@ export default { }, mode: { description: - 'Access method mode. Supported values: `code`, `card`, `mobile_key`.', - enum: ['code', 'card', 'mobile_key'], + 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.', + enum: [ + 'code', + 'card', + 'mobile_key', + 'cloud_key', + ], type: 'string', }, }, @@ -38799,8 +38819,8 @@ export default { }, mode: { description: - 'Access method mode. Supported values: `code`, `card`, `mobile_key`.', - enum: ['code', 'card', 'mobile_key'], + 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.', + enum: ['code', 'card', 'mobile_key', 'cloud_key'], type: 'string', }, pending_mutations: { @@ -39244,8 +39264,8 @@ export default { }, mode: { description: - 'Access method mode. Supported values: `code`, `card`, `mobile_key`.', - enum: ['code', 'card', 'mobile_key'], + 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.', + enum: ['code', 'card', 'mobile_key', 'cloud_key'], type: 'string', }, pending_mutations: { @@ -39721,8 +39741,8 @@ export default { }, mode: { description: - 'Access method mode. Supported values: `code`, `card`, `mobile_key`.', - enum: ['code', 'card', 'mobile_key'], + 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.', + enum: ['code', 'card', 'mobile_key', 'cloud_key'], type: 'string', }, pending_mutations: { @@ -40190,8 +40210,8 @@ export default { }, mode: { description: - 'Access method mode. Supported values: `code`, `card`, `mobile_key`.', - enum: ['code', 'card', 'mobile_key'], + 'Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.', + enum: ['code', 'card', 'mobile_key', 'cloud_key'], type: 'string', }, pending_mutations: { diff --git a/src/lib/seam/connect/route-types.ts b/src/lib/seam/connect/route-types.ts index c63d1e6a..c9c6c7fa 100644 --- a/src/lib/seam/connect/route-types.ts +++ b/src/lib/seam/connect/route-types.ts @@ -11756,8 +11756,8 @@ export type Routes = { /** Set of IDs of the [devices](https://docs.seam.co/latest/api/devices/list) to which access is being granted. */ device_ids?: string[] requested_access_methods: { - /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */ - mode: 'code' | 'card' | 'mobile_key' + /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */ + mode: 'code' | 'card' | 'mobile_key' | 'cloud_key' /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */ code?: string | undefined /** Maximum number of times the instant key can be used. Only applicable when mode is 'mobile_key'. Defaults to 1 if not specified. */ @@ -11793,8 +11793,8 @@ export type Routes = { requested_access_methods: { /** Display name of the access method. */ display_name: string - /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */ - mode: 'code' | 'card' | 'mobile_key' + /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */ + mode: 'code' | 'card' | 'mobile_key' | 'cloud_key' /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */ code?: string | undefined /** Maximum number of times the instant key can be used. Only applicable when mode is 'mobile_key'. Defaults to 1 if not specified. */ @@ -11993,8 +11993,8 @@ export type Routes = { requested_access_methods: { /** Display name of the access method. */ display_name: string - /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */ - mode: 'code' | 'card' | 'mobile_key' + /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */ + mode: 'code' | 'card' | 'mobile_key' | 'cloud_key' /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */ code?: string | undefined /** Maximum number of times the instant key can be used. Only applicable when mode is 'mobile_key'. Defaults to 1 if not specified. */ @@ -14033,10 +14033,10 @@ export type Routes = { can_unlock_with_card?: boolean | undefined /** Indicates whether the ACS entrance can be unlocked with pin codes. */ can_unlock_with_code?: boolean | undefined + /** Indicates whether the ACS entrance can be unlocked with cloud key credentials. */ + can_unlock_with_cloud_key?: boolean | undefined /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */ can_belong_to_reservation?: boolean | undefined - /** Indicates whether the ACS entrance can be remotely unlocked using a cloud_key credential. */ - can_unlock_with_cloud_key?: boolean | undefined }[] | undefined connected_accounts?: @@ -14613,8 +14613,8 @@ export type Routes = { access_method_id: string /** Display name of the access method. */ display_name: string - /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */ - mode: 'code' | 'card' | 'mobile_key' + /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */ + mode: 'code' | 'card' | 'mobile_key' | 'cloud_key' /** Date and time at which the access method was created. */ created_at: string /** Date and time at which the access method was issued. */ @@ -14781,8 +14781,8 @@ export type Routes = { requested_access_methods: { /** Display name of the access method. */ display_name: string - /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */ - mode: 'code' | 'card' | 'mobile_key' + /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */ + mode: 'code' | 'card' | 'mobile_key' | 'cloud_key' /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */ code?: string | undefined /** Maximum number of times the instant key can be used. Only applicable when mode is 'mobile_key'. Defaults to 1 if not specified. */ @@ -14950,8 +14950,8 @@ export type Routes = { access_grant_id: string /** Array of requested access methods to add to the access grant. */ requested_access_methods: { - /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */ - mode: 'code' | 'card' | 'mobile_key' + /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */ + mode: 'code' | 'card' | 'mobile_key' | 'cloud_key' /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */ code?: string | undefined /** Maximum number of times the instant key can be used. Only applicable when mode is 'mobile_key'. Defaults to 1 if not specified. */ @@ -14981,8 +14981,8 @@ export type Routes = { requested_access_methods: { /** Display name of the access method. */ display_name: string - /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */ - mode: 'code' | 'card' | 'mobile_key' + /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */ + mode: 'code' | 'card' | 'mobile_key' | 'cloud_key' /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */ code?: string | undefined /** Maximum number of times the instant key can be used. Only applicable when mode is 'mobile_key'. Defaults to 1 if not specified. */ @@ -15159,8 +15159,8 @@ export type Routes = { requested_access_methods: { /** Display name of the access method. */ display_name: string - /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */ - mode: 'code' | 'card' | 'mobile_key' + /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */ + mode: 'code' | 'card' | 'mobile_key' | 'cloud_key' /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */ code?: string | undefined /** Maximum number of times the instant key can be used. Only applicable when mode is 'mobile_key'. Defaults to 1 if not specified. */ @@ -15342,8 +15342,8 @@ export type Routes = { requested_access_methods: { /** Display name of the access method. */ display_name: string - /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */ - mode: 'code' | 'card' | 'mobile_key' + /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */ + mode: 'code' | 'card' | 'mobile_key' | 'cloud_key' /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */ code?: string | undefined /** Maximum number of times the instant key can be used. Only applicable when mode is 'mobile_key'. Defaults to 1 if not specified. */ @@ -17116,8 +17116,8 @@ export type Routes = { access_method_id: string /** Display name of the access method. */ display_name: string - /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */ - mode: 'code' | 'card' | 'mobile_key' + /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */ + mode: 'code' | 'card' | 'mobile_key' | 'cloud_key' /** Date and time at which the access method was created. */ created_at: string /** Date and time at which the access method was issued. */ @@ -19118,10 +19118,10 @@ export type Routes = { can_unlock_with_card?: boolean | undefined /** Indicates whether the ACS entrance can be unlocked with pin codes. */ can_unlock_with_code?: boolean | undefined + /** Indicates whether the ACS entrance can be unlocked with cloud key credentials. */ + can_unlock_with_cloud_key?: boolean | undefined /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */ can_belong_to_reservation?: boolean | undefined - /** Indicates whether the ACS entrance can be remotely unlocked using a cloud_key credential. */ - can_unlock_with_cloud_key?: boolean | undefined }[] | undefined access_grants?: @@ -19145,8 +19145,8 @@ export type Routes = { requested_access_methods: { /** Display name of the access method. */ display_name: string - /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */ - mode: 'code' | 'card' | 'mobile_key' + /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */ + mode: 'code' | 'card' | 'mobile_key' | 'cloud_key' /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */ code?: string | undefined /** Maximum number of times the instant key can be used. Only applicable when mode is 'mobile_key'. Defaults to 1 if not specified. */ @@ -19301,8 +19301,8 @@ export type Routes = { access_method_id: string /** Display name of the access method. */ display_name: string - /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */ - mode: 'code' | 'card' | 'mobile_key' + /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */ + mode: 'code' | 'card' | 'mobile_key' | 'cloud_key' /** Date and time at which the access method was created. */ created_at: string /** Date and time at which the access method was issued. */ @@ -19665,8 +19665,8 @@ export type Routes = { access_method_id: string /** Display name of the access method. */ display_name: string - /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */ - mode: 'code' | 'card' | 'mobile_key' + /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */ + mode: 'code' | 'card' | 'mobile_key' | 'cloud_key' /** Date and time at which the access method was created. */ created_at: string /** Date and time at which the access method was issued. */ @@ -19798,8 +19798,8 @@ export type Routes = { access_method_id: string /** Display name of the access method. */ display_name: string - /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */ - mode: 'code' | 'card' | 'mobile_key' + /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */ + mode: 'code' | 'card' | 'mobile_key' | 'cloud_key' /** Date and time at which the access method was created. */ created_at: string /** Date and time at which the access method was issued. */ @@ -19930,8 +19930,8 @@ export type Routes = { access_method_id: string /** Display name of the access method. */ display_name: string - /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */ - mode: 'code' | 'card' | 'mobile_key' + /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */ + mode: 'code' | 'card' | 'mobile_key' | 'cloud_key' /** Date and time at which the access method was created. */ created_at: string /** Date and time at which the access method was issued. */ @@ -20639,10 +20639,10 @@ export type Routes = { can_unlock_with_card?: boolean | undefined /** Indicates whether the ACS entrance can be unlocked with pin codes. */ can_unlock_with_code?: boolean | undefined + /** Indicates whether the ACS entrance can be unlocked with cloud key credentials. */ + can_unlock_with_cloud_key?: boolean | undefined /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */ can_belong_to_reservation?: boolean | undefined - /** Indicates whether the ACS entrance can be remotely unlocked using a cloud_key credential. */ - can_unlock_with_cloud_key?: boolean | undefined }[] } maxDuration: undefined @@ -22582,10 +22582,10 @@ export type Routes = { can_unlock_with_card?: boolean | undefined /** Indicates whether the ACS entrance can be unlocked with pin codes. */ can_unlock_with_code?: boolean | undefined + /** Indicates whether the ACS entrance can be unlocked with cloud key credentials. */ + can_unlock_with_cloud_key?: boolean | undefined /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */ can_belong_to_reservation?: boolean | undefined - /** Indicates whether the ACS entrance can be remotely unlocked using a cloud_key credential. */ - can_unlock_with_cloud_key?: boolean | undefined }[] } maxDuration: undefined @@ -26781,10 +26781,10 @@ export type Routes = { can_unlock_with_card?: boolean | undefined /** Indicates whether the ACS entrance can be unlocked with pin codes. */ can_unlock_with_code?: boolean | undefined + /** Indicates whether the ACS entrance can be unlocked with cloud key credentials. */ + can_unlock_with_cloud_key?: boolean | undefined /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */ can_belong_to_reservation?: boolean | undefined - /** Indicates whether the ACS entrance can be remotely unlocked using a cloud_key credential. */ - can_unlock_with_cloud_key?: boolean | undefined } } maxDuration: undefined @@ -26991,10 +26991,10 @@ export type Routes = { can_unlock_with_card?: boolean | undefined /** Indicates whether the ACS entrance can be unlocked with pin codes. */ can_unlock_with_code?: boolean | undefined + /** Indicates whether the ACS entrance can be unlocked with cloud key credentials. */ + can_unlock_with_cloud_key?: boolean | undefined /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */ can_belong_to_reservation?: boolean | undefined - /** Indicates whether the ACS entrance can be remotely unlocked using a cloud_key credential. */ - can_unlock_with_cloud_key?: boolean | undefined }[] /** Information about the current page of results. */ pagination: { @@ -30437,10 +30437,10 @@ export type Routes = { can_unlock_with_card?: boolean | undefined /** Indicates whether the ACS entrance can be unlocked with pin codes. */ can_unlock_with_code?: boolean | undefined + /** Indicates whether the ACS entrance can be unlocked with cloud key credentials. */ + can_unlock_with_cloud_key?: boolean | undefined /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */ can_belong_to_reservation?: boolean | undefined - /** Indicates whether the ACS entrance can be remotely unlocked using a cloud_key credential. */ - can_unlock_with_cloud_key?: boolean | undefined }[] } maxDuration: undefined @@ -72113,8 +72113,8 @@ export type Routes = { requested_access_methods: { /** Display name of the access method. */ display_name: string - /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */ - mode: 'code' | 'card' | 'mobile_key' + /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */ + mode: 'code' | 'card' | 'mobile_key' | 'cloud_key' /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */ code?: string | undefined /** Maximum number of times the instant key can be used. Only applicable when mode is 'mobile_key'. Defaults to 1 if not specified. */ @@ -78383,8 +78383,8 @@ export type Routes = { requested_access_methods: { /** Display name of the access method. */ display_name: string - /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */ - mode: 'code' | 'card' | 'mobile_key' + /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */ + mode: 'code' | 'card' | 'mobile_key' | 'cloud_key' /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */ code?: string | undefined /** Maximum number of times the instant key can be used. Only applicable when mode is 'mobile_key'. Defaults to 1 if not specified. */ @@ -78844,8 +78844,8 @@ export type Routes = { requested_access_methods: { /** Display name of the access method. */ display_name: string - /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */ - mode: 'code' | 'card' | 'mobile_key' + /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */ + mode: 'code' | 'card' | 'mobile_key' | 'cloud_key' /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */ code?: string | undefined /** Maximum number of times the instant key can be used. Only applicable when mode is 'mobile_key'. Defaults to 1 if not specified. */ @@ -79682,10 +79682,10 @@ export type Routes = { can_unlock_with_card?: boolean | undefined /** Indicates whether the ACS entrance can be unlocked with pin codes. */ can_unlock_with_code?: boolean | undefined + /** Indicates whether the ACS entrance can be unlocked with cloud key credentials. */ + can_unlock_with_cloud_key?: boolean | undefined /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */ can_belong_to_reservation?: boolean | undefined - /** Indicates whether the ACS entrance can be remotely unlocked using a cloud_key credential. */ - can_unlock_with_cloud_key?: boolean | undefined }[] }[] }[] @@ -81814,10 +81814,10 @@ export type Routes = { can_unlock_with_card?: boolean | undefined /** Indicates whether the ACS entrance can be unlocked with pin codes. */ can_unlock_with_code?: boolean | undefined + /** Indicates whether the ACS entrance can be unlocked with cloud key credentials. */ + can_unlock_with_cloud_key?: boolean | undefined /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */ can_belong_to_reservation?: boolean | undefined - /** Indicates whether the ACS entrance can be remotely unlocked using a cloud_key credential. */ - can_unlock_with_cloud_key?: boolean | undefined }[] | undefined connected_accounts?: @@ -82157,8 +82157,8 @@ export type Routes = { access_method_id: string /** Display name of the access method. */ display_name: string - /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */ - mode: 'code' | 'card' | 'mobile_key' + /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */ + mode: 'code' | 'card' | 'mobile_key' | 'cloud_key' /** Date and time at which the access method was created. */ created_at: string /** Date and time at which the access method was issued. */ @@ -108664,10 +108664,10 @@ export type Routes = { can_unlock_with_card?: boolean | undefined /** Indicates whether the ACS entrance can be unlocked with pin codes. */ can_unlock_with_code?: boolean | undefined + /** Indicates whether the ACS entrance can be unlocked with cloud key credentials. */ + can_unlock_with_cloud_key?: boolean | undefined /** Indicates whether the ACS entrance can belong to a reservation via an access_grant.reservation_key. */ can_belong_to_reservation?: boolean | undefined - /** Indicates whether the ACS entrance can be remotely unlocked using a cloud_key credential. */ - can_unlock_with_cloud_key?: boolean | undefined }[] | undefined acs_systems?: @@ -111992,8 +111992,8 @@ export type Routes = { access_method_id: string /** Display name of the access method. */ display_name: string - /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */ - mode: 'code' | 'card' | 'mobile_key' + /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */ + mode: 'code' | 'card' | 'mobile_key' | 'cloud_key' /** Date and time at which the access method was created. */ created_at: string /** Date and time at which the access method was issued. */ @@ -112125,8 +112125,8 @@ export type Routes = { requested_access_methods: { /** Display name of the access method. */ display_name: string - /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */ - mode: 'code' | 'card' | 'mobile_key' + /** Access method mode. Supported values: `code`, `card`, `mobile_key`, `cloud_key`. */ + mode: 'code' | 'card' | 'mobile_key' | 'cloud_key' /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */ code?: string | undefined /** Maximum number of times the instant key can be used. Only applicable when mode is 'mobile_key'. Defaults to 1 if not specified. */