From 68cd8b44b471083b8f3d7580aab8a95e7290b2f0 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Mon, 13 Jan 2025 12:07:37 -0800 Subject: [PATCH 1/4] feat: Add types for access codes errors and warnings (#1453) --- .../access-codes/managed-access-code.ts | 289 ++- .../connected-accounts/connected-account.ts | 41 +- src/lib/seam/connect/openapi.ts | 1591 +++++++++++-- src/lib/seam/connect/route-types.ts | 2117 +++++++++++++++-- 4 files changed, 3627 insertions(+), 411 deletions(-) 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 9665e30a..a078303b 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 @@ -8,19 +8,294 @@ const common_access_code_error = z.object({ is_access_code_error: z.literal(true), }) +const error_code_description = + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.' + +const smartthings_failed_to_set_access_code_error = common_access_code_error + .extend({ + error_code: z + .literal('smartthings_failed_to_set_access_code') + .describe(error_code_description), + }) + .describe('Failed to set code on Smart Things device.') + +const smartthings_failed_to_set_after_multiple_retries = + common_access_code_error + .extend({ + error_code: z + .literal('smartthings_failed_to_set_after_multiple_retries') + .describe(error_code_description), + }) + .describe('Failed to set code after multiple retries.') + +const code_modified_external_to_seam_error = common_access_code_error + .extend({ + error_code: z + .literal('code_modified_external_to_seam') + .describe(error_code_description), + }) + .describe( + 'Code was modified or removed externally after Seam successfully set it on the device.', + ) + +const failed_to_set_on_device = common_access_code_error + .extend({ + error_code: z + .literal('failed_to_set_on_device') + .describe(error_code_description), + }) + .describe('Failed to set code on device.') + +const failed_to_remove_from_device = common_access_code_error + .extend({ + error_code: z + .literal('failed_to_remove_from_device') + .describe(error_code_description), + }) + .describe('Failed to remove code from device.') + +const duplicate_code_on_device = common_access_code_error + .extend({ + error_code: z + .literal('duplicate_code_on_device') + .describe(error_code_description), + }) + .describe('Duplicate access code detected on device.') + +const duplicate_code_attempt_prevented = common_access_code_error + .extend({ + error_code: z + .literal('duplicate_code_attempt_prevented') + .describe(error_code_description), + }) + .describe('An attempt to modify this access code was prevented.') + +const igloohome_bridge_too_many_pending_jobs = common_access_code_error + .extend({ + error_code: z + .literal('igloohome_bridge_too_many_pending_jobs') + .describe(error_code_description), + }) + .describe('Igloohome bridge has too many pending jobs in the queue.') + +const igloohome_bridge_offline = common_access_code_error + .extend({ + error_code: z + .literal('igloohome_bridge_offline') + .describe(error_code_description), + }) + .describe('Igloohome bridge is offline.') + +const kwikset_unable_to_confirm_code = common_access_code_error + .extend({ + error_code: z + .literal('kwikset_unable_to_confirm_code') + .describe(error_code_description), + }) + .describe('Unable to confirm the access code is set on Kwikset device.') + +const kwikset_unable_to_confirm_deletion = common_access_code_error + .extend({ + error_code: z + .literal('kwikset_unable_to_confirm_deletion') + .describe(error_code_description), + }) + .describe( + 'Unable to confirm the deletion of the access code on Kwikset device.', + ) + +const igloohome_offline_access_code_no_variance_available = + common_access_code_error + .extend({ + error_code: z + .literal('igloohome_offline_access_code_no_variance_available') + .describe(error_code_description), + }) + .describe('Lock as reached max amount of codes.') + +const august_lock_invalid_code_length = common_access_code_error + .extend({ + error_code: z + .literal('august_lock_invalid_code_length') + .describe(error_code_description), + }) + .describe('Invalid code length for August lock.') + +const august_device_programming_delay_error = common_access_code_error + .extend({ + error_code: z + .literal('august_device_programming_delay') + .describe(error_code_description), + }) + .describe('Access code has not yet been fully moved to the device.') + +const august_device_slots_full = common_access_code_error + .extend({ + error_code: z + .literal('august_device_slots_full') + .describe(error_code_description), + }) + .describe('All access code slots on the device are full.') + +const august_lock_missing_keypad = common_access_code_error + .extend({ + error_code: z + .literal('august_lock_missing_keypad') + .describe(error_code_description), + }) + .describe('August lock is missing a keypad.') + +const salto_site_user_not_subscribed = common_access_code_error + .extend({ + error_code: z + .literal('salto_site_user_not_subscribed') + .describe(error_code_description), + }) + .describe('Salto site user is not subscribed.') + +const hubitat_device_programming_delay = common_access_code_error + .extend({ + error_code: z + .literal('hubitat_device_programming_delay') + .describe(error_code_description), + }) + .describe('Access code has not yet been fully moved to the device.') + +const hubitat_no_free_positions_available = common_access_code_error + .extend({ + error_code: z + .literal('hubitat_no_free_positions_available') + .describe(error_code_description), + }) + .describe('No free positions available on the device.') + +const access_code_error = z.union([ + smartthings_failed_to_set_access_code_error, + smartthings_failed_to_set_after_multiple_retries, + failed_to_set_on_device, + failed_to_remove_from_device, + duplicate_code_on_device, + duplicate_code_attempt_prevented, + igloohome_bridge_too_many_pending_jobs, + igloohome_bridge_offline, + igloohome_offline_access_code_no_variance_available, + kwikset_unable_to_confirm_code, + kwikset_unable_to_confirm_deletion, + code_modified_external_to_seam_error, + august_lock_invalid_code_length, + august_device_programming_delay_error, + august_device_slots_full, + august_lock_missing_keypad, + salto_site_user_not_subscribed, + hubitat_device_programming_delay, + hubitat_no_free_positions_available, +]) + +export type AccessCodeError = z.infer + const common_access_code_warning = z.object({ message: z.string(), }) -const access_code_error = common_access_code_error.extend({ - error_code: z.string(), -}) +const warning_code_description = + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.' -export type AccessCodeError = z.infer +const smartthings_failed_to_set_access_code_warning = common_access_code_warning + .extend({ + warning_code: z + .literal('smartthings_failed_to_set_access_code') + .describe(warning_code_description), + }) + .describe('Failed to set code on Smart Things device.') -const access_code_warning = common_access_code_warning.extend({ - warning_code: z.string(), -}) +const august_device_programming_delay_warning = common_access_code_warning + .extend({ + warning_code: z + .literal('august_device_programming_delay') + .describe(warning_code_description), + }) + .describe('Access code has not yet been fully moved to the device.') + +const code_modified_external_to_seam_warning = common_access_code_warning + .extend({ + warning_code: z + .literal('code_modified_external_to_seam') + .describe(warning_code_description), + }) + .describe( + 'Code was modified or removed externally after Seam successfully set it on the device.', + ) + +const schlage_detected_duplicate = common_access_code_warning + .extend({ + warning_code: z + .literal('schlage_detected_duplicate') + .describe(warning_code_description), + }) + .describe('Duplicate access code detected.') + +const schlage_creation_outage = common_access_code_warning + .extend({ + warning_code: z + .literal('schlage_creation_outage') + .describe(warning_code_description), + }) + .describe('Received an error when attempting to create this code.') + +const delay_in_setting_on_device = common_access_code_warning + .extend({ + warning_code: z + .literal('delay_in_setting_on_device') + .describe(warning_code_description), + }) + .describe('Delay in setting code on device.') + +const delay_in_removing_from_device = common_access_code_warning + .extend({ + warning_code: z + .literal('delay_in_removing_from_device') + .describe(warning_code_description), + }) + .describe('Delay in removing code from device.') + +const third_party_integration_detected = common_access_code_warning + .extend({ + warning_code: z + .literal('third_party_integration_detected') + .describe(warning_code_description), + }) + .describe( + 'Third party integration detected that may cause access codes to fail.', + ) + +const igloo_algopin_must_be_used_within_24_hours = common_access_code_warning + .extend({ + warning_code: z + .literal('igloo_algopin_must_be_used_within_24_hours') + .describe(warning_code_description), + }) + .describe('Algopins must be used within 24 hours.') + +const management_transferred = common_access_code_warning + .extend({ + warning_code: z + .literal('management_transferred') + .describe(warning_code_description), + }) + .describe('Management was transferred to another workspace.') + +const access_code_warning = z.union([ + smartthings_failed_to_set_access_code_warning, + schlage_detected_duplicate, + schlage_creation_outage, + code_modified_external_to_seam_warning, + delay_in_setting_on_device, + delay_in_removing_from_device, + third_party_integration_detected, + august_device_programming_delay_warning, + igloo_algopin_must_be_used_within_24_hours, + management_transferred, +]) export type AccessCodeWarning = z.infer diff --git a/src/lib/seam/connect/models/connected-accounts/connected-account.ts b/src/lib/seam/connect/models/connected-accounts/connected-account.ts index e582ba2c..79ca969d 100644 --- a/src/lib/seam/connect/models/connected-accounts/connected-account.ts +++ b/src/lib/seam/connect/models/connected-accounts/connected-account.ts @@ -7,6 +7,9 @@ const common_connected_account_error = z.object({ is_connected_account_error: z.literal(true), }) +const error_code_description = + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.' + const warning_code_description = 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.' @@ -14,9 +17,26 @@ const common_connected_account_warning = z.object({ message: z.string(), }) -export const connected_account_error = common_connected_account_error.extend({ - error_code: z.string(), -}) +export const account_disconnected = common_connected_account_error + .extend({ + error_code: z + .literal('account_disconnected') + .describe(error_code_description), + }) + .describe('Account is disconnected.') + +export const invalid_credentials = common_connected_account_error + .extend({ + error_code: z + .literal('invalid_credentials') + .describe(error_code_description), + }) + .describe('Credentials provided were invalid.') + +export const connected_account_error = z.union([ + account_disconnected, + invalid_credentials, +]) export type ConnectedAccountError = z.infer @@ -32,13 +52,16 @@ export const unknown_issue_with_connected_account = 'This issue may affect the proper functioning of one or more resources in this account.', ) +const scheduled_maintenance_window = common_connected_account_warning + .extend({ + warning_code: z + .literal('scheduled_maintenance_window') + .describe(warning_code_description), + }) + .describe('Scheduled downtime for account planned.') + const connected_account_warning = z - .union([ - common_connected_account_warning.extend({ - warning_code: z.string(), - }), - unknown_issue_with_connected_account, - ]) + .union([scheduled_maintenance_window, unknown_issue_with_connected_account]) .describe('Warning associated with the `connected_account`.') export type ConnectedAccountWarning = z.infer diff --git a/src/lib/seam/connect/openapi.ts b/src/lib/seam/connect/openapi.ts index 84710966..28373fa1 100644 --- a/src/lib/seam/connect/openapi.ts +++ b/src/lib/seam/connect/openapi.ts @@ -44,13 +44,381 @@ export default { items: { oneOf: [ { - properties: { - error_code: { type: 'string' }, - is_access_code_error: { enum: [true], type: 'boolean' }, - message: { type: 'string' }, - }, - required: ['message', 'is_access_code_error', 'error_code'], - type: 'object', + oneOf: [ + { + description: 'Failed to set code on Smart Things device.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['smartthings_failed_to_set_access_code'], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: 'Failed to set code after multiple retries.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: [ + 'smartthings_failed_to_set_after_multiple_retries', + ], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: 'Failed to set code on device.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['failed_to_set_on_device'], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: 'Failed to remove code from device.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['failed_to_remove_from_device'], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: 'Duplicate access code detected on device.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['duplicate_code_on_device'], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: + 'An attempt to modify this access code was prevented.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['duplicate_code_attempt_prevented'], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: + 'Igloohome bridge has too many pending jobs in the queue.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['igloohome_bridge_too_many_pending_jobs'], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: 'Igloohome bridge is offline.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['igloohome_bridge_offline'], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: 'Lock as reached max amount of codes.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: [ + 'igloohome_offline_access_code_no_variance_available', + ], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: + 'Unable to confirm the access code is set on Kwikset device.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['kwikset_unable_to_confirm_code'], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: + 'Unable to confirm the deletion of the access code on Kwikset device.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['kwikset_unable_to_confirm_deletion'], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: + 'Code was modified or removed externally after Seam successfully set it on the device.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['code_modified_external_to_seam'], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: 'Invalid code length for August lock.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['august_lock_invalid_code_length'], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: + 'Access code has not yet been fully moved to the device.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['august_device_programming_delay'], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: + 'All access code slots on the device are full.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['august_device_slots_full'], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: 'August lock is missing a keypad.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['august_lock_missing_keypad'], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: 'Salto site user is not subscribed.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['salto_site_user_not_subscribed'], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: + 'Access code has not yet been fully moved to the device.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['hubitat_device_programming_delay'], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: 'No free positions available on the device.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['hubitat_no_free_positions_available'], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + ], }, { description: 'Error associated with the `device`.', @@ -251,112 +619,285 @@ export default { required: ['message', 'is_device_error', 'error_code'], type: 'object', }, - ], + ], + }, + { + oneOf: [ + { + description: 'Account is disconnected.', + properties: { + error_code: { + description: + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['account_disconnected'], + type: 'string', + }, + is_connected_account_error: { + enum: [true], + type: 'boolean', + }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_connected_account_error', + 'error_code', + ], + type: 'object', + }, + { + description: 'Credentials provided were invalid.', + properties: { + error_code: { + description: + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['invalid_credentials'], + type: 'string', + }, + is_connected_account_error: { + enum: [true], + type: 'boolean', + }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_connected_account_error', + 'error_code', + ], + type: 'object', + }, + ], + }, + ], + }, + type: 'array', + }, + is_backup: { + description: 'Indicates whether the access code is a backup code.', + type: 'boolean', + }, + is_backup_access_code_available: { + description: + 'Indicates whether a backup access code is available for use if the primary access code is lost or compromised.', + type: 'boolean', + }, + is_external_modification_allowed: { + description: + 'Indicates whether changes to the access code from external sources are permitted.', + type: 'boolean', + }, + is_managed: { + description: 'Indicates whether Seam manages the access code.', + enum: [true], + type: 'boolean', + }, + is_offline_access_code: { + description: + 'Indicates whether the access code is intended for use in offline scenarios. If "true," this code can be created on a device without a network connection.', + type: 'boolean', + }, + is_one_time_use: { + description: + 'Indicates whether the access code can only be used once. If "true," the code becomes invalid after the first use.', + type: 'boolean', + }, + is_scheduled_on_device: { + description: + 'Indicates whether the code is set on the device according to a preconfigured schedule.', + type: 'boolean', + }, + is_waiting_for_code_assignment: { + description: + 'Indicates whether the access code is waiting for a code assignment.', + type: 'boolean', + }, + name: { + description: + 'Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.', + nullable: true, + type: 'string', + }, + pulled_backup_access_code_id: { + description: + 'Identifier of the pulled backup access code. Used to associate the pulled backup access code with the original access code.', + format: 'uuid', + nullable: true, + type: 'string', + }, + starts_at: { + description: + 'Date and time at which the time-bound access code becomes active.', + format: 'date-time', + nullable: true, + type: 'string', + }, + status: { + description: + '\n Current status of the access code within the operational lifecycle. Values are "setting," a transitional phase that indicates that the code is being configured or activated; "set", which indicates that the code is active and operational; "unset," which indicates a deactivated or unused state, either before activation or after deliberate deactivation; "removing," which indicates a transitional period in which the code is being deleted or made inactive; and "unknown," which indicates an indeterminate state, due to reasons such as system errors or incomplete data, that highlights a potential need for system review or troubleshooting.\n ', + enum: ['setting', 'set', 'unset', 'removing', 'unknown'], + type: 'string', + }, + type: { + description: + 'Nature of the access code. Values are "ongoing" for access codes that are active continuously until deactivated manually or "time_bound" for access codes that have a specific duration.', + enum: ['time_bound', 'ongoing'], + type: 'string', + }, + warnings: { + description: + 'Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention.', + items: { + oneOf: [ + { + description: 'Failed to set code on Smart Things device.', + properties: { + message: { type: 'string' }, + warning_code: { + description: + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['smartthings_failed_to_set_access_code'], + type: 'string', + }, + }, + required: ['message', 'warning_code'], + type: 'object', + }, + { + description: 'Duplicate access code detected.', + properties: { + message: { type: 'string' }, + warning_code: { + description: + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['schlage_detected_duplicate'], + type: 'string', + }, + }, + required: ['message', 'warning_code'], + type: 'object', + }, + { + description: + 'Received an error when attempting to create this code.', + properties: { + message: { type: 'string' }, + warning_code: { + description: + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['schlage_creation_outage'], + type: 'string', + }, + }, + required: ['message', 'warning_code'], + type: 'object', + }, + { + description: + 'Code was modified or removed externally after Seam successfully set it on the device.', + properties: { + message: { type: 'string' }, + warning_code: { + description: + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['code_modified_external_to_seam'], + type: 'string', + }, + }, + required: ['message', 'warning_code'], + type: 'object', + }, + { + description: 'Delay in setting code on device.', + properties: { + message: { type: 'string' }, + warning_code: { + description: + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['delay_in_setting_on_device'], + type: 'string', + }, + }, + required: ['message', 'warning_code'], + type: 'object', + }, + { + description: 'Delay in removing code from device.', + properties: { + message: { type: 'string' }, + warning_code: { + description: + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['delay_in_removing_from_device'], + type: 'string', + }, + }, + required: ['message', 'warning_code'], + type: 'object', + }, + { + description: + 'Third party integration detected that may cause access codes to fail.', + properties: { + message: { type: 'string' }, + warning_code: { + description: + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['third_party_integration_detected'], + type: 'string', + }, + }, + required: ['message', 'warning_code'], + type: 'object', }, { + description: + 'Access code has not yet been fully moved to the device.', properties: { - error_code: { type: 'string' }, - is_connected_account_error: { - enum: [true], - type: 'boolean', + message: { type: 'string' }, + warning_code: { + description: + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['august_device_programming_delay'], + type: 'string', }, + }, + required: ['message', 'warning_code'], + type: 'object', + }, + { + description: 'Algopins must be used within 24 hours.', + properties: { message: { type: 'string' }, + warning_code: { + description: + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['igloo_algopin_must_be_used_within_24_hours'], + type: 'string', + }, }, - required: [ - 'message', - 'is_connected_account_error', - 'error_code', - ], + required: ['message', 'warning_code'], + type: 'object', + }, + { + description: + 'Management was transferred to another workspace.', + properties: { + message: { type: 'string' }, + warning_code: { + description: + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['management_transferred'], + type: 'string', + }, + }, + required: ['message', 'warning_code'], type: 'object', }, ], }, type: 'array', }, - is_backup: { - description: 'Indicates whether the access code is a backup code.', - type: 'boolean', - }, - is_backup_access_code_available: { - description: - 'Indicates whether a backup access code is available for use if the primary access code is lost or compromised.', - type: 'boolean', - }, - is_external_modification_allowed: { - description: - 'Indicates whether changes to the access code from external sources are permitted.', - type: 'boolean', - }, - is_managed: { - description: 'Indicates whether Seam manages the access code.', - enum: [true], - type: 'boolean', - }, - is_offline_access_code: { - description: - 'Indicates whether the access code is intended for use in offline scenarios. If "true," this code can be created on a device without a network connection.', - type: 'boolean', - }, - is_one_time_use: { - description: - 'Indicates whether the access code can only be used once. If "true," the code becomes invalid after the first use.', - type: 'boolean', - }, - is_scheduled_on_device: { - description: - 'Indicates whether the code is set on the device according to a preconfigured schedule.', - type: 'boolean', - }, - is_waiting_for_code_assignment: { - description: - 'Indicates whether the access code is waiting for a code assignment.', - type: 'boolean', - }, - name: { - description: - 'Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.', - nullable: true, - type: 'string', - }, - pulled_backup_access_code_id: { - description: - 'Identifier of the pulled backup access code. Used to associate the pulled backup access code with the original access code.', - format: 'uuid', - nullable: true, - type: 'string', - }, - starts_at: { - description: - 'Date and time at which the time-bound access code becomes active.', - format: 'date-time', - nullable: true, - type: 'string', - }, - status: { - description: - '\n Current status of the access code within the operational lifecycle. Values are "setting," a transitional phase that indicates that the code is being configured or activated; "set", which indicates that the code is active and operational; "unset," which indicates a deactivated or unused state, either before activation or after deliberate deactivation; "removing," which indicates a transitional period in which the code is being deleted or made inactive; and "unknown," which indicates an indeterminate state, due to reasons such as system errors or incomplete data, that highlights a potential need for system review or troubleshooting.\n ', - enum: ['setting', 'set', 'unset', 'removing', 'unknown'], - type: 'string', - }, - type: { - description: - 'Nature of the access code. Values are "ongoing" for access codes that are active continuously until deactivated manually or "time_bound" for access codes that have a specific duration.', - enum: ['time_bound', 'ongoing'], - type: 'string', - }, - warnings: { - description: - 'Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention.', - items: { - properties: { - message: { type: 'string' }, - warning_code: { type: 'string' }, - }, - required: ['message', 'warning_code'], - type: 'object', - }, - type: 'array', - }, }, required: [ 'common_code_key', @@ -4604,13 +5145,52 @@ export default { }, errors: { items: { - properties: { - error_code: { type: 'string' }, - is_connected_account_error: { enum: [true], type: 'boolean' }, - message: { type: 'string' }, - }, - required: ['message', 'is_connected_account_error', 'error_code'], - type: 'object', + oneOf: [ + { + description: 'Account is disconnected.', + properties: { + error_code: { + description: + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['account_disconnected'], + type: 'string', + }, + is_connected_account_error: { + enum: [true], + type: 'boolean', + }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_connected_account_error', + 'error_code', + ], + type: 'object', + }, + { + description: 'Credentials provided were invalid.', + properties: { + error_code: { + description: + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['invalid_credentials'], + type: 'string', + }, + is_connected_account_error: { + enum: [true], + type: 'boolean', + }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_connected_account_error', + 'error_code', + ], + type: 'object', + }, + ], }, type: 'array', }, @@ -4629,9 +5209,15 @@ export default { description: 'Warning associated with the `connected_account`.', oneOf: [ { + description: 'Scheduled downtime for account planned.', properties: { message: { type: 'string' }, - warning_code: { type: 'string' }, + warning_code: { + description: + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['scheduled_maintenance_window'], + type: 'string', + }, }, required: ['message', 'warning_code'], type: 'object', @@ -4981,20 +5567,52 @@ export default { ], }, { - properties: { - error_code: { type: 'string' }, - is_connected_account_error: { - enum: [true], - type: 'boolean', + oneOf: [ + { + description: 'Account is disconnected.', + properties: { + error_code: { + description: + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['account_disconnected'], + type: 'string', + }, + is_connected_account_error: { + enum: [true], + type: 'boolean', + }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_connected_account_error', + 'error_code', + ], + type: 'object', + }, + { + description: 'Credentials provided were invalid.', + properties: { + error_code: { + description: + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['invalid_credentials'], + type: 'string', + }, + is_connected_account_error: { + enum: [true], + type: 'boolean', + }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_connected_account_error', + 'error_code', + ], + type: 'object', }, - message: { type: 'string' }, - }, - required: [ - 'message', - 'is_connected_account_error', - 'error_code', ], - type: 'object', }, ], }, @@ -11217,53 +11835,85 @@ export default { type: 'object', }, { - description: 'The auxiliary heat is running.', + description: 'The auxiliary heat is running.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['auxiliary_heat_running'], + type: 'string', + }, + is_device_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: ['message', 'is_device_error', 'error_code'], + type: 'object', + }, + { + description: 'Subscription required to connect.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['subscription_required'], + type: 'string', + }, + is_device_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: ['message', 'is_device_error', 'error_code'], + type: 'object', + }, + ], + }, + { + oneOf: [ + { + description: 'Account is disconnected.', properties: { error_code: { description: - 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', - enum: ['auxiliary_heat_running'], + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['account_disconnected'], type: 'string', }, - is_device_error: { enum: [true], type: 'boolean' }, + is_connected_account_error: { + enum: [true], + type: 'boolean', + }, message: { type: 'string' }, }, - required: ['message', 'is_device_error', 'error_code'], + required: [ + 'message', + 'is_connected_account_error', + 'error_code', + ], type: 'object', }, { - description: 'Subscription required to connect.', + description: 'Credentials provided were invalid.', properties: { error_code: { description: - 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', - enum: ['subscription_required'], + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['invalid_credentials'], type: 'string', }, - is_device_error: { enum: [true], type: 'boolean' }, + is_connected_account_error: { + enum: [true], + type: 'boolean', + }, message: { type: 'string' }, }, - required: ['message', 'is_device_error', 'error_code'], + required: [ + 'message', + 'is_connected_account_error', + 'error_code', + ], type: 'object', }, ], }, - { - properties: { - error_code: { type: 'string' }, - is_connected_account_error: { - enum: [true], - type: 'boolean', - }, - message: { type: 'string' }, - }, - required: [ - 'message', - 'is_connected_account_error', - 'error_code', - ], - type: 'object', - }, ], }, type: 'array', @@ -11691,13 +12341,381 @@ export default { items: { oneOf: [ { - properties: { - error_code: { type: 'string' }, - is_access_code_error: { enum: [true], type: 'boolean' }, - message: { type: 'string' }, - }, - required: ['message', 'is_access_code_error', 'error_code'], - type: 'object', + oneOf: [ + { + description: 'Failed to set code on Smart Things device.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['smartthings_failed_to_set_access_code'], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: 'Failed to set code after multiple retries.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: [ + 'smartthings_failed_to_set_after_multiple_retries', + ], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: 'Failed to set code on device.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['failed_to_set_on_device'], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: 'Failed to remove code from device.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['failed_to_remove_from_device'], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: 'Duplicate access code detected on device.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['duplicate_code_on_device'], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: + 'An attempt to modify this access code was prevented.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['duplicate_code_attempt_prevented'], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: + 'Igloohome bridge has too many pending jobs in the queue.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['igloohome_bridge_too_many_pending_jobs'], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: 'Igloohome bridge is offline.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['igloohome_bridge_offline'], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: 'Lock as reached max amount of codes.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: [ + 'igloohome_offline_access_code_no_variance_available', + ], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: + 'Unable to confirm the access code is set on Kwikset device.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['kwikset_unable_to_confirm_code'], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: + 'Unable to confirm the deletion of the access code on Kwikset device.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['kwikset_unable_to_confirm_deletion'], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: + 'Code was modified or removed externally after Seam successfully set it on the device.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['code_modified_external_to_seam'], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: 'Invalid code length for August lock.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['august_lock_invalid_code_length'], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: + 'Access code has not yet been fully moved to the device.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['august_device_programming_delay'], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: + 'All access code slots on the device are full.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['august_device_slots_full'], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: 'August lock is missing a keypad.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['august_lock_missing_keypad'], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: 'Salto site user is not subscribed.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['salto_site_user_not_subscribed'], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: + 'Access code has not yet been fully moved to the device.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['hubitat_device_programming_delay'], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + { + description: 'No free positions available on the device.', + properties: { + error_code: { + description: + 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.', + enum: ['hubitat_no_free_positions_available'], + type: 'string', + }, + is_access_code_error: { enum: [true], type: 'boolean' }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_access_code_error', + 'error_code', + ], + type: 'object', + }, + ], }, { description: 'Error associated with the `device`.', @@ -11901,20 +12919,52 @@ export default { ], }, { - properties: { - error_code: { type: 'string' }, - is_connected_account_error: { - enum: [true], - type: 'boolean', + oneOf: [ + { + description: 'Account is disconnected.', + properties: { + error_code: { + description: + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['account_disconnected'], + type: 'string', + }, + is_connected_account_error: { + enum: [true], + type: 'boolean', + }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_connected_account_error', + 'error_code', + ], + type: 'object', + }, + { + description: 'Credentials provided were invalid.', + properties: { + error_code: { + description: + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['invalid_credentials'], + type: 'string', + }, + is_connected_account_error: { + enum: [true], + type: 'boolean', + }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_connected_account_error', + 'error_code', + ], + type: 'object', }, - message: { type: 'string' }, - }, - required: [ - 'message', - 'is_connected_account_error', - 'error_code', ], - type: 'object', }, ], }, @@ -11945,12 +12995,153 @@ export default { description: 'Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention.', items: { - properties: { - message: { type: 'string' }, - warning_code: { type: 'string' }, - }, - required: ['message', 'warning_code'], - type: 'object', + oneOf: [ + { + description: 'Failed to set code on Smart Things device.', + properties: { + message: { type: 'string' }, + warning_code: { + description: + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['smartthings_failed_to_set_access_code'], + type: 'string', + }, + }, + required: ['message', 'warning_code'], + type: 'object', + }, + { + description: 'Duplicate access code detected.', + properties: { + message: { type: 'string' }, + warning_code: { + description: + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['schlage_detected_duplicate'], + type: 'string', + }, + }, + required: ['message', 'warning_code'], + type: 'object', + }, + { + description: + 'Received an error when attempting to create this code.', + properties: { + message: { type: 'string' }, + warning_code: { + description: + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['schlage_creation_outage'], + type: 'string', + }, + }, + required: ['message', 'warning_code'], + type: 'object', + }, + { + description: + 'Code was modified or removed externally after Seam successfully set it on the device.', + properties: { + message: { type: 'string' }, + warning_code: { + description: + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['code_modified_external_to_seam'], + type: 'string', + }, + }, + required: ['message', 'warning_code'], + type: 'object', + }, + { + description: 'Delay in setting code on device.', + properties: { + message: { type: 'string' }, + warning_code: { + description: + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['delay_in_setting_on_device'], + type: 'string', + }, + }, + required: ['message', 'warning_code'], + type: 'object', + }, + { + description: 'Delay in removing code from device.', + properties: { + message: { type: 'string' }, + warning_code: { + description: + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['delay_in_removing_from_device'], + type: 'string', + }, + }, + required: ['message', 'warning_code'], + type: 'object', + }, + { + description: + 'Third party integration detected that may cause access codes to fail.', + properties: { + message: { type: 'string' }, + warning_code: { + description: + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['third_party_integration_detected'], + type: 'string', + }, + }, + required: ['message', 'warning_code'], + type: 'object', + }, + { + description: + 'Access code has not yet been fully moved to the device.', + properties: { + message: { type: 'string' }, + warning_code: { + description: + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['august_device_programming_delay'], + type: 'string', + }, + }, + required: ['message', 'warning_code'], + type: 'object', + }, + { + description: 'Algopins must be used within 24 hours.', + properties: { + message: { type: 'string' }, + warning_code: { + description: + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['igloo_algopin_must_be_used_within_24_hours'], + type: 'string', + }, + }, + required: ['message', 'warning_code'], + type: 'object', + }, + { + description: + 'Management was transferred to another workspace.', + properties: { + message: { type: 'string' }, + warning_code: { + description: + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['management_transferred'], + type: 'string', + }, + }, + required: ['message', 'warning_code'], + type: 'object', + }, + ], }, type: 'array', }, @@ -12274,20 +13465,52 @@ export default { ], }, { - properties: { - error_code: { type: 'string' }, - is_connected_account_error: { - enum: [true], - type: 'boolean', + oneOf: [ + { + description: 'Account is disconnected.', + properties: { + error_code: { + description: + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['account_disconnected'], + type: 'string', + }, + is_connected_account_error: { + enum: [true], + type: 'boolean', + }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_connected_account_error', + 'error_code', + ], + type: 'object', + }, + { + description: 'Credentials provided were invalid.', + properties: { + error_code: { + description: + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['invalid_credentials'], + type: 'string', + }, + is_connected_account_error: { + enum: [true], + type: 'boolean', + }, + message: { type: 'string' }, + }, + required: [ + 'message', + 'is_connected_account_error', + 'error_code', + ], + type: 'object', }, - message: { type: 'string' }, - }, - required: [ - 'message', - 'is_connected_account_error', - 'error_code', ], - type: 'object', }, ], }, diff --git a/src/lib/seam/connect/route-types.ts b/src/lib/seam/connect/route-types.ts index 48ba38cf..9d721517 100644 --- a/src/lib/seam/connect/route-types.ts +++ b/src/lib/seam/connect/route-types.ts @@ -1023,11 +1023,122 @@ export interface Routes { created_at: string /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */ errors: Array< - | { - message: string - is_access_code_error: true - error_code: string - } + | ( + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'smartthings_failed_to_set_access_code' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'smartthings_failed_to_set_after_multiple_retries' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'failed_to_set_on_device' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'failed_to_remove_from_device' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'duplicate_code_on_device' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'duplicate_code_attempt_prevented' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'igloohome_bridge_too_many_pending_jobs' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'igloohome_bridge_offline' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'igloohome_offline_access_code_no_variance_available' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'kwikset_unable_to_confirm_code' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'kwikset_unable_to_confirm_deletion' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'code_modified_external_to_seam' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_lock_invalid_code_length' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_device_programming_delay' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_device_slots_full' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_lock_missing_keypad' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'salto_site_user_not_subscribed' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'hubitat_device_programming_delay' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'hubitat_no_free_positions_available' + } + ) | ( | { message: string @@ -1108,17 +1219,74 @@ export interface Routes { error_code: 'subscription_required' } ) + | ( + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'account_disconnected' + } + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'invalid_credentials' + } + ) + > + /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */ + warnings: Array< | { message: string - is_connected_account_error: true - error_code: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'smartthings_failed_to_set_access_code' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'schlage_detected_duplicate' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'schlage_creation_outage' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'code_modified_external_to_seam' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'delay_in_setting_on_device' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'delay_in_removing_from_device' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'third_party_integration_detected' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'august_device_programming_delay' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'igloo_algopin_must_be_used_within_24_hours' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'management_transferred' } > - /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */ - warnings: Array<{ - message: string - warning_code: string - }> /** Indicates whether Seam manages the access code. */ is_managed: true /** Date and time at which the time-bound access code becomes active. */ @@ -1190,11 +1358,122 @@ export interface Routes { created_at: string /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */ errors: Array< - | { - message: string - is_access_code_error: true - error_code: string - } + | ( + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'smartthings_failed_to_set_access_code' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'smartthings_failed_to_set_after_multiple_retries' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'failed_to_set_on_device' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'failed_to_remove_from_device' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'duplicate_code_on_device' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'duplicate_code_attempt_prevented' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'igloohome_bridge_too_many_pending_jobs' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'igloohome_bridge_offline' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'igloohome_offline_access_code_no_variance_available' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'kwikset_unable_to_confirm_code' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'kwikset_unable_to_confirm_deletion' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'code_modified_external_to_seam' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_lock_invalid_code_length' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_device_programming_delay' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_device_slots_full' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_lock_missing_keypad' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'salto_site_user_not_subscribed' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'hubitat_device_programming_delay' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'hubitat_no_free_positions_available' + } + ) | ( | { message: string @@ -1275,17 +1554,74 @@ export interface Routes { error_code: 'subscription_required' } ) + | ( + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'account_disconnected' + } + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'invalid_credentials' + } + ) + > + /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */ + warnings: Array< | { message: string - is_connected_account_error: true - error_code: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'smartthings_failed_to_set_access_code' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'schlage_detected_duplicate' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'schlage_creation_outage' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'code_modified_external_to_seam' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'delay_in_setting_on_device' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'delay_in_removing_from_device' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'third_party_integration_detected' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'august_device_programming_delay' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'igloo_algopin_must_be_used_within_24_hours' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'management_transferred' } > - /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */ - warnings: Array<{ - message: string - warning_code: string - }> /** Indicates whether Seam manages the access code. */ is_managed: true /** Date and time at which the time-bound access code becomes active. */ @@ -2351,11 +2687,122 @@ export interface Routes { created_at: string /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */ errors: Array< - | { - message: string - is_access_code_error: true - error_code: string - } + | ( + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'smartthings_failed_to_set_access_code' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'smartthings_failed_to_set_after_multiple_retries' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'failed_to_set_on_device' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'failed_to_remove_from_device' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'duplicate_code_on_device' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'duplicate_code_attempt_prevented' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'igloohome_bridge_too_many_pending_jobs' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'igloohome_bridge_offline' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'igloohome_offline_access_code_no_variance_available' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'kwikset_unable_to_confirm_code' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'kwikset_unable_to_confirm_deletion' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'code_modified_external_to_seam' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_lock_invalid_code_length' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_device_programming_delay' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_device_slots_full' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_lock_missing_keypad' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'salto_site_user_not_subscribed' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'hubitat_device_programming_delay' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'hubitat_no_free_positions_available' + } + ) | ( | { message: string @@ -2436,17 +2883,74 @@ export interface Routes { error_code: 'subscription_required' } ) + | ( + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'account_disconnected' + } + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'invalid_credentials' + } + ) + > + /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */ + warnings: Array< | { message: string - is_connected_account_error: true - error_code: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'smartthings_failed_to_set_access_code' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'schlage_detected_duplicate' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'schlage_creation_outage' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'code_modified_external_to_seam' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'delay_in_setting_on_device' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'delay_in_removing_from_device' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'third_party_integration_detected' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'august_device_programming_delay' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'igloo_algopin_must_be_used_within_24_hours' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'management_transferred' } > - /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */ - warnings: Array<{ - message: string - warning_code: string - }> /** Indicates whether Seam manages the access code. */ is_managed: true /** Date and time at which the time-bound access code becomes active. */ @@ -2505,11 +3009,122 @@ export interface Routes { created_at: string /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */ errors: Array< - | { - message: string - is_access_code_error: true - error_code: string - } + | ( + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'smartthings_failed_to_set_access_code' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'smartthings_failed_to_set_after_multiple_retries' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'failed_to_set_on_device' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'failed_to_remove_from_device' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'duplicate_code_on_device' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'duplicate_code_attempt_prevented' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'igloohome_bridge_too_many_pending_jobs' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'igloohome_bridge_offline' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'igloohome_offline_access_code_no_variance_available' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'kwikset_unable_to_confirm_code' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'kwikset_unable_to_confirm_deletion' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'code_modified_external_to_seam' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_lock_invalid_code_length' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_device_programming_delay' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_device_slots_full' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_lock_missing_keypad' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'salto_site_user_not_subscribed' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'hubitat_device_programming_delay' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'hubitat_no_free_positions_available' + } + ) | ( | { message: string @@ -2590,17 +3205,74 @@ export interface Routes { error_code: 'subscription_required' } ) + | ( + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'account_disconnected' + } + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'invalid_credentials' + } + ) + > + /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */ + warnings: Array< | { message: string - is_connected_account_error: true - error_code: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'smartthings_failed_to_set_access_code' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'schlage_detected_duplicate' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'schlage_creation_outage' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'code_modified_external_to_seam' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'delay_in_setting_on_device' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'delay_in_removing_from_device' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'third_party_integration_detected' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'august_device_programming_delay' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'igloo_algopin_must_be_used_within_24_hours' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'management_transferred' } > - /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */ - warnings: Array<{ - message: string - warning_code: string - }> /** Indicates whether Seam manages the access code. */ is_managed: true /** Date and time at which the time-bound access code becomes active. */ @@ -2658,11 +3330,122 @@ export interface Routes { created_at: string /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */ errors: Array< - | { - message: string - is_access_code_error: true - error_code: string - } + | ( + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'smartthings_failed_to_set_access_code' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'smartthings_failed_to_set_after_multiple_retries' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'failed_to_set_on_device' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'failed_to_remove_from_device' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'duplicate_code_on_device' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'duplicate_code_attempt_prevented' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'igloohome_bridge_too_many_pending_jobs' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'igloohome_bridge_offline' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'igloohome_offline_access_code_no_variance_available' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'kwikset_unable_to_confirm_code' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'kwikset_unable_to_confirm_deletion' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'code_modified_external_to_seam' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_lock_invalid_code_length' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_device_programming_delay' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_device_slots_full' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_lock_missing_keypad' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'salto_site_user_not_subscribed' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'hubitat_device_programming_delay' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'hubitat_no_free_positions_available' + } + ) | ( | { message: string @@ -2743,17 +3526,74 @@ export interface Routes { error_code: 'subscription_required' } ) + | ( + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'account_disconnected' + } + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'invalid_credentials' + } + ) + > + /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */ + warnings: Array< | { message: string - is_connected_account_error: true - error_code: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'smartthings_failed_to_set_access_code' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'schlage_detected_duplicate' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'schlage_creation_outage' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'code_modified_external_to_seam' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'delay_in_setting_on_device' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'delay_in_removing_from_device' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'third_party_integration_detected' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'august_device_programming_delay' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'igloo_algopin_must_be_used_within_24_hours' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'management_transferred' } > - /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */ - warnings: Array<{ - message: string - warning_code: string - }> /** Indicates whether Seam manages the access code. */ is_managed: true /** Date and time at which the time-bound access code becomes active. */ @@ -2799,11 +3639,122 @@ export interface Routes { created_at: string /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */ errors: Array< - | { - message: string - is_access_code_error: true - error_code: string - } + | ( + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'smartthings_failed_to_set_access_code' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'smartthings_failed_to_set_after_multiple_retries' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'failed_to_set_on_device' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'failed_to_remove_from_device' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'duplicate_code_on_device' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'duplicate_code_attempt_prevented' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'igloohome_bridge_too_many_pending_jobs' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'igloohome_bridge_offline' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'igloohome_offline_access_code_no_variance_available' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'kwikset_unable_to_confirm_code' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'kwikset_unable_to_confirm_deletion' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'code_modified_external_to_seam' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_lock_invalid_code_length' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_device_programming_delay' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_device_slots_full' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_lock_missing_keypad' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'salto_site_user_not_subscribed' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'hubitat_device_programming_delay' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'hubitat_no_free_positions_available' + } + ) | ( | { message: string @@ -2884,17 +3835,74 @@ export interface Routes { error_code: 'subscription_required' } ) + | ( + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'account_disconnected' + } + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'invalid_credentials' + } + ) + > + /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */ + warnings: Array< | { message: string - is_connected_account_error: true - error_code: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'smartthings_failed_to_set_access_code' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'schlage_detected_duplicate' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'schlage_creation_outage' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'code_modified_external_to_seam' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'delay_in_setting_on_device' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'delay_in_removing_from_device' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'third_party_integration_detected' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'august_device_programming_delay' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'igloo_algopin_must_be_used_within_24_hours' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'management_transferred' } > - /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */ - warnings: Array<{ - message: string - warning_code: string - }> /** Indicates whether Seam manages the access code. */ is_managed: true /** Date and time at which the time-bound access code becomes active. */ @@ -2948,11 +3956,122 @@ export interface Routes { created_at: string /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */ errors: Array< - | { - message: string - is_access_code_error: true - error_code: string - } + | ( + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'smartthings_failed_to_set_access_code' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'smartthings_failed_to_set_after_multiple_retries' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'failed_to_set_on_device' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'failed_to_remove_from_device' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'duplicate_code_on_device' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'duplicate_code_attempt_prevented' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'igloohome_bridge_too_many_pending_jobs' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'igloohome_bridge_offline' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'igloohome_offline_access_code_no_variance_available' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'kwikset_unable_to_confirm_code' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'kwikset_unable_to_confirm_deletion' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'code_modified_external_to_seam' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_lock_invalid_code_length' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_device_programming_delay' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_device_slots_full' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_lock_missing_keypad' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'salto_site_user_not_subscribed' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'hubitat_device_programming_delay' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'hubitat_no_free_positions_available' + } + ) | ( | { message: string @@ -3033,17 +4152,74 @@ export interface Routes { error_code: 'subscription_required' } ) + | ( + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'account_disconnected' + } + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'invalid_credentials' + } + ) + > + /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */ + warnings: Array< | { message: string - is_connected_account_error: true - error_code: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'smartthings_failed_to_set_access_code' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'schlage_detected_duplicate' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'schlage_creation_outage' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'code_modified_external_to_seam' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'delay_in_setting_on_device' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'delay_in_removing_from_device' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'third_party_integration_detected' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'august_device_programming_delay' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'igloo_algopin_must_be_used_within_24_hours' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'management_transferred' } > - /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */ - warnings: Array<{ - message: string - warning_code: string - }> is_managed: false /** Date and time at which the time-bound access code becomes active. */ starts_at?: (string | null) | undefined @@ -4085,11 +5261,122 @@ export interface Routes { created_at: string /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */ errors: Array< - | { - message: string - is_access_code_error: true - error_code: string - } + | ( + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'smartthings_failed_to_set_access_code' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'smartthings_failed_to_set_after_multiple_retries' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'failed_to_set_on_device' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'failed_to_remove_from_device' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'duplicate_code_on_device' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'duplicate_code_attempt_prevented' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'igloohome_bridge_too_many_pending_jobs' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'igloohome_bridge_offline' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'igloohome_offline_access_code_no_variance_available' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'kwikset_unable_to_confirm_code' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'kwikset_unable_to_confirm_deletion' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'code_modified_external_to_seam' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_lock_invalid_code_length' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_device_programming_delay' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_device_slots_full' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_lock_missing_keypad' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'salto_site_user_not_subscribed' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'hubitat_device_programming_delay' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'hubitat_no_free_positions_available' + } + ) | ( | { message: string @@ -4170,17 +5457,74 @@ export interface Routes { error_code: 'subscription_required' } ) + | ( + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'account_disconnected' + } + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'invalid_credentials' + } + ) + > + /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */ + warnings: Array< | { message: string - is_connected_account_error: true - error_code: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'smartthings_failed_to_set_access_code' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'schlage_detected_duplicate' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'schlage_creation_outage' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'code_modified_external_to_seam' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'delay_in_setting_on_device' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'delay_in_removing_from_device' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'third_party_integration_detected' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'august_device_programming_delay' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'igloo_algopin_must_be_used_within_24_hours' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'management_transferred' } > - /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */ - warnings: Array<{ - message: string - warning_code: string - }> is_managed: false /** Date and time at which the time-bound access code becomes active. */ starts_at?: (string | null) | undefined @@ -4216,11 +5560,122 @@ export interface Routes { created_at: string /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */ errors: Array< - | { - message: string - is_access_code_error: true - error_code: string - } + | ( + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'smartthings_failed_to_set_access_code' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'smartthings_failed_to_set_after_multiple_retries' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'failed_to_set_on_device' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'failed_to_remove_from_device' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'duplicate_code_on_device' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'duplicate_code_attempt_prevented' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'igloohome_bridge_too_many_pending_jobs' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'igloohome_bridge_offline' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'igloohome_offline_access_code_no_variance_available' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'kwikset_unable_to_confirm_code' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'kwikset_unable_to_confirm_deletion' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'code_modified_external_to_seam' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_lock_invalid_code_length' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_device_programming_delay' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_device_slots_full' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_lock_missing_keypad' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'salto_site_user_not_subscribed' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'hubitat_device_programming_delay' + } + | { + message: string + is_access_code_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'hubitat_no_free_positions_available' + } + ) | ( | { message: string @@ -4301,17 +5756,74 @@ export interface Routes { error_code: 'subscription_required' } ) + | ( + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'account_disconnected' + } + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'invalid_credentials' + } + ) + > + /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */ + warnings: Array< | { message: string - is_connected_account_error: true - error_code: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'smartthings_failed_to_set_access_code' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'schlage_detected_duplicate' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'schlage_creation_outage' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'code_modified_external_to_seam' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'delay_in_setting_on_device' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'delay_in_removing_from_device' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'third_party_integration_detected' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'august_device_programming_delay' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'igloo_algopin_must_be_used_within_24_hours' + } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'management_transferred' } > - /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */ - warnings: Array<{ - message: string - warning_code: string - }> is_managed: false /** Date and time at which the time-bound access code becomes active. */ starts_at?: (string | null) | undefined @@ -13557,15 +15069,25 @@ export interface Routes { | undefined account_type?: string | undefined account_type_display_name: string - errors: Array<{ - message: string - is_connected_account_error: true - error_code: string - }> + errors: Array< + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'account_disconnected' + } + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'invalid_credentials' + } + > warnings: Array< | { message: string - warning_code: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'scheduled_maintenance_window' } | { message: string @@ -13605,15 +15127,25 @@ export interface Routes { | undefined account_type?: string | undefined account_type_display_name: string - errors: Array<{ - message: string - is_connected_account_error: true - error_code: string - }> + errors: Array< + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'account_disconnected' + } + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'invalid_credentials' + } + > warnings: Array< | { message: string - warning_code: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'scheduled_maintenance_window' } | { message: string @@ -13653,15 +15185,25 @@ export interface Routes { | undefined account_type?: string | undefined account_type_display_name: string - errors: Array<{ - message: string - is_connected_account_error: true - error_code: string - }> + errors: Array< + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'account_disconnected' + } + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'invalid_credentials' + } + > warnings: Array< | { message: string - warning_code: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'scheduled_maintenance_window' } | { message: string @@ -14449,11 +15991,20 @@ export interface Routes { error_code: 'subscription_required' } ) - | { - message: string - is_connected_account_error: true - error_code: string - } + | ( + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'account_disconnected' + } + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'invalid_credentials' + } + ) > /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */ warnings: Array< @@ -15486,11 +17037,20 @@ export interface Routes { error_code: 'subscription_required' } ) - | { - message: string - is_connected_account_error: true - error_code: string - } + | ( + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'account_disconnected' + } + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'invalid_credentials' + } + ) > /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */ warnings: Array< @@ -15866,11 +17426,20 @@ export interface Routes { error_code: 'subscription_required' } ) - | { - message: string - is_connected_account_error: true - error_code: string - } + | ( + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'account_disconnected' + } + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'invalid_credentials' + } + ) > /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */ warnings: Array< @@ -16349,11 +17918,20 @@ export interface Routes { error_code: 'subscription_required' } ) - | { - message: string - is_connected_account_error: true - error_code: string - } + | ( + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'account_disconnected' + } + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'invalid_credentials' + } + ) > /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */ warnings: Array< @@ -20012,11 +21590,20 @@ export interface Routes { error_code: 'subscription_required' } ) - | { - message: string - is_connected_account_error: true - error_code: string - } + | ( + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'account_disconnected' + } + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'invalid_credentials' + } + ) > /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */ warnings: Array< @@ -20866,11 +22453,20 @@ export interface Routes { error_code: 'subscription_required' } ) - | { - message: string - is_connected_account_error: true - error_code: string - } + | ( + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'account_disconnected' + } + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'invalid_credentials' + } + ) > /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */ warnings: Array< @@ -21903,11 +23499,20 @@ export interface Routes { error_code: 'subscription_required' } ) - | { - message: string - is_connected_account_error: true - error_code: string - } + | ( + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'account_disconnected' + } + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'invalid_credentials' + } + ) > /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */ warnings: Array< @@ -22756,11 +24361,20 @@ export interface Routes { error_code: 'subscription_required' } ) - | { - message: string - is_connected_account_error: true - error_code: string - } + | ( + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'account_disconnected' + } + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'invalid_credentials' + } + ) > /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */ warnings: Array< @@ -25806,11 +27420,20 @@ export interface Routes { error_code: 'subscription_required' } ) - | { - message: string - is_connected_account_error: true - error_code: string - } + | ( + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'account_disconnected' + } + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'invalid_credentials' + } + ) > /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */ warnings: Array< @@ -26659,11 +28282,20 @@ export interface Routes { error_code: 'subscription_required' } ) - | { - message: string - is_connected_account_error: true - error_code: string - } + | ( + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'account_disconnected' + } + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'invalid_credentials' + } + ) > /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */ warnings: Array< @@ -29947,11 +31579,20 @@ export interface Routes { error_code: 'subscription_required' } ) - | { - message: string - is_connected_account_error: true - error_code: string - } + | ( + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'account_disconnected' + } + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'invalid_credentials' + } + ) > /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */ warnings: Array< @@ -30195,11 +31836,20 @@ export interface Routes { error_code: 'subscription_required' } ) - | { - message: string - is_connected_account_error: true - error_code: string - } + | ( + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'account_disconnected' + } + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'invalid_credentials' + } + ) > /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */ warnings: Array< @@ -33095,11 +34745,20 @@ export interface Routes { error_code: 'subscription_required' } ) - | { - message: string - is_connected_account_error: true - error_code: string - } + | ( + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'account_disconnected' + } + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'invalid_credentials' + } + ) > /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */ warnings: Array< @@ -36126,11 +37785,20 @@ export interface Routes { error_code: 'subscription_required' } ) - | { - message: string - is_connected_account_error: true - error_code: string - } + | ( + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'account_disconnected' + } + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'invalid_credentials' + } + ) > /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */ warnings: Array< @@ -36979,11 +38647,20 @@ export interface Routes { error_code: 'subscription_required' } ) - | { - message: string - is_connected_account_error: true - error_code: string - } + | ( + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'account_disconnected' + } + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'invalid_credentials' + } + ) > /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */ warnings: Array< @@ -41314,11 +42991,20 @@ export interface Routes { error_code: 'subscription_required' } ) - | { - message: string - is_connected_account_error: true - error_code: string - } + | ( + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'account_disconnected' + } + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'invalid_credentials' + } + ) > /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */ warnings: Array< @@ -42169,11 +43855,20 @@ export interface Routes { error_code: 'subscription_required' } ) - | { - message: string - is_connected_account_error: true - error_code: string - } + | ( + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'account_disconnected' + } + | { + message: string + is_connected_account_error: true + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + error_code: 'invalid_credentials' + } + ) > /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */ warnings: Array< From 2dc40a451a79482ebc89db597bd778868bd4c522 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Mon, 13 Jan 2025 20:08:32 +0000 Subject: [PATCH 2/4] 1.333.0 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index a8aa0d78..b13c73da 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@seamapi/types", - "version": "1.332.1", + "version": "1.333.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@seamapi/types", - "version": "1.332.1", + "version": "1.333.0", "license": "MIT", "devDependencies": { "@seamapi/blueprint": "^0.32.0", diff --git a/package.json b/package.json index 2d834b93..84e1025f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@seamapi/types", - "version": "1.332.1", + "version": "1.333.0", "description": "TypeScript types for the Seam API.", "type": "module", "main": "index.js", From 28699d53b3c78cec6211ecd24ec301dabff15a4f Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Mon, 13 Jan 2025 12:14:04 -0800 Subject: [PATCH 3/4] feat: Add acs_credential.assa_abloy_vostio_metadata (#1455) Co-authored-by: Evan Sosenko --- .../seam/connect/models/acs/acs-credential.ts | 8 +- .../models/acs/metadata/assa-abloy-vostio.ts | 12 + src/lib/seam/connect/openapi.ts | 122 ++ src/lib/seam/connect/route-types.ts | 1024 +++++++++++++++++ 4 files changed, 1165 insertions(+), 1 deletion(-) diff --git a/src/lib/seam/connect/models/acs/acs-credential.ts b/src/lib/seam/connect/models/acs/acs-credential.ts index 1b9e7bb1..8c52642d 100644 --- a/src/lib/seam/connect/models/acs/acs-credential.ts +++ b/src/lib/seam/connect/models/acs/acs-credential.ts @@ -1,6 +1,9 @@ import { z } from 'zod' -import { acs_credential_visionline_metadata } from './metadata/index.js' +import { + acs_credential_visionline_metadata, + acs_credential_vostio_metadata, +} from './metadata/index.js' // If changed, update seam.acs_credential.external_type generated column export const acs_credential_external_type = z.enum([ @@ -225,6 +228,9 @@ const common_acs_credential = z.object({ visionline_metadata: acs_credential_visionline_metadata .optional() .describe('Visionline-specific metadata for the credential.'), + assa_abloy_vostio_metadata: acs_credential_vostio_metadata + .optional() + .describe('Vostio-specific metadata for the credential.'), }) export const acs_credential = common_acs_credential diff --git a/src/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.ts b/src/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.ts index f2a01cb0..1d12eb76 100644 --- a/src/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.ts +++ b/src/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.ts @@ -11,3 +11,15 @@ export const acs_entrance_assa_abloy_vostio_metadata = z.object({ export type AcsEntranceAssaAbloyVostioMetadata = z.infer< typeof acs_entrance_assa_abloy_vostio_metadata > + +export const acs_credential_vostio_metadata = z.object({ + override_guest_acs_entrance_ids: z.string().array().optional(), + key_id: z.string().optional(), + key_issuing_request_id: z.string().optional(), + door_names: z.string().array().optional(), + endpoint_id: z.string().optional(), +}) + +export type AcsCredentialVostioMetadata = z.infer< + typeof acs_credential_vostio_metadata +> diff --git a/src/lib/seam/connect/openapi.ts b/src/lib/seam/connect/openapi.ts index 28373fa1..4fa3e2b1 100644 --- a/src/lib/seam/connect/openapi.ts +++ b/src/lib/seam/connect/openapi.ts @@ -1057,6 +1057,20 @@ export default { format: 'uuid', type: 'string', }, + assa_abloy_vostio_metadata: { + description: 'Vostio-specific metadata for the credential.', + properties: { + door_names: { items: { type: 'string' }, type: 'array' }, + endpoint_id: { type: 'string' }, + key_id: { type: 'string' }, + key_issuing_request_id: { type: 'string' }, + override_guest_acs_entrance_ids: { + items: { type: 'string' }, + type: 'array', + }, + }, + type: 'object', + }, card_number: { nullable: true, type: 'string' }, code: { description: 'Access (PIN) code for the credential.', @@ -2552,6 +2566,24 @@ export default { format: 'uuid', type: 'string', }, + assa_abloy_vostio_metadata: { + description: + 'Vostio-specific metadata for the credential.', + properties: { + door_names: { + items: { type: 'string' }, + type: 'array', + }, + endpoint_id: { type: 'string' }, + key_id: { type: 'string' }, + key_issuing_request_id: { type: 'string' }, + override_guest_acs_entrance_ids: { + items: { type: 'string' }, + type: 'array', + }, + }, + type: 'object', + }, card_number: { nullable: true, type: 'string' }, code: { description: @@ -2914,6 +2946,24 @@ export default { format: 'uuid', type: 'string', }, + assa_abloy_vostio_metadata: { + description: + 'Vostio-specific metadata for the credential.', + properties: { + door_names: { + items: { type: 'string' }, + type: 'array', + }, + endpoint_id: { type: 'string' }, + key_id: { type: 'string' }, + key_issuing_request_id: { type: 'string' }, + override_guest_acs_entrance_ids: { + items: { type: 'string' }, + type: 'array', + }, + }, + type: 'object', + }, card_number: { nullable: true, type: 'string' }, code: { description: @@ -3410,6 +3460,24 @@ export default { format: 'uuid', type: 'string', }, + assa_abloy_vostio_metadata: { + description: + 'Vostio-specific metadata for the credential.', + properties: { + door_names: { + items: { type: 'string' }, + type: 'array', + }, + endpoint_id: { type: 'string' }, + key_id: { type: 'string' }, + key_issuing_request_id: { type: 'string' }, + override_guest_acs_entrance_ids: { + items: { type: 'string' }, + type: 'array', + }, + }, + type: 'object', + }, card_number: { nullable: true, type: 'string' }, code: { description: 'Access (PIN) code for the credential.', @@ -3769,6 +3837,24 @@ export default { format: 'uuid', type: 'string', }, + assa_abloy_vostio_metadata: { + description: + 'Vostio-specific metadata for the credential.', + properties: { + door_names: { + items: { type: 'string' }, + type: 'array', + }, + endpoint_id: { type: 'string' }, + key_id: { type: 'string' }, + key_issuing_request_id: { type: 'string' }, + override_guest_acs_entrance_ids: { + items: { type: 'string' }, + type: 'array', + }, + }, + type: 'object', + }, card_number: { nullable: true, type: 'string' }, code: { description: 'Access (PIN) code for the credential.', @@ -17010,6 +17096,24 @@ export default { format: 'uuid', type: 'string', }, + assa_abloy_vostio_metadata: { + description: + 'Vostio-specific metadata for the credential.', + properties: { + door_names: { + items: { type: 'string' }, + type: 'array', + }, + endpoint_id: { type: 'string' }, + key_id: { type: 'string' }, + key_issuing_request_id: { type: 'string' }, + override_guest_acs_entrance_ids: { + items: { type: 'string' }, + type: 'array', + }, + }, + type: 'object', + }, card_number: { nullable: true, type: 'string' }, code: { description: 'Access (PIN) code for the credential.', @@ -17472,6 +17576,24 @@ export default { format: 'uuid', type: 'string', }, + assa_abloy_vostio_metadata: { + description: + 'Vostio-specific metadata for the credential.', + properties: { + door_names: { + items: { type: 'string' }, + type: 'array', + }, + endpoint_id: { type: 'string' }, + key_id: { type: 'string' }, + key_issuing_request_id: { type: 'string' }, + override_guest_acs_entrance_ids: { + items: { type: 'string' }, + type: 'array', + }, + }, + type: 'object', + }, card_number: { nullable: true, type: 'string' }, code: { description: diff --git a/src/lib/seam/connect/route-types.ts b/src/lib/seam/connect/route-types.ts index 9d721517..a15b7bdd 100644 --- a/src/lib/seam/connect/route-types.ts +++ b/src/lib/seam/connect/route-types.ts @@ -250,6 +250,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -374,6 +386,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } ) @@ -545,6 +569,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -669,6 +703,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } } @@ -1884,6 +1928,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -2008,6 +2064,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } ) @@ -2179,6 +2247,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -2303,6 +2381,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } } @@ -4480,6 +4568,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -4604,6 +4704,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } ) @@ -4775,6 +4887,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -4899,6 +5021,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } } @@ -6101,6 +6233,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -6225,6 +6369,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } ) @@ -6396,6 +6552,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -6520,6 +6686,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } } @@ -7537,6 +7713,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } } @@ -7723,6 +7909,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } } @@ -7870,6 +8066,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } } @@ -8021,6 +8227,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } } @@ -8181,6 +8397,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true }> } @@ -8411,6 +8637,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } } @@ -8550,6 +8786,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } } @@ -8702,6 +8948,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false }> } @@ -8845,6 +9101,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } } @@ -9087,6 +9353,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -9211,6 +9489,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } ) @@ -9382,6 +9672,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -9506,6 +9806,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } } @@ -10125,6 +10435,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -10249,6 +10571,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } ) @@ -10420,6 +10754,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -10544,6 +10888,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } } @@ -11289,6 +11643,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true }> } @@ -12929,6 +13293,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -13053,6 +13429,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } ) @@ -13224,6 +13612,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -13348,6 +13746,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } } @@ -13916,6 +14324,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -14040,6 +14460,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } ) @@ -14211,6 +14643,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -14335,6 +14777,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } } @@ -24709,6 +25161,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -24833,6 +25297,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } ) @@ -25004,6 +25480,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -25128,6 +25614,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } } @@ -25698,6 +26194,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -25822,6 +26330,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } ) @@ -25993,6 +26513,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -26117,6 +26647,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } } @@ -28635,6 +29175,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -28759,6 +29311,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } ) @@ -28930,6 +29494,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -29054,6 +29628,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } } @@ -29635,6 +30219,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -29759,6 +30355,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } ) @@ -29930,6 +30538,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -30054,6 +30672,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } } @@ -30674,6 +31302,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -30798,6 +31438,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } ) @@ -30969,6 +31621,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -31093,6 +31755,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } } @@ -32186,6 +32858,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -32310,6 +32994,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } ) @@ -32481,6 +33177,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -32605,6 +33311,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } } @@ -33181,6 +33897,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -33305,6 +34033,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } ) @@ -33476,6 +34216,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -33600,6 +34350,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } } @@ -35099,6 +35859,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -35223,6 +35995,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } ) @@ -35394,6 +36178,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -35518,6 +36312,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } } @@ -36098,6 +36902,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -36222,6 +37038,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } ) @@ -36393,6 +37221,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -36517,6 +37355,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } } @@ -38997,6 +39845,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -39121,6 +39981,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } ) @@ -39292,6 +40164,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -39416,6 +40298,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } } @@ -40172,6 +41064,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -40296,6 +41200,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } ) @@ -40467,6 +41383,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -40591,6 +41517,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } } @@ -41194,6 +42130,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -41318,6 +42266,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } ) @@ -41489,6 +42449,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -41613,6 +42583,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } } @@ -44697,6 +45677,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -44821,6 +45813,18 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: + | string[] + | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } ) @@ -44992,6 +45996,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: true } | { @@ -45116,6 +46130,16 @@ export interface Routes { credential_id?: string | undefined } | undefined + /** Vostio-specific metadata for the credential. */ + assa_abloy_vostio_metadata?: + | { + override_guest_acs_entrance_ids?: string[] | undefined + key_id?: string | undefined + key_issuing_request_id?: string | undefined + door_names?: string[] | undefined + endpoint_id?: string | undefined + } + | undefined is_managed: false } } From 1270ee396f136c7b374a56f06aa670fbe522dab0 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Mon, 13 Jan 2025 20:15:01 +0000 Subject: [PATCH 4/4] 1.334.0 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index b13c73da..c164a531 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@seamapi/types", - "version": "1.333.0", + "version": "1.334.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@seamapi/types", - "version": "1.333.0", + "version": "1.334.0", "license": "MIT", "devDependencies": { "@seamapi/blueprint": "^0.32.0", diff --git a/package.json b/package.json index 84e1025f..72553e76 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@seamapi/types", - "version": "1.333.0", + "version": "1.334.0", "description": "TypeScript types for the Seam API.", "type": "module", "main": "index.js",