@seamapi/types 1.457.0 → 1.458.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 +56 -231
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +475 -310
- package/dist/devicedb.d.cts +56 -56
- package/dist/index.cjs +56 -231
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +25 -10
- package/lib/seam/connect/models/acs/metadata/salto-space.d.ts +15 -6
- package/lib/seam/connect/models/acs/metadata/salto-space.js +13 -4
- package/lib/seam/connect/models/acs/metadata/salto-space.js.map +1 -1
- package/lib/seam/connect/models/batches/access_grants.d.ts +83 -63
- package/lib/seam/connect/models/batches/access_methods.d.ts +83 -63
- package/lib/seam/connect/models/batches/batch.d.ts +249 -189
- package/lib/seam/connect/models/batches/spaces.d.ts +83 -63
- package/lib/seam/connect/models/devices/device-metadata.d.ts +22 -22
- package/lib/seam/connect/models/devices/device-provider.d.ts +0 -1
- package/lib/seam/connect/models/devices/device.d.ts +49 -51
- package/lib/seam/connect/models/devices/device.js +16 -7
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +29 -31
- package/lib/seam/connect/models/phones/phone-session.d.ts +100 -40
- package/lib/seam/connect/openapi.d.ts +26 -2
- package/lib/seam/connect/openapi.js +29 -5
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +100 -30
- package/lib/seam/devicedb/models/device-model.d.ts +20 -20
- package/lib/seam/devicedb/route-specs.d.ts +41 -41
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/metadata/salto-space.ts +13 -4
- package/src/lib/seam/connect/models/devices/device.ts +15 -8
- package/src/lib/seam/connect/openapi.ts +32 -5
- package/src/lib/seam/connect/route-types.ts +100 -30
|
@@ -212,7 +212,6 @@ export declare const routes: {
|
|
|
212
212
|
}, "strip", z.ZodTypeAny, {
|
|
213
213
|
description: string;
|
|
214
214
|
display_name: string;
|
|
215
|
-
device_model_id: string;
|
|
216
215
|
manufacturer: {
|
|
217
216
|
display_name: string;
|
|
218
217
|
manufacturer_id: string;
|
|
@@ -241,11 +240,12 @@ export declare const routes: {
|
|
|
241
240
|
us_customer_support_contact_url?: string | undefined;
|
|
242
241
|
seam_api_guide?: string | undefined;
|
|
243
242
|
};
|
|
244
|
-
is_device_supported: boolean;
|
|
245
|
-
main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
|
|
246
243
|
hardware: {
|
|
247
244
|
has_physical_key?: boolean | undefined;
|
|
248
245
|
};
|
|
246
|
+
device_model_id: string;
|
|
247
|
+
is_device_supported: boolean;
|
|
248
|
+
main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
|
|
249
249
|
aesthetic_variants: {
|
|
250
250
|
display_name: string;
|
|
251
251
|
slug: string;
|
|
@@ -272,7 +272,6 @@ export declare const routes: {
|
|
|
272
272
|
}, {
|
|
273
273
|
description: string;
|
|
274
274
|
display_name: string;
|
|
275
|
-
device_model_id: string;
|
|
276
275
|
manufacturer: {
|
|
277
276
|
display_name: string;
|
|
278
277
|
manufacturer_id: string;
|
|
@@ -301,11 +300,12 @@ export declare const routes: {
|
|
|
301
300
|
us_customer_support_contact_url?: string | undefined;
|
|
302
301
|
seam_api_guide?: string | undefined;
|
|
303
302
|
};
|
|
304
|
-
is_device_supported: boolean;
|
|
305
|
-
main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
|
|
306
303
|
hardware: {
|
|
307
304
|
has_physical_key?: boolean | undefined;
|
|
308
305
|
};
|
|
306
|
+
device_model_id: string;
|
|
307
|
+
is_device_supported: boolean;
|
|
308
|
+
main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
|
|
309
309
|
aesthetic_variants: {
|
|
310
310
|
display_name: string;
|
|
311
311
|
slug: string;
|
|
@@ -336,12 +336,12 @@ export declare const routes: {
|
|
|
336
336
|
has_physical_key: z.ZodBoolean;
|
|
337
337
|
has_camera: z.ZodBoolean;
|
|
338
338
|
}, "strip", z.ZodTypeAny, {
|
|
339
|
-
has_physical_key: boolean;
|
|
340
339
|
lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
|
|
340
|
+
has_physical_key: boolean;
|
|
341
341
|
has_camera: boolean;
|
|
342
342
|
}, {
|
|
343
|
-
has_physical_key: boolean;
|
|
344
343
|
lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
|
|
344
|
+
has_physical_key: boolean;
|
|
345
345
|
has_camera: boolean;
|
|
346
346
|
}>;
|
|
347
347
|
software_features: z.ZodObject<{
|
|
@@ -372,8 +372,8 @@ export declare const routes: {
|
|
|
372
372
|
}, "can_remotely_unlock" | "can_remotely_lock" | "can_program_offline_access_codes" | "can_program_online_access_codes">, "strip", z.ZodTypeAny, {
|
|
373
373
|
main_category: "smartlock";
|
|
374
374
|
physical_properties: {
|
|
375
|
-
has_physical_key: boolean;
|
|
376
375
|
lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
|
|
376
|
+
has_physical_key: boolean;
|
|
377
377
|
has_camera: boolean;
|
|
378
378
|
};
|
|
379
379
|
software_features: {
|
|
@@ -389,8 +389,8 @@ export declare const routes: {
|
|
|
389
389
|
}, {
|
|
390
390
|
main_category: "smartlock";
|
|
391
391
|
physical_properties: {
|
|
392
|
-
has_physical_key: boolean;
|
|
393
392
|
lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
|
|
393
|
+
has_physical_key: boolean;
|
|
394
394
|
has_camera: boolean;
|
|
395
395
|
};
|
|
396
396
|
software_features: {
|
|
@@ -595,7 +595,6 @@ export declare const routes: {
|
|
|
595
595
|
device_model: {
|
|
596
596
|
description: string;
|
|
597
597
|
display_name: string;
|
|
598
|
-
device_model_id: string;
|
|
599
598
|
manufacturer: {
|
|
600
599
|
display_name: string;
|
|
601
600
|
manufacturer_id: string;
|
|
@@ -624,11 +623,12 @@ export declare const routes: {
|
|
|
624
623
|
us_customer_support_contact_url?: string | undefined;
|
|
625
624
|
seam_api_guide?: string | undefined;
|
|
626
625
|
};
|
|
627
|
-
is_device_supported: boolean;
|
|
628
|
-
main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
|
|
629
626
|
hardware: {
|
|
630
627
|
has_physical_key?: boolean | undefined;
|
|
631
628
|
};
|
|
629
|
+
device_model_id: string;
|
|
630
|
+
is_device_supported: boolean;
|
|
631
|
+
main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
|
|
632
632
|
aesthetic_variants: {
|
|
633
633
|
display_name: string;
|
|
634
634
|
slug: string;
|
|
@@ -655,8 +655,8 @@ export declare const routes: {
|
|
|
655
655
|
} & ({
|
|
656
656
|
main_category: "smartlock";
|
|
657
657
|
physical_properties: {
|
|
658
|
-
has_physical_key: boolean;
|
|
659
658
|
lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
|
|
659
|
+
has_physical_key: boolean;
|
|
660
660
|
has_camera: boolean;
|
|
661
661
|
};
|
|
662
662
|
software_features: {
|
|
@@ -718,7 +718,6 @@ export declare const routes: {
|
|
|
718
718
|
device_model: {
|
|
719
719
|
description: string;
|
|
720
720
|
display_name: string;
|
|
721
|
-
device_model_id: string;
|
|
722
721
|
manufacturer: {
|
|
723
722
|
display_name: string;
|
|
724
723
|
manufacturer_id: string;
|
|
@@ -747,11 +746,12 @@ export declare const routes: {
|
|
|
747
746
|
us_customer_support_contact_url?: string | undefined;
|
|
748
747
|
seam_api_guide?: string | undefined;
|
|
749
748
|
};
|
|
750
|
-
is_device_supported: boolean;
|
|
751
|
-
main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
|
|
752
749
|
hardware: {
|
|
753
750
|
has_physical_key?: boolean | undefined;
|
|
754
751
|
};
|
|
752
|
+
device_model_id: string;
|
|
753
|
+
is_device_supported: boolean;
|
|
754
|
+
main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
|
|
755
755
|
aesthetic_variants: {
|
|
756
756
|
display_name: string;
|
|
757
757
|
slug: string;
|
|
@@ -778,8 +778,8 @@ export declare const routes: {
|
|
|
778
778
|
} & ({
|
|
779
779
|
main_category: "smartlock";
|
|
780
780
|
physical_properties: {
|
|
781
|
-
has_physical_key: boolean;
|
|
782
781
|
lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
|
|
782
|
+
has_physical_key: boolean;
|
|
783
783
|
has_camera: boolean;
|
|
784
784
|
};
|
|
785
785
|
software_features: {
|
|
@@ -853,23 +853,23 @@ export declare const routes: {
|
|
|
853
853
|
include_if: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
854
854
|
exclude_if: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
855
855
|
}, "strip", z.ZodTypeAny, {
|
|
856
|
+
include_if?: string[] | undefined;
|
|
857
|
+
exclude_if?: string[] | undefined;
|
|
856
858
|
manufacturer_id?: string | undefined;
|
|
857
|
-
main_category?: "relay" | "thermostat" | "
|
|
859
|
+
main_category?: "relay" | "thermostat" | "sensor" | "smartlock" | "intercom" | "accessory" | undefined;
|
|
858
860
|
manufacturer_ids?: string[] | undefined;
|
|
859
861
|
integration_status?: "beta" | "stable" | "planned" | "unsupported" | "inquire" | undefined;
|
|
860
862
|
integration_support_levels?: ("beta" | "stable" | "planned" | "unsupported" | "inquire")[] | undefined;
|
|
861
863
|
text_search?: string | undefined;
|
|
864
|
+
}, {
|
|
862
865
|
include_if?: string[] | undefined;
|
|
863
866
|
exclude_if?: string[] | undefined;
|
|
864
|
-
}, {
|
|
865
867
|
manufacturer_id?: string | undefined;
|
|
866
|
-
main_category?: "relay" | "thermostat" | "
|
|
868
|
+
main_category?: "relay" | "thermostat" | "sensor" | "smartlock" | "intercom" | "accessory" | undefined;
|
|
867
869
|
manufacturer_ids?: string[] | undefined;
|
|
868
870
|
integration_status?: "beta" | "stable" | "planned" | "unsupported" | "inquire" | undefined;
|
|
869
871
|
integration_support_levels?: ("beta" | "stable" | "planned" | "unsupported" | "inquire")[] | undefined;
|
|
870
872
|
text_search?: string | undefined;
|
|
871
|
-
include_if?: string[] | undefined;
|
|
872
|
-
exclude_if?: string[] | undefined;
|
|
873
873
|
}>;
|
|
874
874
|
readonly jsonResponse: z.ZodObject<{
|
|
875
875
|
device_models: z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
@@ -1073,7 +1073,6 @@ export declare const routes: {
|
|
|
1073
1073
|
}, "strip", z.ZodTypeAny, {
|
|
1074
1074
|
description: string;
|
|
1075
1075
|
display_name: string;
|
|
1076
|
-
device_model_id: string;
|
|
1077
1076
|
manufacturer: {
|
|
1078
1077
|
display_name: string;
|
|
1079
1078
|
manufacturer_id: string;
|
|
@@ -1102,11 +1101,12 @@ export declare const routes: {
|
|
|
1102
1101
|
us_customer_support_contact_url?: string | undefined;
|
|
1103
1102
|
seam_api_guide?: string | undefined;
|
|
1104
1103
|
};
|
|
1105
|
-
is_device_supported: boolean;
|
|
1106
|
-
main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
|
|
1107
1104
|
hardware: {
|
|
1108
1105
|
has_physical_key?: boolean | undefined;
|
|
1109
1106
|
};
|
|
1107
|
+
device_model_id: string;
|
|
1108
|
+
is_device_supported: boolean;
|
|
1109
|
+
main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
|
|
1110
1110
|
aesthetic_variants: {
|
|
1111
1111
|
display_name: string;
|
|
1112
1112
|
slug: string;
|
|
@@ -1133,7 +1133,6 @@ export declare const routes: {
|
|
|
1133
1133
|
}, {
|
|
1134
1134
|
description: string;
|
|
1135
1135
|
display_name: string;
|
|
1136
|
-
device_model_id: string;
|
|
1137
1136
|
manufacturer: {
|
|
1138
1137
|
display_name: string;
|
|
1139
1138
|
manufacturer_id: string;
|
|
@@ -1162,11 +1161,12 @@ export declare const routes: {
|
|
|
1162
1161
|
us_customer_support_contact_url?: string | undefined;
|
|
1163
1162
|
seam_api_guide?: string | undefined;
|
|
1164
1163
|
};
|
|
1165
|
-
is_device_supported: boolean;
|
|
1166
|
-
main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
|
|
1167
1164
|
hardware: {
|
|
1168
1165
|
has_physical_key?: boolean | undefined;
|
|
1169
1166
|
};
|
|
1167
|
+
device_model_id: string;
|
|
1168
|
+
is_device_supported: boolean;
|
|
1169
|
+
main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
|
|
1170
1170
|
aesthetic_variants: {
|
|
1171
1171
|
display_name: string;
|
|
1172
1172
|
slug: string;
|
|
@@ -1197,12 +1197,12 @@ export declare const routes: {
|
|
|
1197
1197
|
has_physical_key: z.ZodBoolean;
|
|
1198
1198
|
has_camera: z.ZodBoolean;
|
|
1199
1199
|
}, "strip", z.ZodTypeAny, {
|
|
1200
|
-
has_physical_key: boolean;
|
|
1201
1200
|
lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
|
|
1201
|
+
has_physical_key: boolean;
|
|
1202
1202
|
has_camera: boolean;
|
|
1203
1203
|
}, {
|
|
1204
|
-
has_physical_key: boolean;
|
|
1205
1204
|
lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
|
|
1205
|
+
has_physical_key: boolean;
|
|
1206
1206
|
has_camera: boolean;
|
|
1207
1207
|
}>;
|
|
1208
1208
|
software_features: z.ZodObject<{
|
|
@@ -1233,8 +1233,8 @@ export declare const routes: {
|
|
|
1233
1233
|
}, "can_remotely_unlock" | "can_remotely_lock" | "can_program_offline_access_codes" | "can_program_online_access_codes">, "strip", z.ZodTypeAny, {
|
|
1234
1234
|
main_category: "smartlock";
|
|
1235
1235
|
physical_properties: {
|
|
1236
|
-
has_physical_key: boolean;
|
|
1237
1236
|
lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
|
|
1237
|
+
has_physical_key: boolean;
|
|
1238
1238
|
has_camera: boolean;
|
|
1239
1239
|
};
|
|
1240
1240
|
software_features: {
|
|
@@ -1250,8 +1250,8 @@ export declare const routes: {
|
|
|
1250
1250
|
}, {
|
|
1251
1251
|
main_category: "smartlock";
|
|
1252
1252
|
physical_properties: {
|
|
1253
|
-
has_physical_key: boolean;
|
|
1254
1253
|
lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
|
|
1254
|
+
has_physical_key: boolean;
|
|
1255
1255
|
has_camera: boolean;
|
|
1256
1256
|
};
|
|
1257
1257
|
software_features: {
|
|
@@ -1456,7 +1456,6 @@ export declare const routes: {
|
|
|
1456
1456
|
device_models: ({
|
|
1457
1457
|
description: string;
|
|
1458
1458
|
display_name: string;
|
|
1459
|
-
device_model_id: string;
|
|
1460
1459
|
manufacturer: {
|
|
1461
1460
|
display_name: string;
|
|
1462
1461
|
manufacturer_id: string;
|
|
@@ -1485,11 +1484,12 @@ export declare const routes: {
|
|
|
1485
1484
|
us_customer_support_contact_url?: string | undefined;
|
|
1486
1485
|
seam_api_guide?: string | undefined;
|
|
1487
1486
|
};
|
|
1488
|
-
is_device_supported: boolean;
|
|
1489
|
-
main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
|
|
1490
1487
|
hardware: {
|
|
1491
1488
|
has_physical_key?: boolean | undefined;
|
|
1492
1489
|
};
|
|
1490
|
+
device_model_id: string;
|
|
1491
|
+
is_device_supported: boolean;
|
|
1492
|
+
main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
|
|
1493
1493
|
aesthetic_variants: {
|
|
1494
1494
|
display_name: string;
|
|
1495
1495
|
slug: string;
|
|
@@ -1516,8 +1516,8 @@ export declare const routes: {
|
|
|
1516
1516
|
} & ({
|
|
1517
1517
|
main_category: "smartlock";
|
|
1518
1518
|
physical_properties: {
|
|
1519
|
-
has_physical_key: boolean;
|
|
1520
1519
|
lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
|
|
1520
|
+
has_physical_key: boolean;
|
|
1521
1521
|
has_camera: boolean;
|
|
1522
1522
|
};
|
|
1523
1523
|
software_features: {
|
|
@@ -1579,7 +1579,6 @@ export declare const routes: {
|
|
|
1579
1579
|
device_models: ({
|
|
1580
1580
|
description: string;
|
|
1581
1581
|
display_name: string;
|
|
1582
|
-
device_model_id: string;
|
|
1583
1582
|
manufacturer: {
|
|
1584
1583
|
display_name: string;
|
|
1585
1584
|
manufacturer_id: string;
|
|
@@ -1608,11 +1607,12 @@ export declare const routes: {
|
|
|
1608
1607
|
us_customer_support_contact_url?: string | undefined;
|
|
1609
1608
|
seam_api_guide?: string | undefined;
|
|
1610
1609
|
};
|
|
1611
|
-
is_device_supported: boolean;
|
|
1612
|
-
main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
|
|
1613
1610
|
hardware: {
|
|
1614
1611
|
has_physical_key?: boolean | undefined;
|
|
1615
1612
|
};
|
|
1613
|
+
device_model_id: string;
|
|
1614
|
+
is_device_supported: boolean;
|
|
1615
|
+
main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
|
|
1616
1616
|
aesthetic_variants: {
|
|
1617
1617
|
display_name: string;
|
|
1618
1618
|
slug: string;
|
|
@@ -1639,8 +1639,8 @@ export declare const routes: {
|
|
|
1639
1639
|
} & ({
|
|
1640
1640
|
main_category: "smartlock";
|
|
1641
1641
|
physical_properties: {
|
|
1642
|
-
has_physical_key: boolean;
|
|
1643
1642
|
lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
|
|
1643
|
+
has_physical_key: boolean;
|
|
1644
1644
|
has_camera: boolean;
|
|
1645
1645
|
};
|
|
1646
1646
|
software_features: {
|
package/package.json
CHANGED
|
@@ -2,17 +2,26 @@ import { z } from 'zod'
|
|
|
2
2
|
|
|
3
3
|
export const acs_entrance_salto_space_metadata = z
|
|
4
4
|
.object({
|
|
5
|
+
ext_door_id: z.string().describe(`
|
|
6
|
+
---
|
|
7
|
+
deprecated: use door_id.
|
|
8
|
+
---
|
|
9
|
+
`),
|
|
10
|
+
door_id: z.string().describe('Door ID in the Salto Space access system.'),
|
|
5
11
|
door_name: z
|
|
6
12
|
.string()
|
|
7
13
|
.describe('Name of the door in the Salto Space access system.'),
|
|
8
|
-
ext_door_id: z
|
|
9
|
-
.string()
|
|
10
|
-
.describe('External door ID in the Salto Space access system.'),
|
|
11
14
|
door_description: z
|
|
12
15
|
.string()
|
|
13
|
-
.optional()
|
|
14
16
|
.describe('Description of the door in the Salto Space access system.'),
|
|
17
|
+
room_name: z
|
|
18
|
+
.string()
|
|
19
|
+
.describe('Name of the room in the Salto Space access system.'),
|
|
20
|
+
room_description: z
|
|
21
|
+
.string()
|
|
22
|
+
.describe('Description of the room in the Salto Space access system.'),
|
|
15
23
|
})
|
|
24
|
+
.partial()
|
|
16
25
|
.describe('Salto Space-specific metadata associated with the entrance.')
|
|
17
26
|
|
|
18
27
|
export type AcsEntranceSaltoSpaceMetadata = z.infer<
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod'
|
|
2
2
|
|
|
3
|
-
import { schemas as devicedb_schemas } from '@seamapi/types/devicedb'
|
|
4
|
-
|
|
5
3
|
import { connected_account_error } from '../connected-accounts/index.js'
|
|
6
4
|
import { custom_metadata } from '../custom-metadata.js'
|
|
7
5
|
import { capabilities } from './capabilities-supported.js'
|
|
@@ -10,13 +8,22 @@ import { device_metadata } from './device-metadata.js'
|
|
|
10
8
|
import { any_device_type } from './device-type.js'
|
|
11
9
|
import { phone_specific_properties } from './phone-properties.js'
|
|
12
10
|
|
|
13
|
-
export const device_capability_flags =
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
11
|
+
export const device_capability_flags = z
|
|
12
|
+
.object({
|
|
13
|
+
can_remotely_unlock: z.boolean(),
|
|
14
|
+
can_remotely_lock: z.boolean(),
|
|
15
|
+
can_program_offline_access_codes: z.boolean(),
|
|
16
|
+
can_program_online_access_codes: z.boolean(),
|
|
17
|
+
can_hvac_heat: z.boolean(),
|
|
18
|
+
can_hvac_cool: z.boolean(),
|
|
19
|
+
can_hvac_heat_cool: z.boolean(),
|
|
20
|
+
can_turn_off_hvac: z.boolean(),
|
|
21
|
+
can_simulate_removal: z.boolean(),
|
|
22
|
+
can_simulate_connection: z.boolean(),
|
|
23
|
+
can_simulate_disconnection: z.boolean(),
|
|
24
|
+
can_unlock_with_code: z.boolean(),
|
|
19
25
|
})
|
|
26
|
+
.partial()
|
|
20
27
|
|
|
21
28
|
export const battery_status = z.enum(['critical', 'low', 'good', 'full'])
|
|
22
29
|
.describe(`Represents the current status of the battery charge level. Values are \`critical\`, which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; \`low\`, which signifies that the battery is under the preferred threshold and should be charged soon; \`good\`, which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and \`full\`, which represents a battery that is fully charged, providing the maximum duration of usage.
|
|
@@ -2892,18 +2892,31 @@ export default {
|
|
|
2892
2892
|
'Description of the door in the Salto Space access system.',
|
|
2893
2893
|
type: 'string',
|
|
2894
2894
|
},
|
|
2895
|
+
door_id: {
|
|
2896
|
+
description: 'Door ID in the Salto Space access system.',
|
|
2897
|
+
type: 'string',
|
|
2898
|
+
},
|
|
2895
2899
|
door_name: {
|
|
2896
2900
|
description:
|
|
2897
2901
|
'Name of the door in the Salto Space access system.',
|
|
2898
2902
|
type: 'string',
|
|
2899
2903
|
},
|
|
2900
2904
|
ext_door_id: {
|
|
2905
|
+
deprecated: true,
|
|
2906
|
+
type: 'string',
|
|
2907
|
+
'x-deprecated': 'use door_id.',
|
|
2908
|
+
},
|
|
2909
|
+
room_description: {
|
|
2910
|
+
description:
|
|
2911
|
+
'Description of the room in the Salto Space access system.',
|
|
2912
|
+
type: 'string',
|
|
2913
|
+
},
|
|
2914
|
+
room_name: {
|
|
2901
2915
|
description:
|
|
2902
|
-
'
|
|
2916
|
+
'Name of the room in the Salto Space access system.',
|
|
2903
2917
|
type: 'string',
|
|
2904
2918
|
},
|
|
2905
2919
|
},
|
|
2906
|
-
required: ['door_name', 'ext_door_id'],
|
|
2907
2920
|
type: 'object',
|
|
2908
2921
|
},
|
|
2909
2922
|
visionline_metadata: {
|
|
@@ -19505,18 +19518,32 @@ export default {
|
|
|
19505
19518
|
'Description of the door in the Salto Space access system.',
|
|
19506
19519
|
type: 'string',
|
|
19507
19520
|
},
|
|
19521
|
+
door_id: {
|
|
19522
|
+
description:
|
|
19523
|
+
'Door ID in the Salto Space access system.',
|
|
19524
|
+
type: 'string',
|
|
19525
|
+
},
|
|
19508
19526
|
door_name: {
|
|
19509
19527
|
description:
|
|
19510
19528
|
'Name of the door in the Salto Space access system.',
|
|
19511
19529
|
type: 'string',
|
|
19512
19530
|
},
|
|
19513
19531
|
ext_door_id: {
|
|
19532
|
+
deprecated: true,
|
|
19533
|
+
type: 'string',
|
|
19534
|
+
'x-deprecated': 'use door_id.',
|
|
19535
|
+
},
|
|
19536
|
+
room_description: {
|
|
19537
|
+
description:
|
|
19538
|
+
'Description of the room in the Salto Space access system.',
|
|
19539
|
+
type: 'string',
|
|
19540
|
+
},
|
|
19541
|
+
room_name: {
|
|
19514
19542
|
description:
|
|
19515
|
-
'
|
|
19543
|
+
'Name of the room in the Salto Space access system.',
|
|
19516
19544
|
type: 'string',
|
|
19517
19545
|
},
|
|
19518
19546
|
},
|
|
19519
|
-
required: ['door_name', 'ext_door_id'],
|
|
19520
19547
|
type: 'object',
|
|
19521
19548
|
},
|
|
19522
19549
|
visionline_metadata: {
|
|
@@ -40355,7 +40382,7 @@ export default {
|
|
|
40355
40382
|
'/devices/simulate/connect_to_hub': {
|
|
40356
40383
|
post: {
|
|
40357
40384
|
description:
|
|
40358
|
-
'Simulates bringing the Wi
|
|
40385
|
+
'Simulates bringing the Wi‑Fi hub (bridge) back online for a device.\nOnly applicable for sandbox workspaces and currently\nimplemented for August and TTLock locks.\nThis will clear the corresponding `hub_disconnected` or\n`ttlock_lock_not_paired_to_gateway` error on the device.',
|
|
40359
40386
|
operationId: 'devicesSimulateConnectToHubPost',
|
|
40360
40387
|
requestBody: {
|
|
40361
40388
|
content: {
|