@seamapi/types 1.216.0 → 1.218.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 +32 -7
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +50 -0
- package/dist/devicedb.cjs +20 -4
- package/dist/devicedb.cjs.map +1 -1
- package/dist/devicedb.d.cts +192 -4
- package/lib/seam/connect/models/devices/device-provider.d.ts +12 -0
- package/lib/seam/connect/models/devices/device.d.ts +24 -0
- package/lib/seam/connect/models/devices/phone.d.ts +12 -0
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +16 -0
- package/lib/seam/connect/openapi.d.ts +7 -0
- package/lib/seam/connect/openapi.js +10 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +3 -0
- package/lib/seam/devicedb/models/device-capability.d.ts +24 -0
- package/lib/seam/devicedb/models/device-capability.js +8 -0
- package/lib/seam/devicedb/models/device-capability.js.map +1 -1
- package/lib/seam/devicedb/models/device-model.d.ts +66 -2
- package/lib/seam/devicedb/models/device-model.js +8 -0
- package/lib/seam/devicedb/models/device-model.js.map +1 -1
- package/lib/seam/devicedb/route-specs.d.ts +98 -2
- package/lib/seam/devicedb/route-types.d.ts +16 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +11 -1
- package/src/lib/seam/connect/route-types.ts +3 -0
- package/src/lib/seam/devicedb/models/device-capability.ts +8 -0
- package/src/lib/seam/devicedb/models/device-model.ts +8 -0
- package/src/lib/seam/devicedb/route-types.ts +16 -0
package/dist/connect.cjs
CHANGED
|
@@ -243,13 +243,21 @@ var device_capability_flags = zod.z.object({
|
|
|
243
243
|
can_remotely_unlock: zod.z.boolean(),
|
|
244
244
|
can_remotely_lock: zod.z.boolean(),
|
|
245
245
|
can_program_offline_access_codes: zod.z.boolean(),
|
|
246
|
-
can_program_online_access_codes: zod.z.boolean()
|
|
246
|
+
can_program_online_access_codes: zod.z.boolean(),
|
|
247
|
+
can_hvac_heat: zod.z.boolean(),
|
|
248
|
+
can_hvac_cool: zod.z.boolean(),
|
|
249
|
+
can_hvac_heat_cool: zod.z.boolean(),
|
|
250
|
+
can_turn_off_hvac: zod.z.boolean()
|
|
247
251
|
}).partial();
|
|
248
252
|
var device_model_capability_flags_map = {
|
|
249
253
|
can_remotely_lock: zod.z.literal(true),
|
|
250
254
|
can_remotely_unlock: zod.z.literal(true),
|
|
251
255
|
can_program_offline_access_codes: zod.z.literal(true),
|
|
252
|
-
can_program_online_access_codes: zod.z.literal(true)
|
|
256
|
+
can_program_online_access_codes: zod.z.literal(true),
|
|
257
|
+
can_hvac_heat: zod.z.literal(true),
|
|
258
|
+
can_hvac_cool: zod.z.literal(true),
|
|
259
|
+
can_hvac_heat_cool: zod.z.literal(true),
|
|
260
|
+
can_turn_off_hvac: zod.z.literal(true)
|
|
253
261
|
};
|
|
254
262
|
var device_model_capability_flags = zod.z.object(device_model_capability_flags_map).partial();
|
|
255
263
|
var hardware = zod.z.object({
|
|
@@ -338,7 +346,11 @@ var smartlock = zod.z.object({
|
|
|
338
346
|
can_remotely_lock: true,
|
|
339
347
|
can_remotely_unlock: true,
|
|
340
348
|
can_program_offline_access_codes: true,
|
|
341
|
-
can_program_online_access_codes: true
|
|
349
|
+
can_program_online_access_codes: true,
|
|
350
|
+
can_hvac_heat: true,
|
|
351
|
+
can_hvac_cool: true,
|
|
352
|
+
can_hvac_heat_cool: true,
|
|
353
|
+
can_turn_off_hvac: true
|
|
342
354
|
})
|
|
343
355
|
);
|
|
344
356
|
var sensor = zod.z.object({
|
|
@@ -380,7 +392,11 @@ var intercom = zod.z.object({
|
|
|
380
392
|
can_remotely_unlock: zod.z.boolean(),
|
|
381
393
|
can_program_access_codes: zod.z.boolean(),
|
|
382
394
|
can_unlock_with_face_recognition: zod.z.boolean().default(false),
|
|
383
|
-
supports_onvif: zod.z.boolean().default(false)
|
|
395
|
+
supports_onvif: zod.z.boolean().default(false),
|
|
396
|
+
can_hvac_heat: zod.z.boolean(),
|
|
397
|
+
can_hvac_cool: zod.z.boolean(),
|
|
398
|
+
can_hvac_heat_cool: zod.z.boolean(),
|
|
399
|
+
can_turn_off_hvac: zod.z.boolean()
|
|
384
400
|
})
|
|
385
401
|
});
|
|
386
402
|
var accessory = zod.z.object({
|
|
@@ -5707,6 +5723,7 @@ var openapi_default = {
|
|
|
5707
5723
|
created_at: { format: "date-time", type: "string" },
|
|
5708
5724
|
device_id: { format: "uuid", type: "string" },
|
|
5709
5725
|
enrollment_automation_id: { format: "uuid", type: "string" },
|
|
5726
|
+
event_description: { type: "string" },
|
|
5710
5727
|
event_id: { format: "uuid", type: "string" },
|
|
5711
5728
|
event_type: { type: "string" },
|
|
5712
5729
|
occurred_at: { format: "date-time", type: "string" },
|
|
@@ -5717,7 +5734,8 @@ var openapi_default = {
|
|
|
5717
5734
|
"event_type",
|
|
5718
5735
|
"workspace_id",
|
|
5719
5736
|
"created_at",
|
|
5720
|
-
"occurred_at"
|
|
5737
|
+
"occurred_at",
|
|
5738
|
+
"event_description"
|
|
5721
5739
|
],
|
|
5722
5740
|
type: "object"
|
|
5723
5741
|
},
|
|
@@ -8766,13 +8784,18 @@ var openapi_default = {
|
|
|
8766
8784
|
},
|
|
8767
8785
|
"/acs/systems/get": {
|
|
8768
8786
|
post: {
|
|
8787
|
+
description: "Returns a specified [access control system](https://docs.seam.co/latest/capability-guides/access-systems).\n\nSpecify the desired access control system by including the corresponding `acs_system_id` in the request body.",
|
|
8769
8788
|
operationId: "acsSystemsGetPost",
|
|
8770
8789
|
requestBody: {
|
|
8771
8790
|
content: {
|
|
8772
8791
|
"application/json": {
|
|
8773
8792
|
schema: {
|
|
8774
8793
|
properties: {
|
|
8775
|
-
acs_system_id: {
|
|
8794
|
+
acs_system_id: {
|
|
8795
|
+
description: "ID of the desired access control system.",
|
|
8796
|
+
format: "uuid",
|
|
8797
|
+
type: "string"
|
|
8798
|
+
}
|
|
8776
8799
|
},
|
|
8777
8800
|
required: ["acs_system_id"],
|
|
8778
8801
|
type: "object"
|
|
@@ -8808,7 +8831,9 @@ var openapi_default = {
|
|
|
8808
8831
|
tags: ["/acs"],
|
|
8809
8832
|
"x-fern-sdk-group-name": ["acs", "systems"],
|
|
8810
8833
|
"x-fern-sdk-method-name": "get",
|
|
8811
|
-
"x-fern-sdk-return-value": "acs_system"
|
|
8834
|
+
"x-fern-sdk-return-value": "acs_system",
|
|
8835
|
+
"x-response-key": "acs_system",
|
|
8836
|
+
"x-title": "Get an ACS System"
|
|
8812
8837
|
}
|
|
8813
8838
|
},
|
|
8814
8839
|
"/acs/systems/list": {
|