@seamapi/types 1.833.0 → 1.835.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect.cjs +24 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +62 -0
- package/dist/index.cjs +24 -1
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +14 -0
- package/lib/seam/connect/models/devices/device-metadata.d.ts +5 -0
- package/lib/seam/connect/models/devices/device-metadata.js +5 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +7 -0
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +5 -0
- package/lib/seam/connect/openapi.js +20 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +36 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-metadata.ts +7 -0
- package/src/lib/seam/connect/openapi.ts +23 -0
- package/src/lib/seam/connect/route-types.ts +36 -0
package/dist/connect.cjs
CHANGED
|
@@ -982,7 +982,10 @@ var device_metadata = zod.z.object({
|
|
|
982
982
|
wireless_keypad_id: zod.z.number().describe(`ID for a wireless keypad for a TTLock device.`),
|
|
983
983
|
wireless_keypad_name: zod.z.string().describe(`Name for a wireless keypad for a TTLock device.`)
|
|
984
984
|
})
|
|
985
|
-
).optional().describe(`Wireless keypads for a TTLock device.`)
|
|
985
|
+
).optional().describe(`Wireless keypads for a TTLock device.`),
|
|
986
|
+
timezone_raw_offset_ms: zod.z.number().nullable().optional().describe(
|
|
987
|
+
`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 \u2014 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.`
|
|
988
|
+
)
|
|
986
989
|
}).describe(`Metadata for a TTLock device.`),
|
|
987
990
|
seam_bridge_metadata: zod.z.object({
|
|
988
991
|
unlock_method: zod.z.enum(["bridge", "doorking"]).optional().describe(`Unlock method for Seam Bridge.`),
|
|
@@ -19178,6 +19181,12 @@ var openapi = {
|
|
|
19178
19181
|
format: "float",
|
|
19179
19182
|
type: "number"
|
|
19180
19183
|
},
|
|
19184
|
+
timezone_raw_offset_ms: {
|
|
19185
|
+
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 \u2014 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.`,
|
|
19186
|
+
format: "float",
|
|
19187
|
+
nullable: true,
|
|
19188
|
+
type: "number"
|
|
19189
|
+
},
|
|
19181
19190
|
wireless_keypads: {
|
|
19182
19191
|
description: "Wireless keypads for a TTLock device.",
|
|
19183
19192
|
items: {
|
|
@@ -74674,6 +74683,15 @@ var openapi = {
|
|
|
74674
74683
|
in: "query",
|
|
74675
74684
|
name: "collection_key",
|
|
74676
74685
|
schema: { description: "Collection key.", type: "string" }
|
|
74686
|
+
},
|
|
74687
|
+
{
|
|
74688
|
+
in: "query",
|
|
74689
|
+
name: "connected_account_id",
|
|
74690
|
+
schema: {
|
|
74691
|
+
description: "Connected account to scope auto-mapping to. Filters partner resources by the matching connector and limits available devices/entrances to this account.",
|
|
74692
|
+
format: "uuid",
|
|
74693
|
+
type: "string"
|
|
74694
|
+
}
|
|
74677
74695
|
}
|
|
74678
74696
|
],
|
|
74679
74697
|
responses: {
|
|
@@ -74789,6 +74807,11 @@ var openapi = {
|
|
|
74789
74807
|
description: "Collection key.",
|
|
74790
74808
|
type: "string"
|
|
74791
74809
|
},
|
|
74810
|
+
connected_account_id: {
|
|
74811
|
+
description: "Connected account to scope auto-mapping to. Filters partner resources by the matching connector and limits available devices/entrances to this account.",
|
|
74812
|
+
format: "uuid",
|
|
74813
|
+
type: "string"
|
|
74814
|
+
},
|
|
74792
74815
|
customer_key: {
|
|
74793
74816
|
description: "Customer key for which to auto-map spaces.",
|
|
74794
74817
|
type: "string"
|