@seamapi/types 1.108.0 → 1.109.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.
Files changed (60) hide show
  1. package/dist/connect.cjs +40 -4
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +49 -9
  4. package/dist/devicedb.cjs +5 -16
  5. package/dist/devicedb.cjs.map +1 -1
  6. package/dist/devicedb.d.cts +98 -130
  7. package/lib/seam/connect/openapi.d.ts +40 -0
  8. package/lib/seam/connect/openapi.js +40 -4
  9. package/lib/seam/connect/openapi.js.map +1 -1
  10. package/lib/seam/connect/route-types.d.ts +9 -9
  11. package/lib/seam/connect/unstable/models/devices/device-metadata.d.ts +5 -5
  12. package/lib/seam/connect/unstable/models/devices/device-metadata.js +1 -1
  13. package/lib/seam/connect/unstable/models/devices/device-metadata.js.map +1 -1
  14. package/lib/seam/connect/unstable/models/devices/managed-device.d.ts +9 -9
  15. package/lib/seam/devicedb/index.d.ts +2 -2
  16. package/lib/seam/devicedb/index.js +1 -1
  17. package/lib/seam/devicedb/index.js.map +1 -1
  18. package/lib/seam/devicedb/models/device-capability.js.map +1 -0
  19. package/lib/seam/devicedb/{public-models/device-model-v1.d.ts → models/device-model.d.ts} +19 -19
  20. package/lib/seam/devicedb/{public-models/device-model-v1.js → models/device-model.js} +1 -1
  21. package/lib/seam/devicedb/models/device-model.js.map +1 -0
  22. package/lib/seam/devicedb/models/hardware.js.map +1 -0
  23. package/lib/seam/devicedb/models/image-reference.js.map +1 -0
  24. package/lib/seam/devicedb/{public-models → models}/index.d.ts +1 -2
  25. package/lib/seam/devicedb/{public-models → models}/index.js +1 -2
  26. package/lib/seam/devicedb/models/index.js.map +1 -0
  27. package/lib/seam/devicedb/{public-models → models}/manufacturer.d.ts +4 -4
  28. package/lib/seam/devicedb/models/manufacturer.js.map +1 -0
  29. package/lib/seam/devicedb/route-specs.d.ts +70 -70
  30. package/lib/seam/devicedb/route-specs.js +1 -1
  31. package/lib/seam/devicedb/route-specs.js.map +1 -1
  32. package/package.json +1 -1
  33. package/src/lib/seam/connect/openapi.ts +40 -4
  34. package/src/lib/seam/connect/route-types.ts +9 -9
  35. package/src/lib/seam/connect/unstable/models/devices/device-metadata.ts +1 -1
  36. package/src/lib/seam/devicedb/index.ts +3 -3
  37. package/src/lib/seam/devicedb/{public-models/device-model-v1.ts → models/device-model.ts} +3 -3
  38. package/src/lib/seam/devicedb/{public-models → models}/index.ts +1 -2
  39. package/src/lib/seam/devicedb/route-specs.ts +1 -1
  40. package/lib/seam/devicedb/public-models/device-capability.js.map +0 -1
  41. package/lib/seam/devicedb/public-models/device-model-v0.d.ts +0 -30
  42. package/lib/seam/devicedb/public-models/device-model-v0.js +0 -12
  43. package/lib/seam/devicedb/public-models/device-model-v0.js.map +0 -1
  44. package/lib/seam/devicedb/public-models/device-model-v1.js.map +0 -1
  45. package/lib/seam/devicedb/public-models/hardware.js.map +0 -1
  46. package/lib/seam/devicedb/public-models/image-reference.js.map +0 -1
  47. package/lib/seam/devicedb/public-models/index.js.map +0 -1
  48. package/lib/seam/devicedb/public-models/manufacturer.js.map +0 -1
  49. package/src/lib/seam/devicedb/public-models/device-model-v0.ts +0 -14
  50. /package/lib/seam/devicedb/{public-models → models}/device-capability.d.ts +0 -0
  51. /package/lib/seam/devicedb/{public-models → models}/device-capability.js +0 -0
  52. /package/lib/seam/devicedb/{public-models → models}/hardware.d.ts +0 -0
  53. /package/lib/seam/devicedb/{public-models → models}/hardware.js +0 -0
  54. /package/lib/seam/devicedb/{public-models → models}/image-reference.d.ts +0 -0
  55. /package/lib/seam/devicedb/{public-models → models}/image-reference.js +0 -0
  56. /package/lib/seam/devicedb/{public-models → models}/manufacturer.js +0 -0
  57. /package/src/lib/seam/devicedb/{public-models → models}/device-capability.ts +0 -0
  58. /package/src/lib/seam/devicedb/{public-models → models}/hardware.ts +0 -0
  59. /package/src/lib/seam/devicedb/{public-models → models}/image-reference.ts +0 -0
  60. /package/src/lib/seam/devicedb/{public-models → models}/manufacturer.ts +0 -0
@@ -47,8 +47,8 @@ export declare const routes: {
47
47
  }, "device_model_count">, "strip", z.ZodTypeAny, {
48
48
  display_name: string;
49
49
  manufacturer_id: string;
50
- integration: "beta" | "stable" | "unsupported" | "planned" | "inquire";
51
- integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
50
+ integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
51
+ integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
52
52
  is_connect_webview_supported: boolean;
53
53
  requires_seam_support_to_add_account: boolean;
54
54
  annotations: {
@@ -63,8 +63,8 @@ export declare const routes: {
63
63
  }, {
64
64
  display_name: string;
65
65
  manufacturer_id: string;
66
- integration: "beta" | "stable" | "unsupported" | "planned" | "inquire";
67
- integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
66
+ integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
67
+ integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
68
68
  is_connect_webview_supported: boolean;
69
69
  requires_seam_support_to_add_account: boolean;
70
70
  annotations: {
@@ -182,8 +182,8 @@ export declare const routes: {
182
182
  manufacturer: {
183
183
  display_name: string;
184
184
  manufacturer_id: string;
185
- integration: "beta" | "stable" | "unsupported" | "planned" | "inquire";
186
- integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
185
+ integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
186
+ integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
187
187
  is_connect_webview_supported: boolean;
188
188
  requires_seam_support_to_add_account: boolean;
189
189
  annotations: {
@@ -231,8 +231,8 @@ export declare const routes: {
231
231
  manufacturer: {
232
232
  display_name: string;
233
233
  manufacturer_id: string;
234
- integration: "beta" | "stable" | "unsupported" | "planned" | "inquire";
235
- integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
234
+ integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
235
+ integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
236
236
  is_connect_webview_supported: boolean;
237
237
  requires_seam_support_to_add_account: boolean;
238
238
  annotations: {
@@ -340,7 +340,7 @@ export declare const routes: {
340
340
  main_category: z.ZodLiteral<"sensor">;
341
341
  physical_properties: z.ZodObject<{
342
342
  has_noise_sensor: z.ZodBoolean;
343
- has_humidity_sensor: z.ZodBoolean;
343
+ has_humidity_sensor: z.ZodBoolean; /** @deprecated */
344
344
  has_temperature_sensor: z.ZodBoolean;
345
345
  has_occupancy_detection: z.ZodBoolean;
346
346
  }, "strip", z.ZodTypeAny, {
@@ -515,8 +515,8 @@ export declare const routes: {
515
515
  manufacturer: {
516
516
  display_name: string;
517
517
  manufacturer_id: string;
518
- integration: "beta" | "stable" | "unsupported" | "planned" | "inquire";
519
- integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
518
+ integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
519
+ integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
520
520
  is_connect_webview_supported: boolean;
521
521
  requires_seam_support_to_add_account: boolean;
522
522
  annotations: {
@@ -579,8 +579,8 @@ export declare const routes: {
579
579
  manufacturer: {
580
580
  display_name: string;
581
581
  manufacturer_id: string;
582
- integration: "beta" | "stable" | "unsupported" | "planned" | "inquire";
583
- integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
582
+ integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
583
+ integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
584
584
  is_connect_webview_supported: boolean;
585
585
  requires_seam_support_to_add_account: boolean;
586
586
  annotations: {
@@ -636,8 +636,8 @@ export declare const routes: {
636
636
  manufacturer: {
637
637
  display_name: string;
638
638
  manufacturer_id: string;
639
- integration: "beta" | "stable" | "unsupported" | "planned" | "inquire";
640
- integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
639
+ integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
640
+ integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
641
641
  is_connect_webview_supported: boolean;
642
642
  requires_seam_support_to_add_account: boolean;
643
643
  annotations: {
@@ -699,8 +699,8 @@ export declare const routes: {
699
699
  manufacturer: {
700
700
  display_name: string;
701
701
  manufacturer_id: string;
702
- integration: "beta" | "stable" | "unsupported" | "planned" | "inquire";
703
- integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
702
+ integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
703
+ integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
704
704
  is_connect_webview_supported: boolean;
705
705
  requires_seam_support_to_add_account: boolean;
706
706
  annotations: {
@@ -750,8 +750,8 @@ export declare const routes: {
750
750
  manufacturer: {
751
751
  display_name: string;
752
752
  manufacturer_id: string;
753
- integration: "beta" | "stable" | "unsupported" | "planned" | "inquire";
754
- integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
753
+ integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
754
+ integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
755
755
  is_connect_webview_supported: boolean;
756
756
  requires_seam_support_to_add_account: boolean;
757
757
  annotations: {
@@ -813,8 +813,8 @@ export declare const routes: {
813
813
  manufacturer: {
814
814
  display_name: string;
815
815
  manufacturer_id: string;
816
- integration: "beta" | "stable" | "unsupported" | "planned" | "inquire";
817
- integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
816
+ integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
817
+ integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
818
818
  is_connect_webview_supported: boolean;
819
819
  requires_seam_support_to_add_account: boolean;
820
820
  annotations: {
@@ -866,8 +866,8 @@ export declare const routes: {
866
866
  manufacturer: {
867
867
  display_name: string;
868
868
  manufacturer_id: string;
869
- integration: "beta" | "stable" | "unsupported" | "planned" | "inquire";
870
- integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
869
+ integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
870
+ integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
871
871
  is_connect_webview_supported: boolean;
872
872
  requires_seam_support_to_add_account: boolean;
873
873
  annotations: {
@@ -930,8 +930,8 @@ export declare const routes: {
930
930
  manufacturer: {
931
931
  display_name: string;
932
932
  manufacturer_id: string;
933
- integration: "beta" | "stable" | "unsupported" | "planned" | "inquire";
934
- integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
933
+ integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
934
+ integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
935
935
  is_connect_webview_supported: boolean;
936
936
  requires_seam_support_to_add_account: boolean;
937
937
  annotations: {
@@ -987,8 +987,8 @@ export declare const routes: {
987
987
  manufacturer: {
988
988
  display_name: string;
989
989
  manufacturer_id: string;
990
- integration: "beta" | "stable" | "unsupported" | "planned" | "inquire";
991
- integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
990
+ integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
991
+ integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
992
992
  is_connect_webview_supported: boolean;
993
993
  requires_seam_support_to_add_account: boolean;
994
994
  annotations: {
@@ -1050,8 +1050,8 @@ export declare const routes: {
1050
1050
  manufacturer: {
1051
1051
  display_name: string;
1052
1052
  manufacturer_id: string;
1053
- integration: "beta" | "stable" | "unsupported" | "planned" | "inquire";
1054
- integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
1053
+ integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1054
+ integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1055
1055
  is_connect_webview_supported: boolean;
1056
1056
  requires_seam_support_to_add_account: boolean;
1057
1057
  annotations: {
@@ -1101,8 +1101,8 @@ export declare const routes: {
1101
1101
  manufacturer: {
1102
1102
  display_name: string;
1103
1103
  manufacturer_id: string;
1104
- integration: "beta" | "stable" | "unsupported" | "planned" | "inquire";
1105
- integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
1104
+ integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1105
+ integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1106
1106
  is_connect_webview_supported: boolean;
1107
1107
  requires_seam_support_to_add_account: boolean;
1108
1108
  annotations: {
@@ -1164,8 +1164,8 @@ export declare const routes: {
1164
1164
  manufacturer: {
1165
1165
  display_name: string;
1166
1166
  manufacturer_id: string;
1167
- integration: "beta" | "stable" | "unsupported" | "planned" | "inquire";
1168
- integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
1167
+ integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1168
+ integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1169
1169
  is_connect_webview_supported: boolean;
1170
1170
  requires_seam_support_to_add_account: boolean;
1171
1171
  annotations: {
@@ -1228,8 +1228,8 @@ export declare const routes: {
1228
1228
  main_category?: "relay" | "thermostat" | "smartlock" | "sensor" | "intercom" | "accessory" | undefined;
1229
1229
  manufacturer_id?: string | undefined;
1230
1230
  manufacturer_ids?: string[] | undefined;
1231
- integration_status?: "beta" | "stable" | "unsupported" | "planned" | "inquire" | undefined;
1232
- integration_support_levels?: ("beta" | "stable" | "unsupported" | "planned" | "inquire")[] | undefined;
1231
+ integration_status?: "beta" | "stable" | "planned" | "unsupported" | "inquire" | undefined;
1232
+ integration_support_levels?: ("beta" | "stable" | "planned" | "unsupported" | "inquire")[] | undefined;
1233
1233
  text_search?: string | undefined;
1234
1234
  include_if?: string[] | undefined;
1235
1235
  exclude_if?: string[] | undefined;
@@ -1237,8 +1237,8 @@ export declare const routes: {
1237
1237
  main_category?: "relay" | "thermostat" | "smartlock" | "sensor" | "intercom" | "accessory" | undefined;
1238
1238
  manufacturer_id?: string | undefined;
1239
1239
  manufacturer_ids?: string[] | undefined;
1240
- integration_status?: "beta" | "stable" | "unsupported" | "planned" | "inquire" | undefined;
1241
- integration_support_levels?: ("beta" | "stable" | "unsupported" | "planned" | "inquire")[] | undefined;
1240
+ integration_status?: "beta" | "stable" | "planned" | "unsupported" | "inquire" | undefined;
1241
+ integration_support_levels?: ("beta" | "stable" | "planned" | "unsupported" | "inquire")[] | undefined;
1242
1242
  text_search?: string | undefined;
1243
1243
  include_if?: string[] | undefined;
1244
1244
  exclude_if?: string[] | undefined;
@@ -1280,8 +1280,8 @@ export declare const routes: {
1280
1280
  }, "device_model_count">, "strip", z.ZodTypeAny, {
1281
1281
  display_name: string;
1282
1282
  manufacturer_id: string;
1283
- integration: "beta" | "stable" | "unsupported" | "planned" | "inquire";
1284
- integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
1283
+ integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1284
+ integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1285
1285
  is_connect_webview_supported: boolean;
1286
1286
  requires_seam_support_to_add_account: boolean;
1287
1287
  annotations: {
@@ -1296,8 +1296,8 @@ export declare const routes: {
1296
1296
  }, {
1297
1297
  display_name: string;
1298
1298
  manufacturer_id: string;
1299
- integration: "beta" | "stable" | "unsupported" | "planned" | "inquire";
1300
- integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
1299
+ integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1300
+ integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1301
1301
  is_connect_webview_supported: boolean;
1302
1302
  requires_seam_support_to_add_account: boolean;
1303
1303
  annotations: {
@@ -1415,8 +1415,8 @@ export declare const routes: {
1415
1415
  manufacturer: {
1416
1416
  display_name: string;
1417
1417
  manufacturer_id: string;
1418
- integration: "beta" | "stable" | "unsupported" | "planned" | "inquire";
1419
- integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
1418
+ integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1419
+ integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1420
1420
  is_connect_webview_supported: boolean;
1421
1421
  requires_seam_support_to_add_account: boolean;
1422
1422
  annotations: {
@@ -1464,8 +1464,8 @@ export declare const routes: {
1464
1464
  manufacturer: {
1465
1465
  display_name: string;
1466
1466
  manufacturer_id: string;
1467
- integration: "beta" | "stable" | "unsupported" | "planned" | "inquire";
1468
- integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
1467
+ integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1468
+ integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1469
1469
  is_connect_webview_supported: boolean;
1470
1470
  requires_seam_support_to_add_account: boolean;
1471
1471
  annotations: {
@@ -1573,7 +1573,7 @@ export declare const routes: {
1573
1573
  main_category: z.ZodLiteral<"sensor">;
1574
1574
  physical_properties: z.ZodObject<{
1575
1575
  has_noise_sensor: z.ZodBoolean;
1576
- has_humidity_sensor: z.ZodBoolean;
1576
+ has_humidity_sensor: z.ZodBoolean; /** @deprecated */
1577
1577
  has_temperature_sensor: z.ZodBoolean;
1578
1578
  has_occupancy_detection: z.ZodBoolean;
1579
1579
  }, "strip", z.ZodTypeAny, {
@@ -1748,8 +1748,8 @@ export declare const routes: {
1748
1748
  manufacturer: {
1749
1749
  display_name: string;
1750
1750
  manufacturer_id: string;
1751
- integration: "beta" | "stable" | "unsupported" | "planned" | "inquire";
1752
- integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
1751
+ integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1752
+ integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1753
1753
  is_connect_webview_supported: boolean;
1754
1754
  requires_seam_support_to_add_account: boolean;
1755
1755
  annotations: {
@@ -1854,8 +1854,8 @@ export declare const routes: {
1854
1854
  manufacturer: {
1855
1855
  display_name: string;
1856
1856
  manufacturer_id: string;
1857
- integration: "beta" | "stable" | "unsupported" | "planned" | "inquire";
1858
- integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
1857
+ integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1858
+ integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1859
1859
  is_connect_webview_supported: boolean;
1860
1860
  requires_seam_support_to_add_account: boolean;
1861
1861
  annotations: {
@@ -1999,8 +1999,8 @@ export declare const routes: {
1999
1999
  }, "strip", z.ZodTypeAny, {
2000
2000
  display_name: string;
2001
2001
  manufacturer_id: string;
2002
- integration: "beta" | "stable" | "unsupported" | "planned" | "inquire";
2003
- integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
2002
+ integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
2003
+ integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
2004
2004
  is_connect_webview_supported: boolean;
2005
2005
  requires_seam_support_to_add_account: boolean;
2006
2006
  device_model_count: number;
@@ -2016,8 +2016,8 @@ export declare const routes: {
2016
2016
  }, {
2017
2017
  display_name: string;
2018
2018
  manufacturer_id: string;
2019
- integration: "beta" | "stable" | "unsupported" | "planned" | "inquire";
2020
- integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
2019
+ integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
2020
+ integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
2021
2021
  is_connect_webview_supported: boolean;
2022
2022
  requires_seam_support_to_add_account: boolean;
2023
2023
  device_model_count: number;
@@ -2035,8 +2035,8 @@ export declare const routes: {
2035
2035
  manufacturer: {
2036
2036
  display_name: string;
2037
2037
  manufacturer_id: string;
2038
- integration: "beta" | "stable" | "unsupported" | "planned" | "inquire";
2039
- integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
2038
+ integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
2039
+ integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
2040
2040
  is_connect_webview_supported: boolean;
2041
2041
  requires_seam_support_to_add_account: boolean;
2042
2042
  device_model_count: number;
@@ -2054,8 +2054,8 @@ export declare const routes: {
2054
2054
  manufacturer: {
2055
2055
  display_name: string;
2056
2056
  manufacturer_id: string;
2057
- integration: "beta" | "stable" | "unsupported" | "planned" | "inquire";
2058
- integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
2057
+ integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
2058
+ integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
2059
2059
  is_connect_webview_supported: boolean;
2060
2060
  requires_seam_support_to_add_account: boolean;
2061
2061
  device_model_count: number;
@@ -2080,12 +2080,12 @@ export declare const routes: {
2080
2080
  integration_support_levels: z.ZodOptional<z.ZodArray<z.ZodEnum<["stable", "beta", "planned", "unsupported", "inquire"]>, "many">>;
2081
2081
  liqe_query: z.ZodOptional<z.ZodString>;
2082
2082
  }, "strip", z.ZodTypeAny, {
2083
- integration_status?: "beta" | "stable" | "unsupported" | "planned" | "inquire" | undefined;
2084
- integration_support_levels?: ("beta" | "stable" | "unsupported" | "planned" | "inquire")[] | undefined;
2083
+ integration_status?: "beta" | "stable" | "planned" | "unsupported" | "inquire" | undefined;
2084
+ integration_support_levels?: ("beta" | "stable" | "planned" | "unsupported" | "inquire")[] | undefined;
2085
2085
  liqe_query?: string | undefined;
2086
2086
  }, {
2087
- integration_status?: "beta" | "stable" | "unsupported" | "planned" | "inquire" | undefined;
2088
- integration_support_levels?: ("beta" | "stable" | "unsupported" | "planned" | "inquire")[] | undefined;
2087
+ integration_status?: "beta" | "stable" | "planned" | "unsupported" | "inquire" | undefined;
2088
+ integration_support_levels?: ("beta" | "stable" | "planned" | "unsupported" | "inquire")[] | undefined;
2089
2089
  liqe_query?: string | undefined;
2090
2090
  }>;
2091
2091
  readonly jsonResponse: z.ZodObject<{
@@ -2123,8 +2123,8 @@ export declare const routes: {
2123
2123
  }, "strip", z.ZodTypeAny, {
2124
2124
  display_name: string;
2125
2125
  manufacturer_id: string;
2126
- integration: "beta" | "stable" | "unsupported" | "planned" | "inquire";
2127
- integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
2126
+ integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
2127
+ integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
2128
2128
  is_connect_webview_supported: boolean;
2129
2129
  requires_seam_support_to_add_account: boolean;
2130
2130
  device_model_count: number;
@@ -2140,8 +2140,8 @@ export declare const routes: {
2140
2140
  }, {
2141
2141
  display_name: string;
2142
2142
  manufacturer_id: string;
2143
- integration: "beta" | "stable" | "unsupported" | "planned" | "inquire";
2144
- integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
2143
+ integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
2144
+ integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
2145
2145
  is_connect_webview_supported: boolean;
2146
2146
  requires_seam_support_to_add_account: boolean;
2147
2147
  device_model_count: number;
@@ -2159,8 +2159,8 @@ export declare const routes: {
2159
2159
  manufacturers: {
2160
2160
  display_name: string;
2161
2161
  manufacturer_id: string;
2162
- integration: "beta" | "stable" | "unsupported" | "planned" | "inquire";
2163
- integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
2162
+ integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
2163
+ integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
2164
2164
  is_connect_webview_supported: boolean;
2165
2165
  requires_seam_support_to_add_account: boolean;
2166
2166
  device_model_count: number;
@@ -2178,8 +2178,8 @@ export declare const routes: {
2178
2178
  manufacturers: {
2179
2179
  display_name: string;
2180
2180
  manufacturer_id: string;
2181
- integration: "beta" | "stable" | "unsupported" | "planned" | "inquire";
2182
- integration_support_level: "beta" | "stable" | "unsupported" | "planned" | "inquire";
2181
+ integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
2182
+ integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
2183
2183
  is_connect_webview_supported: boolean;
2184
2184
  requires_seam_support_to_add_account: boolean;
2185
2185
  device_model_count: number;
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import * as schemas from './public-models/index.js';
2
+ import * as schemas from './models/index.js';
3
3
  const dot_path = z.string().regex(/^([a-z])[a-z_.]*[a-z]+$/);
4
4
  export const routes = {
5
5
  '/api/v1/device_models/get': {
@@ -1 +1 @@
1
- {"version":3,"file":"route-specs.js","sourceRoot":"","sources":["../../../src/lib/seam/devicedb/route-specs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,KAAK,OAAO,MAAM,0BAA0B,CAAA;AAEnD,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAA;AAE5D,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,2BAA2B,EAAE;QAC3B,IAAI,EAAE,iBAAiB;QACvB,OAAO,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC;QAC3B,WAAW,EAAE,CAAC,CAAC,MAAM,CAAC;YACpB,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;SACnC,CAAC;QACF,YAAY,EAAE,CAAC,CAAC,MAAM,CAAC;YACrB,YAAY,EAAE,OAAO,CAAC,eAAe;SACtC,CAAC;KACH;IACD,4BAA4B,EAAE;QAC5B,IAAI,EAAE,iBAAiB;QACvB,OAAO,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC;QAC3B,WAAW,EAAE,CAAC,CAAC,MAAM,CAAC;YACpB,aAAa,EAAE,OAAO,CAAC,eAAe,CAAC,QAAQ,EAAE;YACjD,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;YAC7C,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,EAAE,CAAC,Q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ACO,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.108.0",
3
+ "version": "1.109.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -1088,7 +1088,10 @@ export default {
1088
1088
  },
1089
1089
  schlage_metadata: {
1090
1090
  properties: {
1091
- access_code_length: { type: 'number' },
1091
+ access_code_length: {
1092
+ nullable: true,
1093
+ type: 'number',
1094
+ },
1092
1095
  device_id: { type: 'string' },
1093
1096
  device_name: { type: 'string' },
1094
1097
  model: { type: 'string' },
@@ -5625,7 +5628,18 @@ export default {
5625
5628
  },
5626
5629
  },
5627
5630
  responses: {
5628
- 200: { description: 'OK' },
5631
+ 200: {
5632
+ content: {
5633
+ 'application/json': {
5634
+ schema: {
5635
+ properties: { ok: { type: 'boolean' } },
5636
+ required: ['ok'],
5637
+ type: 'object',
5638
+ },
5639
+ },
5640
+ },
5641
+ description: 'OK',
5642
+ },
5629
5643
  400: { description: 'Bad Request' },
5630
5644
  401: { description: 'Unauthorized' },
5631
5645
  },
@@ -5656,7 +5670,18 @@ export default {
5656
5670
  },
5657
5671
  },
5658
5672
  responses: {
5659
- 200: { description: 'OK' },
5673
+ 200: {
5674
+ content: {
5675
+ 'application/json': {
5676
+ schema: {
5677
+ properties: { ok: { type: 'boolean' } },
5678
+ required: ['ok'],
5679
+ type: 'object',
5680
+ },
5681
+ },
5682
+ },
5683
+ description: 'OK',
5684
+ },
5660
5685
  400: { description: 'Bad Request' },
5661
5686
  401: { description: 'Unauthorized' },
5662
5687
  },
@@ -5996,7 +6021,18 @@ export default {
5996
6021
  },
5997
6022
  },
5998
6023
  responses: {
5999
- 200: { description: 'OK' },
6024
+ 200: {
6025
+ content: {
6026
+ 'application/json': {
6027
+ schema: {
6028
+ properties: { ok: { type: 'boolean' } },
6029
+ required: ['ok'],
6030
+ type: 'object',
6031
+ },
6032
+ },
6033
+ },
6034
+ description: 'OK',
6035
+ },
6000
6036
  400: { description: 'Bad Request' },
6001
6037
  401: { description: 'Unauthorized' },
6002
6038
  },
@@ -2302,7 +2302,7 @@ export interface Routes {
2302
2302
  | {
2303
2303
  device_id: string
2304
2304
  device_name: string
2305
- access_code_length: number
2305
+ access_code_length: number | null
2306
2306
  model?: string | undefined
2307
2307
  }
2308
2308
  | undefined
@@ -3099,7 +3099,7 @@ export interface Routes {
3099
3099
  | {
3100
3100
  device_id: string
3101
3101
  device_name: string
3102
- access_code_length: number
3102
+ access_code_length: number | null
3103
3103
  model?: string | undefined
3104
3104
  }
3105
3105
  | undefined
@@ -4395,7 +4395,7 @@ export interface Routes {
4395
4395
  | {
4396
4396
  device_id: string
4397
4397
  device_name: string
4398
- access_code_length: number
4398
+ access_code_length: number | null
4399
4399
  model?: string | undefined
4400
4400
  }
4401
4401
  | undefined
@@ -5065,7 +5065,7 @@ export interface Routes {
5065
5065
  | {
5066
5066
  device_id: string
5067
5067
  device_name: string
5068
- access_code_length: number
5068
+ access_code_length: number | null
5069
5069
  model?: string | undefined
5070
5070
  }
5071
5071
  | undefined
@@ -5862,7 +5862,7 @@ export interface Routes {
5862
5862
  | {
5863
5863
  device_id: string
5864
5864
  device_name: string
5865
- access_code_length: number
5865
+ access_code_length: number | null
5866
5866
  model?: string | undefined
5867
5867
  }
5868
5868
  | undefined
@@ -6532,7 +6532,7 @@ export interface Routes {
6532
6532
  | {
6533
6533
  device_id: string
6534
6534
  device_name: string
6535
- access_code_length: number
6535
+ access_code_length: number | null
6536
6536
  model?: string | undefined
6537
6537
  }
6538
6538
  | undefined
@@ -7838,7 +7838,7 @@ export interface Routes {
7838
7838
  | {
7839
7839
  device_id: string
7840
7840
  device_name: string
7841
- access_code_length: number
7841
+ access_code_length: number | null
7842
7842
  model?: string | undefined
7843
7843
  }
7844
7844
  | undefined
@@ -8665,7 +8665,7 @@ export interface Routes {
8665
8665
  | {
8666
8666
  device_id: string
8667
8667
  device_name: string
8668
- access_code_length: number
8668
+ access_code_length: number | null
8669
8669
  model?: string | undefined
8670
8670
  }
8671
8671
  | undefined
@@ -9562,7 +9562,7 @@ export interface Routes {
9562
9562
  | {
9563
9563
  device_id: string
9564
9564
  device_name: string
9565
- access_code_length: number
9565
+ access_code_length: number | null
9566
9566
  model?: string | undefined
9567
9567
  }
9568
9568
  | undefined
@@ -41,7 +41,7 @@ export const device_metadata = z
41
41
  schlage_metadata: z.object({
42
42
  device_id: z.string(),
43
43
  device_name: z.string(),
44
- access_code_length: z.number(),
44
+ access_code_length: z.number().nullable(),
45
45
  model: z.string().optional(),
46
46
  }),
47
47
 
@@ -1,4 +1,4 @@
1
- import * as schemas from './public-models/index.js'
1
+ import * as schemas from './models/index.js'
2
2
 
3
3
  export * from './route-specs.js'
4
4
  export * from './route-types.js'
@@ -7,10 +7,10 @@ export { schemas }
7
7
  export type {
8
8
  DeviceCategory,
9
9
  DeviceConnectionType,
10
- DeviceModelV1,
10
+ DeviceModel,
11
11
  ImageReference,
12
12
  Manufacturer,
13
13
  ManufacturerAnnotation,
14
14
  ManufacturerAnnotationCode,
15
15
  ManufacturerIntegrationSupportLevel,
16
- } from './public-models/index.js'
16
+ } from './models/index.js'
@@ -82,7 +82,7 @@ export const thermostat = z.object({
82
82
  }),
83
83
  })
84
84
 
85
- export type ThermostatPropertiesV1 = z.infer<typeof thermostat>
85
+ export type ThermostatProperties = z.infer<typeof thermostat>
86
86
 
87
87
  const relay = z.object({
88
88
  main_category: z.literal(device_category.enum.relay),
@@ -146,10 +146,10 @@ export const base_device_model_v1 = z.object({
146
146
  .array(),
147
147
  })
148
148
 
149
- export type BaseDeviceModelV1 = z.infer<typeof base_device_model_v1>
149
+ export type BaseDeviceModel = z.infer<typeof base_device_model_v1>
150
150
 
151
151
  export const device_model_v1 = base_device_model_v1.and(
152
152
  device_model_category_specific_properties,
153
153
  )
154
154
 
155
- export type DeviceModelV1 = z.infer<typeof device_model_v1>
155
+ export type DeviceModel = z.infer<typeof device_model_v1>
@@ -1,5 +1,4 @@
1
1
  export { device_capability_flags } from './device-capability.js'
2
- export * from './device-model-v0.js'
3
- export * from './device-model-v1.js'
2
+ export * from './device-model.js'
4
3
  export * from './image-reference.js'
5
4
  export * from './manufacturer.js'
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod'
2
2
 
3
- import * as schemas from './public-models/index.js'
3
+ import * as schemas from './models/index.js'
4
4
 
5
5
  const dot_path = z.string().regex(/^([a-z])[a-z_.]*[a-z]+$/)
6
6