@seamapi/types 1.735.0 → 1.736.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 +43 -15
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +39 -38
- package/dist/index.cjs +43 -15
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +10 -10
- package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +3 -3
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +3 -3
- package/lib/seam/connect/models/devices/device-provider.d.ts +5 -3
- package/lib/seam/connect/models/devices/device-provider.js +10 -1
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/provider-capability.d.ts +1 -1
- package/lib/seam/connect/models/provider-capability.js +1 -0
- package/lib/seam/connect/models/provider-capability.js.map +1 -1
- package/lib/seam/connect/openapi.js +27 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +19 -19
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-provider.ts +11 -1
- package/src/lib/seam/connect/models/provider-capability.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +27 -2
- package/src/lib/seam/connect/route-types.ts +31 -2
package/dist/connect.cjs
CHANGED
|
@@ -558,7 +558,8 @@ var provider_capability = zod.z.enum([
|
|
|
558
558
|
"lock",
|
|
559
559
|
"thermostat",
|
|
560
560
|
"noise_sensor",
|
|
561
|
-
"access_control"
|
|
561
|
+
"access_control",
|
|
562
|
+
"camera"
|
|
562
563
|
]).describe(`
|
|
563
564
|
High-level device capabilities that can be restricted in connect webviews.
|
|
564
565
|
These represent the main device categories that customers can opt into.
|
|
@@ -1939,7 +1940,8 @@ var DEVICE_PROVIDERS = {
|
|
|
1939
1940
|
KEYNEST: "keynest",
|
|
1940
1941
|
KORELOCK: "korelock",
|
|
1941
1942
|
DORMAKABA_AMBIANCE: "dormakaba_ambiance",
|
|
1942
|
-
ULTRALOQ: "ultraloq"
|
|
1943
|
+
ULTRALOQ: "ultraloq",
|
|
1944
|
+
RING: "ring"
|
|
1943
1945
|
};
|
|
1944
1946
|
var ALL_DEVICE_PROVIDERS = Object.values(DEVICE_PROVIDERS);
|
|
1945
1947
|
var PROVIDER_CATEGORY_MAP = {
|
|
@@ -2006,6 +2008,7 @@ var PROVIDER_CATEGORY_MAP = {
|
|
|
2006
2008
|
"legic_connect",
|
|
2007
2009
|
"hotek"
|
|
2008
2010
|
],
|
|
2011
|
+
cameras: ["ring"],
|
|
2009
2012
|
internal_beta: ALL_DEVICE_PROVIDERS
|
|
2010
2013
|
};
|
|
2011
2014
|
var PROVIDER_CATEGORIES = Object.keys(PROVIDER_CATEGORY_MAP);
|
|
@@ -14886,7 +14889,13 @@ var openapi_default = {
|
|
|
14886
14889
|
description: "High-level device capabilities that the Connect Webview can accept. When creating a Connect Webview, you can specify the types of devices that it can connect to Seam. If you do not set custom `accepted_capabilities`, Seam uses a default set of `accepted_capabilities` for each provider. For example, if you create a Connect Webview that accepts SmartThing devices, without specifying `accepted_capabilities`, Seam accepts only SmartThings locks. To connect SmartThings thermostats and locks to Seam, create a Connect Webview and include both `thermostat` and `lock` in the `accepted_capabilities`.",
|
|
14887
14890
|
items: {
|
|
14888
14891
|
description: "\n High-level device capabilities that can be restricted in connect webviews.\n These represent the main device categories that customers can opt into.\n",
|
|
14889
|
-
enum: [
|
|
14892
|
+
enum: [
|
|
14893
|
+
"lock",
|
|
14894
|
+
"thermostat",
|
|
14895
|
+
"noise_sensor",
|
|
14896
|
+
"access_control",
|
|
14897
|
+
"camera"
|
|
14898
|
+
],
|
|
14890
14899
|
type: "string"
|
|
14891
14900
|
},
|
|
14892
14901
|
type: "array"
|
|
@@ -15027,7 +15036,13 @@ var openapi_default = {
|
|
|
15027
15036
|
description: "List of capabilities that were accepted during the account connection process.",
|
|
15028
15037
|
items: {
|
|
15029
15038
|
description: "\n High-level device capabilities that can be restricted in connect webviews.\n These represent the main device categories that customers can opt into.\n",
|
|
15030
|
-
enum: [
|
|
15039
|
+
enum: [
|
|
15040
|
+
"lock",
|
|
15041
|
+
"thermostat",
|
|
15042
|
+
"noise_sensor",
|
|
15043
|
+
"access_control",
|
|
15044
|
+
"camera"
|
|
15045
|
+
],
|
|
15031
15046
|
type: "string"
|
|
15032
15047
|
},
|
|
15033
15048
|
type: "array"
|
|
@@ -19156,7 +19171,8 @@ var openapi_default = {
|
|
|
19156
19171
|
"keynest",
|
|
19157
19172
|
"korelock",
|
|
19158
19173
|
"dormakaba_ambiance",
|
|
19159
|
-
"ultraloq"
|
|
19174
|
+
"ultraloq",
|
|
19175
|
+
"ring"
|
|
19160
19176
|
],
|
|
19161
19177
|
type: "string"
|
|
19162
19178
|
},
|
|
@@ -19170,7 +19186,8 @@ var openapi_default = {
|
|
|
19170
19186
|
"beta",
|
|
19171
19187
|
"thermostats",
|
|
19172
19188
|
"noise_sensors",
|
|
19173
|
-
"access_control_systems"
|
|
19189
|
+
"access_control_systems",
|
|
19190
|
+
"cameras"
|
|
19174
19191
|
],
|
|
19175
19192
|
type: "string"
|
|
19176
19193
|
},
|
|
@@ -48751,7 +48768,8 @@ var openapi_default = {
|
|
|
48751
48768
|
"lock",
|
|
48752
48769
|
"thermostat",
|
|
48753
48770
|
"noise_sensor",
|
|
48754
|
-
"access_control"
|
|
48771
|
+
"access_control",
|
|
48772
|
+
"camera"
|
|
48755
48773
|
],
|
|
48756
48774
|
type: "string"
|
|
48757
48775
|
},
|
|
@@ -48809,6 +48827,7 @@ var openapi_default = {
|
|
|
48809
48827
|
"korelock",
|
|
48810
48828
|
"dormakaba_ambiance",
|
|
48811
48829
|
"ultraloq",
|
|
48830
|
+
"ring",
|
|
48812
48831
|
"yale_access",
|
|
48813
48832
|
"hid_cm",
|
|
48814
48833
|
"google_nest"
|
|
@@ -48864,6 +48883,7 @@ var openapi_default = {
|
|
|
48864
48883
|
"thermostats",
|
|
48865
48884
|
"noise_sensors",
|
|
48866
48885
|
"access_control_systems",
|
|
48886
|
+
"cameras",
|
|
48867
48887
|
"internal_beta"
|
|
48868
48888
|
],
|
|
48869
48889
|
type: "string"
|
|
@@ -49829,7 +49849,8 @@ var openapi_default = {
|
|
|
49829
49849
|
"lock",
|
|
49830
49850
|
"thermostat",
|
|
49831
49851
|
"noise_sensor",
|
|
49832
|
-
"access_control"
|
|
49852
|
+
"access_control",
|
|
49853
|
+
"camera"
|
|
49833
49854
|
],
|
|
49834
49855
|
type: "string"
|
|
49835
49856
|
},
|
|
@@ -49916,7 +49937,8 @@ var openapi_default = {
|
|
|
49916
49937
|
"lock",
|
|
49917
49938
|
"thermostat",
|
|
49918
49939
|
"noise_sensor",
|
|
49919
|
-
"access_control"
|
|
49940
|
+
"access_control",
|
|
49941
|
+
"camera"
|
|
49920
49942
|
],
|
|
49921
49943
|
type: "string"
|
|
49922
49944
|
},
|
|
@@ -52728,7 +52750,8 @@ var openapi_default = {
|
|
|
52728
52750
|
"sensi",
|
|
52729
52751
|
"smartthings",
|
|
52730
52752
|
"tado",
|
|
52731
|
-
"ultraloq"
|
|
52753
|
+
"ultraloq",
|
|
52754
|
+
"ring"
|
|
52732
52755
|
],
|
|
52733
52756
|
type: "string"
|
|
52734
52757
|
}
|
|
@@ -53213,7 +53236,8 @@ var openapi_default = {
|
|
|
53213
53236
|
"sensi",
|
|
53214
53237
|
"smartthings",
|
|
53215
53238
|
"tado",
|
|
53216
|
-
"ultraloq"
|
|
53239
|
+
"ultraloq",
|
|
53240
|
+
"ring"
|
|
53217
53241
|
],
|
|
53218
53242
|
type: "string"
|
|
53219
53243
|
},
|
|
@@ -53304,7 +53328,8 @@ var openapi_default = {
|
|
|
53304
53328
|
"beta",
|
|
53305
53329
|
"thermostats",
|
|
53306
53330
|
"noise_sensors",
|
|
53307
|
-
"access_control_systems"
|
|
53331
|
+
"access_control_systems",
|
|
53332
|
+
"cameras"
|
|
53308
53333
|
],
|
|
53309
53334
|
type: "string"
|
|
53310
53335
|
}
|
|
@@ -53362,7 +53387,8 @@ var openapi_default = {
|
|
|
53362
53387
|
"beta",
|
|
53363
53388
|
"thermostats",
|
|
53364
53389
|
"noise_sensors",
|
|
53365
|
-
"access_control_systems"
|
|
53390
|
+
"access_control_systems",
|
|
53391
|
+
"cameras"
|
|
53366
53392
|
],
|
|
53367
53393
|
type: "string"
|
|
53368
53394
|
}
|
|
@@ -54565,7 +54591,8 @@ var openapi_default = {
|
|
|
54565
54591
|
"sensi",
|
|
54566
54592
|
"smartthings",
|
|
54567
54593
|
"tado",
|
|
54568
|
-
"ultraloq"
|
|
54594
|
+
"ultraloq",
|
|
54595
|
+
"ring"
|
|
54569
54596
|
],
|
|
54570
54597
|
type: "string"
|
|
54571
54598
|
}
|
|
@@ -55049,7 +55076,8 @@ var openapi_default = {
|
|
|
55049
55076
|
"sensi",
|
|
55050
55077
|
"smartthings",
|
|
55051
55078
|
"tado",
|
|
55052
|
-
"ultraloq"
|
|
55079
|
+
"ultraloq",
|
|
55080
|
+
"ring"
|
|
55053
55081
|
],
|
|
55054
55082
|
type: "string"
|
|
55055
55083
|
},
|