@seamapi/types 1.337.0 → 1.338.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 +46 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +110 -0
- package/lib/seam/connect/models/devices/device.d.ts +37 -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/phone.d.ts +16 -0
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +16 -0
- package/lib/seam/connect/openapi.js +39 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +68 -0
- package/package.json +2 -2
- package/src/lib/seam/connect/models/devices/device.ts +12 -0
- package/src/lib/seam/connect/openapi.ts +45 -0
- package/src/lib/seam/connect/route-types.ts +85 -0
package/dist/connect.cjs
CHANGED
|
@@ -929,6 +929,11 @@ var scheduled_maintenance_window2 = common_device_warning.extend({
|
|
|
929
929
|
var device_has_flaky_connection = common_device_warning.extend({
|
|
930
930
|
warning_code: zod.z.literal("device_has_flaky_connection").describe(warning_code_description2)
|
|
931
931
|
}).describe("Device has flaky connection.");
|
|
932
|
+
var unknown_issue_with_phone = common_device_warning.extend({
|
|
933
|
+
warning_code: zod.z.literal("unknown_issue_with_phone").describe(warning_code_description2)
|
|
934
|
+
}).describe(
|
|
935
|
+
"An unknown issue occurred while syncing the state of this phone with the provider. This issue may affect the proper functioning of this phone."
|
|
936
|
+
);
|
|
932
937
|
var device_warning = zod.z.union([
|
|
933
938
|
partial_backup_access_code_pool,
|
|
934
939
|
many_active_backup_codes,
|
|
@@ -944,7 +949,8 @@ var device_warning = zod.z.union([
|
|
|
944
949
|
scheduled_maintenance_window2,
|
|
945
950
|
device_has_flaky_connection,
|
|
946
951
|
salto_office_mode,
|
|
947
|
-
salto_privacy_mode
|
|
952
|
+
salto_privacy_mode,
|
|
953
|
+
unknown_issue_with_phone
|
|
948
954
|
]);
|
|
949
955
|
var common_device_properties = zod.z.object({
|
|
950
956
|
online: zod.z.boolean().describe("Indicates whether the device is online."),
|
|
@@ -10250,6 +10256,19 @@ var openapi_default = {
|
|
|
10250
10256
|
},
|
|
10251
10257
|
required: ["message", "warning_code"],
|
|
10252
10258
|
type: "object"
|
|
10259
|
+
},
|
|
10260
|
+
{
|
|
10261
|
+
description: "An unknown issue occurred while syncing the state of this phone with the provider. This issue may affect the proper functioning of this phone.",
|
|
10262
|
+
properties: {
|
|
10263
|
+
message: { type: "string" },
|
|
10264
|
+
warning_code: {
|
|
10265
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
10266
|
+
enum: ["unknown_issue_with_phone"],
|
|
10267
|
+
type: "string"
|
|
10268
|
+
}
|
|
10269
|
+
},
|
|
10270
|
+
required: ["message", "warning_code"],
|
|
10271
|
+
type: "object"
|
|
10253
10272
|
}
|
|
10254
10273
|
]
|
|
10255
10274
|
},
|
|
@@ -14949,6 +14968,19 @@ var openapi_default = {
|
|
|
14949
14968
|
},
|
|
14950
14969
|
required: ["message", "warning_code"],
|
|
14951
14970
|
type: "object"
|
|
14971
|
+
},
|
|
14972
|
+
{
|
|
14973
|
+
description: "An unknown issue occurred while syncing the state of this phone with the provider. This issue may affect the proper functioning of this phone.",
|
|
14974
|
+
properties: {
|
|
14975
|
+
message: { type: "string" },
|
|
14976
|
+
warning_code: {
|
|
14977
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
14978
|
+
enum: ["unknown_issue_with_phone"],
|
|
14979
|
+
type: "string"
|
|
14980
|
+
}
|
|
14981
|
+
},
|
|
14982
|
+
required: ["message", "warning_code"],
|
|
14983
|
+
type: "object"
|
|
14952
14984
|
}
|
|
14953
14985
|
]
|
|
14954
14986
|
},
|
|
@@ -16519,6 +16551,19 @@ var openapi_default = {
|
|
|
16519
16551
|
},
|
|
16520
16552
|
required: ["message", "warning_code"],
|
|
16521
16553
|
type: "object"
|
|
16554
|
+
},
|
|
16555
|
+
{
|
|
16556
|
+
description: "An unknown issue occurred while syncing the state of this phone with the provider. This issue may affect the proper functioning of this phone.",
|
|
16557
|
+
properties: {
|
|
16558
|
+
message: { type: "string" },
|
|
16559
|
+
warning_code: {
|
|
16560
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
16561
|
+
enum: ["unknown_issue_with_phone"],
|
|
16562
|
+
type: "string"
|
|
16563
|
+
}
|
|
16564
|
+
},
|
|
16565
|
+
required: ["message", "warning_code"],
|
|
16566
|
+
type: "object"
|
|
16522
16567
|
}
|
|
16523
16568
|
]
|
|
16524
16569
|
},
|