@seamapi/types 1.140.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 +13 -8
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +56 -24
- 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 +43 -24
- package/lib/seam/connect/openapi.js +11 -6
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +13 -0
- package/lib/seam/connect/schemas.js.map +1 -0
- 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 +11 -6
- package/src/lib/seam/connect/route-types.ts +13 -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: {
|
|
@@ -7709,9 +7712,10 @@ var openapi_default = {
|
|
|
7709
7712
|
401: { description: "Unauthorized" }
|
|
7710
7713
|
},
|
|
7711
7714
|
security: [
|
|
7712
|
-
{
|
|
7713
|
-
{
|
|
7714
|
-
{
|
|
7715
|
+
{ client_session: [] },
|
|
7716
|
+
{ pat_with_workspace: [] },
|
|
7717
|
+
{ console_session: [] },
|
|
7718
|
+
{ api_key: [] }
|
|
7715
7719
|
],
|
|
7716
7720
|
summary: "/devices/get",
|
|
7717
7721
|
tags: ["/devices"],
|
|
@@ -9012,9 +9016,10 @@ var openapi_default = {
|
|
|
9012
9016
|
401: { description: "Unauthorized" }
|
|
9013
9017
|
},
|
|
9014
9018
|
security: [
|
|
9015
|
-
{
|
|
9016
|
-
{
|
|
9017
|
-
{
|
|
9019
|
+
{ client_session: [] },
|
|
9020
|
+
{ pat_with_workspace: [] },
|
|
9021
|
+
{ console_session: [] },
|
|
9022
|
+
{ api_key: [] }
|
|
9018
9023
|
],
|
|
9019
9024
|
summary: "/locks/get",
|
|
9020
9025
|
tags: ["/locks"],
|