Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/lib/seam/connect/models/devices/device-metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.`),

Expand Down
7 changes: 7 additions & 0 deletions src/lib/seam/connect/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
Expand Down
34 changes: 34 additions & 0 deletions src/lib/seam/connect/route-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down Expand Up @@ -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. */
Expand Down Expand Up @@ -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. */
Expand Down Expand Up @@ -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. */
Expand Down Expand Up @@ -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. */
Expand Down Expand Up @@ -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. */
Expand Down Expand Up @@ -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. */
Expand Down Expand Up @@ -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. */
Expand Down Expand Up @@ -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. */
Expand Down Expand Up @@ -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. */
Expand Down Expand Up @@ -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. */
Expand Down Expand Up @@ -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. */
Expand Down Expand Up @@ -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. */
Expand Down Expand Up @@ -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. */
Expand Down Expand Up @@ -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. */
Expand Down Expand Up @@ -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. */
Expand Down Expand Up @@ -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. */
Expand Down
Loading