@seamapi/types 1.411.1 → 1.412.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 +87 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +264 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +26 -0
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +26 -0
- package/lib/seam/connect/models/devices/device.d.ts +87 -0
- package/lib/seam/connect/models/devices/device.js +9 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +26 -0
- package/lib/seam/connect/openapi.js +80 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +144 -0
- package/package.json +2 -2
- package/src/lib/seam/connect/models/devices/device.ts +10 -0
- package/src/lib/seam/connect/openapi.ts +88 -0
- package/src/lib/seam/connect/route-types.ts +168 -0
package/dist/connect.cjs
CHANGED
|
@@ -1451,6 +1451,9 @@ var auxiliary_heat_running = common_device_error.extend({
|
|
|
1451
1451
|
var subscription_required = common_device_error.extend({
|
|
1452
1452
|
error_code: zod.z.literal("subscription_required").describe(error_code_description2)
|
|
1453
1453
|
}).describe("Subscription required to connect.");
|
|
1454
|
+
var lockly_missing_wifi_bridge = common_device_error.extend({
|
|
1455
|
+
error_code: zod.z.literal("lockly_missing_wifi_bridge").describe(error_code_description2)
|
|
1456
|
+
}).describe("Lockly lock is not connected to a Wi-Fi bridge.");
|
|
1454
1457
|
var device_error = zod.z.discriminatedUnion("error_code", [
|
|
1455
1458
|
account_disconnected2,
|
|
1456
1459
|
salto_ks_subscription_limit_exceeded2,
|
|
@@ -1464,7 +1467,8 @@ var device_error = zod.z.discriminatedUnion("error_code", [
|
|
|
1464
1467
|
ttlock_lock_not_paired_to_gateway,
|
|
1465
1468
|
missing_device_credentials,
|
|
1466
1469
|
auxiliary_heat_running,
|
|
1467
|
-
subscription_required
|
|
1470
|
+
subscription_required,
|
|
1471
|
+
lockly_missing_wifi_bridge
|
|
1468
1472
|
]).describe("Error associated with the `device`.");
|
|
1469
1473
|
zod.z.object({
|
|
1470
1474
|
device_offline: device_offline.optional().nullable(),
|
|
@@ -1479,7 +1483,8 @@ zod.z.object({
|
|
|
1479
1483
|
ttlock_lock_not_paired_to_gateway: ttlock_lock_not_paired_to_gateway.optional().nullable(),
|
|
1480
1484
|
missing_device_credentials: missing_device_credentials.optional().nullable(),
|
|
1481
1485
|
auxiliary_heat_running: auxiliary_heat_running.optional().nullable(),
|
|
1482
|
-
subscription_required: subscription_required.optional().nullable()
|
|
1486
|
+
subscription_required: subscription_required.optional().nullable(),
|
|
1487
|
+
lockly_missing_wifi_bridge: lockly_missing_wifi_bridge.optional().nullable()
|
|
1483
1488
|
});
|
|
1484
1489
|
var warning_code_description2 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
|
|
1485
1490
|
var common_device_warning = zod.z.object({
|
|
@@ -6134,6 +6139,26 @@ var openapi_default = {
|
|
|
6134
6139
|
],
|
|
6135
6140
|
type: "object"
|
|
6136
6141
|
},
|
|
6142
|
+
{
|
|
6143
|
+
description: "Lockly lock is not connected to a Wi-Fi bridge.",
|
|
6144
|
+
properties: {
|
|
6145
|
+
created_at: { format: "date-time", type: "string" },
|
|
6146
|
+
error_code: {
|
|
6147
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
6148
|
+
enum: ["lockly_missing_wifi_bridge"],
|
|
6149
|
+
type: "string"
|
|
6150
|
+
},
|
|
6151
|
+
is_device_error: { enum: [true], type: "boolean" },
|
|
6152
|
+
message: { type: "string" }
|
|
6153
|
+
},
|
|
6154
|
+
required: [
|
|
6155
|
+
"message",
|
|
6156
|
+
"is_device_error",
|
|
6157
|
+
"created_at",
|
|
6158
|
+
"error_code"
|
|
6159
|
+
],
|
|
6160
|
+
type: "object"
|
|
6161
|
+
},
|
|
6137
6162
|
{
|
|
6138
6163
|
description: "Credentials provided were invalid.",
|
|
6139
6164
|
properties: {
|
|
@@ -12655,6 +12680,26 @@ var openapi_default = {
|
|
|
12655
12680
|
],
|
|
12656
12681
|
type: "object"
|
|
12657
12682
|
},
|
|
12683
|
+
{
|
|
12684
|
+
description: "Lockly lock is not connected to a Wi-Fi bridge.",
|
|
12685
|
+
properties: {
|
|
12686
|
+
created_at: { format: "date-time", type: "string" },
|
|
12687
|
+
error_code: {
|
|
12688
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
12689
|
+
enum: ["lockly_missing_wifi_bridge"],
|
|
12690
|
+
type: "string"
|
|
12691
|
+
},
|
|
12692
|
+
is_device_error: { enum: [true], type: "boolean" },
|
|
12693
|
+
message: { type: "string" }
|
|
12694
|
+
},
|
|
12695
|
+
required: [
|
|
12696
|
+
"message",
|
|
12697
|
+
"is_device_error",
|
|
12698
|
+
"created_at",
|
|
12699
|
+
"error_code"
|
|
12700
|
+
],
|
|
12701
|
+
type: "object"
|
|
12702
|
+
},
|
|
12658
12703
|
{
|
|
12659
12704
|
description: "Credentials provided were invalid.",
|
|
12660
12705
|
properties: {
|
|
@@ -21758,6 +21803,26 @@ var openapi_default = {
|
|
|
21758
21803
|
],
|
|
21759
21804
|
type: "object"
|
|
21760
21805
|
},
|
|
21806
|
+
{
|
|
21807
|
+
description: "Lockly lock is not connected to a Wi-Fi bridge.",
|
|
21808
|
+
properties: {
|
|
21809
|
+
created_at: { format: "date-time", type: "string" },
|
|
21810
|
+
error_code: {
|
|
21811
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
21812
|
+
enum: ["lockly_missing_wifi_bridge"],
|
|
21813
|
+
type: "string"
|
|
21814
|
+
},
|
|
21815
|
+
is_device_error: { enum: [true], type: "boolean" },
|
|
21816
|
+
message: { type: "string" }
|
|
21817
|
+
},
|
|
21818
|
+
required: [
|
|
21819
|
+
"message",
|
|
21820
|
+
"is_device_error",
|
|
21821
|
+
"created_at",
|
|
21822
|
+
"error_code"
|
|
21823
|
+
],
|
|
21824
|
+
type: "object"
|
|
21825
|
+
},
|
|
21761
21826
|
{
|
|
21762
21827
|
description: "Credentials provided were invalid.",
|
|
21763
21828
|
properties: {
|
|
@@ -23514,6 +23579,26 @@ var openapi_default = {
|
|
|
23514
23579
|
],
|
|
23515
23580
|
type: "object"
|
|
23516
23581
|
},
|
|
23582
|
+
{
|
|
23583
|
+
description: "Lockly lock is not connected to a Wi-Fi bridge.",
|
|
23584
|
+
properties: {
|
|
23585
|
+
created_at: { format: "date-time", type: "string" },
|
|
23586
|
+
error_code: {
|
|
23587
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
23588
|
+
enum: ["lockly_missing_wifi_bridge"],
|
|
23589
|
+
type: "string"
|
|
23590
|
+
},
|
|
23591
|
+
is_device_error: { enum: [true], type: "boolean" },
|
|
23592
|
+
message: { type: "string" }
|
|
23593
|
+
},
|
|
23594
|
+
required: [
|
|
23595
|
+
"message",
|
|
23596
|
+
"is_device_error",
|
|
23597
|
+
"created_at",
|
|
23598
|
+
"error_code"
|
|
23599
|
+
],
|
|
23600
|
+
type: "object"
|
|
23601
|
+
},
|
|
23517
23602
|
{
|
|
23518
23603
|
description: "Credentials provided were invalid.",
|
|
23519
23604
|
properties: {
|