@seamapi/types 1.869.0 → 1.871.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 +283 -11
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1075 -0
- package/dist/index.cjs +283 -11
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +333 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js +61 -3
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +123 -0
- package/lib/seam/connect/models/batch.d.ts +330 -0
- package/lib/seam/connect/openapi.js +222 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +418 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +80 -3
- package/src/lib/seam/connect/openapi.ts +256 -0
- package/src/lib/seam/connect/route-types.ts +484 -0
package/dist/connect.cjs
CHANGED
|
@@ -2312,8 +2312,21 @@ var smartthings_failed_to_set_access_code_error = common_access_code_error.exten
|
|
|
2312
2312
|
var smartthings_failed_to_set_after_multiple_retries = common_access_code_error.extend({
|
|
2313
2313
|
error_code: zod.z.literal("smartthings_failed_to_set_after_multiple_retries").describe(error_code_description3)
|
|
2314
2314
|
}).describe("Failed to set code after multiple retries.");
|
|
2315
|
+
var modified_field = zod.z.object({
|
|
2316
|
+
field: zod.z.string().describe(
|
|
2317
|
+
"The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`)."
|
|
2318
|
+
),
|
|
2319
|
+
from: zod.z.string().nullable().describe("The previous value of the field."),
|
|
2320
|
+
to: zod.z.string().nullable().describe("The new value of the field.")
|
|
2321
|
+
});
|
|
2315
2322
|
var code_modified_external_to_seam_error = common_access_code_error.extend({
|
|
2316
|
-
error_code: zod.z.literal("code_modified_external_to_seam").describe(error_code_description3)
|
|
2323
|
+
error_code: zod.z.literal("code_modified_external_to_seam").describe(error_code_description3),
|
|
2324
|
+
change_type: zod.z.enum(["modified", "removed"]).optional().describe(
|
|
2325
|
+
"Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device."
|
|
2326
|
+
),
|
|
2327
|
+
modified_fields: zod.z.array(modified_field).optional().describe(
|
|
2328
|
+
"List of fields that were changed externally, with their previous and new values."
|
|
2329
|
+
)
|
|
2317
2330
|
}).describe(
|
|
2318
2331
|
"Code was modified or removed externally after Seam successfully set it on the device."
|
|
2319
2332
|
);
|
|
@@ -2338,13 +2351,30 @@ var duplicate_code_attempt_prevented = common_access_code_error.extend({
|
|
|
2338
2351
|
var no_space_for_access_code_on_device = common_access_code_error.extend({
|
|
2339
2352
|
error_code: zod.z.literal("no_space_for_access_code_on_device").describe(error_code_description3)
|
|
2340
2353
|
}).describe("No space for access code on device.");
|
|
2354
|
+
var access_code_state_unconfirmed = common_access_code_error.extend({
|
|
2355
|
+
error_code: zod.z.literal("access_code_state_unconfirmed").describe(error_code_description3)
|
|
2356
|
+
}).describe(
|
|
2357
|
+
"Indicates that the provider cannot confirm whether the access code was set or removed on the device."
|
|
2358
|
+
);
|
|
2341
2359
|
var kwikset_unable_to_confirm_code = common_access_code_error.extend({
|
|
2342
2360
|
error_code: zod.z.literal("kwikset_unable_to_confirm_code").describe(error_code_description3)
|
|
2343
|
-
}).describe(
|
|
2361
|
+
}).describe(
|
|
2362
|
+
`
|
|
2363
|
+
---
|
|
2364
|
+
deprecated: Use \`access_code_state_unconfirmed\` instead.
|
|
2365
|
+
---
|
|
2366
|
+
Unable to confirm that the access code is set on Kwikset device.
|
|
2367
|
+
`
|
|
2368
|
+
);
|
|
2344
2369
|
var kwikset_unable_to_confirm_deletion = common_access_code_error.extend({
|
|
2345
2370
|
error_code: zod.z.literal("kwikset_unable_to_confirm_deletion").describe(error_code_description3)
|
|
2346
2371
|
}).describe(
|
|
2347
|
-
|
|
2372
|
+
`
|
|
2373
|
+
---
|
|
2374
|
+
deprecated: Use \`access_code_state_unconfirmed\` instead.
|
|
2375
|
+
---
|
|
2376
|
+
Unable to confirm the deletion of the access code on Kwikset device.
|
|
2377
|
+
`
|
|
2348
2378
|
);
|
|
2349
2379
|
var kwikset_insufficient_permissions = common_access_code_error.extend({
|
|
2350
2380
|
error_code: zod.z.literal("kwikset_insufficient_permissions").describe(error_code_description3)
|
|
@@ -2404,6 +2434,7 @@ var access_code_error = zod.z.discriminatedUnion("error_code", [
|
|
|
2404
2434
|
duplicate_code_on_device,
|
|
2405
2435
|
duplicate_code_attempt_prevented,
|
|
2406
2436
|
no_space_for_access_code_on_device,
|
|
2437
|
+
access_code_state_unconfirmed,
|
|
2407
2438
|
kwikset_unable_to_confirm_code,
|
|
2408
2439
|
kwikset_unable_to_confirm_deletion,
|
|
2409
2440
|
code_modified_external_to_seam_error,
|
|
@@ -2428,6 +2459,7 @@ zod.z.object({
|
|
|
2428
2459
|
no_space_for_access_code_on_device: no_space_for_access_code_on_device.optional().nullable(),
|
|
2429
2460
|
duplicate_code_on_device: duplicate_code_on_device.optional().nullable(),
|
|
2430
2461
|
duplicate_code_attempt_prevented: duplicate_code_attempt_prevented.optional().nullable(),
|
|
2462
|
+
access_code_state_unconfirmed: access_code_state_unconfirmed.optional().nullable(),
|
|
2431
2463
|
kwikset_unable_to_confirm_code: kwikset_unable_to_confirm_code.optional().nullable(),
|
|
2432
2464
|
kwikset_unable_to_confirm_deletion: kwikset_unable_to_confirm_deletion.optional().nullable(),
|
|
2433
2465
|
kwikset_insufficient_permissions: kwikset_insufficient_permissions.optional().nullable(),
|
|
@@ -2456,7 +2488,13 @@ var august_lock_temporarily_offline_warning = common_access_code_warning.extend(
|
|
|
2456
2488
|
warning_code: zod.z.literal("august_lock_temporarily_offline").describe(error_code_description3)
|
|
2457
2489
|
}).describe("August lock is temporarily offline.");
|
|
2458
2490
|
var code_modified_external_to_seam_warning = common_access_code_warning.extend({
|
|
2459
|
-
warning_code: zod.z.literal("code_modified_external_to_seam").describe(warning_code_description3)
|
|
2491
|
+
warning_code: zod.z.literal("code_modified_external_to_seam").describe(warning_code_description3),
|
|
2492
|
+
change_type: zod.z.enum(["modified", "removed"]).optional().describe(
|
|
2493
|
+
"Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device."
|
|
2494
|
+
),
|
|
2495
|
+
modified_fields: zod.z.array(modified_field).optional().describe(
|
|
2496
|
+
"List of fields that were changed externally, with their previous and new values."
|
|
2497
|
+
)
|
|
2460
2498
|
}).describe(
|
|
2461
2499
|
"Code was modified or removed externally after Seam successfully set it on the device."
|
|
2462
2500
|
);
|
|
@@ -2498,10 +2536,20 @@ var management_transferred = common_access_code_warning.extend({
|
|
|
2498
2536
|
var kwikset_unable_to_confirm_code_warning = common_access_code_warning.extend({
|
|
2499
2537
|
warning_code: zod.z.literal("kwikset_unable_to_confirm_code").describe(warning_code_description3)
|
|
2500
2538
|
}).describe("Unable to confirm that the access code is set on Kwikset device.");
|
|
2539
|
+
var access_code_inactive = common_access_code_warning.extend({
|
|
2540
|
+
warning_code: zod.z.literal("access_code_inactive").describe(warning_code_description3)
|
|
2541
|
+
}).describe(
|
|
2542
|
+
"Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled."
|
|
2543
|
+
);
|
|
2501
2544
|
var ultraloq_access_code_disabled = common_access_code_warning.extend({
|
|
2502
2545
|
warning_code: zod.z.literal("ultraloq_access_code_disabled").describe(warning_code_description3)
|
|
2503
2546
|
}).describe(
|
|
2504
|
-
|
|
2547
|
+
`
|
|
2548
|
+
---
|
|
2549
|
+
deprecated: Use \`access_code_inactive\` instead.
|
|
2550
|
+
---
|
|
2551
|
+
Access code is disabled on Ultraloq device. Re-enable through the Ultraloq mobile app.
|
|
2552
|
+
`
|
|
2505
2553
|
);
|
|
2506
2554
|
var using_backup_access_code = common_access_code_warning.extend({
|
|
2507
2555
|
warning_code: zod.z.literal("using_backup_access_code").describe(warning_code_description3)
|
|
@@ -2524,6 +2572,7 @@ var access_code_warning = zod.z.discriminatedUnion("warning_code", [
|
|
|
2524
2572
|
igloo_algopin_must_be_used_within_24_hours,
|
|
2525
2573
|
management_transferred,
|
|
2526
2574
|
kwikset_unable_to_confirm_code_warning,
|
|
2575
|
+
access_code_inactive,
|
|
2527
2576
|
ultraloq_access_code_disabled,
|
|
2528
2577
|
using_backup_access_code,
|
|
2529
2578
|
being_deleted2
|
|
@@ -2543,6 +2592,7 @@ zod.z.object({
|
|
|
2543
2592
|
igloo_algopin_must_be_used_within_24_hours: igloo_algopin_must_be_used_within_24_hours.optional().nullable(),
|
|
2544
2593
|
management_transferred: management_transferred.optional().nullable(),
|
|
2545
2594
|
kwikset_unable_to_confirm_code_warning: kwikset_unable_to_confirm_code_warning.optional().nullable(),
|
|
2595
|
+
access_code_inactive: access_code_inactive.optional().nullable(),
|
|
2546
2596
|
ultraloq_access_code_disabled: ultraloq_access_code_disabled.optional().nullable(),
|
|
2547
2597
|
using_backup_access_code: using_backup_access_code.optional().nullable(),
|
|
2548
2598
|
being_deleted: being_deleted2.optional().nullable()
|
|
@@ -7380,6 +7430,33 @@ var openapi = {
|
|
|
7380
7430
|
type: "object"
|
|
7381
7431
|
},
|
|
7382
7432
|
{
|
|
7433
|
+
description: "Indicates that the provider cannot confirm whether the access code was set or removed on the device.",
|
|
7434
|
+
properties: {
|
|
7435
|
+
created_at: {
|
|
7436
|
+
description: "Date and time at which Seam created the error.",
|
|
7437
|
+
format: "date-time",
|
|
7438
|
+
type: "string"
|
|
7439
|
+
},
|
|
7440
|
+
error_code: {
|
|
7441
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
7442
|
+
enum: ["access_code_state_unconfirmed"],
|
|
7443
|
+
type: "string"
|
|
7444
|
+
},
|
|
7445
|
+
is_access_code_error: {
|
|
7446
|
+
description: "Indicates that this is an access code error.",
|
|
7447
|
+
enum: [true],
|
|
7448
|
+
type: "boolean"
|
|
7449
|
+
},
|
|
7450
|
+
message: {
|
|
7451
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
7452
|
+
type: "string"
|
|
7453
|
+
}
|
|
7454
|
+
},
|
|
7455
|
+
required: ["message", "is_access_code_error", "error_code"],
|
|
7456
|
+
type: "object"
|
|
7457
|
+
},
|
|
7458
|
+
{
|
|
7459
|
+
deprecated: true,
|
|
7383
7460
|
description: "Unable to confirm that the access code is set on Kwikset device.",
|
|
7384
7461
|
properties: {
|
|
7385
7462
|
created_at: {
|
|
@@ -7403,9 +7480,11 @@ var openapi = {
|
|
|
7403
7480
|
}
|
|
7404
7481
|
},
|
|
7405
7482
|
required: ["message", "is_access_code_error", "error_code"],
|
|
7406
|
-
type: "object"
|
|
7483
|
+
type: "object",
|
|
7484
|
+
"x-deprecated": "Use `access_code_state_unconfirmed` instead."
|
|
7407
7485
|
},
|
|
7408
7486
|
{
|
|
7487
|
+
deprecated: true,
|
|
7409
7488
|
description: "Unable to confirm the deletion of the access code on Kwikset device.",
|
|
7410
7489
|
properties: {
|
|
7411
7490
|
created_at: {
|
|
@@ -7429,11 +7508,17 @@ var openapi = {
|
|
|
7429
7508
|
}
|
|
7430
7509
|
},
|
|
7431
7510
|
required: ["message", "is_access_code_error", "error_code"],
|
|
7432
|
-
type: "object"
|
|
7511
|
+
type: "object",
|
|
7512
|
+
"x-deprecated": "Use `access_code_state_unconfirmed` instead."
|
|
7433
7513
|
},
|
|
7434
7514
|
{
|
|
7435
7515
|
description: "Code was modified or removed externally after Seam successfully set it on the device.",
|
|
7436
7516
|
properties: {
|
|
7517
|
+
change_type: {
|
|
7518
|
+
description: "Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device.",
|
|
7519
|
+
enum: ["modified", "removed"],
|
|
7520
|
+
type: "string"
|
|
7521
|
+
},
|
|
7437
7522
|
created_at: {
|
|
7438
7523
|
description: "Date and time at which Seam created the error.",
|
|
7439
7524
|
format: "date-time",
|
|
@@ -7452,6 +7537,30 @@ var openapi = {
|
|
|
7452
7537
|
message: {
|
|
7453
7538
|
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
7454
7539
|
type: "string"
|
|
7540
|
+
},
|
|
7541
|
+
modified_fields: {
|
|
7542
|
+
description: "List of fields that were changed externally, with their previous and new values.",
|
|
7543
|
+
items: {
|
|
7544
|
+
properties: {
|
|
7545
|
+
field: {
|
|
7546
|
+
description: "The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`).",
|
|
7547
|
+
type: "string"
|
|
7548
|
+
},
|
|
7549
|
+
from: {
|
|
7550
|
+
description: "The previous value of the field.",
|
|
7551
|
+
nullable: true,
|
|
7552
|
+
type: "string"
|
|
7553
|
+
},
|
|
7554
|
+
to: {
|
|
7555
|
+
description: "The new value of the field.",
|
|
7556
|
+
nullable: true,
|
|
7557
|
+
type: "string"
|
|
7558
|
+
}
|
|
7559
|
+
},
|
|
7560
|
+
required: ["field", "from", "to"],
|
|
7561
|
+
type: "object"
|
|
7562
|
+
},
|
|
7563
|
+
type: "array"
|
|
7455
7564
|
}
|
|
7456
7565
|
},
|
|
7457
7566
|
required: ["message", "is_access_code_error", "error_code"],
|
|
@@ -8626,6 +8735,11 @@ var openapi = {
|
|
|
8626
8735
|
{
|
|
8627
8736
|
description: "Code was modified or removed externally after Seam successfully set it on the device.",
|
|
8628
8737
|
properties: {
|
|
8738
|
+
change_type: {
|
|
8739
|
+
description: "Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device.",
|
|
8740
|
+
enum: ["modified", "removed"],
|
|
8741
|
+
type: "string"
|
|
8742
|
+
},
|
|
8629
8743
|
created_at: {
|
|
8630
8744
|
description: "Date and time at which Seam created the warning.",
|
|
8631
8745
|
format: "date-time",
|
|
@@ -8635,6 +8749,30 @@ var openapi = {
|
|
|
8635
8749
|
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
8636
8750
|
type: "string"
|
|
8637
8751
|
},
|
|
8752
|
+
modified_fields: {
|
|
8753
|
+
description: "List of fields that were changed externally, with their previous and new values.",
|
|
8754
|
+
items: {
|
|
8755
|
+
properties: {
|
|
8756
|
+
field: {
|
|
8757
|
+
description: "The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`).",
|
|
8758
|
+
type: "string"
|
|
8759
|
+
},
|
|
8760
|
+
from: {
|
|
8761
|
+
description: "The previous value of the field.",
|
|
8762
|
+
nullable: true,
|
|
8763
|
+
type: "string"
|
|
8764
|
+
},
|
|
8765
|
+
to: {
|
|
8766
|
+
description: "The new value of the field.",
|
|
8767
|
+
nullable: true,
|
|
8768
|
+
type: "string"
|
|
8769
|
+
}
|
|
8770
|
+
},
|
|
8771
|
+
required: ["field", "from", "to"],
|
|
8772
|
+
type: "object"
|
|
8773
|
+
},
|
|
8774
|
+
type: "array"
|
|
8775
|
+
},
|
|
8638
8776
|
warning_code: {
|
|
8639
8777
|
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
8640
8778
|
enum: ["code_modified_external_to_seam"],
|
|
@@ -8792,6 +8930,28 @@ var openapi = {
|
|
|
8792
8930
|
type: "object"
|
|
8793
8931
|
},
|
|
8794
8932
|
{
|
|
8933
|
+
description: "Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.",
|
|
8934
|
+
properties: {
|
|
8935
|
+
created_at: {
|
|
8936
|
+
description: "Date and time at which Seam created the warning.",
|
|
8937
|
+
format: "date-time",
|
|
8938
|
+
type: "string"
|
|
8939
|
+
},
|
|
8940
|
+
message: {
|
|
8941
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
8942
|
+
type: "string"
|
|
8943
|
+
},
|
|
8944
|
+
warning_code: {
|
|
8945
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
8946
|
+
enum: ["access_code_inactive"],
|
|
8947
|
+
type: "string"
|
|
8948
|
+
}
|
|
8949
|
+
},
|
|
8950
|
+
required: ["message", "warning_code"],
|
|
8951
|
+
type: "object"
|
|
8952
|
+
},
|
|
8953
|
+
{
|
|
8954
|
+
deprecated: true,
|
|
8795
8955
|
description: "Access code is disabled on Ultraloq device. Re-enable through the Ultraloq mobile app.",
|
|
8796
8956
|
properties: {
|
|
8797
8957
|
created_at: {
|
|
@@ -8810,7 +8970,8 @@ var openapi = {
|
|
|
8810
8970
|
}
|
|
8811
8971
|
},
|
|
8812
8972
|
required: ["message", "warning_code"],
|
|
8813
|
-
type: "object"
|
|
8973
|
+
type: "object",
|
|
8974
|
+
"x-deprecated": "Use `access_code_inactive` instead."
|
|
8814
8975
|
},
|
|
8815
8976
|
{
|
|
8816
8977
|
description: "A backup access code has been pulled and is being used in place of this access code.",
|
|
@@ -31829,6 +31990,33 @@ var openapi = {
|
|
|
31829
31990
|
type: "object"
|
|
31830
31991
|
},
|
|
31831
31992
|
{
|
|
31993
|
+
description: "Indicates that the provider cannot confirm whether the access code was set or removed on the device.",
|
|
31994
|
+
properties: {
|
|
31995
|
+
created_at: {
|
|
31996
|
+
description: "Date and time at which Seam created the error.",
|
|
31997
|
+
format: "date-time",
|
|
31998
|
+
type: "string"
|
|
31999
|
+
},
|
|
32000
|
+
error_code: {
|
|
32001
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
32002
|
+
enum: ["access_code_state_unconfirmed"],
|
|
32003
|
+
type: "string"
|
|
32004
|
+
},
|
|
32005
|
+
is_access_code_error: {
|
|
32006
|
+
description: "Indicates that this is an access code error.",
|
|
32007
|
+
enum: [true],
|
|
32008
|
+
type: "boolean"
|
|
32009
|
+
},
|
|
32010
|
+
message: {
|
|
32011
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
32012
|
+
type: "string"
|
|
32013
|
+
}
|
|
32014
|
+
},
|
|
32015
|
+
required: ["message", "is_access_code_error", "error_code"],
|
|
32016
|
+
type: "object"
|
|
32017
|
+
},
|
|
32018
|
+
{
|
|
32019
|
+
deprecated: true,
|
|
31832
32020
|
description: "Unable to confirm that the access code is set on Kwikset device.",
|
|
31833
32021
|
properties: {
|
|
31834
32022
|
created_at: {
|
|
@@ -31852,9 +32040,11 @@ var openapi = {
|
|
|
31852
32040
|
}
|
|
31853
32041
|
},
|
|
31854
32042
|
required: ["message", "is_access_code_error", "error_code"],
|
|
31855
|
-
type: "object"
|
|
32043
|
+
type: "object",
|
|
32044
|
+
"x-deprecated": "Use `access_code_state_unconfirmed` instead."
|
|
31856
32045
|
},
|
|
31857
32046
|
{
|
|
32047
|
+
deprecated: true,
|
|
31858
32048
|
description: "Unable to confirm the deletion of the access code on Kwikset device.",
|
|
31859
32049
|
properties: {
|
|
31860
32050
|
created_at: {
|
|
@@ -31878,11 +32068,17 @@ var openapi = {
|
|
|
31878
32068
|
}
|
|
31879
32069
|
},
|
|
31880
32070
|
required: ["message", "is_access_code_error", "error_code"],
|
|
31881
|
-
type: "object"
|
|
32071
|
+
type: "object",
|
|
32072
|
+
"x-deprecated": "Use `access_code_state_unconfirmed` instead."
|
|
31882
32073
|
},
|
|
31883
32074
|
{
|
|
31884
32075
|
description: "Code was modified or removed externally after Seam successfully set it on the device.",
|
|
31885
32076
|
properties: {
|
|
32077
|
+
change_type: {
|
|
32078
|
+
description: "Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device.",
|
|
32079
|
+
enum: ["modified", "removed"],
|
|
32080
|
+
type: "string"
|
|
32081
|
+
},
|
|
31886
32082
|
created_at: {
|
|
31887
32083
|
description: "Date and time at which Seam created the error.",
|
|
31888
32084
|
format: "date-time",
|
|
@@ -31901,6 +32097,30 @@ var openapi = {
|
|
|
31901
32097
|
message: {
|
|
31902
32098
|
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
31903
32099
|
type: "string"
|
|
32100
|
+
},
|
|
32101
|
+
modified_fields: {
|
|
32102
|
+
description: "List of fields that were changed externally, with their previous and new values.",
|
|
32103
|
+
items: {
|
|
32104
|
+
properties: {
|
|
32105
|
+
field: {
|
|
32106
|
+
description: "The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`).",
|
|
32107
|
+
type: "string"
|
|
32108
|
+
},
|
|
32109
|
+
from: {
|
|
32110
|
+
description: "The previous value of the field.",
|
|
32111
|
+
nullable: true,
|
|
32112
|
+
type: "string"
|
|
32113
|
+
},
|
|
32114
|
+
to: {
|
|
32115
|
+
description: "The new value of the field.",
|
|
32116
|
+
nullable: true,
|
|
32117
|
+
type: "string"
|
|
32118
|
+
}
|
|
32119
|
+
},
|
|
32120
|
+
required: ["field", "from", "to"],
|
|
32121
|
+
type: "object"
|
|
32122
|
+
},
|
|
32123
|
+
type: "array"
|
|
31904
32124
|
}
|
|
31905
32125
|
},
|
|
31906
32126
|
required: ["message", "is_access_code_error", "error_code"],
|
|
@@ -32792,6 +33012,11 @@ var openapi = {
|
|
|
32792
33012
|
{
|
|
32793
33013
|
description: "Code was modified or removed externally after Seam successfully set it on the device.",
|
|
32794
33014
|
properties: {
|
|
33015
|
+
change_type: {
|
|
33016
|
+
description: "Indicates the type of external modification. `modified` means the code's PIN or schedule was changed. `removed` means the code was deleted from the device.",
|
|
33017
|
+
enum: ["modified", "removed"],
|
|
33018
|
+
type: "string"
|
|
33019
|
+
},
|
|
32795
33020
|
created_at: {
|
|
32796
33021
|
description: "Date and time at which Seam created the warning.",
|
|
32797
33022
|
format: "date-time",
|
|
@@ -32801,6 +33026,30 @@ var openapi = {
|
|
|
32801
33026
|
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
32802
33027
|
type: "string"
|
|
32803
33028
|
},
|
|
33029
|
+
modified_fields: {
|
|
33030
|
+
description: "List of fields that were changed externally, with their previous and new values.",
|
|
33031
|
+
items: {
|
|
33032
|
+
properties: {
|
|
33033
|
+
field: {
|
|
33034
|
+
description: "The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`).",
|
|
33035
|
+
type: "string"
|
|
33036
|
+
},
|
|
33037
|
+
from: {
|
|
33038
|
+
description: "The previous value of the field.",
|
|
33039
|
+
nullable: true,
|
|
33040
|
+
type: "string"
|
|
33041
|
+
},
|
|
33042
|
+
to: {
|
|
33043
|
+
description: "The new value of the field.",
|
|
33044
|
+
nullable: true,
|
|
33045
|
+
type: "string"
|
|
33046
|
+
}
|
|
33047
|
+
},
|
|
33048
|
+
required: ["field", "from", "to"],
|
|
33049
|
+
type: "object"
|
|
33050
|
+
},
|
|
33051
|
+
type: "array"
|
|
33052
|
+
},
|
|
32804
33053
|
warning_code: {
|
|
32805
33054
|
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
32806
33055
|
enum: ["code_modified_external_to_seam"],
|
|
@@ -32958,6 +33207,28 @@ var openapi = {
|
|
|
32958
33207
|
type: "object"
|
|
32959
33208
|
},
|
|
32960
33209
|
{
|
|
33210
|
+
description: "Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.",
|
|
33211
|
+
properties: {
|
|
33212
|
+
created_at: {
|
|
33213
|
+
description: "Date and time at which Seam created the warning.",
|
|
33214
|
+
format: "date-time",
|
|
33215
|
+
type: "string"
|
|
33216
|
+
},
|
|
33217
|
+
message: {
|
|
33218
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
33219
|
+
type: "string"
|
|
33220
|
+
},
|
|
33221
|
+
warning_code: {
|
|
33222
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
33223
|
+
enum: ["access_code_inactive"],
|
|
33224
|
+
type: "string"
|
|
33225
|
+
}
|
|
33226
|
+
},
|
|
33227
|
+
required: ["message", "warning_code"],
|
|
33228
|
+
type: "object"
|
|
33229
|
+
},
|
|
33230
|
+
{
|
|
33231
|
+
deprecated: true,
|
|
32961
33232
|
description: "Access code is disabled on Ultraloq device. Re-enable through the Ultraloq mobile app.",
|
|
32962
33233
|
properties: {
|
|
32963
33234
|
created_at: {
|
|
@@ -32976,7 +33247,8 @@ var openapi = {
|
|
|
32976
33247
|
}
|
|
32977
33248
|
},
|
|
32978
33249
|
required: ["message", "warning_code"],
|
|
32979
|
-
type: "object"
|
|
33250
|
+
type: "object",
|
|
33251
|
+
"x-deprecated": "Use `access_code_inactive` instead."
|
|
32980
33252
|
},
|
|
32981
33253
|
{
|
|
32982
33254
|
description: "A backup access code has been pulled and is being used in place of this access code.",
|