@seamapi/types 1.457.0 → 1.457.1

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.
@@ -91,12 +91,12 @@ export declare const device_model_category_specific_properties: z.ZodDiscriminat
91
91
  has_physical_key: z.ZodBoolean;
92
92
  has_camera: z.ZodBoolean;
93
93
  }, "strip", z.ZodTypeAny, {
94
- has_physical_key: boolean;
95
94
  lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
95
+ has_physical_key: boolean;
96
96
  has_camera: boolean;
97
97
  }, {
98
- has_physical_key: boolean;
99
98
  lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
99
+ has_physical_key: boolean;
100
100
  has_camera: boolean;
101
101
  }>;
102
102
  software_features: z.ZodObject<{
@@ -127,8 +127,8 @@ export declare const device_model_category_specific_properties: z.ZodDiscriminat
127
127
  }, "can_remotely_unlock" | "can_remotely_lock" | "can_program_offline_access_codes" | "can_program_online_access_codes">, "strip", z.ZodTypeAny, {
128
128
  main_category: "smartlock";
129
129
  physical_properties: {
130
- has_physical_key: boolean;
131
130
  lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
131
+ has_physical_key: boolean;
132
132
  has_camera: boolean;
133
133
  };
134
134
  software_features: {
@@ -144,8 +144,8 @@ export declare const device_model_category_specific_properties: z.ZodDiscriminat
144
144
  }, {
145
145
  main_category: "smartlock";
146
146
  physical_properties: {
147
- has_physical_key: boolean;
148
147
  lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
148
+ has_physical_key: boolean;
149
149
  has_camera: boolean;
150
150
  };
151
151
  software_features: {
@@ -546,7 +546,6 @@ export declare const base_device_model_v1: z.ZodObject<{
546
546
  }, "strip", z.ZodTypeAny, {
547
547
  description: string;
548
548
  display_name: string;
549
- device_model_id: string;
550
549
  manufacturer: {
551
550
  display_name: string;
552
551
  manufacturer_id: string;
@@ -575,11 +574,12 @@ export declare const base_device_model_v1: z.ZodObject<{
575
574
  us_customer_support_contact_url?: string | undefined;
576
575
  seam_api_guide?: string | undefined;
577
576
  };
578
- is_device_supported: boolean;
579
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
580
577
  hardware: {
581
578
  has_physical_key?: boolean | undefined;
582
579
  };
580
+ device_model_id: string;
581
+ is_device_supported: boolean;
582
+ main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
583
583
  aesthetic_variants: {
584
584
  display_name: string;
585
585
  slug: string;
@@ -606,7 +606,6 @@ export declare const base_device_model_v1: z.ZodObject<{
606
606
  }, {
607
607
  description: string;
608
608
  display_name: string;
609
- device_model_id: string;
610
609
  manufacturer: {
611
610
  display_name: string;
612
611
  manufacturer_id: string;
@@ -635,11 +634,12 @@ export declare const base_device_model_v1: z.ZodObject<{
635
634
  us_customer_support_contact_url?: string | undefined;
636
635
  seam_api_guide?: string | undefined;
637
636
  };
638
- is_device_supported: boolean;
639
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
640
637
  hardware: {
641
638
  has_physical_key?: boolean | undefined;
642
639
  };
640
+ device_model_id: string;
641
+ is_device_supported: boolean;
642
+ main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
643
643
  aesthetic_variants: {
644
644
  display_name: string;
645
645
  slug: string;
@@ -865,7 +865,6 @@ export declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
865
865
  }, "strip", z.ZodTypeAny, {
866
866
  description: string;
867
867
  display_name: string;
868
- device_model_id: string;
869
868
  manufacturer: {
870
869
  display_name: string;
871
870
  manufacturer_id: string;
@@ -894,11 +893,12 @@ export declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
894
893
  us_customer_support_contact_url?: string | undefined;
895
894
  seam_api_guide?: string | undefined;
896
895
  };
897
- is_device_supported: boolean;
898
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
899
896
  hardware: {
900
897
  has_physical_key?: boolean | undefined;
901
898
  };
899
+ device_model_id: string;
900
+ is_device_supported: boolean;
901
+ main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
902
902
  aesthetic_variants: {
903
903
  display_name: string;
904
904
  slug: string;
@@ -925,7 +925,6 @@ export declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
925
925
  }, {
926
926
  description: string;
927
927
  display_name: string;
928
- device_model_id: string;
929
928
  manufacturer: {
930
929
  display_name: string;
931
930
  manufacturer_id: string;
@@ -954,11 +953,12 @@ export declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
954
953
  us_customer_support_contact_url?: string | undefined;
955
954
  seam_api_guide?: string | undefined;
956
955
  };
957
- is_device_supported: boolean;
958
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
959
956
  hardware: {
960
957
  has_physical_key?: boolean | undefined;
961
958
  };
959
+ device_model_id: string;
960
+ is_device_supported: boolean;
961
+ main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
962
962
  aesthetic_variants: {
963
963
  display_name: string;
964
964
  slug: string;
@@ -989,12 +989,12 @@ export declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
989
989
  has_physical_key: z.ZodBoolean;
990
990
  has_camera: z.ZodBoolean;
991
991
  }, "strip", z.ZodTypeAny, {
992
- has_physical_key: boolean;
993
992
  lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
993
+ has_physical_key: boolean;
994
994
  has_camera: boolean;
995
995
  }, {
996
- has_physical_key: boolean;
997
996
  lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
997
+ has_physical_key: boolean;
998
998
  has_camera: boolean;
999
999
  }>;
1000
1000
  software_features: z.ZodObject<{
@@ -1025,8 +1025,8 @@ export declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
1025
1025
  }, "can_remotely_unlock" | "can_remotely_lock" | "can_program_offline_access_codes" | "can_program_online_access_codes">, "strip", z.ZodTypeAny, {
1026
1026
  main_category: "smartlock";
1027
1027
  physical_properties: {
1028
- has_physical_key: boolean;
1029
1028
  lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
1029
+ has_physical_key: boolean;
1030
1030
  has_camera: boolean;
1031
1031
  };
1032
1032
  software_features: {
@@ -1042,8 +1042,8 @@ export declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
1042
1042
  }, {
1043
1043
  main_category: "smartlock";
1044
1044
  physical_properties: {
1045
- has_physical_key: boolean;
1046
1045
  lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
1046
+ has_physical_key: boolean;
1047
1047
  has_camera: boolean;
1048
1048
  };
1049
1049
  software_features: {
@@ -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" | "smartlock" | "sensor" | "intercom" | "accessory" | undefined;
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" | "smartlock" | "sensor" | "intercom" | "accessory" | undefined;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.457.0",
3
+ "version": "1.457.1",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -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
- devicedb_schemas.device_capability_flags.extend({
15
- can_simulate_removal: z.boolean().optional(),
16
- can_simulate_connection: z.boolean().optional(),
17
- can_simulate_disconnection: z.boolean().optional(),
18
- can_unlock_with_code: z.boolean().optional(),
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.
@@ -40355,7 +40355,7 @@ export default {
40355
40355
  '/devices/simulate/connect_to_hub': {
40356
40356
  post: {
40357
40357
  description:
40358
- 'Simulates bringing the Wi-Fi hub (bridge) back online for a device. \nOnly applicable for [sandbox workspaces](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces) and August locks today, but designed so we can extend to other providers later. \nThis will clear the `hub_disconnected` error on the device.',
40358
+ 'Simulates bringing the WiFi 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
40359
  operationId: 'devicesSimulateConnectToHubPost',
40360
40360
  requestBody: {
40361
40361
  content: {