@seamapi/types 1.832.0 → 1.834.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 +26 -9
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +66 -5
- package/dist/index.cjs +26 -9
- 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-provider.d.ts +2 -1
- package/lib/seam/connect/models/devices/device-provider.js +2 -1
- package/lib/seam/connect/models/devices/device-provider.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 +13 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +39 -5
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-metadata.ts +7 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +2 -1
- package/src/lib/seam/connect/openapi.ts +14 -0
- package/src/lib/seam/connect/route-types.ts +39 -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.`),
|
|
@@ -1989,7 +1992,8 @@ var DEVICE_PROVIDERS = {
|
|
|
1989
1992
|
DORMAKABA_AMBIANCE: "dormakaba_ambiance",
|
|
1990
1993
|
ULTRALOQ: "ultraloq",
|
|
1991
1994
|
RING: "ring",
|
|
1992
|
-
ICAL: "ical"
|
|
1995
|
+
ICAL: "ical",
|
|
1996
|
+
LODGIFY: "lodgify"
|
|
1993
1997
|
};
|
|
1994
1998
|
var ALL_DEVICE_PROVIDERS = Object.values(DEVICE_PROVIDERS);
|
|
1995
1999
|
var PROVIDER_CATEGORY_MAP = {
|
|
@@ -2062,7 +2066,7 @@ var PROVIDER_CATEGORY_MAP = {
|
|
|
2062
2066
|
"hotek"
|
|
2063
2067
|
],
|
|
2064
2068
|
cameras: ["ring"],
|
|
2065
|
-
connectors: ["ical"],
|
|
2069
|
+
connectors: ["ical", "lodgify"],
|
|
2066
2070
|
internal_beta: ALL_DEVICE_PROVIDERS
|
|
2067
2071
|
};
|
|
2068
2072
|
var PROVIDER_CATEGORIES = Object.keys(PROVIDER_CATEGORY_MAP);
|
|
@@ -19177,6 +19181,12 @@ var openapi = {
|
|
|
19177
19181
|
format: "float",
|
|
19178
19182
|
type: "number"
|
|
19179
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
|
+
},
|
|
19180
19190
|
wireless_keypads: {
|
|
19181
19191
|
description: "Wireless keypads for a TTLock device.",
|
|
19182
19192
|
items: {
|
|
@@ -20879,7 +20889,8 @@ var openapi = {
|
|
|
20879
20889
|
"dormakaba_ambiance",
|
|
20880
20890
|
"ultraloq",
|
|
20881
20891
|
"ring",
|
|
20882
|
-
"ical"
|
|
20892
|
+
"ical",
|
|
20893
|
+
"lodgify"
|
|
20883
20894
|
],
|
|
20884
20895
|
type: "string"
|
|
20885
20896
|
},
|
|
@@ -51903,6 +51914,7 @@ var openapi = {
|
|
|
51903
51914
|
"ultraloq",
|
|
51904
51915
|
"ring",
|
|
51905
51916
|
"ical",
|
|
51917
|
+
"lodgify",
|
|
51906
51918
|
"yale_access",
|
|
51907
51919
|
"hid_cm",
|
|
51908
51920
|
"google_nest"
|
|
@@ -55865,7 +55877,8 @@ var openapi = {
|
|
|
55865
55877
|
"tado",
|
|
55866
55878
|
"ultraloq",
|
|
55867
55879
|
"ring",
|
|
55868
|
-
"ical"
|
|
55880
|
+
"ical",
|
|
55881
|
+
"lodgify"
|
|
55869
55882
|
],
|
|
55870
55883
|
type: "string"
|
|
55871
55884
|
}
|
|
@@ -56356,7 +56369,8 @@ var openapi = {
|
|
|
56356
56369
|
"tado",
|
|
56357
56370
|
"ultraloq",
|
|
56358
56371
|
"ring",
|
|
56359
|
-
"ical"
|
|
56372
|
+
"ical",
|
|
56373
|
+
"lodgify"
|
|
56360
56374
|
],
|
|
56361
56375
|
type: "string"
|
|
56362
56376
|
},
|
|
@@ -58156,7 +58170,8 @@ var openapi = {
|
|
|
58156
58170
|
"tado",
|
|
58157
58171
|
"ultraloq",
|
|
58158
58172
|
"ring",
|
|
58159
|
-
"ical"
|
|
58173
|
+
"ical",
|
|
58174
|
+
"lodgify"
|
|
58160
58175
|
],
|
|
58161
58176
|
type: "string"
|
|
58162
58177
|
}
|
|
@@ -58646,7 +58661,8 @@ var openapi = {
|
|
|
58646
58661
|
"tado",
|
|
58647
58662
|
"ultraloq",
|
|
58648
58663
|
"ring",
|
|
58649
|
-
"ical"
|
|
58664
|
+
"ical",
|
|
58665
|
+
"lodgify"
|
|
58650
58666
|
],
|
|
58651
58667
|
type: "string"
|
|
58652
58668
|
},
|
|
@@ -67015,7 +67031,8 @@ var openapi = {
|
|
|
67015
67031
|
"cloudbeds",
|
|
67016
67032
|
"smoobu",
|
|
67017
67033
|
"zonal",
|
|
67018
|
-
"ical"
|
|
67034
|
+
"ical",
|
|
67035
|
+
"lodgify"
|
|
67019
67036
|
],
|
|
67020
67037
|
type: "string"
|
|
67021
67038
|
},
|