From 3a4016502ab7a8ee4b6c7e566646dc890f57db78 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Fri, 24 Nov 2023 15:10:12 +0000 Subject: [PATCH] Update via seamapi/seam-connect@67b290aa46dacb43e315a49a930be668a66193b4 --- src/lib/seam/connect/openapi.ts | 12 ++++-- src/lib/seam/connect/route-types.ts | 43 +++++++++++-------- .../seam/connect/unstable/models/acs/user.ts | 1 + .../unstable/models/devices/managed-device.ts | 4 +- 4 files changed, 37 insertions(+), 23 deletions(-) diff --git a/src/lib/seam/connect/openapi.ts b/src/lib/seam/connect/openapi.ts index 9bda23ca..51479094 100644 --- a/src/lib/seam/connect/openapi.ts +++ b/src/lib/seam/connect/openapi.ts @@ -247,6 +247,7 @@ export default { }, external_type_display_name: { type: 'string' }, full_name: { type: 'string' }, + hid_acs_system_id: { format: 'uuid', type: 'string' }, is_suspended: { type: 'boolean' }, phone_number: { nullable: true, type: 'string' }, workspace_id: { format: 'uuid', type: 'string' }, @@ -698,12 +699,12 @@ export default { }, supports_accessory_keypad: { description: - 'Deprecated: Use model.offline_access_codes_enabled.', + 'Deprecated. Use model.accessory_keypad_supported.', type: 'boolean', }, supports_offline_access_codes: { description: - 'Deprecated: Use model.accessory_keypad_supported.', + 'Deprecated. Use offline_access_codes_enabled.', type: 'boolean', }, }, @@ -4747,6 +4748,7 @@ export default { }, email_address: { format: 'email', type: 'string' }, full_name: { type: 'string' }, + hid_acs_system_id: { format: 'uuid', type: 'string' }, phone_number: { nullable: true, type: 'string' }, }, required: ['acs_user_id'], @@ -4795,6 +4797,7 @@ export default { }, email_address: { format: 'email', type: 'string' }, full_name: { type: 'string' }, + hid_acs_system_id: { format: 'uuid', type: 'string' }, phone_number: { nullable: true, type: 'string' }, }, required: ['acs_user_id'], @@ -7571,7 +7574,10 @@ export default { content: { 'application/json': { schema: { - properties: { device_id: { format: 'uuid', type: 'string' } }, + properties: { + device_id: { format: 'uuid', type: 'string' }, + is_programmed: { type: 'boolean' }, + }, required: ['device_id'], type: 'object', }, diff --git a/src/lib/seam/connect/route-types.ts b/src/lib/seam/connect/route-types.ts index 78e38e1f..8848539d 100644 --- a/src/lib/seam/connect/route-types.ts +++ b/src/lib/seam/connect/route-types.ts @@ -729,6 +729,7 @@ export interface Routes { acs_users: Array<{ acs_user_id: string acs_system_id: string + hid_acs_system_id?: string | undefined workspace_id: string created_at: string display_name: string @@ -1103,6 +1104,7 @@ export interface Routes { acs_user: { acs_user_id: string acs_system_id: string + hid_acs_system_id?: string | undefined workspace_id: string created_at: string display_name: string @@ -1141,6 +1143,7 @@ export interface Routes { acs_user: { acs_user_id: string acs_system_id: string + hid_acs_system_id?: string | undefined workspace_id: string created_at: string display_name: string @@ -1168,6 +1171,7 @@ export interface Routes { acs_users: Array<{ acs_user_id: string acs_system_id: string + hid_acs_system_id?: string | undefined workspace_id: string created_at: string display_name: string @@ -1227,6 +1231,7 @@ export interface Routes { email?: string | undefined phone_number?: string | undefined email_address?: string | undefined + hid_acs_system_id?: string | undefined } commonParams: {} formData: {} @@ -1800,9 +1805,9 @@ export interface Routes { online_access_codes_enabled?: boolean | undefined /** Indicates whether it is currently possible to use offline access codes for the device. */ offline_access_codes_enabled?: boolean | undefined - /** Deprecated: Use model.offline_access_codes_enabled. */ + /** Deprecated. Use model.accessory_keypad_supported. */ supports_accessory_keypad?: boolean | undefined - /** Deprecated: Use model.accessory_keypad_supported. */ + /** Deprecated. Use offline_access_codes_enabled. */ supports_offline_access_codes?: boolean | undefined } & { august_metadata?: @@ -2534,9 +2539,9 @@ export interface Routes { online_access_codes_enabled?: boolean | undefined /** Indicates whether it is currently possible to use offline access codes for the device. */ offline_access_codes_enabled?: boolean | undefined - /** Deprecated: Use model.offline_access_codes_enabled. */ + /** Deprecated. Use model.accessory_keypad_supported. */ supports_accessory_keypad?: boolean | undefined - /** Deprecated: Use model.accessory_keypad_supported. */ + /** Deprecated. Use offline_access_codes_enabled. */ supports_offline_access_codes?: boolean | undefined } & { august_metadata?: @@ -3701,9 +3706,9 @@ export interface Routes { online_access_codes_enabled?: boolean | undefined /** Indicates whether it is currently possible to use offline access codes for the device. */ offline_access_codes_enabled?: boolean | undefined - /** Deprecated: Use model.offline_access_codes_enabled. */ + /** Deprecated. Use model.accessory_keypad_supported. */ supports_accessory_keypad?: boolean | undefined - /** Deprecated: Use model.accessory_keypad_supported. */ + /** Deprecated. Use offline_access_codes_enabled. */ supports_offline_access_codes?: boolean | undefined } & { august_metadata?: @@ -4314,9 +4319,9 @@ export interface Routes { online_access_codes_enabled?: boolean | undefined /** Indicates whether it is currently possible to use offline access codes for the device. */ offline_access_codes_enabled?: boolean | undefined - /** Deprecated: Use model.offline_access_codes_enabled. */ + /** Deprecated. Use model.accessory_keypad_supported. */ supports_accessory_keypad?: boolean | undefined - /** Deprecated: Use model.accessory_keypad_supported. */ + /** Deprecated. Use offline_access_codes_enabled. */ supports_offline_access_codes?: boolean | undefined } & { august_metadata?: @@ -5048,9 +5053,9 @@ export interface Routes { online_access_codes_enabled?: boolean | undefined /** Indicates whether it is currently possible to use offline access codes for the device. */ offline_access_codes_enabled?: boolean | undefined - /** Deprecated: Use model.offline_access_codes_enabled. */ + /** Deprecated. Use model.accessory_keypad_supported. */ supports_accessory_keypad?: boolean | undefined - /** Deprecated: Use model.accessory_keypad_supported. */ + /** Deprecated. Use offline_access_codes_enabled. */ supports_offline_access_codes?: boolean | undefined } & { august_metadata?: @@ -5661,9 +5666,9 @@ export interface Routes { online_access_codes_enabled?: boolean | undefined /** Indicates whether it is currently possible to use offline access codes for the device. */ offline_access_codes_enabled?: boolean | undefined - /** Deprecated: Use model.offline_access_codes_enabled. */ + /** Deprecated. Use model.accessory_keypad_supported. */ supports_accessory_keypad?: boolean | undefined - /** Deprecated: Use model.accessory_keypad_supported. */ + /** Deprecated. Use offline_access_codes_enabled. */ supports_offline_access_codes?: boolean | undefined } & { august_metadata?: @@ -6383,6 +6388,7 @@ export interface Routes { jsonBody: {} commonParams: { device_id: string + is_programmed?: boolean | undefined } formData: {} jsonResponse: { @@ -6709,9 +6715,9 @@ export interface Routes { online_access_codes_enabled?: boolean | undefined /** Indicates whether it is currently possible to use offline access codes for the device. */ offline_access_codes_enabled?: boolean | undefined - /** Deprecated: Use model.offline_access_codes_enabled. */ + /** Deprecated. Use model.accessory_keypad_supported. */ supports_accessory_keypad?: boolean | undefined - /** Deprecated: Use model.accessory_keypad_supported. */ + /** Deprecated. Use offline_access_codes_enabled. */ supports_offline_access_codes?: boolean | undefined } & { august_metadata?: @@ -7473,9 +7479,9 @@ export interface Routes { online_access_codes_enabled?: boolean | undefined /** Indicates whether it is currently possible to use offline access codes for the device. */ offline_access_codes_enabled?: boolean | undefined - /** Deprecated: Use model.offline_access_codes_enabled. */ + /** Deprecated. Use model.accessory_keypad_supported. */ supports_accessory_keypad?: boolean | undefined - /** Deprecated: Use model.accessory_keypad_supported. */ + /** Deprecated. Use offline_access_codes_enabled. */ supports_offline_access_codes?: boolean | undefined } & { august_metadata?: @@ -8237,9 +8243,9 @@ export interface Routes { online_access_codes_enabled?: boolean | undefined /** Indicates whether it is currently possible to use offline access codes for the device. */ offline_access_codes_enabled?: boolean | undefined - /** Deprecated: Use model.offline_access_codes_enabled. */ + /** Deprecated. Use model.accessory_keypad_supported. */ supports_accessory_keypad?: boolean | undefined - /** Deprecated: Use model.accessory_keypad_supported. */ + /** Deprecated. Use offline_access_codes_enabled. */ supports_offline_access_codes?: boolean | undefined } & { august_metadata?: @@ -8786,6 +8792,7 @@ export interface Routes { acs_users: Array<{ acs_user_id: string acs_system_id: string + hid_acs_system_id?: string | undefined workspace_id: string created_at: string display_name: string diff --git a/src/lib/seam/connect/unstable/models/acs/user.ts b/src/lib/seam/connect/unstable/models/acs/user.ts index 04a6874f..2da9ef60 100644 --- a/src/lib/seam/connect/unstable/models/acs/user.ts +++ b/src/lib/seam/connect/unstable/models/acs/user.ts @@ -36,6 +36,7 @@ export const acs_user = z .object({ acs_user_id: z.string().uuid(), acs_system_id: z.string().uuid(), + hid_acs_system_id: z.string().uuid().optional(), workspace_id: z.string().uuid(), created_at: z.string().datetime(), display_name: z.string(), diff --git a/src/lib/seam/connect/unstable/models/devices/managed-device.ts b/src/lib/seam/connect/unstable/models/devices/managed-device.ts index 7bd047b0..9ea04423 100644 --- a/src/lib/seam/connect/unstable/models/devices/managed-device.ts +++ b/src/lib/seam/connect/unstable/models/devices/managed-device.ts @@ -84,11 +84,11 @@ export const common_device_properties = z.object({ // Deprecated legacy capability support props supports_accessory_keypad: z .boolean() - .describe('Deprecated: Use model.offline_access_codes_enabled.') + .describe('Deprecated. Use model.accessory_keypad_supported.') .optional(), supports_offline_access_codes: z .boolean() - .describe('Deprecated: Use model.accessory_keypad_supported.') + .describe('Deprecated. Use offline_access_codes_enabled.') .optional(), })