From 60f9a6ad8386d77e30c4ce935996bb806a6cf09d Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Thu, 20 Feb 2025 10:18:51 -0800 Subject: [PATCH] Update via seamapi/seam-connect@fb055a18ff1eec4df83972d53d4773c309cad084 (#1538) --- .../access-codes/managed-access-code.ts | 9 ++++ src/lib/seam/connect/openapi.ts | 30 +++++++++++++ src/lib/seam/connect/route-types.ts | 45 +++++++++++++++++++ 3 files changed, 84 insertions(+) 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 5765416f..61a91756 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 @@ -292,6 +292,14 @@ const management_transferred = common_access_code_warning }) .describe('Management was transferred to another workspace.') +const kwikset_unable_to_confirm_code_warning = common_access_code_warning + .extend({ + warning_code: z + .literal('kwikset_unable_to_confirm_code') + .describe(warning_code_description), + }) + .describe('Unable to confirm the access code is set on Kwikset device.') + const access_code_warning = z.discriminatedUnion('warning_code', [ smartthings_failed_to_set_access_code_warning, schlage_detected_duplicate, @@ -304,6 +312,7 @@ const access_code_warning = z.discriminatedUnion('warning_code', [ august_device_programming_delay_warning, igloo_algopin_must_be_used_within_24_hours, management_transferred, + kwikset_unable_to_confirm_code_warning, ]) export type AccessCodeWarning = z.infer diff --git a/src/lib/seam/connect/openapi.ts b/src/lib/seam/connect/openapi.ts index 0488e61c..af76ef65 100644 --- a/src/lib/seam/connect/openapi.ts +++ b/src/lib/seam/connect/openapi.ts @@ -805,6 +805,21 @@ export default { required: ['message', 'warning_code'], type: 'object', }, + { + description: + 'Unable to confirm the access code is set on Kwikset device.', + properties: { + message: { type: 'string' }, + warning_code: { + description: + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['kwikset_unable_to_confirm_code'], + type: 'string', + }, + }, + required: ['message', 'warning_code'], + type: 'object', + }, ], }, type: 'array', @@ -12760,6 +12775,21 @@ export default { required: ['message', 'warning_code'], type: 'object', }, + { + description: + 'Unable to confirm the access code is set on Kwikset device.', + properties: { + message: { type: 'string' }, + warning_code: { + description: + 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.', + enum: ['kwikset_unable_to_confirm_code'], + type: 'string', + }, + }, + required: ['message', 'warning_code'], + type: 'object', + }, ], }, type: 'array', diff --git a/src/lib/seam/connect/route-types.ts b/src/lib/seam/connect/route-types.ts index 50212385..00cae502 100644 --- a/src/lib/seam/connect/route-types.ts +++ b/src/lib/seam/connect/route-types.ts @@ -1326,6 +1326,11 @@ export interface Routes { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'management_transferred' } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'kwikset_unable_to_confirm_code' + } > /** Indicates whether Seam manages the access code. */ is_managed: true @@ -1654,6 +1659,11 @@ export interface Routes { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'management_transferred' } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'kwikset_unable_to_confirm_code' + } > /** Indicates whether Seam manages the access code. */ is_managed: true @@ -3023,6 +3033,11 @@ export interface Routes { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'management_transferred' } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'kwikset_unable_to_confirm_code' + } > /** Indicates whether Seam manages the access code. */ is_managed: true @@ -3338,6 +3353,11 @@ export interface Routes { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'management_transferred' } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'kwikset_unable_to_confirm_code' + } > /** Indicates whether Seam manages the access code. */ is_managed: true @@ -3652,6 +3672,11 @@ export interface Routes { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'management_transferred' } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'kwikset_unable_to_confirm_code' + } > /** Indicates whether Seam manages the access code. */ is_managed: true @@ -3954,6 +3979,11 @@ export interface Routes { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'management_transferred' } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'kwikset_unable_to_confirm_code' + } > /** Indicates whether Seam manages the access code. */ is_managed: true @@ -4264,6 +4294,11 @@ export interface Routes { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'management_transferred' } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'kwikset_unable_to_confirm_code' + } > is_managed: false /** Date and time at which the time-bound access code becomes active. */ @@ -5609,6 +5644,11 @@ export interface Routes { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'management_transferred' } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'kwikset_unable_to_confirm_code' + } > is_managed: false /** Date and time at which the time-bound access code becomes active. */ @@ -5901,6 +5941,11 @@ export interface Routes { /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ warning_code: 'management_transferred' } + | { + message: string + /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */ + warning_code: 'kwikset_unable_to_confirm_code' + } > is_managed: false /** Date and time at which the time-bound access code becomes active. */