@seamapi/types 1.139.0 → 1.141.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 +86 -23
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +226 -66
- package/lib/seam/connect/index.d.ts +2 -2
- package/lib/seam/connect/index.js +2 -2
- package/lib/seam/connect/index.js.map +1 -1
- package/lib/seam/connect/model-types.js.map +1 -0
- package/lib/seam/connect/models/connect-webview.js.map +1 -0
- package/lib/seam/connect/models/custom-metadata.js.map +1 -0
- package/lib/seam/connect/models/index.js.map +1 -0
- package/lib/seam/connect/openapi.d.ts +195 -66
- package/lib/seam/connect/openapi.js +78 -15
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +31 -0
- package/lib/seam/connect/schemas.js.map +1 -0
- package/lib/seam/connect/unstable/models/acs/entrance.d.ts +45 -0
- package/lib/seam/connect/unstable/models/acs/entrance.js +7 -0
- package/lib/seam/connect/unstable/models/acs/entrance.js.map +1 -1
- package/lib/seam/connect/unstable/models/devices/managed-device.d.ts +22 -0
- package/lib/seam/connect/unstable/models/devices/managed-device.js +5 -2
- package/lib/seam/connect/unstable/models/devices/managed-device.js.map +1 -1
- package/lib/seam/connect/unstable/models/devices/phone.d.ts +3 -0
- package/lib/seam/connect/unstable/models/devices/unmanaged-device.d.ts +3 -0
- package/lib/seam/connect/unstable/models/devices/unmanaged-device.js +2 -3
- package/lib/seam/connect/unstable/models/devices/unmanaged-device.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/index.ts +2 -2
- package/src/lib/seam/connect/openapi.ts +78 -15
- package/src/lib/seam/connect/route-types.ts +31 -0
- package/src/lib/seam/connect/unstable/models/acs/entrance.ts +11 -0
- package/src/lib/seam/connect/unstable/models/devices/managed-device.ts +7 -2
- package/src/lib/seam/connect/unstable/models/devices/unmanaged-device.ts +6 -4
- package/lib/seam/connect/stable/model-types.js.map +0 -1
- package/lib/seam/connect/stable/models/connect-webview.js.map +0 -1
- package/lib/seam/connect/stable/models/custom-metadata.js.map +0 -1
- package/lib/seam/connect/stable/models/index.js.map +0 -1
- package/lib/seam/connect/stable/schemas.js.map +0 -1
- /package/lib/seam/connect/{stable/model-types.d.ts → model-types.d.ts} +0 -0
- /package/lib/seam/connect/{stable/model-types.js → model-types.js} +0 -0
- /package/lib/seam/connect/{stable/models → models}/connect-webview.d.ts +0 -0
- /package/lib/seam/connect/{stable/models → models}/connect-webview.js +0 -0
- /package/lib/seam/connect/{stable/models → models}/custom-metadata.d.ts +0 -0
- /package/lib/seam/connect/{stable/models → models}/custom-metadata.js +0 -0
- /package/lib/seam/connect/{stable/models → models}/index.d.ts +0 -0
- /package/lib/seam/connect/{stable/models → models}/index.js +0 -0
- /package/lib/seam/connect/{stable/schemas.d.ts → schemas.d.ts} +0 -0
- /package/lib/seam/connect/{stable/schemas.js → schemas.js} +0 -0
- /package/src/lib/seam/connect/{stable/model-types.ts → model-types.ts} +0 -0
- /package/src/lib/seam/connect/{stable/models → models}/connect-webview.ts +0 -0
- /package/src/lib/seam/connect/{stable/models → models}/custom-metadata.ts +0 -0
- /package/src/lib/seam/connect/{stable/models → models}/index.ts +0 -0
- /package/src/lib/seam/connect/{stable/schemas.ts → schemas.ts} +0 -0
package/dist/connect.cjs
CHANGED
|
@@ -8,7 +8,7 @@ var __export = (target, all) => {
|
|
|
8
8
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
9
|
};
|
|
10
10
|
|
|
11
|
-
// src/lib/seam/connect/
|
|
11
|
+
// src/lib/seam/connect/schemas.ts
|
|
12
12
|
var schemas_exports = {};
|
|
13
13
|
__export(schemas_exports, {
|
|
14
14
|
connect_webview: () => connect_webview,
|
|
@@ -21,7 +21,7 @@ var custom_metadata = zod.z.record(
|
|
|
21
21
|
message: "Custom metadata is limited to a maximum of 50 keys"
|
|
22
22
|
});
|
|
23
23
|
|
|
24
|
-
// src/lib/seam/connect/
|
|
24
|
+
// src/lib/seam/connect/models/connect-webview.ts
|
|
25
25
|
var connect_webview = zod.z.object({
|
|
26
26
|
connect_webview_id: zod.z.string().uuid(),
|
|
27
27
|
connected_account_id: zod.z.string().uuid().optional(),
|
|
@@ -554,6 +554,7 @@ var openapi_default = {
|
|
|
554
554
|
can_program_online_access_codes: { type: "boolean" },
|
|
555
555
|
can_remotely_lock: { type: "boolean" },
|
|
556
556
|
can_remotely_unlock: { type: "boolean" },
|
|
557
|
+
can_simulate_removal: { type: "boolean" },
|
|
557
558
|
capabilities_supported: {
|
|
558
559
|
description: 'Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health.',
|
|
559
560
|
items: {
|
|
@@ -1899,6 +1900,7 @@ var openapi_default = {
|
|
|
1899
1900
|
can_program_online_access_codes: { type: "boolean" },
|
|
1900
1901
|
can_remotely_lock: { type: "boolean" },
|
|
1901
1902
|
can_remotely_unlock: { type: "boolean" },
|
|
1903
|
+
can_simulate_removal: { type: "boolean" },
|
|
1902
1904
|
capabilities_supported: {
|
|
1903
1905
|
description: 'Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health.',
|
|
1904
1906
|
items: {
|
|
@@ -2113,6 +2115,7 @@ var openapi_default = {
|
|
|
2113
2115
|
can_program_online_access_codes: { type: "boolean" },
|
|
2114
2116
|
can_remotely_lock: { type: "boolean" },
|
|
2115
2117
|
can_remotely_unlock: { type: "boolean" },
|
|
2118
|
+
can_simulate_removal: { type: "boolean" },
|
|
2116
2119
|
capabilities_supported: {
|
|
2117
2120
|
description: 'Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health.',
|
|
2118
2121
|
items: {
|
|
@@ -5280,6 +5283,22 @@ var openapi_default = {
|
|
|
5280
5283
|
acs_system_id: { format: "uuid", type: "string" },
|
|
5281
5284
|
created_at: { format: "date-time", type: "string" },
|
|
5282
5285
|
display_name: { type: "string" },
|
|
5286
|
+
latch_metadata: {
|
|
5287
|
+
nullable: true,
|
|
5288
|
+
properties: {
|
|
5289
|
+
accessibility_type: { type: "string" },
|
|
5290
|
+
is_connected: { type: "boolean" },
|
|
5291
|
+
name: { type: "string" },
|
|
5292
|
+
type: { type: "string" }
|
|
5293
|
+
},
|
|
5294
|
+
required: [
|
|
5295
|
+
"accessibility_type",
|
|
5296
|
+
"name",
|
|
5297
|
+
"type",
|
|
5298
|
+
"is_connected"
|
|
5299
|
+
],
|
|
5300
|
+
type: "object"
|
|
5301
|
+
},
|
|
5283
5302
|
visionline_metadata: {
|
|
5284
5303
|
nullable: true,
|
|
5285
5304
|
properties: {
|
|
@@ -5323,6 +5342,7 @@ var openapi_default = {
|
|
|
5323
5342
|
"display_name",
|
|
5324
5343
|
"acs_system_id",
|
|
5325
5344
|
"created_at",
|
|
5345
|
+
"latch_metadata",
|
|
5326
5346
|
"visionline_metadata"
|
|
5327
5347
|
],
|
|
5328
5348
|
type: "object"
|
|
@@ -5425,6 +5445,22 @@ var openapi_default = {
|
|
|
5425
5445
|
acs_system_id: { format: "uuid", type: "string" },
|
|
5426
5446
|
created_at: { format: "date-time", type: "string" },
|
|
5427
5447
|
display_name: { type: "string" },
|
|
5448
|
+
latch_metadata: {
|
|
5449
|
+
nullable: true,
|
|
5450
|
+
properties: {
|
|
5451
|
+
accessibility_type: { type: "string" },
|
|
5452
|
+
is_connected: { type: "boolean" },
|
|
5453
|
+
name: { type: "string" },
|
|
5454
|
+
type: { type: "string" }
|
|
5455
|
+
},
|
|
5456
|
+
required: [
|
|
5457
|
+
"accessibility_type",
|
|
5458
|
+
"name",
|
|
5459
|
+
"type",
|
|
5460
|
+
"is_connected"
|
|
5461
|
+
],
|
|
5462
|
+
type: "object"
|
|
5463
|
+
},
|
|
5428
5464
|
visionline_metadata: {
|
|
5429
5465
|
nullable: true,
|
|
5430
5466
|
properties: {
|
|
@@ -5468,6 +5504,7 @@ var openapi_default = {
|
|
|
5468
5504
|
"display_name",
|
|
5469
5505
|
"acs_system_id",
|
|
5470
5506
|
"created_at",
|
|
5507
|
+
"latch_metadata",
|
|
5471
5508
|
"visionline_metadata"
|
|
5472
5509
|
],
|
|
5473
5510
|
type: "object"
|
|
@@ -6055,6 +6092,22 @@ var openapi_default = {
|
|
|
6055
6092
|
acs_system_id: { format: "uuid", type: "string" },
|
|
6056
6093
|
created_at: { format: "date-time", type: "string" },
|
|
6057
6094
|
display_name: { type: "string" },
|
|
6095
|
+
latch_metadata: {
|
|
6096
|
+
nullable: true,
|
|
6097
|
+
properties: {
|
|
6098
|
+
accessibility_type: { type: "string" },
|
|
6099
|
+
is_connected: { type: "boolean" },
|
|
6100
|
+
name: { type: "string" },
|
|
6101
|
+
type: { type: "string" }
|
|
6102
|
+
},
|
|
6103
|
+
required: [
|
|
6104
|
+
"accessibility_type",
|
|
6105
|
+
"name",
|
|
6106
|
+
"type",
|
|
6107
|
+
"is_connected"
|
|
6108
|
+
],
|
|
6109
|
+
type: "object"
|
|
6110
|
+
},
|
|
6058
6111
|
visionline_metadata: {
|
|
6059
6112
|
nullable: true,
|
|
6060
6113
|
properties: {
|
|
@@ -6098,6 +6151,7 @@ var openapi_default = {
|
|
|
6098
6151
|
"display_name",
|
|
6099
6152
|
"acs_system_id",
|
|
6100
6153
|
"created_at",
|
|
6154
|
+
"latch_metadata",
|
|
6101
6155
|
"visionline_metadata"
|
|
6102
6156
|
],
|
|
6103
6157
|
type: "object"
|
|
@@ -7658,9 +7712,10 @@ var openapi_default = {
|
|
|
7658
7712
|
401: { description: "Unauthorized" }
|
|
7659
7713
|
},
|
|
7660
7714
|
security: [
|
|
7661
|
-
{
|
|
7662
|
-
{
|
|
7663
|
-
{
|
|
7715
|
+
{ client_session: [] },
|
|
7716
|
+
{ pat_with_workspace: [] },
|
|
7717
|
+
{ console_session: [] },
|
|
7718
|
+
{ api_key: [] }
|
|
7664
7719
|
],
|
|
7665
7720
|
summary: "/devices/get",
|
|
7666
7721
|
tags: ["/devices"],
|
|
@@ -8961,9 +9016,10 @@ var openapi_default = {
|
|
|
8961
9016
|
401: { description: "Unauthorized" }
|
|
8962
9017
|
},
|
|
8963
9018
|
security: [
|
|
8964
|
-
{
|
|
8965
|
-
{
|
|
8966
|
-
{
|
|
9019
|
+
{ client_session: [] },
|
|
9020
|
+
{ pat_with_workspace: [] },
|
|
9021
|
+
{ console_session: [] },
|
|
9022
|
+
{ api_key: [] }
|
|
8967
9023
|
],
|
|
8968
9024
|
summary: "/locks/get",
|
|
8969
9025
|
tags: ["/locks"],
|
|
@@ -9237,9 +9293,10 @@ var openapi_default = {
|
|
|
9237
9293
|
401: { description: "Unauthorized" }
|
|
9238
9294
|
},
|
|
9239
9295
|
security: [
|
|
9240
|
-
{
|
|
9241
|
-
{
|
|
9242
|
-
{
|
|
9296
|
+
{ client_session: [] },
|
|
9297
|
+
{ pat_with_workspace: [] },
|
|
9298
|
+
{ console_session: [] },
|
|
9299
|
+
{ api_key: [] }
|
|
9243
9300
|
],
|
|
9244
9301
|
summary: "/locks/lock_door",
|
|
9245
9302
|
tags: ["/locks"],
|
|
@@ -10513,9 +10570,10 @@ var openapi_default = {
|
|
|
10513
10570
|
401: { description: "Unauthorized" }
|
|
10514
10571
|
},
|
|
10515
10572
|
security: [
|
|
10516
|
-
{ api_key: [] },
|
|
10517
10573
|
{ client_session: [] },
|
|
10518
|
-
{ pat_with_workspace: [] }
|
|
10574
|
+
{ pat_with_workspace: [] },
|
|
10575
|
+
{ console_session: [] },
|
|
10576
|
+
{ api_key: [] }
|
|
10519
10577
|
],
|
|
10520
10578
|
summary: "/thermostats/cool",
|
|
10521
10579
|
tags: ["/thermostats"],
|
|
@@ -10560,9 +10618,10 @@ var openapi_default = {
|
|
|
10560
10618
|
401: { description: "Unauthorized" }
|
|
10561
10619
|
},
|
|
10562
10620
|
security: [
|
|
10563
|
-
{ api_key: [] },
|
|
10564
10621
|
{ client_session: [] },
|
|
10565
|
-
{ pat_with_workspace: [] }
|
|
10622
|
+
{ pat_with_workspace: [] },
|
|
10623
|
+
{ console_session: [] },
|
|
10624
|
+
{ api_key: [] }
|
|
10566
10625
|
],
|
|
10567
10626
|
summary: "/thermostats/get",
|
|
10568
10627
|
tags: ["/thermostats"],
|
|
@@ -10612,9 +10671,10 @@ var openapi_default = {
|
|
|
10612
10671
|
401: { description: "Unauthorized" }
|
|
10613
10672
|
},
|
|
10614
10673
|
security: [
|
|
10615
|
-
{ api_key: [] },
|
|
10616
10674
|
{ client_session: [] },
|
|
10617
|
-
{ pat_with_workspace: [] }
|
|
10675
|
+
{ pat_with_workspace: [] },
|
|
10676
|
+
{ console_session: [] },
|
|
10677
|
+
{ api_key: [] }
|
|
10618
10678
|
],
|
|
10619
10679
|
summary: "/thermostats/heat",
|
|
10620
10680
|
tags: ["/thermostats"],
|
|
@@ -10666,9 +10726,10 @@ var openapi_default = {
|
|
|
10666
10726
|
401: { description: "Unauthorized" }
|
|
10667
10727
|
},
|
|
10668
10728
|
security: [
|
|
10669
|
-
{ api_key: [] },
|
|
10670
10729
|
{ client_session: [] },
|
|
10671
|
-
{ pat_with_workspace: [] }
|
|
10730
|
+
{ pat_with_workspace: [] },
|
|
10731
|
+
{ console_session: [] },
|
|
10732
|
+
{ api_key: [] }
|
|
10672
10733
|
],
|
|
10673
10734
|
summary: "/thermostats/heat_cool",
|
|
10674
10735
|
tags: ["/thermostats"],
|
|
@@ -10938,9 +10999,10 @@ var openapi_default = {
|
|
|
10938
10999
|
401: { description: "Unauthorized" }
|
|
10939
11000
|
},
|
|
10940
11001
|
security: [
|
|
10941
|
-
{ api_key: [] },
|
|
10942
11002
|
{ client_session: [] },
|
|
10943
|
-
{ pat_with_workspace: [] }
|
|
11003
|
+
{ pat_with_workspace: [] },
|
|
11004
|
+
{ console_session: [] },
|
|
11005
|
+
{ api_key: [] }
|
|
10944
11006
|
],
|
|
10945
11007
|
summary: "/thermostats/off",
|
|
10946
11008
|
tags: ["/thermostats"],
|
|
@@ -10990,9 +11052,10 @@ var openapi_default = {
|
|
|
10990
11052
|
401: { description: "Unauthorized" }
|
|
10991
11053
|
},
|
|
10992
11054
|
security: [
|
|
10993
|
-
{ api_key: [] },
|
|
10994
11055
|
{ client_session: [] },
|
|
10995
|
-
{ pat_with_workspace: [] }
|
|
11056
|
+
{ pat_with_workspace: [] },
|
|
11057
|
+
{ console_session: [] },
|
|
11058
|
+
{ api_key: [] }
|
|
10996
11059
|
],
|
|
10997
11060
|
summary: "/thermostats/set_fan_mode",
|
|
10998
11061
|
tags: ["/thermostats"],
|