@seamapi/types 1.330.0 → 1.332.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 +755 -106
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1767 -195
- package/lib/seam/connect/models/acs/acs-credential.d.ts +7 -7
- package/lib/seam/connect/models/acs/acs-credential.js +2 -0
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +24 -24
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +10 -10
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +14 -14
- package/lib/seam/connect/models/devices/device.d.ts +380 -16
- package/lib/seam/connect/models/devices/device.js +125 -5
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/phone.d.ts +235 -11
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +235 -11
- package/lib/seam/connect/openapi.d.ts +42 -27
- package/lib/seam/connect/openapi.js +682 -95
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1080 -111
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-credential.ts +2 -0
- package/src/lib/seam/connect/models/devices/device.ts +143 -6
- package/src/lib/seam/connect/openapi.ts +720 -76
- package/src/lib/seam/connect/route-types.ts +1497 -68
package/dist/connect.cjs
CHANGED
|
@@ -820,9 +820,6 @@ var common_device_error = zod.z.object({
|
|
|
820
820
|
is_device_error: zod.z.literal(true)
|
|
821
821
|
});
|
|
822
822
|
var error_code_description = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
|
|
823
|
-
var common_device_warning = zod.z.object({
|
|
824
|
-
message: zod.z.string()
|
|
825
|
-
});
|
|
826
823
|
var device_offline = common_device_error.extend({
|
|
827
824
|
error_code: zod.z.literal("device_offline").describe(error_code_description)
|
|
828
825
|
}).describe("Device is offline");
|
|
@@ -877,9 +874,72 @@ var device_error = zod.z.union([
|
|
|
877
874
|
auxiliary_heat_running,
|
|
878
875
|
subscription_required
|
|
879
876
|
]).describe("Error associated with the `device`.");
|
|
880
|
-
var
|
|
881
|
-
|
|
877
|
+
var warning_code_description2 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
|
|
878
|
+
var common_device_warning = zod.z.object({
|
|
879
|
+
message: zod.z.string()
|
|
882
880
|
});
|
|
881
|
+
var partial_backup_access_code_pool = common_device_warning.extend({
|
|
882
|
+
warning_code: zod.z.literal("partial_backup_access_code_pool").describe(warning_code_description2)
|
|
883
|
+
}).describe("Backup access code unhealthy.");
|
|
884
|
+
var many_active_backup_codes = common_device_warning.extend({
|
|
885
|
+
warning_code: zod.z.literal("many_active_backup_codes").describe(warning_code_description2)
|
|
886
|
+
}).describe("Too many backup codes.");
|
|
887
|
+
var salto_unknown_device_type = common_device_warning.extend({
|
|
888
|
+
warning_code: zod.z.literal("salto_unknown_device_type").describe(warning_code_description2)
|
|
889
|
+
}).describe("A Salto Lock displaying an unknown device type.");
|
|
890
|
+
var salto_office_mode = common_device_warning.extend({
|
|
891
|
+
warning_code: zod.z.literal("salto_office_mode").describe(warning_code_description2)
|
|
892
|
+
}).describe("Lock is in Office Mode. Access Codes will not unlock doors.");
|
|
893
|
+
var salto_privacy_mode = common_device_warning.extend({
|
|
894
|
+
warning_code: zod.z.literal("salto_privacy_mode").describe(warning_code_description2)
|
|
895
|
+
}).describe("Lock is in Privacy Mode. Access Codes will not unlock doors.");
|
|
896
|
+
var wyze_device_missing_gateway = common_device_warning.extend({
|
|
897
|
+
warning_code: zod.z.literal("wyze_device_missing_gateway").describe(warning_code_description2)
|
|
898
|
+
}).describe("Wyze Lock is not connected to a gateway.");
|
|
899
|
+
var functional_offline_device = common_device_warning.extend({
|
|
900
|
+
warning_code: zod.z.literal("functional_offline_device").describe(warning_code_description2)
|
|
901
|
+
}).describe("Device is offline, but has some functionality available.");
|
|
902
|
+
var third_party_integration_detected = common_device_warning.extend({
|
|
903
|
+
warning_code: zod.z.literal("third_party_integration_detected").describe(warning_code_description2)
|
|
904
|
+
}).describe("Third-party integration detected.");
|
|
905
|
+
var nest_thermostat_in_manual_eco_mode = common_device_warning.extend({
|
|
906
|
+
warning_code: zod.z.literal("nest_thermostat_in_manual_eco_mode").describe(warning_code_description2)
|
|
907
|
+
}).describe("Nest thermostat in manual eco mode.");
|
|
908
|
+
var ttlock_lock_gateway_unlocking_not_enabled = common_device_warning.extend({
|
|
909
|
+
warning_code: zod.z.literal("ttlock_lock_gateway_unlocking_not_enabled").describe(warning_code_description2)
|
|
910
|
+
}).describe("Remote Unlock feature not enabled in settings.");
|
|
911
|
+
var ttlock_weak_gateway_signal = common_device_warning.extend({
|
|
912
|
+
warning_code: zod.z.literal("ttlock_weak_gateway_signal").describe(warning_code_description2)
|
|
913
|
+
}).describe("Gateway signal is weak.");
|
|
914
|
+
var temperature_threshold_exceeded = common_device_warning.extend({
|
|
915
|
+
warning_code: zod.z.literal("temperature_threshold_exceeded").describe(warning_code_description2)
|
|
916
|
+
}).describe("Temperature threshold exceeded.");
|
|
917
|
+
var device_communication_degraded = common_device_warning.extend({
|
|
918
|
+
warning_code: zod.z.literal("device_communication_degraded").describe(warning_code_description2)
|
|
919
|
+
}).describe("Device appears to be unresponsive.");
|
|
920
|
+
var scheduled_maintenance_window = common_device_warning.extend({
|
|
921
|
+
warning_code: zod.z.literal("scheduled_maintenance_window").describe(warning_code_description2)
|
|
922
|
+
}).describe("Scheduled maintenance window detected.");
|
|
923
|
+
var device_has_flaky_connection = common_device_warning.extend({
|
|
924
|
+
warning_code: zod.z.literal("device_has_flaky_connection").describe(warning_code_description2)
|
|
925
|
+
}).describe("Device has flaky connection.");
|
|
926
|
+
var device_warning = zod.z.union([
|
|
927
|
+
partial_backup_access_code_pool,
|
|
928
|
+
many_active_backup_codes,
|
|
929
|
+
salto_unknown_device_type,
|
|
930
|
+
wyze_device_missing_gateway,
|
|
931
|
+
functional_offline_device,
|
|
932
|
+
third_party_integration_detected,
|
|
933
|
+
nest_thermostat_in_manual_eco_mode,
|
|
934
|
+
ttlock_lock_gateway_unlocking_not_enabled,
|
|
935
|
+
ttlock_weak_gateway_signal,
|
|
936
|
+
temperature_threshold_exceeded,
|
|
937
|
+
device_communication_degraded,
|
|
938
|
+
scheduled_maintenance_window,
|
|
939
|
+
device_has_flaky_connection,
|
|
940
|
+
salto_office_mode,
|
|
941
|
+
salto_privacy_mode
|
|
942
|
+
]);
|
|
883
943
|
var common_device_properties = zod.z.object({
|
|
884
944
|
online: zod.z.boolean().describe("Indicates whether the device is online."),
|
|
885
945
|
name: zod.z.string().describe(`
|
|
@@ -1254,9 +1314,9 @@ var common_acs_access_group_warning = zod.z.object({
|
|
|
1254
1314
|
"Detailed description of the warning. Provides insights into the issue and potentially how to rectify it."
|
|
1255
1315
|
)
|
|
1256
1316
|
});
|
|
1257
|
-
var
|
|
1317
|
+
var warning_code_description3 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
|
|
1258
1318
|
var unknown_issue_with_acs_access_group = common_acs_access_group_warning.extend({
|
|
1259
|
-
warning_code: zod.z.literal("unknown_issue_with_acs_access_group").describe(
|
|
1319
|
+
warning_code: zod.z.literal("unknown_issue_with_acs_access_group").describe(warning_code_description3)
|
|
1260
1320
|
}).describe(
|
|
1261
1321
|
"An unknown issue occurred while syncing the state of this access group with the provider. This issue may affect the proper functioning of this access group."
|
|
1262
1322
|
);
|
|
@@ -1366,7 +1426,9 @@ var acs_credential_external_type = zod.z.enum([
|
|
|
1366
1426
|
"brivo_credential",
|
|
1367
1427
|
"hid_credential",
|
|
1368
1428
|
"visionline_card",
|
|
1369
|
-
"salto_ks_credential"
|
|
1429
|
+
"salto_ks_credential",
|
|
1430
|
+
"assa_abloy_vostio_card",
|
|
1431
|
+
"assa_abloy_vostio_mobile_key"
|
|
1370
1432
|
]);
|
|
1371
1433
|
var acs_credential_access_method_type = zod.z.enum([
|
|
1372
1434
|
"code",
|
|
@@ -1379,30 +1441,30 @@ var common_acs_credential_warning = zod.z.object({
|
|
|
1379
1441
|
"Detailed description of the warning. Provides insights into the issue and potentially how to rectify it."
|
|
1380
1442
|
)
|
|
1381
1443
|
});
|
|
1382
|
-
var
|
|
1444
|
+
var warning_code_description4 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
|
|
1383
1445
|
var waiting_to_be_issued = common_acs_credential_warning.extend({
|
|
1384
|
-
warning_code: zod.z.literal("waiting_to_be_issued").describe(
|
|
1446
|
+
warning_code: zod.z.literal("waiting_to_be_issued").describe(warning_code_description4)
|
|
1385
1447
|
}).describe("Indicates that the credential is waiting to be issued.");
|
|
1386
1448
|
var schedule_externally_modified = common_acs_credential_warning.extend({
|
|
1387
|
-
warning_code: zod.z.literal("schedule_externally_modified").describe(
|
|
1449
|
+
warning_code: zod.z.literal("schedule_externally_modified").describe(warning_code_description4)
|
|
1388
1450
|
}).describe(
|
|
1389
1451
|
"Indicates that the schedule of one of the credential's children was modified externally."
|
|
1390
1452
|
);
|
|
1391
1453
|
var schedule_modified = common_acs_credential_warning.extend({
|
|
1392
|
-
warning_code: zod.z.literal("schedule_modified").describe(
|
|
1454
|
+
warning_code: zod.z.literal("schedule_modified").describe(warning_code_description4)
|
|
1393
1455
|
}).describe(
|
|
1394
1456
|
"Indicates that the schedule of this credential was modified to avoid creating a credential with a start date in the past."
|
|
1395
1457
|
);
|
|
1396
1458
|
var being_deleted = common_acs_credential_warning.extend({
|
|
1397
|
-
warning_code: zod.z.literal("being_deleted").describe(
|
|
1459
|
+
warning_code: zod.z.literal("being_deleted").describe(warning_code_description4)
|
|
1398
1460
|
}).describe("Indicates that this credential is being deleted.");
|
|
1399
1461
|
var unknown_issue_with_acs_credential = common_acs_credential_warning.extend({
|
|
1400
|
-
warning_code: zod.z.literal("unknown_issue_with_acs_credential").describe(
|
|
1462
|
+
warning_code: zod.z.literal("unknown_issue_with_acs_credential").describe(warning_code_description4)
|
|
1401
1463
|
}).describe(
|
|
1402
1464
|
"An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential."
|
|
1403
1465
|
);
|
|
1404
1466
|
var needs_to_be_reissued = common_acs_credential_warning.extend({
|
|
1405
|
-
warning_code: zod.z.literal("needs_to_be_reissued").describe(
|
|
1467
|
+
warning_code: zod.z.literal("needs_to_be_reissued").describe(warning_code_description4)
|
|
1406
1468
|
}).describe(
|
|
1407
1469
|
"Access permissions for this [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) have changed. [Reissue](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners/creating-and-encoding-card-based-credentials) (re-encode) this credential. This issue may affect the proper functioning of the credential."
|
|
1408
1470
|
);
|
|
@@ -3834,7 +3896,9 @@ var openapi_default = {
|
|
|
3834
3896
|
"brivo_credential",
|
|
3835
3897
|
"hid_credential",
|
|
3836
3898
|
"visionline_card",
|
|
3837
|
-
"salto_ks_credential"
|
|
3899
|
+
"salto_ks_credential",
|
|
3900
|
+
"assa_abloy_vostio_card",
|
|
3901
|
+
"assa_abloy_vostio_mobile_key"
|
|
3838
3902
|
],
|
|
3839
3903
|
type: "string"
|
|
3840
3904
|
},
|
|
@@ -5204,7 +5268,9 @@ var openapi_default = {
|
|
|
5204
5268
|
"brivo_credential",
|
|
5205
5269
|
"hid_credential",
|
|
5206
5270
|
"visionline_card",
|
|
5207
|
-
"salto_ks_credential"
|
|
5271
|
+
"salto_ks_credential",
|
|
5272
|
+
"assa_abloy_vostio_card",
|
|
5273
|
+
"assa_abloy_vostio_mobile_key"
|
|
5208
5274
|
],
|
|
5209
5275
|
type: "string"
|
|
5210
5276
|
},
|
|
@@ -5520,7 +5586,9 @@ var openapi_default = {
|
|
|
5520
5586
|
"brivo_credential",
|
|
5521
5587
|
"hid_credential",
|
|
5522
5588
|
"visionline_card",
|
|
5523
|
-
"salto_ks_credential"
|
|
5589
|
+
"salto_ks_credential",
|
|
5590
|
+
"assa_abloy_vostio_card",
|
|
5591
|
+
"assa_abloy_vostio_mobile_key"
|
|
5524
5592
|
],
|
|
5525
5593
|
type: "string"
|
|
5526
5594
|
},
|
|
@@ -5967,7 +6035,9 @@ var openapi_default = {
|
|
|
5967
6035
|
"brivo_credential",
|
|
5968
6036
|
"hid_credential",
|
|
5969
6037
|
"visionline_card",
|
|
5970
|
-
"salto_ks_credential"
|
|
6038
|
+
"salto_ks_credential",
|
|
6039
|
+
"assa_abloy_vostio_card",
|
|
6040
|
+
"assa_abloy_vostio_mobile_key"
|
|
5971
6041
|
],
|
|
5972
6042
|
type: "string"
|
|
5973
6043
|
},
|
|
@@ -6281,7 +6351,9 @@ var openapi_default = {
|
|
|
6281
6351
|
"brivo_credential",
|
|
6282
6352
|
"hid_credential",
|
|
6283
6353
|
"visionline_card",
|
|
6284
|
-
"salto_ks_credential"
|
|
6354
|
+
"salto_ks_credential",
|
|
6355
|
+
"assa_abloy_vostio_card",
|
|
6356
|
+
"assa_abloy_vostio_mobile_key"
|
|
6285
6357
|
],
|
|
6286
6358
|
type: "string"
|
|
6287
6359
|
},
|
|
@@ -9172,12 +9244,203 @@ var openapi_default = {
|
|
|
9172
9244
|
warnings: {
|
|
9173
9245
|
description: 'Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it.',
|
|
9174
9246
|
items: {
|
|
9175
|
-
|
|
9176
|
-
|
|
9177
|
-
|
|
9178
|
-
|
|
9179
|
-
|
|
9180
|
-
|
|
9247
|
+
oneOf: [
|
|
9248
|
+
{
|
|
9249
|
+
description: "Backup access code unhealthy.",
|
|
9250
|
+
properties: {
|
|
9251
|
+
message: { type: "string" },
|
|
9252
|
+
warning_code: {
|
|
9253
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
9254
|
+
enum: ["partial_backup_access_code_pool"],
|
|
9255
|
+
type: "string"
|
|
9256
|
+
}
|
|
9257
|
+
},
|
|
9258
|
+
required: ["message", "warning_code"],
|
|
9259
|
+
type: "object"
|
|
9260
|
+
},
|
|
9261
|
+
{
|
|
9262
|
+
description: "Too many backup codes.",
|
|
9263
|
+
properties: {
|
|
9264
|
+
message: { type: "string" },
|
|
9265
|
+
warning_code: {
|
|
9266
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
9267
|
+
enum: ["many_active_backup_codes"],
|
|
9268
|
+
type: "string"
|
|
9269
|
+
}
|
|
9270
|
+
},
|
|
9271
|
+
required: ["message", "warning_code"],
|
|
9272
|
+
type: "object"
|
|
9273
|
+
},
|
|
9274
|
+
{
|
|
9275
|
+
description: "A Salto Lock displaying an unknown device type.",
|
|
9276
|
+
properties: {
|
|
9277
|
+
message: { type: "string" },
|
|
9278
|
+
warning_code: {
|
|
9279
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
9280
|
+
enum: ["salto_unknown_device_type"],
|
|
9281
|
+
type: "string"
|
|
9282
|
+
}
|
|
9283
|
+
},
|
|
9284
|
+
required: ["message", "warning_code"],
|
|
9285
|
+
type: "object"
|
|
9286
|
+
},
|
|
9287
|
+
{
|
|
9288
|
+
description: "Wyze Lock is not connected to a gateway.",
|
|
9289
|
+
properties: {
|
|
9290
|
+
message: { type: "string" },
|
|
9291
|
+
warning_code: {
|
|
9292
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
9293
|
+
enum: ["wyze_device_missing_gateway"],
|
|
9294
|
+
type: "string"
|
|
9295
|
+
}
|
|
9296
|
+
},
|
|
9297
|
+
required: ["message", "warning_code"],
|
|
9298
|
+
type: "object"
|
|
9299
|
+
},
|
|
9300
|
+
{
|
|
9301
|
+
description: "Device is offline, but has some functionality available.",
|
|
9302
|
+
properties: {
|
|
9303
|
+
message: { type: "string" },
|
|
9304
|
+
warning_code: {
|
|
9305
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
9306
|
+
enum: ["functional_offline_device"],
|
|
9307
|
+
type: "string"
|
|
9308
|
+
}
|
|
9309
|
+
},
|
|
9310
|
+
required: ["message", "warning_code"],
|
|
9311
|
+
type: "object"
|
|
9312
|
+
},
|
|
9313
|
+
{
|
|
9314
|
+
description: "Third-party integration detected.",
|
|
9315
|
+
properties: {
|
|
9316
|
+
message: { type: "string" },
|
|
9317
|
+
warning_code: {
|
|
9318
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
9319
|
+
enum: ["third_party_integration_detected"],
|
|
9320
|
+
type: "string"
|
|
9321
|
+
}
|
|
9322
|
+
},
|
|
9323
|
+
required: ["message", "warning_code"],
|
|
9324
|
+
type: "object"
|
|
9325
|
+
},
|
|
9326
|
+
{
|
|
9327
|
+
description: "Nest thermostat in manual eco mode.",
|
|
9328
|
+
properties: {
|
|
9329
|
+
message: { type: "string" },
|
|
9330
|
+
warning_code: {
|
|
9331
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
9332
|
+
enum: ["nest_thermostat_in_manual_eco_mode"],
|
|
9333
|
+
type: "string"
|
|
9334
|
+
}
|
|
9335
|
+
},
|
|
9336
|
+
required: ["message", "warning_code"],
|
|
9337
|
+
type: "object"
|
|
9338
|
+
},
|
|
9339
|
+
{
|
|
9340
|
+
description: "Remote Unlock feature not enabled in settings.",
|
|
9341
|
+
properties: {
|
|
9342
|
+
message: { type: "string" },
|
|
9343
|
+
warning_code: {
|
|
9344
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
9345
|
+
enum: ["ttlock_lock_gateway_unlocking_not_enabled"],
|
|
9346
|
+
type: "string"
|
|
9347
|
+
}
|
|
9348
|
+
},
|
|
9349
|
+
required: ["message", "warning_code"],
|
|
9350
|
+
type: "object"
|
|
9351
|
+
},
|
|
9352
|
+
{
|
|
9353
|
+
description: "Gateway signal is weak.",
|
|
9354
|
+
properties: {
|
|
9355
|
+
message: { type: "string" },
|
|
9356
|
+
warning_code: {
|
|
9357
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
9358
|
+
enum: ["ttlock_weak_gateway_signal"],
|
|
9359
|
+
type: "string"
|
|
9360
|
+
}
|
|
9361
|
+
},
|
|
9362
|
+
required: ["message", "warning_code"],
|
|
9363
|
+
type: "object"
|
|
9364
|
+
},
|
|
9365
|
+
{
|
|
9366
|
+
description: "Temperature threshold exceeded.",
|
|
9367
|
+
properties: {
|
|
9368
|
+
message: { type: "string" },
|
|
9369
|
+
warning_code: {
|
|
9370
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
9371
|
+
enum: ["temperature_threshold_exceeded"],
|
|
9372
|
+
type: "string"
|
|
9373
|
+
}
|
|
9374
|
+
},
|
|
9375
|
+
required: ["message", "warning_code"],
|
|
9376
|
+
type: "object"
|
|
9377
|
+
},
|
|
9378
|
+
{
|
|
9379
|
+
description: "Device appears to be unresponsive.",
|
|
9380
|
+
properties: {
|
|
9381
|
+
message: { type: "string" },
|
|
9382
|
+
warning_code: {
|
|
9383
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
9384
|
+
enum: ["device_communication_degraded"],
|
|
9385
|
+
type: "string"
|
|
9386
|
+
}
|
|
9387
|
+
},
|
|
9388
|
+
required: ["message", "warning_code"],
|
|
9389
|
+
type: "object"
|
|
9390
|
+
},
|
|
9391
|
+
{
|
|
9392
|
+
description: "Scheduled maintenance window detected.",
|
|
9393
|
+
properties: {
|
|
9394
|
+
message: { type: "string" },
|
|
9395
|
+
warning_code: {
|
|
9396
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
9397
|
+
enum: ["scheduled_maintenance_window"],
|
|
9398
|
+
type: "string"
|
|
9399
|
+
}
|
|
9400
|
+
},
|
|
9401
|
+
required: ["message", "warning_code"],
|
|
9402
|
+
type: "object"
|
|
9403
|
+
},
|
|
9404
|
+
{
|
|
9405
|
+
description: "Device has flaky connection.",
|
|
9406
|
+
properties: {
|
|
9407
|
+
message: { type: "string" },
|
|
9408
|
+
warning_code: {
|
|
9409
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
9410
|
+
enum: ["device_has_flaky_connection"],
|
|
9411
|
+
type: "string"
|
|
9412
|
+
}
|
|
9413
|
+
},
|
|
9414
|
+
required: ["message", "warning_code"],
|
|
9415
|
+
type: "object"
|
|
9416
|
+
},
|
|
9417
|
+
{
|
|
9418
|
+
description: "Lock is in Office Mode. Access Codes will not unlock doors.",
|
|
9419
|
+
properties: {
|
|
9420
|
+
message: { type: "string" },
|
|
9421
|
+
warning_code: {
|
|
9422
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
9423
|
+
enum: ["salto_office_mode"],
|
|
9424
|
+
type: "string"
|
|
9425
|
+
}
|
|
9426
|
+
},
|
|
9427
|
+
required: ["message", "warning_code"],
|
|
9428
|
+
type: "object"
|
|
9429
|
+
},
|
|
9430
|
+
{
|
|
9431
|
+
description: "Lock is in Privacy Mode. Access Codes will not unlock doors.",
|
|
9432
|
+
properties: {
|
|
9433
|
+
message: { type: "string" },
|
|
9434
|
+
warning_code: {
|
|
9435
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
9436
|
+
enum: ["salto_privacy_mode"],
|
|
9437
|
+
type: "string"
|
|
9438
|
+
}
|
|
9439
|
+
},
|
|
9440
|
+
required: ["message", "warning_code"],
|
|
9441
|
+
type: "object"
|
|
9442
|
+
}
|
|
9443
|
+
]
|
|
9181
9444
|
},
|
|
9182
9445
|
type: "array"
|
|
9183
9446
|
},
|
|
@@ -13650,78 +13913,269 @@ var openapi_default = {
|
|
|
13650
13913
|
warnings: {
|
|
13651
13914
|
description: 'Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it.',
|
|
13652
13915
|
items: {
|
|
13653
|
-
|
|
13654
|
-
|
|
13655
|
-
|
|
13656
|
-
|
|
13657
|
-
|
|
13658
|
-
|
|
13659
|
-
|
|
13660
|
-
|
|
13661
|
-
|
|
13662
|
-
|
|
13663
|
-
|
|
13664
|
-
|
|
13665
|
-
|
|
13666
|
-
|
|
13667
|
-
|
|
13668
|
-
|
|
13669
|
-
|
|
13670
|
-
|
|
13671
|
-
|
|
13672
|
-
|
|
13673
|
-
|
|
13674
|
-
|
|
13675
|
-
|
|
13676
|
-
|
|
13677
|
-
|
|
13678
|
-
|
|
13679
|
-
|
|
13680
|
-
|
|
13681
|
-
|
|
13682
|
-
|
|
13683
|
-
|
|
13684
|
-
|
|
13685
|
-
|
|
13686
|
-
|
|
13687
|
-
|
|
13688
|
-
|
|
13689
|
-
|
|
13690
|
-
|
|
13691
|
-
|
|
13692
|
-
|
|
13693
|
-
|
|
13694
|
-
|
|
13695
|
-
|
|
13696
|
-
|
|
13697
|
-
|
|
13698
|
-
|
|
13699
|
-
|
|
13700
|
-
|
|
13701
|
-
|
|
13702
|
-
|
|
13703
|
-
|
|
13704
|
-
|
|
13705
|
-
|
|
13706
|
-
|
|
13707
|
-
|
|
13708
|
-
|
|
13709
|
-
|
|
13710
|
-
|
|
13711
|
-
|
|
13712
|
-
|
|
13713
|
-
|
|
13714
|
-
|
|
13715
|
-
|
|
13716
|
-
|
|
13717
|
-
|
|
13718
|
-
|
|
13719
|
-
|
|
13720
|
-
|
|
13721
|
-
|
|
13722
|
-
|
|
13723
|
-
|
|
13724
|
-
|
|
13916
|
+
oneOf: [
|
|
13917
|
+
{
|
|
13918
|
+
description: "Backup access code unhealthy.",
|
|
13919
|
+
properties: {
|
|
13920
|
+
message: { type: "string" },
|
|
13921
|
+
warning_code: {
|
|
13922
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
13923
|
+
enum: ["partial_backup_access_code_pool"],
|
|
13924
|
+
type: "string"
|
|
13925
|
+
}
|
|
13926
|
+
},
|
|
13927
|
+
required: ["message", "warning_code"],
|
|
13928
|
+
type: "object"
|
|
13929
|
+
},
|
|
13930
|
+
{
|
|
13931
|
+
description: "Too many backup codes.",
|
|
13932
|
+
properties: {
|
|
13933
|
+
message: { type: "string" },
|
|
13934
|
+
warning_code: {
|
|
13935
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
13936
|
+
enum: ["many_active_backup_codes"],
|
|
13937
|
+
type: "string"
|
|
13938
|
+
}
|
|
13939
|
+
},
|
|
13940
|
+
required: ["message", "warning_code"],
|
|
13941
|
+
type: "object"
|
|
13942
|
+
},
|
|
13943
|
+
{
|
|
13944
|
+
description: "A Salto Lock displaying an unknown device type.",
|
|
13945
|
+
properties: {
|
|
13946
|
+
message: { type: "string" },
|
|
13947
|
+
warning_code: {
|
|
13948
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
13949
|
+
enum: ["salto_unknown_device_type"],
|
|
13950
|
+
type: "string"
|
|
13951
|
+
}
|
|
13952
|
+
},
|
|
13953
|
+
required: ["message", "warning_code"],
|
|
13954
|
+
type: "object"
|
|
13955
|
+
},
|
|
13956
|
+
{
|
|
13957
|
+
description: "Wyze Lock is not connected to a gateway.",
|
|
13958
|
+
properties: {
|
|
13959
|
+
message: { type: "string" },
|
|
13960
|
+
warning_code: {
|
|
13961
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
13962
|
+
enum: ["wyze_device_missing_gateway"],
|
|
13963
|
+
type: "string"
|
|
13964
|
+
}
|
|
13965
|
+
},
|
|
13966
|
+
required: ["message", "warning_code"],
|
|
13967
|
+
type: "object"
|
|
13968
|
+
},
|
|
13969
|
+
{
|
|
13970
|
+
description: "Device is offline, but has some functionality available.",
|
|
13971
|
+
properties: {
|
|
13972
|
+
message: { type: "string" },
|
|
13973
|
+
warning_code: {
|
|
13974
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
13975
|
+
enum: ["functional_offline_device"],
|
|
13976
|
+
type: "string"
|
|
13977
|
+
}
|
|
13978
|
+
},
|
|
13979
|
+
required: ["message", "warning_code"],
|
|
13980
|
+
type: "object"
|
|
13981
|
+
},
|
|
13982
|
+
{
|
|
13983
|
+
description: "Third-party integration detected.",
|
|
13984
|
+
properties: {
|
|
13985
|
+
message: { type: "string" },
|
|
13986
|
+
warning_code: {
|
|
13987
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
13988
|
+
enum: ["third_party_integration_detected"],
|
|
13989
|
+
type: "string"
|
|
13990
|
+
}
|
|
13991
|
+
},
|
|
13992
|
+
required: ["message", "warning_code"],
|
|
13993
|
+
type: "object"
|
|
13994
|
+
},
|
|
13995
|
+
{
|
|
13996
|
+
description: "Nest thermostat in manual eco mode.",
|
|
13997
|
+
properties: {
|
|
13998
|
+
message: { type: "string" },
|
|
13999
|
+
warning_code: {
|
|
14000
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
14001
|
+
enum: ["nest_thermostat_in_manual_eco_mode"],
|
|
14002
|
+
type: "string"
|
|
14003
|
+
}
|
|
14004
|
+
},
|
|
14005
|
+
required: ["message", "warning_code"],
|
|
14006
|
+
type: "object"
|
|
14007
|
+
},
|
|
14008
|
+
{
|
|
14009
|
+
description: "Remote Unlock feature not enabled in settings.",
|
|
14010
|
+
properties: {
|
|
14011
|
+
message: { type: "string" },
|
|
14012
|
+
warning_code: {
|
|
14013
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
14014
|
+
enum: ["ttlock_lock_gateway_unlocking_not_enabled"],
|
|
14015
|
+
type: "string"
|
|
14016
|
+
}
|
|
14017
|
+
},
|
|
14018
|
+
required: ["message", "warning_code"],
|
|
14019
|
+
type: "object"
|
|
14020
|
+
},
|
|
14021
|
+
{
|
|
14022
|
+
description: "Gateway signal is weak.",
|
|
14023
|
+
properties: {
|
|
14024
|
+
message: { type: "string" },
|
|
14025
|
+
warning_code: {
|
|
14026
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
14027
|
+
enum: ["ttlock_weak_gateway_signal"],
|
|
14028
|
+
type: "string"
|
|
14029
|
+
}
|
|
14030
|
+
},
|
|
14031
|
+
required: ["message", "warning_code"],
|
|
14032
|
+
type: "object"
|
|
14033
|
+
},
|
|
14034
|
+
{
|
|
14035
|
+
description: "Temperature threshold exceeded.",
|
|
14036
|
+
properties: {
|
|
14037
|
+
message: { type: "string" },
|
|
14038
|
+
warning_code: {
|
|
14039
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
14040
|
+
enum: ["temperature_threshold_exceeded"],
|
|
14041
|
+
type: "string"
|
|
14042
|
+
}
|
|
14043
|
+
},
|
|
14044
|
+
required: ["message", "warning_code"],
|
|
14045
|
+
type: "object"
|
|
14046
|
+
},
|
|
14047
|
+
{
|
|
14048
|
+
description: "Device appears to be unresponsive.",
|
|
14049
|
+
properties: {
|
|
14050
|
+
message: { type: "string" },
|
|
14051
|
+
warning_code: {
|
|
14052
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
14053
|
+
enum: ["device_communication_degraded"],
|
|
14054
|
+
type: "string"
|
|
14055
|
+
}
|
|
14056
|
+
},
|
|
14057
|
+
required: ["message", "warning_code"],
|
|
14058
|
+
type: "object"
|
|
14059
|
+
},
|
|
14060
|
+
{
|
|
14061
|
+
description: "Scheduled maintenance window detected.",
|
|
14062
|
+
properties: {
|
|
14063
|
+
message: { type: "string" },
|
|
14064
|
+
warning_code: {
|
|
14065
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
14066
|
+
enum: ["scheduled_maintenance_window"],
|
|
14067
|
+
type: "string"
|
|
14068
|
+
}
|
|
14069
|
+
},
|
|
14070
|
+
required: ["message", "warning_code"],
|
|
14071
|
+
type: "object"
|
|
14072
|
+
},
|
|
14073
|
+
{
|
|
14074
|
+
description: "Device has flaky connection.",
|
|
14075
|
+
properties: {
|
|
14076
|
+
message: { type: "string" },
|
|
14077
|
+
warning_code: {
|
|
14078
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
14079
|
+
enum: ["device_has_flaky_connection"],
|
|
14080
|
+
type: "string"
|
|
14081
|
+
}
|
|
14082
|
+
},
|
|
14083
|
+
required: ["message", "warning_code"],
|
|
14084
|
+
type: "object"
|
|
14085
|
+
},
|
|
14086
|
+
{
|
|
14087
|
+
description: "Lock is in Office Mode. Access Codes will not unlock doors.",
|
|
14088
|
+
properties: {
|
|
14089
|
+
message: { type: "string" },
|
|
14090
|
+
warning_code: {
|
|
14091
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
14092
|
+
enum: ["salto_office_mode"],
|
|
14093
|
+
type: "string"
|
|
14094
|
+
}
|
|
14095
|
+
},
|
|
14096
|
+
required: ["message", "warning_code"],
|
|
14097
|
+
type: "object"
|
|
14098
|
+
},
|
|
14099
|
+
{
|
|
14100
|
+
description: "Lock is in Privacy Mode. Access Codes will not unlock doors.",
|
|
14101
|
+
properties: {
|
|
14102
|
+
message: { type: "string" },
|
|
14103
|
+
warning_code: {
|
|
14104
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
14105
|
+
enum: ["salto_privacy_mode"],
|
|
14106
|
+
type: "string"
|
|
14107
|
+
}
|
|
14108
|
+
},
|
|
14109
|
+
required: ["message", "warning_code"],
|
|
14110
|
+
type: "object"
|
|
14111
|
+
}
|
|
14112
|
+
]
|
|
14113
|
+
},
|
|
14114
|
+
type: "array"
|
|
14115
|
+
},
|
|
14116
|
+
workspace_id: {
|
|
14117
|
+
description: "Unique identifier for the Seam workspace associated with the device.",
|
|
14118
|
+
format: "uuid",
|
|
14119
|
+
type: "string"
|
|
14120
|
+
}
|
|
14121
|
+
},
|
|
14122
|
+
required: [
|
|
14123
|
+
"device_id",
|
|
14124
|
+
"device_type",
|
|
14125
|
+
"display_name",
|
|
14126
|
+
"capabilities_supported",
|
|
14127
|
+
"properties",
|
|
14128
|
+
"location",
|
|
14129
|
+
"workspace_id",
|
|
14130
|
+
"errors",
|
|
14131
|
+
"warnings",
|
|
14132
|
+
"created_at",
|
|
14133
|
+
"is_managed",
|
|
14134
|
+
"custom_metadata"
|
|
14135
|
+
],
|
|
14136
|
+
type: "object",
|
|
14137
|
+
"x-route-path": "/phones"
|
|
14138
|
+
},
|
|
14139
|
+
service_health: {
|
|
14140
|
+
properties: {
|
|
14141
|
+
description: { type: "string" },
|
|
14142
|
+
service: { type: "string" },
|
|
14143
|
+
status: { enum: ["healthy", "degraded", "down"], type: "string" }
|
|
14144
|
+
},
|
|
14145
|
+
required: ["service", "status", "description"],
|
|
14146
|
+
type: "object",
|
|
14147
|
+
"x-route-path": "/health"
|
|
14148
|
+
},
|
|
14149
|
+
thermostat_schedule: {
|
|
14150
|
+
description: "Represents a [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) that activates a configured [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) on a [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) at a specified starting time and deactivates the climate preset at a specified ending time.",
|
|
14151
|
+
properties: {
|
|
14152
|
+
climate_preset_key: {
|
|
14153
|
+
description: "Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the thermostat schedule.",
|
|
14154
|
+
type: "string"
|
|
14155
|
+
},
|
|
14156
|
+
created_at: {
|
|
14157
|
+
description: "Date and time at which the thermostat schedule was created.",
|
|
14158
|
+
format: "date-time",
|
|
14159
|
+
type: "string"
|
|
14160
|
+
},
|
|
14161
|
+
device_id: {
|
|
14162
|
+
description: "ID of the desired thermostat device.",
|
|
14163
|
+
format: "uuid",
|
|
14164
|
+
type: "string"
|
|
14165
|
+
},
|
|
14166
|
+
ends_at: {
|
|
14167
|
+
description: "Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
14168
|
+
format: "date-time",
|
|
14169
|
+
type: "string"
|
|
14170
|
+
},
|
|
14171
|
+
errors: {
|
|
14172
|
+
description: "Array of errors associated with the thermostat schedule. Each error object within the array contains two fields: `error_code` and `message`. `error_code` is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. `message` provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it.",
|
|
14173
|
+
items: {
|
|
14174
|
+
properties: {
|
|
14175
|
+
error_code: { type: "string" },
|
|
14176
|
+
message: { type: "string" }
|
|
14177
|
+
},
|
|
14178
|
+
required: ["error_code", "message"],
|
|
13725
14179
|
type: "object"
|
|
13726
14180
|
},
|
|
13727
14181
|
type: "array"
|
|
@@ -14502,12 +14956,203 @@ var openapi_default = {
|
|
|
14502
14956
|
warnings: {
|
|
14503
14957
|
description: 'Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it.',
|
|
14504
14958
|
items: {
|
|
14505
|
-
|
|
14506
|
-
|
|
14507
|
-
|
|
14508
|
-
|
|
14509
|
-
|
|
14510
|
-
|
|
14959
|
+
oneOf: [
|
|
14960
|
+
{
|
|
14961
|
+
description: "Backup access code unhealthy.",
|
|
14962
|
+
properties: {
|
|
14963
|
+
message: { type: "string" },
|
|
14964
|
+
warning_code: {
|
|
14965
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
14966
|
+
enum: ["partial_backup_access_code_pool"],
|
|
14967
|
+
type: "string"
|
|
14968
|
+
}
|
|
14969
|
+
},
|
|
14970
|
+
required: ["message", "warning_code"],
|
|
14971
|
+
type: "object"
|
|
14972
|
+
},
|
|
14973
|
+
{
|
|
14974
|
+
description: "Too many backup codes.",
|
|
14975
|
+
properties: {
|
|
14976
|
+
message: { type: "string" },
|
|
14977
|
+
warning_code: {
|
|
14978
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
14979
|
+
enum: ["many_active_backup_codes"],
|
|
14980
|
+
type: "string"
|
|
14981
|
+
}
|
|
14982
|
+
},
|
|
14983
|
+
required: ["message", "warning_code"],
|
|
14984
|
+
type: "object"
|
|
14985
|
+
},
|
|
14986
|
+
{
|
|
14987
|
+
description: "A Salto Lock displaying an unknown device type.",
|
|
14988
|
+
properties: {
|
|
14989
|
+
message: { type: "string" },
|
|
14990
|
+
warning_code: {
|
|
14991
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
14992
|
+
enum: ["salto_unknown_device_type"],
|
|
14993
|
+
type: "string"
|
|
14994
|
+
}
|
|
14995
|
+
},
|
|
14996
|
+
required: ["message", "warning_code"],
|
|
14997
|
+
type: "object"
|
|
14998
|
+
},
|
|
14999
|
+
{
|
|
15000
|
+
description: "Wyze Lock is not connected to a gateway.",
|
|
15001
|
+
properties: {
|
|
15002
|
+
message: { type: "string" },
|
|
15003
|
+
warning_code: {
|
|
15004
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
15005
|
+
enum: ["wyze_device_missing_gateway"],
|
|
15006
|
+
type: "string"
|
|
15007
|
+
}
|
|
15008
|
+
},
|
|
15009
|
+
required: ["message", "warning_code"],
|
|
15010
|
+
type: "object"
|
|
15011
|
+
},
|
|
15012
|
+
{
|
|
15013
|
+
description: "Device is offline, but has some functionality available.",
|
|
15014
|
+
properties: {
|
|
15015
|
+
message: { type: "string" },
|
|
15016
|
+
warning_code: {
|
|
15017
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
15018
|
+
enum: ["functional_offline_device"],
|
|
15019
|
+
type: "string"
|
|
15020
|
+
}
|
|
15021
|
+
},
|
|
15022
|
+
required: ["message", "warning_code"],
|
|
15023
|
+
type: "object"
|
|
15024
|
+
},
|
|
15025
|
+
{
|
|
15026
|
+
description: "Third-party integration detected.",
|
|
15027
|
+
properties: {
|
|
15028
|
+
message: { type: "string" },
|
|
15029
|
+
warning_code: {
|
|
15030
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
15031
|
+
enum: ["third_party_integration_detected"],
|
|
15032
|
+
type: "string"
|
|
15033
|
+
}
|
|
15034
|
+
},
|
|
15035
|
+
required: ["message", "warning_code"],
|
|
15036
|
+
type: "object"
|
|
15037
|
+
},
|
|
15038
|
+
{
|
|
15039
|
+
description: "Nest thermostat in manual eco mode.",
|
|
15040
|
+
properties: {
|
|
15041
|
+
message: { type: "string" },
|
|
15042
|
+
warning_code: {
|
|
15043
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
15044
|
+
enum: ["nest_thermostat_in_manual_eco_mode"],
|
|
15045
|
+
type: "string"
|
|
15046
|
+
}
|
|
15047
|
+
},
|
|
15048
|
+
required: ["message", "warning_code"],
|
|
15049
|
+
type: "object"
|
|
15050
|
+
},
|
|
15051
|
+
{
|
|
15052
|
+
description: "Remote Unlock feature not enabled in settings.",
|
|
15053
|
+
properties: {
|
|
15054
|
+
message: { type: "string" },
|
|
15055
|
+
warning_code: {
|
|
15056
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
15057
|
+
enum: ["ttlock_lock_gateway_unlocking_not_enabled"],
|
|
15058
|
+
type: "string"
|
|
15059
|
+
}
|
|
15060
|
+
},
|
|
15061
|
+
required: ["message", "warning_code"],
|
|
15062
|
+
type: "object"
|
|
15063
|
+
},
|
|
15064
|
+
{
|
|
15065
|
+
description: "Gateway signal is weak.",
|
|
15066
|
+
properties: {
|
|
15067
|
+
message: { type: "string" },
|
|
15068
|
+
warning_code: {
|
|
15069
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
15070
|
+
enum: ["ttlock_weak_gateway_signal"],
|
|
15071
|
+
type: "string"
|
|
15072
|
+
}
|
|
15073
|
+
},
|
|
15074
|
+
required: ["message", "warning_code"],
|
|
15075
|
+
type: "object"
|
|
15076
|
+
},
|
|
15077
|
+
{
|
|
15078
|
+
description: "Temperature threshold exceeded.",
|
|
15079
|
+
properties: {
|
|
15080
|
+
message: { type: "string" },
|
|
15081
|
+
warning_code: {
|
|
15082
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
15083
|
+
enum: ["temperature_threshold_exceeded"],
|
|
15084
|
+
type: "string"
|
|
15085
|
+
}
|
|
15086
|
+
},
|
|
15087
|
+
required: ["message", "warning_code"],
|
|
15088
|
+
type: "object"
|
|
15089
|
+
},
|
|
15090
|
+
{
|
|
15091
|
+
description: "Device appears to be unresponsive.",
|
|
15092
|
+
properties: {
|
|
15093
|
+
message: { type: "string" },
|
|
15094
|
+
warning_code: {
|
|
15095
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
15096
|
+
enum: ["device_communication_degraded"],
|
|
15097
|
+
type: "string"
|
|
15098
|
+
}
|
|
15099
|
+
},
|
|
15100
|
+
required: ["message", "warning_code"],
|
|
15101
|
+
type: "object"
|
|
15102
|
+
},
|
|
15103
|
+
{
|
|
15104
|
+
description: "Scheduled maintenance window detected.",
|
|
15105
|
+
properties: {
|
|
15106
|
+
message: { type: "string" },
|
|
15107
|
+
warning_code: {
|
|
15108
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
15109
|
+
enum: ["scheduled_maintenance_window"],
|
|
15110
|
+
type: "string"
|
|
15111
|
+
}
|
|
15112
|
+
},
|
|
15113
|
+
required: ["message", "warning_code"],
|
|
15114
|
+
type: "object"
|
|
15115
|
+
},
|
|
15116
|
+
{
|
|
15117
|
+
description: "Device has flaky connection.",
|
|
15118
|
+
properties: {
|
|
15119
|
+
message: { type: "string" },
|
|
15120
|
+
warning_code: {
|
|
15121
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
15122
|
+
enum: ["device_has_flaky_connection"],
|
|
15123
|
+
type: "string"
|
|
15124
|
+
}
|
|
15125
|
+
},
|
|
15126
|
+
required: ["message", "warning_code"],
|
|
15127
|
+
type: "object"
|
|
15128
|
+
},
|
|
15129
|
+
{
|
|
15130
|
+
description: "Lock is in Office Mode. Access Codes will not unlock doors.",
|
|
15131
|
+
properties: {
|
|
15132
|
+
message: { type: "string" },
|
|
15133
|
+
warning_code: {
|
|
15134
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
15135
|
+
enum: ["salto_office_mode"],
|
|
15136
|
+
type: "string"
|
|
15137
|
+
}
|
|
15138
|
+
},
|
|
15139
|
+
required: ["message", "warning_code"],
|
|
15140
|
+
type: "object"
|
|
15141
|
+
},
|
|
15142
|
+
{
|
|
15143
|
+
description: "Lock is in Privacy Mode. Access Codes will not unlock doors.",
|
|
15144
|
+
properties: {
|
|
15145
|
+
message: { type: "string" },
|
|
15146
|
+
warning_code: {
|
|
15147
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
15148
|
+
enum: ["salto_privacy_mode"],
|
|
15149
|
+
type: "string"
|
|
15150
|
+
}
|
|
15151
|
+
},
|
|
15152
|
+
required: ["message", "warning_code"],
|
|
15153
|
+
type: "object"
|
|
15154
|
+
}
|
|
15155
|
+
]
|
|
14511
15156
|
},
|
|
14512
15157
|
type: "array"
|
|
14513
15158
|
},
|
|
@@ -17588,7 +18233,9 @@ var openapi_default = {
|
|
|
17588
18233
|
"brivo_credential",
|
|
17589
18234
|
"hid_credential",
|
|
17590
18235
|
"visionline_card",
|
|
17591
|
-
"salto_ks_credential"
|
|
18236
|
+
"salto_ks_credential",
|
|
18237
|
+
"assa_abloy_vostio_card",
|
|
18238
|
+
"assa_abloy_vostio_mobile_key"
|
|
17592
18239
|
],
|
|
17593
18240
|
type: "string"
|
|
17594
18241
|
},
|
|
@@ -17999,7 +18646,9 @@ var openapi_default = {
|
|
|
17999
18646
|
"brivo_credential",
|
|
18000
18647
|
"hid_credential",
|
|
18001
18648
|
"visionline_card",
|
|
18002
|
-
"salto_ks_credential"
|
|
18649
|
+
"salto_ks_credential",
|
|
18650
|
+
"assa_abloy_vostio_card",
|
|
18651
|
+
"assa_abloy_vostio_mobile_key"
|
|
18003
18652
|
],
|
|
18004
18653
|
type: "string"
|
|
18005
18654
|
},
|