@seamapi/types 1.108.1 → 1.110.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 +38 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +41 -2
- package/dist/devicedb.cjs +5 -16
- package/dist/devicedb.cjs.map +1 -1
- package/dist/devicedb.d.cts +98 -130
- package/lib/seam/connect/openapi.d.ts +39 -0
- package/lib/seam/connect/openapi.js +38 -3
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +2 -2
- package/lib/seam/devicedb/index.d.ts +2 -2
- package/lib/seam/devicedb/index.js +1 -1
- package/lib/seam/devicedb/index.js.map +1 -1
- package/lib/seam/devicedb/models/device-capability.js.map +1 -0
- package/lib/seam/devicedb/{public-models/device-model-v1.d.ts → models/device-model.d.ts} +19 -19
- package/lib/seam/devicedb/{public-models/device-model-v1.js → models/device-model.js} +1 -1
- package/lib/seam/devicedb/models/device-model.js.map +1 -0
- package/lib/seam/devicedb/models/hardware.js.map +1 -0
- package/lib/seam/devicedb/models/image-reference.js.map +1 -0
- package/lib/seam/devicedb/{public-models → models}/index.d.ts +1 -2
- package/lib/seam/devicedb/{public-models → models}/index.js +1 -2
- package/lib/seam/devicedb/models/index.js.map +1 -0
- package/lib/seam/devicedb/{public-models → models}/manufacturer.d.ts +4 -4
- package/lib/seam/devicedb/models/manufacturer.js.map +1 -0
- package/lib/seam/devicedb/route-specs.d.ts +70 -70
- package/lib/seam/devicedb/route-specs.js +1 -1
- package/lib/seam/devicedb/route-specs.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +38 -3
- package/src/lib/seam/connect/route-types.ts +2 -0
- package/src/lib/seam/devicedb/index.ts +3 -3
- package/src/lib/seam/devicedb/{public-models/device-model-v1.ts → models/device-model.ts} +3 -3
- package/src/lib/seam/devicedb/{public-models → models}/index.ts +1 -2
- package/src/lib/seam/devicedb/route-specs.ts +1 -1
- package/lib/seam/devicedb/public-models/device-capability.js.map +0 -1
- package/lib/seam/devicedb/public-models/device-model-v0.d.ts +0 -30
- package/lib/seam/devicedb/public-models/device-model-v0.js +0 -12
- package/lib/seam/devicedb/public-models/device-model-v0.js.map +0 -1
- package/lib/seam/devicedb/public-models/device-model-v1.js.map +0 -1
- package/lib/seam/devicedb/public-models/hardware.js.map +0 -1
- package/lib/seam/devicedb/public-models/image-reference.js.map +0 -1
- package/lib/seam/devicedb/public-models/index.js.map +0 -1
- package/lib/seam/devicedb/public-models/manufacturer.js.map +0 -1
- package/src/lib/seam/devicedb/public-models/device-model-v0.ts +0 -14
- /package/lib/seam/devicedb/{public-models → models}/device-capability.d.ts +0 -0
- /package/lib/seam/devicedb/{public-models → models}/device-capability.js +0 -0
- /package/lib/seam/devicedb/{public-models → models}/hardware.d.ts +0 -0
- /package/lib/seam/devicedb/{public-models → models}/hardware.js +0 -0
- /package/lib/seam/devicedb/{public-models → models}/image-reference.d.ts +0 -0
- /package/lib/seam/devicedb/{public-models → models}/image-reference.js +0 -0
- /package/lib/seam/devicedb/{public-models → models}/manufacturer.js +0 -0
- /package/src/lib/seam/devicedb/{public-models → models}/device-capability.ts +0 -0
- /package/src/lib/seam/devicedb/{public-models → models}/hardware.ts +0 -0
- /package/src/lib/seam/devicedb/{public-models → models}/image-reference.ts +0 -0
- /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" | "
|
|
51
|
-
integration_support_level: "beta" | "stable" | "
|
|
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" | "
|
|
67
|
-
integration_support_level: "beta" | "stable" | "
|
|
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" | "
|
|
186
|
-
integration_support_level: "beta" | "stable" | "
|
|
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" | "
|
|
235
|
-
integration_support_level: "beta" | "stable" | "
|
|
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" | "
|
|
519
|
-
integration_support_level: "beta" | "stable" | "
|
|
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" | "
|
|
583
|
-
integration_support_level: "beta" | "stable" | "
|
|
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" | "
|
|
640
|
-
integration_support_level: "beta" | "stable" | "
|
|
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" | "
|
|
703
|
-
integration_support_level: "beta" | "stable" | "
|
|
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" | "
|
|
754
|
-
integration_support_level: "beta" | "stable" | "
|
|
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" | "
|
|
817
|
-
integration_support_level: "beta" | "stable" | "
|
|
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" | "
|
|
870
|
-
integration_support_level: "beta" | "stable" | "
|
|
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" | "
|
|
934
|
-
integration_support_level: "beta" | "stable" | "
|
|
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" | "
|
|
991
|
-
integration_support_level: "beta" | "stable" | "
|
|
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" | "
|
|
1054
|
-
integration_support_level: "beta" | "stable" | "
|
|
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" | "
|
|
1105
|
-
integration_support_level: "beta" | "stable" | "
|
|
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" | "
|
|
1168
|
-
integration_support_level: "beta" | "stable" | "
|
|
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" | "
|
|
1232
|
-
integration_support_levels?: ("beta" | "stable" | "
|
|
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" | "
|
|
1241
|
-
integration_support_levels?: ("beta" | "stable" | "
|
|
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" | "
|
|
1284
|
-
integration_support_level: "beta" | "stable" | "
|
|
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" | "
|
|
1300
|
-
integration_support_level: "beta" | "stable" | "
|
|
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" | "
|
|
1419
|
-
integration_support_level: "beta" | "stable" | "
|
|
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" | "
|
|
1468
|
-
integration_support_level: "beta" | "stable" | "
|
|
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" | "
|
|
1752
|
-
integration_support_level: "beta" | "stable" | "
|
|
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" | "
|
|
1858
|
-
integration_support_level: "beta" | "stable" | "
|
|
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" | "
|
|
2003
|
-
integration_support_level: "beta" | "stable" | "
|
|
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" | "
|
|
2020
|
-
integration_support_level: "beta" | "stable" | "
|
|
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" | "
|
|
2039
|
-
integration_support_level: "beta" | "stable" | "
|
|
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" | "
|
|
2058
|
-
integration_support_level: "beta" | "stable" | "
|
|
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" | "
|
|
2084
|
-
integration_support_levels?: ("beta" | "stable" | "
|
|
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" | "
|
|
2088
|
-
integration_support_levels?: ("beta" | "stable" | "
|
|
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" | "
|
|
2127
|
-
integration_support_level: "beta" | "stable" | "
|
|
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" | "
|
|
2144
|
-
integration_support_level: "beta" | "stable" | "
|
|
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" | "
|
|
2163
|
-
integration_support_level: "beta" | "stable" | "
|
|
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" | "
|
|
2182
|
-
integration_support_level: "beta" | "stable" | "
|
|
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 +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,
|
|
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,mBAAmB,CAAA;AAE5C,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,QAAQ,EAAE;YACtD,kBAAkB;YAClB,kBAAkB,EAAE,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,WAAW,CAAC,QAAQ,EAAE;YACrE,0BAA0B,EAAE,CAAC;iBAC1B,KAAK,CAAC,OAAO,CAAC,sCAAsC,CAAC;iBACrD,QAAQ,EAAE;YACb,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;YAClC,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,QAAQ,EAAE;YACxC,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,QAAQ,EAAE;SACzC,CAAC;QACF,YAAY,EAAE,CAAC,CAAC,MAAM,CAAC;YACrB,aAAa,EAAE,OAAO,CAAC,eAAe,CAAC,KAAK,EAAE;SAC/C,CAAC;KACH;IACD,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,YAAY;SACnC,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,kBAAkB;YAClB,kBAAkB,EAAE,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,WAAW,CAAC,QAAQ,EAAE;YACrE,0BAA0B,EAAE,CAAC;iBAC1B,KAAK,CAAC,OAAO,CAAC,sCAAsC,CAAC;iBACrD,QAAQ,EAAE;YACb,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;SAClC,CAAC;QACF,YAAY,EAAE,CAAC,CAAC,MAAM,CAAC;YACrB,aAAa,EAAE,OAAO,CAAC,YAAY,CAAC,KAAK,EAAE;SAC5C,CAAC;KACH;CACO,CAAA"}
|
package/package.json
CHANGED
|
@@ -5628,7 +5628,18 @@ export default {
|
|
|
5628
5628
|
},
|
|
5629
5629
|
},
|
|
5630
5630
|
responses: {
|
|
5631
|
-
200: {
|
|
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
|
+
},
|
|
5632
5643
|
400: { description: 'Bad Request' },
|
|
5633
5644
|
401: { description: 'Unauthorized' },
|
|
5634
5645
|
},
|
|
@@ -5659,7 +5670,18 @@ export default {
|
|
|
5659
5670
|
},
|
|
5660
5671
|
},
|
|
5661
5672
|
responses: {
|
|
5662
|
-
200: {
|
|
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
|
+
},
|
|
5663
5685
|
400: { description: 'Bad Request' },
|
|
5664
5686
|
401: { description: 'Unauthorized' },
|
|
5665
5687
|
},
|
|
@@ -5999,7 +6021,18 @@ export default {
|
|
|
5999
6021
|
},
|
|
6000
6022
|
},
|
|
6001
6023
|
responses: {
|
|
6002
|
-
200: {
|
|
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
|
+
},
|
|
6003
6036
|
400: { description: 'Bad Request' },
|
|
6004
6037
|
401: { description: 'Unauthorized' },
|
|
6005
6038
|
},
|
|
@@ -8348,6 +8381,7 @@ export default {
|
|
|
8348
8381
|
'access_code.unmanaged.removed',
|
|
8349
8382
|
'lock.locked',
|
|
8350
8383
|
'lock.unlocked',
|
|
8384
|
+
'phone.deactivated',
|
|
8351
8385
|
'connected_account.connected',
|
|
8352
8386
|
'connected_account.successful_login',
|
|
8353
8387
|
'connected_account.created',
|
|
@@ -8398,6 +8432,7 @@ export default {
|
|
|
8398
8432
|
'access_code.unmanaged.removed',
|
|
8399
8433
|
'lock.locked',
|
|
8400
8434
|
'lock.unlocked',
|
|
8435
|
+
'phone.deactivated',
|
|
8401
8436
|
'connected_account.connected',
|
|
8402
8437
|
'connected_account.successful_login',
|
|
8403
8438
|
'connected_account.created',
|
|
@@ -4106,6 +4106,7 @@ export interface Routes {
|
|
|
4106
4106
|
| 'access_code.unmanaged.removed'
|
|
4107
4107
|
| 'lock.locked'
|
|
4108
4108
|
| 'lock.unlocked'
|
|
4109
|
+
| 'phone.deactivated'
|
|
4109
4110
|
| 'connected_account.connected'
|
|
4110
4111
|
| 'connected_account.successful_login'
|
|
4111
4112
|
| 'connected_account.created'
|
|
@@ -4154,6 +4155,7 @@ export interface Routes {
|
|
|
4154
4155
|
| 'access_code.unmanaged.removed'
|
|
4155
4156
|
| 'lock.locked'
|
|
4156
4157
|
| 'lock.unlocked'
|
|
4158
|
+
| 'phone.deactivated'
|
|
4157
4159
|
| 'connected_account.connected'
|
|
4158
4160
|
| 'connected_account.successful_login'
|
|
4159
4161
|
| 'connected_account.created'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as schemas from './
|
|
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
|
-
|
|
10
|
+
DeviceModel,
|
|
11
11
|
ImageReference,
|
|
12
12
|
Manufacturer,
|
|
13
13
|
ManufacturerAnnotation,
|
|
14
14
|
ManufacturerAnnotationCode,
|
|
15
15
|
ManufacturerIntegrationSupportLevel,
|
|
16
|
-
} from './
|
|
16
|
+
} from './models/index.js'
|
|
@@ -82,7 +82,7 @@ export const thermostat = z.object({
|
|
|
82
82
|
}),
|
|
83
83
|
})
|
|
84
84
|
|
|
85
|
-
export type
|
|
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
|
|
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
|
|
155
|
+
export type DeviceModel = z.infer<typeof device_model_v1>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"device-capability.js","sourceRoot":"","sources":["../../../../src/lib/seam/devicedb/public-models/device-capability.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAmB,MAAM,KAAK,CAAA;AAExC,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC;KACrC,MAAM,CAAC;IACN,mBAAmB,EAAE,CAAC,CAAC,OAAO,EAAE;IAChC,+BAA+B,EAAE,CAAC,CAAC,OAAO,EAAE;CAC7C,CAAC;KACD,OAAO,EAAE,CAAA;AAEZ,MAAM,iCAAiC,GAGnC;IACF,mBAAmB,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IACpC,+BAA+B,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;CACjD,CAAA;AAED,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC;KAC3C,MAAM,CAAC,iCAAiC,CAAC;KACzC,OAAO,EAAE,CAAA"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const device_model_v0: z.ZodObject<{
|
|
3
|
-
main_category: z.ZodString;
|
|
4
|
-
model_name: z.ZodString;
|
|
5
|
-
manufacturer_model_id: z.ZodString;
|
|
6
|
-
connection_type: z.ZodEnum<["wifi", "zwave", "zigbee", "unknown"]>;
|
|
7
|
-
support_level: z.ZodEnum<["live", "beta", "unsupported"]>;
|
|
8
|
-
brand: z.ZodString;
|
|
9
|
-
icon_url: z.ZodString;
|
|
10
|
-
seam_device_model_page_url: z.ZodString;
|
|
11
|
-
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
brand: string;
|
|
13
|
-
main_category: string;
|
|
14
|
-
model_name: string;
|
|
15
|
-
manufacturer_model_id: string;
|
|
16
|
-
connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
|
|
17
|
-
support_level: "beta" | "live" | "unsupported";
|
|
18
|
-
icon_url: string;
|
|
19
|
-
seam_device_model_page_url: string;
|
|
20
|
-
}, {
|
|
21
|
-
brand: string;
|
|
22
|
-
main_category: string;
|
|
23
|
-
model_name: string;
|
|
24
|
-
manufacturer_model_id: string;
|
|
25
|
-
connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
|
|
26
|
-
support_level: "beta" | "live" | "unsupported";
|
|
27
|
-
icon_url: string;
|
|
28
|
-
seam_device_model_page_url: string;
|
|
29
|
-
}>;
|
|
30
|
-
export type DeviceModelV0 = z.infer<typeof device_model_v0>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export const device_model_v0 = z.object({
|
|
3
|
-
main_category: z.string(),
|
|
4
|
-
model_name: z.string(),
|
|
5
|
-
manufacturer_model_id: z.string(),
|
|
6
|
-
connection_type: z.enum(['wifi', 'zwave', 'zigbee', 'unknown']),
|
|
7
|
-
support_level: z.enum(['live', 'beta', 'unsupported']),
|
|
8
|
-
brand: z.string(),
|
|
9
|
-
icon_url: z.string(),
|
|
10
|
-
seam_device_model_page_url: z.string(),
|
|
11
|
-
});
|
|
12
|
-
//# sourceMappingURL=device-model-v0.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"device-model-v0.js","sourceRoot":"","sources":["../../../../src/lib/seam/devicedb/public-models/device-model-v0.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,qBAAqB,EAAE,CAAC,CAAC,MAAM,EAAE;IACjC,eAAe,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAC;IAC/D,aAAa,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,aAAa,CAAC,CAAC;IACtD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE;CACvC,CAAC,CAAA"}
|