From e09655d2b7454fb9bec3108410935ebd1e1a7906 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Mon, 13 Jan 2025 17:19:58 +0000 Subject: [PATCH] Update via seamapi/seam-connect@220418400e988d73d9e7d4df12846615358f74a8 --- .../access-codes/managed-access-code.ts | 289 +- .../seam/connect/models/acs/acs-credential.ts | 8 +- .../models/acs/metadata/assa-abloy-vostio.ts | 12 + .../connected-accounts/connected-account.ts | 41 +- src/lib/seam/connect/openapi.ts | 1691 ++++++++- src/lib/seam/connect/route-types.ts | 3313 +++++++++++++++-- 6 files changed, 4867 insertions(+), 487 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/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/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..4fa3e2b1 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`.', @@ -254,109 +622,282 @@ export default { ], }, { + 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: { - 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: ['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', - 'is_connected_account_error', - 'error_code', - ], + 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', }, - 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', @@ -516,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.', @@ -2011,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: @@ -2373,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: @@ -2869,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.', @@ -3228,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.', @@ -4604,13 +5231,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 +5295,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 +5653,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', }, ], }, @@ -11248,22 +11952,54 @@ export default { }, ], }, - { - 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', @@ -11691,13 +12427,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 +13005,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 +13081,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 +13551,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', }, ], }, @@ -15787,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.', @@ -16249,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 48ba38cf..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 } } @@ -1023,11 +1067,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 +1263,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 +1402,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 +1598,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. */ @@ -1548,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 } | { @@ -1672,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 } ) @@ -1843,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 } | { @@ -1967,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 } } @@ -2351,11 +2775,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 +2971,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,164 +3097,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_device_error: true + is_access_code_error: true /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ - error_code: 'device_offline' + error_code: 'smartthings_failed_to_set_access_code' } | { message: string - is_device_error: true + is_access_code_error: true /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ - error_code: 'device_removed' + error_code: 'smartthings_failed_to_set_after_multiple_retries' } | { message: string - is_device_error: true + is_access_code_error: true /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ - error_code: 'account_disconnected' + error_code: 'failed_to_set_on_device' } | { message: string - is_device_error: true + is_access_code_error: true /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ - error_code: 'hub_disconnected' + error_code: 'failed_to_remove_from_device' } | { message: string - is_device_error: true + is_access_code_error: true /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ - error_code: 'device_disconnected' + error_code: 'duplicate_code_on_device' } | { message: string - is_device_error: true + is_access_code_error: true /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ - error_code: 'empty_backup_access_code_pool' + error_code: 'duplicate_code_attempt_prevented' } | { message: string - is_device_error: true + is_access_code_error: true /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ - error_code: 'august_lock_not_authorized' + error_code: 'igloohome_bridge_too_many_pending_jobs' } | { message: string - is_device_error: true + 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_bridge' + error_code: 'igloohome_bridge_offline' } | { message: string - is_device_error: true + 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_limit_reached' + error_code: 'igloohome_offline_access_code_no_variance_available' } | { message: string - is_device_error: true + is_access_code_error: true /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ - error_code: 'ttlock_lock_not_paired_to_gateway' + error_code: 'kwikset_unable_to_confirm_code' } | { message: string - is_device_error: true + is_access_code_error: true /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ - error_code: 'missing_device_credentials' + error_code: 'kwikset_unable_to_confirm_deletion' } | { message: string - is_device_error: true + is_access_code_error: true /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ - error_code: 'auxiliary_heat_running' + error_code: 'code_modified_external_to_seam' } | { message: string - is_device_error: true + is_access_code_error: true /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ - error_code: 'subscription_required' + 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 - is_connected_account_error: true - error_code: string - } - > - /** 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. */ - starts_at?: (string | null) | undefined - /** Date and time after which the time-bound access code becomes inactive. */ - ends_at?: (string | null) | undefined - /** - Current status of the access code within the operational lifecycle. 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. - */ - status: 'setting' | 'set' | 'unset' | 'removing' | 'unknown' - /** Indicates whether a backup access code is available for use if the primary access code is lost or compromised. */ - is_backup_access_code_available: boolean - /** Indicates whether the access code is a backup code. */ - is_backup?: boolean | undefined - /** Identifier of the pulled backup access code. Used to associate the pulled backup access code with the original access code. */ - pulled_backup_access_code_id?: (string | null) | undefined - /** Indicates whether changes to the access code from external sources are permitted. */ - is_external_modification_allowed: boolean - /** Indicates whether the access code can only be used once. If "true," the code becomes invalid after the first use. */ - is_one_time_use: boolean - /** 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. */ - is_offline_access_code: boolean - }> - } - } - '/access_codes/pull_backup_access_code': { - route: '/access_codes/pull_backup_access_code' - method: 'POST' - queryParams: {} - jsonBody: { - access_code_id: string - } - commonParams: {} - formData: {} - jsonResponse: { - /** */ - backup_access_code: { - /** Unique identifier for a group of access codes that share the same code. */ - common_code_key: string | null - /** Indicates whether the code is set on the device according to a preconfigured schedule. */ - is_scheduled_on_device?: boolean | undefined - /** 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. */ - type: 'time_bound' | 'ongoing' - /** Indicates whether the access code is waiting for a code assignment. */ - is_waiting_for_code_assignment?: boolean | undefined - /** Unique identifier for the access code. */ - access_code_id: string - /** Unique identifier for the device associated with the access code. */ - device_id: string - /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */ - name: string | null - /** Code used for access. Typically, a numeric or alphanumeric string. */ - code: string | null - /** Date and time at which the access code was created. */ - 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 @@ -2743,17 +3293,395 @@ 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' + } + > + /** Indicates whether Seam manages the access code. */ + is_managed: true + /** Date and time at which the time-bound access code becomes active. */ + starts_at?: (string | null) | undefined + /** Date and time after which the time-bound access code becomes inactive. */ + ends_at?: (string | null) | undefined + /** + Current status of the access code within the operational lifecycle. 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. + */ + status: 'setting' | 'set' | 'unset' | 'removing' | 'unknown' + /** Indicates whether a backup access code is available for use if the primary access code is lost or compromised. */ + is_backup_access_code_available: boolean + /** Indicates whether the access code is a backup code. */ + is_backup?: boolean | undefined + /** Identifier of the pulled backup access code. Used to associate the pulled backup access code with the original access code. */ + pulled_backup_access_code_id?: (string | null) | undefined + /** Indicates whether changes to the access code from external sources are permitted. */ + is_external_modification_allowed: boolean + /** Indicates whether the access code can only be used once. If "true," the code becomes invalid after the first use. */ + is_one_time_use: boolean + /** 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. */ + is_offline_access_code: boolean + }> + } + } + '/access_codes/pull_backup_access_code': { + route: '/access_codes/pull_backup_access_code' + method: 'POST' + queryParams: {} + jsonBody: { + access_code_id: string + } + commonParams: {} + formData: {} + jsonResponse: { + /** */ + backup_access_code: { + /** Unique identifier for a group of access codes that share the same code. */ + common_code_key: string | null + /** Indicates whether the code is set on the device according to a preconfigured schedule. */ + is_scheduled_on_device?: boolean | undefined + /** 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. */ + type: 'time_bound' | 'ongoing' + /** Indicates whether the access code is waiting for a code assignment. */ + is_waiting_for_code_assignment?: boolean | undefined + /** Unique identifier for the access code. */ + access_code_id: string + /** Unique identifier for the device associated with the access code. */ + device_id: string + /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */ + name: string | null + /** Code used for access. Typically, a numeric or alphanumeric string. */ + code: string | null + /** Date and time at which the access code was created. */ + 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 + /** 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 + is_device_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'device_offline' + } + | { + message: string + is_device_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'device_removed' + } + | { + message: string + is_device_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'account_disconnected' + } + | { + message: string + is_device_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'hub_disconnected' + } + | { + message: string + is_device_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'device_disconnected' + } + | { + message: string + is_device_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'empty_backup_access_code_pool' + } + | { + message: string + is_device_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_lock_not_authorized' + } + | { + message: string + is_device_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'august_lock_missing_bridge' + } + | { + message: string + is_device_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'salto_site_user_limit_reached' + } + | { + message: string + is_device_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'ttlock_lock_not_paired_to_gateway' + } + | { + message: string + is_device_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'missing_device_credentials' + } + | { + message: string + is_device_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + error_code: 'auxiliary_heat_running' + } + | { + message: string + is_device_error: true + /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */ + 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 - warning_code: string - }> + warnings: Array< + | { + message: 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' + } + > /** Indicates whether Seam manages the access code. */ is_managed: true /** Date and time at which the time-bound access code becomes active. */ @@ -2799,11 +3727,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 +3923,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 +4044,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 +4240,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 @@ -3304,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 } | { @@ -3428,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 } ) @@ -3599,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 } | { @@ -3723,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 } } @@ -4085,11 +5393,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 +5589,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 +5692,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 +5888,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 @@ -4589,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 } | { @@ -4713,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 } ) @@ -4884,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 } | { @@ -5008,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 } } @@ -6025,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 } } @@ -6211,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 } } @@ -6358,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 } } @@ -6509,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 } } @@ -6669,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 }> } @@ -6899,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 } } @@ -7038,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 } } @@ -7190,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 }> } @@ -7333,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 } } @@ -7575,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 } | { @@ -7699,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 } ) @@ -7870,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 } | { @@ -7994,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 } } @@ -8613,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 } | { @@ -8737,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 } ) @@ -8908,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 } | { @@ -9032,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 } } @@ -9777,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 }> } @@ -11417,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 } | { @@ -11541,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 } ) @@ -11712,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 } | { @@ -11836,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 } } @@ -12404,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 } | { @@ -12528,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 } ) @@ -12699,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 } | { @@ -12823,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 } } @@ -13557,15 +15521,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 +15579,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 +15637,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 +16443,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 +17489,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 +17878,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 +18370,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 +22042,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 +22905,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 +23951,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 +24813,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< @@ -23095,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 } | { @@ -23219,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 } ) @@ -23390,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 } | { @@ -23514,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 } } @@ -24084,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 } | { @@ -24208,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 } ) @@ -24379,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 } | { @@ -24503,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 } } @@ -25806,11 +27960,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 +28822,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< @@ -27003,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 } | { @@ -27127,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 } ) @@ -27298,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 } | { @@ -27422,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 } } @@ -28003,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 } | { @@ -28127,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 } ) @@ -28298,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 } | { @@ -28422,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 } } @@ -29042,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 } | { @@ -29166,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 } ) @@ -29337,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 } | { @@ -29461,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 } } @@ -29947,11 +32251,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 +32508,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< @@ -30536,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 } | { @@ -30660,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 } ) @@ -30831,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 } | { @@ -30955,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 } } @@ -31531,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 } | { @@ -31655,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 } ) @@ -31826,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 } | { @@ -31950,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 } } @@ -33095,11 +35505,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< @@ -33440,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 } | { @@ -33564,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 } ) @@ -33735,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 } | { @@ -33859,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 } } @@ -34439,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 } | { @@ -34563,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 } ) @@ -34734,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 } | { @@ -34858,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 } } @@ -36126,11 +38633,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 +39495,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< @@ -37320,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 } | { @@ -37444,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 } ) @@ -37615,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 } | { @@ -37739,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 } } @@ -38495,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 } | { @@ -38619,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 } ) @@ -38790,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 } | { @@ -38914,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 } } @@ -39517,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 } | { @@ -39641,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 } ) @@ -39812,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 } | { @@ -39936,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 } } @@ -41314,11 +43971,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 +44835,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< @@ -43002,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 } | { @@ -43126,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 } ) @@ -43297,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 } | { @@ -43421,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 } }