From f6c78cf07b010937d36f38e1934ab764230c5d53 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Thu, 28 May 2026 21:59:02 +0000 Subject: [PATCH] feat: Sync with Seam API via 1e9e0df1526cf1812ca6eae797b9b50f53187f02 --- .../connect/models/devices/device-metadata.ts | 11 +++ src/lib/seam/connect/openapi.ts | 12 ++++ src/lib/seam/connect/route-types.ts | 68 +++++++++++++++++++ 3 files changed, 91 insertions(+) diff --git a/src/lib/seam/connect/models/devices/device-metadata.ts b/src/lib/seam/connect/models/devices/device-metadata.ts index ba767c9a..3307adce 100644 --- a/src/lib/seam/connect/models/devices/device-metadata.ts +++ b/src/lib/seam/connect/models/devices/device-metadata.ts @@ -645,6 +645,17 @@ export const device_metadata = z .describe( `Whether the Omnitec lock has a connected gateway for remote operations.`, ), + timezone_raw_offset_ms: z + .number() + .describe( + `Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST.`, + ), + time_zone: z + .string() + .optional() + .describe( + `IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment.`, + ), }) .describe(`Metadata for an Omnitec device.`), diff --git a/src/lib/seam/connect/openapi.ts b/src/lib/seam/connect/openapi.ts index 5a20a0b9..1c72df0b 100644 --- a/src/lib/seam/connect/openapi.ts +++ b/src/lib/seam/connect/openapi.ts @@ -14227,12 +14227,24 @@ const openapi: OpenAPISpec = { description: 'Lock name for an Omnitec device.', type: 'string', }, + time_zone: { + description: + 'IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment.', + type: 'string', + }, + timezone_raw_offset_ms: { + description: + 'Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST.', + format: 'float', + type: 'number', + }, }, required: [ 'lock_id', 'lock_name', 'lock_mac', 'has_gateway', + 'timezone_raw_offset_ms', ], type: 'object', }, diff --git a/src/lib/seam/connect/route-types.ts b/src/lib/seam/connect/route-types.ts index d7d7c841..60b26fe8 100644 --- a/src/lib/seam/connect/route-types.ts +++ b/src/lib/seam/connect/route-types.ts @@ -14502,6 +14502,10 @@ export type Routes = { lock_mac: string /** Whether the Omnitec lock has a connected gateway for remote operations. */ has_gateway: boolean + /** Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST. */ + timezone_raw_offset_ms: number + /** IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment. */ + time_zone?: string | undefined } | undefined /** Metadata for a tado° device. */ @@ -20044,6 +20048,10 @@ export type Routes = { lock_mac: string /** Whether the Omnitec lock has a connected gateway for remote operations. */ has_gateway: boolean + /** Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST. */ + timezone_raw_offset_ms: number + /** IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment. */ + time_zone?: string | undefined } | undefined /** Metadata for a tado° device. */ @@ -42693,6 +42701,10 @@ export type Routes = { lock_mac: string /** Whether the Omnitec lock has a connected gateway for remote operations. */ has_gateway: boolean + /** Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST. */ + timezone_raw_offset_ms: number + /** IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment. */ + time_zone?: string | undefined } | undefined /** Metadata for a tado° device. */ @@ -44605,6 +44617,10 @@ export type Routes = { lock_mac: string /** Whether the Omnitec lock has a connected gateway for remote operations. */ has_gateway: boolean + /** Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST. */ + timezone_raw_offset_ms: number + /** IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment. */ + time_zone?: string | undefined } | undefined /** Metadata for a tado° device. */ @@ -57223,6 +57239,10 @@ export type Routes = { lock_mac: string /** Whether the Omnitec lock has a connected gateway for remote operations. */ has_gateway: boolean + /** Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST. */ + timezone_raw_offset_ms: number + /** IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment. */ + time_zone?: string | undefined } | undefined /** Metadata for a tado° device. */ @@ -58897,6 +58917,10 @@ export type Routes = { lock_mac: string /** Whether the Omnitec lock has a connected gateway for remote operations. */ has_gateway: boolean + /** Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST. */ + timezone_raw_offset_ms: number + /** IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment. */ + time_zone?: string | undefined } | undefined /** Metadata for a tado° device. */ @@ -60764,6 +60788,10 @@ export type Routes = { lock_mac: string /** Whether the Omnitec lock has a connected gateway for remote operations. */ has_gateway: boolean + /** Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST. */ + timezone_raw_offset_ms: number + /** IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment. */ + time_zone?: string | undefined } | undefined /** Metadata for a tado° device. */ @@ -62437,6 +62465,10 @@ export type Routes = { lock_mac: string /** Whether the Omnitec lock has a connected gateway for remote operations. */ has_gateway: boolean + /** Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST. */ + timezone_raw_offset_ms: number + /** IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment. */ + time_zone?: string | undefined } | undefined /** Metadata for a tado° device. */ @@ -71279,6 +71311,10 @@ export type Routes = { lock_mac: string /** Whether the Omnitec lock has a connected gateway for remote operations. */ has_gateway: boolean + /** Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST. */ + timezone_raw_offset_ms: number + /** IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment. */ + time_zone?: string | undefined } | undefined /** Metadata for a tado° device. */ @@ -72952,6 +72988,10 @@ export type Routes = { lock_mac: string /** Whether the Omnitec lock has a connected gateway for remote operations. */ has_gateway: boolean + /** Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST. */ + timezone_raw_offset_ms: number + /** IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment. */ + time_zone?: string | undefined } | undefined /** Metadata for a tado° device. */ @@ -89627,6 +89667,10 @@ export type Routes = { lock_mac: string /** Whether the Omnitec lock has a connected gateway for remote operations. */ has_gateway: boolean + /** Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST. */ + timezone_raw_offset_ms: number + /** IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment. */ + time_zone?: string | undefined } | undefined /** Metadata for a tado° device. */ @@ -97642,6 +97686,10 @@ export type Routes = { lock_mac: string /** Whether the Omnitec lock has a connected gateway for remote operations. */ has_gateway: boolean + /** Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST. */ + timezone_raw_offset_ms: number + /** IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment. */ + time_zone?: string | undefined } | undefined /** Metadata for a tado° device. */ @@ -102989,6 +103037,10 @@ export type Routes = { lock_mac: string /** Whether the Omnitec lock has a connected gateway for remote operations. */ has_gateway: boolean + /** Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST. */ + timezone_raw_offset_ms: number + /** IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment. */ + time_zone?: string | undefined } | undefined /** Metadata for a tado° device. */ @@ -104662,6 +104714,10 @@ export type Routes = { lock_mac: string /** Whether the Omnitec lock has a connected gateway for remote operations. */ has_gateway: boolean + /** Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST. */ + timezone_raw_offset_ms: number + /** IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment. */ + time_zone?: string | undefined } | undefined /** Metadata for a tado° device. */ @@ -114389,6 +114445,10 @@ export type Routes = { lock_mac: string /** Whether the Omnitec lock has a connected gateway for remote operations. */ has_gateway: boolean + /** Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST. */ + timezone_raw_offset_ms: number + /** IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment. */ + time_zone?: string | undefined } | undefined /** Metadata for a tado° device. */ @@ -116064,6 +116124,10 @@ export type Routes = { lock_mac: string /** Whether the Omnitec lock has a connected gateway for remote operations. */ has_gateway: boolean + /** Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST. */ + timezone_raw_offset_ms: number + /** IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment. */ + time_zone?: string | undefined } | undefined /** Metadata for a tado° device. */ @@ -119071,6 +119135,10 @@ export type Routes = { lock_mac: string /** Whether the Omnitec lock has a connected gateway for remote operations. */ has_gateway: boolean + /** Static UTC offset of the Omnitec lock in milliseconds. Does not account for DST. */ + timezone_raw_offset_ms: number + /** IANA timezone of the Omnitec lock, set during connect webview. Used for DST-aware timestamp adjustment. */ + time_zone?: string | undefined } | undefined /** Metadata for a tado° device. */