From d30435d1f58cde63d41060a24b334596b352b6d2 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Fri, 15 May 2026 16:24:55 +0000 Subject: [PATCH] feat: Sync with Seam API via 4962a9f95b98489619a900ac0987720c0350754c --- .../connect/models/devices/device-metadata.ts | 7 ++++ src/lib/seam/connect/openapi.ts | 7 ++++ src/lib/seam/connect/route-types.ts | 34 +++++++++++++++++++ 3 files changed, 48 insertions(+) diff --git a/src/lib/seam/connect/models/devices/device-metadata.ts b/src/lib/seam/connect/models/devices/device-metadata.ts index 6123a84e..f6e56358 100644 --- a/src/lib/seam/connect/models/devices/device-metadata.ts +++ b/src/lib/seam/connect/models/devices/device-metadata.ts @@ -437,6 +437,13 @@ export const device_metadata = z ) .optional() .describe(`Wireless keypads for a TTLock device.`), + timezone_raw_offset_ms: z + .number() + .nullable() + .optional() + .describe( + `Lock-side timezone offset in milliseconds east of UTC, as configured in the TTLock app. Source of truth for the lock's wall-clock interpretation of access code start/end times — a misconfigured value here is the typical cause of customer "codes offset by N hours" reports. Diagnostic only; Seam does not convert times based on this value.`, + ), }) .describe(`Metadata for a TTLock device.`), diff --git a/src/lib/seam/connect/openapi.ts b/src/lib/seam/connect/openapi.ts index 97339977..79e6721c 100644 --- a/src/lib/seam/connect/openapi.ts +++ b/src/lib/seam/connect/openapi.ts @@ -13770,6 +13770,13 @@ const openapi: OpenAPISpec = { format: 'float', type: 'number', }, + timezone_raw_offset_ms: { + description: + 'Lock-side timezone offset in milliseconds east of UTC, as configured in the TTLock app. Source of truth for the lock\'s wall-clock interpretation of access code start/end times — a misconfigured value here is the typical cause of customer "codes offset by N hours" reports. Diagnostic only; Seam does not convert times based on this value.', + format: 'float', + nullable: true, + type: 'number', + }, wireless_keypads: { description: 'Wireless keypads for a TTLock device.', diff --git a/src/lib/seam/connect/route-types.ts b/src/lib/seam/connect/route-types.ts index 0878544b..62332860 100644 --- a/src/lib/seam/connect/route-types.ts +++ b/src/lib/seam/connect/route-types.ts @@ -13447,6 +13447,8 @@ export type Routes = { wireless_keypad_name: string }[] | undefined + /** Lock-side timezone offset in milliseconds east of UTC, as configured in the TTLock app. Source of truth for the lock's wall-clock interpretation of access code start/end times — a misconfigured value here is the typical cause of customer "codes offset by N hours" reports. Diagnostic only; Seam does not convert times based on this value. */ + timezone_raw_offset_ms?: (number | null) | undefined } | undefined /** Metadata for Seam Bridge. */ @@ -18716,6 +18718,8 @@ export type Routes = { wireless_keypad_name: string }[] | undefined + /** Lock-side timezone offset in milliseconds east of UTC, as configured in the TTLock app. Source of truth for the lock's wall-clock interpretation of access code start/end times — a misconfigured value here is the typical cause of customer "codes offset by N hours" reports. Diagnostic only; Seam does not convert times based on this value. */ + timezone_raw_offset_ms?: (number | null) | undefined } | undefined /** Metadata for Seam Bridge. */ @@ -38189,6 +38193,8 @@ export type Routes = { wireless_keypad_name: string }[] | undefined + /** Lock-side timezone offset in milliseconds east of UTC, as configured in the TTLock app. Source of truth for the lock's wall-clock interpretation of access code start/end times — a misconfigured value here is the typical cause of customer "codes offset by N hours" reports. Diagnostic only; Seam does not convert times based on this value. */ + timezone_raw_offset_ms?: (number | null) | undefined } | undefined /** Metadata for Seam Bridge. */ @@ -40080,6 +40086,8 @@ export type Routes = { wireless_keypad_name: string }[] | undefined + /** Lock-side timezone offset in milliseconds east of UTC, as configured in the TTLock app. Source of truth for the lock's wall-clock interpretation of access code start/end times — a misconfigured value here is the typical cause of customer "codes offset by N hours" reports. Diagnostic only; Seam does not convert times based on this value. */ + timezone_raw_offset_ms?: (number | null) | undefined } | undefined /** Metadata for Seam Bridge. */ @@ -52458,6 +52466,8 @@ export type Routes = { wireless_keypad_name: string }[] | undefined + /** Lock-side timezone offset in milliseconds east of UTC, as configured in the TTLock app. Source of truth for the lock's wall-clock interpretation of access code start/end times — a misconfigured value here is the typical cause of customer "codes offset by N hours" reports. Diagnostic only; Seam does not convert times based on this value. */ + timezone_raw_offset_ms?: (number | null) | undefined } | undefined /** Metadata for Seam Bridge. */ @@ -54116,6 +54126,8 @@ export type Routes = { wireless_keypad_name: string }[] | undefined + /** Lock-side timezone offset in milliseconds east of UTC, as configured in the TTLock app. Source of truth for the lock's wall-clock interpretation of access code start/end times — a misconfigured value here is the typical cause of customer "codes offset by N hours" reports. Diagnostic only; Seam does not convert times based on this value. */ + timezone_raw_offset_ms?: (number | null) | undefined } | undefined /** Metadata for Seam Bridge. */ @@ -55964,6 +55976,8 @@ export type Routes = { wireless_keypad_name: string }[] | undefined + /** Lock-side timezone offset in milliseconds east of UTC, as configured in the TTLock app. Source of truth for the lock's wall-clock interpretation of access code start/end times — a misconfigured value here is the typical cause of customer "codes offset by N hours" reports. Diagnostic only; Seam does not convert times based on this value. */ + timezone_raw_offset_ms?: (number | null) | undefined } | undefined /** Metadata for Seam Bridge. */ @@ -57621,6 +57635,8 @@ export type Routes = { wireless_keypad_name: string }[] | undefined + /** Lock-side timezone offset in milliseconds east of UTC, as configured in the TTLock app. Source of truth for the lock's wall-clock interpretation of access code start/end times — a misconfigured value here is the typical cause of customer "codes offset by N hours" reports. Diagnostic only; Seam does not convert times based on this value. */ + timezone_raw_offset_ms?: (number | null) | undefined } | undefined /** Metadata for Seam Bridge. */ @@ -65591,6 +65607,8 @@ export type Routes = { wireless_keypad_name: string }[] | undefined + /** Lock-side timezone offset in milliseconds east of UTC, as configured in the TTLock app. Source of truth for the lock's wall-clock interpretation of access code start/end times — a misconfigured value here is the typical cause of customer "codes offset by N hours" reports. Diagnostic only; Seam does not convert times based on this value. */ + timezone_raw_offset_ms?: (number | null) | undefined } | undefined /** Metadata for Seam Bridge. */ @@ -67248,6 +67266,8 @@ export type Routes = { wireless_keypad_name: string }[] | undefined + /** Lock-side timezone offset in milliseconds east of UTC, as configured in the TTLock app. Source of truth for the lock's wall-clock interpretation of access code start/end times — a misconfigured value here is the typical cause of customer "codes offset by N hours" reports. Diagnostic only; Seam does not convert times based on this value. */ + timezone_raw_offset_ms?: (number | null) | undefined } | undefined /** Metadata for Seam Bridge. */ @@ -82988,6 +83008,8 @@ export type Routes = { wireless_keypad_name: string }[] | undefined + /** Lock-side timezone offset in milliseconds east of UTC, as configured in the TTLock app. Source of truth for the lock's wall-clock interpretation of access code start/end times — a misconfigured value here is the typical cause of customer "codes offset by N hours" reports. Diagnostic only; Seam does not convert times based on this value. */ + timezone_raw_offset_ms?: (number | null) | undefined } | undefined /** Metadata for Seam Bridge. */ @@ -90304,6 +90326,8 @@ export type Routes = { wireless_keypad_name: string }[] | undefined + /** Lock-side timezone offset in milliseconds east of UTC, as configured in the TTLock app. Source of truth for the lock's wall-clock interpretation of access code start/end times — a misconfigured value here is the typical cause of customer "codes offset by N hours" reports. Diagnostic only; Seam does not convert times based on this value. */ + timezone_raw_offset_ms?: (number | null) | undefined } | undefined /** Metadata for Seam Bridge. */ @@ -95207,6 +95231,8 @@ export type Routes = { wireless_keypad_name: string }[] | undefined + /** Lock-side timezone offset in milliseconds east of UTC, as configured in the TTLock app. Source of truth for the lock's wall-clock interpretation of access code start/end times — a misconfigured value here is the typical cause of customer "codes offset by N hours" reports. Diagnostic only; Seam does not convert times based on this value. */ + timezone_raw_offset_ms?: (number | null) | undefined } | undefined /** Metadata for Seam Bridge. */ @@ -96864,6 +96890,8 @@ export type Routes = { wireless_keypad_name: string }[] | undefined + /** Lock-side timezone offset in milliseconds east of UTC, as configured in the TTLock app. Source of truth for the lock's wall-clock interpretation of access code start/end times — a misconfigured value here is the typical cause of customer "codes offset by N hours" reports. Diagnostic only; Seam does not convert times based on this value. */ + timezone_raw_offset_ms?: (number | null) | undefined } | undefined /** Metadata for Seam Bridge. */ @@ -105715,6 +105743,8 @@ export type Routes = { wireless_keypad_name: string }[] | undefined + /** Lock-side timezone offset in milliseconds east of UTC, as configured in the TTLock app. Source of truth for the lock's wall-clock interpretation of access code start/end times — a misconfigured value here is the typical cause of customer "codes offset by N hours" reports. Diagnostic only; Seam does not convert times based on this value. */ + timezone_raw_offset_ms?: (number | null) | undefined } | undefined /** Metadata for Seam Bridge. */ @@ -107374,6 +107404,8 @@ export type Routes = { wireless_keypad_name: string }[] | undefined + /** Lock-side timezone offset in milliseconds east of UTC, as configured in the TTLock app. Source of truth for the lock's wall-clock interpretation of access code start/end times — a misconfigured value here is the typical cause of customer "codes offset by N hours" reports. Diagnostic only; Seam does not convert times based on this value. */ + timezone_raw_offset_ms?: (number | null) | undefined } | undefined /** Metadata for Seam Bridge. */ @@ -110319,6 +110351,8 @@ export type Routes = { wireless_keypad_name: string }[] | undefined + /** Lock-side timezone offset in milliseconds east of UTC, as configured in the TTLock app. Source of truth for the lock's wall-clock interpretation of access code start/end times — a misconfigured value here is the typical cause of customer "codes offset by N hours" reports. Diagnostic only; Seam does not convert times based on this value. */ + timezone_raw_offset_ms?: (number | null) | undefined } | undefined /** Metadata for Seam Bridge. */