@seamapi/types 1.869.0 → 1.870.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 +146 -9
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +429 -0
- package/dist/index.cjs +146 -9
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +129 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js +38 -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 +47 -0
- package/lib/seam/connect/models/batch.d.ts +130 -0
- package/lib/seam/connect/openapi.js +106 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +176 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +46 -3
- package/src/lib/seam/connect/openapi.ts +128 -0
- package/src/lib/seam/connect/route-types.ts +198 -0
package/dist/connect.cjs
CHANGED
|
@@ -2338,13 +2338,30 @@ var duplicate_code_attempt_prevented = common_access_code_error.extend({
|
|
|
2338
2338
|
var no_space_for_access_code_on_device = common_access_code_error.extend({
|
|
2339
2339
|
error_code: zod.z.literal("no_space_for_access_code_on_device").describe(error_code_description3)
|
|
2340
2340
|
}).describe("No space for access code on device.");
|
|
2341
|
+
var access_code_state_unconfirmed = common_access_code_error.extend({
|
|
2342
|
+
error_code: zod.z.literal("access_code_state_unconfirmed").describe(error_code_description3)
|
|
2343
|
+
}).describe(
|
|
2344
|
+
"Indicates that the provider cannot confirm whether the access code was set or removed on the device."
|
|
2345
|
+
);
|
|
2341
2346
|
var kwikset_unable_to_confirm_code = common_access_code_error.extend({
|
|
2342
2347
|
error_code: zod.z.literal("kwikset_unable_to_confirm_code").describe(error_code_description3)
|
|
2343
|
-
}).describe(
|
|
2348
|
+
}).describe(
|
|
2349
|
+
`
|
|
2350
|
+
---
|
|
2351
|
+
deprecated: Use \`access_code_state_unconfirmed\` instead.
|
|
2352
|
+
---
|
|
2353
|
+
Unable to confirm that the access code is set on Kwikset device.
|
|
2354
|
+
`
|
|
2355
|
+
);
|
|
2344
2356
|
var kwikset_unable_to_confirm_deletion = common_access_code_error.extend({
|
|
2345
2357
|
error_code: zod.z.literal("kwikset_unable_to_confirm_deletion").describe(error_code_description3)
|
|
2346
2358
|
}).describe(
|
|
2347
|
-
|
|
2359
|
+
`
|
|
2360
|
+
---
|
|
2361
|
+
deprecated: Use \`access_code_state_unconfirmed\` instead.
|
|
2362
|
+
---
|
|
2363
|
+
Unable to confirm the deletion of the access code on Kwikset device.
|
|
2364
|
+
`
|
|
2348
2365
|
);
|
|
2349
2366
|
var kwikset_insufficient_permissions = common_access_code_error.extend({
|
|
2350
2367
|
error_code: zod.z.literal("kwikset_insufficient_permissions").describe(error_code_description3)
|
|
@@ -2404,6 +2421,7 @@ var access_code_error = zod.z.discriminatedUnion("error_code", [
|
|
|
2404
2421
|
duplicate_code_on_device,
|
|
2405
2422
|
duplicate_code_attempt_prevented,
|
|
2406
2423
|
no_space_for_access_code_on_device,
|
|
2424
|
+
access_code_state_unconfirmed,
|
|
2407
2425
|
kwikset_unable_to_confirm_code,
|
|
2408
2426
|
kwikset_unable_to_confirm_deletion,
|
|
2409
2427
|
code_modified_external_to_seam_error,
|
|
@@ -2428,6 +2446,7 @@ zod.z.object({
|
|
|
2428
2446
|
no_space_for_access_code_on_device: no_space_for_access_code_on_device.optional().nullable(),
|
|
2429
2447
|
duplicate_code_on_device: duplicate_code_on_device.optional().nullable(),
|
|
2430
2448
|
duplicate_code_attempt_prevented: duplicate_code_attempt_prevented.optional().nullable(),
|
|
2449
|
+
access_code_state_unconfirmed: access_code_state_unconfirmed.optional().nullable(),
|
|
2431
2450
|
kwikset_unable_to_confirm_code: kwikset_unable_to_confirm_code.optional().nullable(),
|
|
2432
2451
|
kwikset_unable_to_confirm_deletion: kwikset_unable_to_confirm_deletion.optional().nullable(),
|
|
2433
2452
|
kwikset_insufficient_permissions: kwikset_insufficient_permissions.optional().nullable(),
|
|
@@ -2498,10 +2517,20 @@ var management_transferred = common_access_code_warning.extend({
|
|
|
2498
2517
|
var kwikset_unable_to_confirm_code_warning = common_access_code_warning.extend({
|
|
2499
2518
|
warning_code: zod.z.literal("kwikset_unable_to_confirm_code").describe(warning_code_description3)
|
|
2500
2519
|
}).describe("Unable to confirm that the access code is set on Kwikset device.");
|
|
2520
|
+
var access_code_inactive = common_access_code_warning.extend({
|
|
2521
|
+
warning_code: zod.z.literal("access_code_inactive").describe(warning_code_description3)
|
|
2522
|
+
}).describe(
|
|
2523
|
+
"Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled."
|
|
2524
|
+
);
|
|
2501
2525
|
var ultraloq_access_code_disabled = common_access_code_warning.extend({
|
|
2502
2526
|
warning_code: zod.z.literal("ultraloq_access_code_disabled").describe(warning_code_description3)
|
|
2503
2527
|
}).describe(
|
|
2504
|
-
|
|
2528
|
+
`
|
|
2529
|
+
---
|
|
2530
|
+
deprecated: Use \`access_code_inactive\` instead.
|
|
2531
|
+
---
|
|
2532
|
+
Access code is disabled on Ultraloq device. Re-enable through the Ultraloq mobile app.
|
|
2533
|
+
`
|
|
2505
2534
|
);
|
|
2506
2535
|
var using_backup_access_code = common_access_code_warning.extend({
|
|
2507
2536
|
warning_code: zod.z.literal("using_backup_access_code").describe(warning_code_description3)
|
|
@@ -2524,6 +2553,7 @@ var access_code_warning = zod.z.discriminatedUnion("warning_code", [
|
|
|
2524
2553
|
igloo_algopin_must_be_used_within_24_hours,
|
|
2525
2554
|
management_transferred,
|
|
2526
2555
|
kwikset_unable_to_confirm_code_warning,
|
|
2556
|
+
access_code_inactive,
|
|
2527
2557
|
ultraloq_access_code_disabled,
|
|
2528
2558
|
using_backup_access_code,
|
|
2529
2559
|
being_deleted2
|
|
@@ -2543,6 +2573,7 @@ zod.z.object({
|
|
|
2543
2573
|
igloo_algopin_must_be_used_within_24_hours: igloo_algopin_must_be_used_within_24_hours.optional().nullable(),
|
|
2544
2574
|
management_transferred: management_transferred.optional().nullable(),
|
|
2545
2575
|
kwikset_unable_to_confirm_code_warning: kwikset_unable_to_confirm_code_warning.optional().nullable(),
|
|
2576
|
+
access_code_inactive: access_code_inactive.optional().nullable(),
|
|
2546
2577
|
ultraloq_access_code_disabled: ultraloq_access_code_disabled.optional().nullable(),
|
|
2547
2578
|
using_backup_access_code: using_backup_access_code.optional().nullable(),
|
|
2548
2579
|
being_deleted: being_deleted2.optional().nullable()
|
|
@@ -7380,6 +7411,33 @@ var openapi = {
|
|
|
7380
7411
|
type: "object"
|
|
7381
7412
|
},
|
|
7382
7413
|
{
|
|
7414
|
+
description: "Indicates that the provider cannot confirm whether the access code was set or removed on the device.",
|
|
7415
|
+
properties: {
|
|
7416
|
+
created_at: {
|
|
7417
|
+
description: "Date and time at which Seam created the error.",
|
|
7418
|
+
format: "date-time",
|
|
7419
|
+
type: "string"
|
|
7420
|
+
},
|
|
7421
|
+
error_code: {
|
|
7422
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
7423
|
+
enum: ["access_code_state_unconfirmed"],
|
|
7424
|
+
type: "string"
|
|
7425
|
+
},
|
|
7426
|
+
is_access_code_error: {
|
|
7427
|
+
description: "Indicates that this is an access code error.",
|
|
7428
|
+
enum: [true],
|
|
7429
|
+
type: "boolean"
|
|
7430
|
+
},
|
|
7431
|
+
message: {
|
|
7432
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
7433
|
+
type: "string"
|
|
7434
|
+
}
|
|
7435
|
+
},
|
|
7436
|
+
required: ["message", "is_access_code_error", "error_code"],
|
|
7437
|
+
type: "object"
|
|
7438
|
+
},
|
|
7439
|
+
{
|
|
7440
|
+
deprecated: true,
|
|
7383
7441
|
description: "Unable to confirm that the access code is set on Kwikset device.",
|
|
7384
7442
|
properties: {
|
|
7385
7443
|
created_at: {
|
|
@@ -7403,9 +7461,11 @@ var openapi = {
|
|
|
7403
7461
|
}
|
|
7404
7462
|
},
|
|
7405
7463
|
required: ["message", "is_access_code_error", "error_code"],
|
|
7406
|
-
type: "object"
|
|
7464
|
+
type: "object",
|
|
7465
|
+
"x-deprecated": "Use `access_code_state_unconfirmed` instead."
|
|
7407
7466
|
},
|
|
7408
7467
|
{
|
|
7468
|
+
deprecated: true,
|
|
7409
7469
|
description: "Unable to confirm the deletion of the access code on Kwikset device.",
|
|
7410
7470
|
properties: {
|
|
7411
7471
|
created_at: {
|
|
@@ -7429,7 +7489,8 @@ var openapi = {
|
|
|
7429
7489
|
}
|
|
7430
7490
|
},
|
|
7431
7491
|
required: ["message", "is_access_code_error", "error_code"],
|
|
7432
|
-
type: "object"
|
|
7492
|
+
type: "object",
|
|
7493
|
+
"x-deprecated": "Use `access_code_state_unconfirmed` instead."
|
|
7433
7494
|
},
|
|
7434
7495
|
{
|
|
7435
7496
|
description: "Code was modified or removed externally after Seam successfully set it on the device.",
|
|
@@ -8792,6 +8853,28 @@ var openapi = {
|
|
|
8792
8853
|
type: "object"
|
|
8793
8854
|
},
|
|
8794
8855
|
{
|
|
8856
|
+
description: "Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.",
|
|
8857
|
+
properties: {
|
|
8858
|
+
created_at: {
|
|
8859
|
+
description: "Date and time at which Seam created the warning.",
|
|
8860
|
+
format: "date-time",
|
|
8861
|
+
type: "string"
|
|
8862
|
+
},
|
|
8863
|
+
message: {
|
|
8864
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
8865
|
+
type: "string"
|
|
8866
|
+
},
|
|
8867
|
+
warning_code: {
|
|
8868
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
8869
|
+
enum: ["access_code_inactive"],
|
|
8870
|
+
type: "string"
|
|
8871
|
+
}
|
|
8872
|
+
},
|
|
8873
|
+
required: ["message", "warning_code"],
|
|
8874
|
+
type: "object"
|
|
8875
|
+
},
|
|
8876
|
+
{
|
|
8877
|
+
deprecated: true,
|
|
8795
8878
|
description: "Access code is disabled on Ultraloq device. Re-enable through the Ultraloq mobile app.",
|
|
8796
8879
|
properties: {
|
|
8797
8880
|
created_at: {
|
|
@@ -8810,7 +8893,8 @@ var openapi = {
|
|
|
8810
8893
|
}
|
|
8811
8894
|
},
|
|
8812
8895
|
required: ["message", "warning_code"],
|
|
8813
|
-
type: "object"
|
|
8896
|
+
type: "object",
|
|
8897
|
+
"x-deprecated": "Use `access_code_inactive` instead."
|
|
8814
8898
|
},
|
|
8815
8899
|
{
|
|
8816
8900
|
description: "A backup access code has been pulled and is being used in place of this access code.",
|
|
@@ -31829,6 +31913,33 @@ var openapi = {
|
|
|
31829
31913
|
type: "object"
|
|
31830
31914
|
},
|
|
31831
31915
|
{
|
|
31916
|
+
description: "Indicates that the provider cannot confirm whether the access code was set or removed on the device.",
|
|
31917
|
+
properties: {
|
|
31918
|
+
created_at: {
|
|
31919
|
+
description: "Date and time at which Seam created the error.",
|
|
31920
|
+
format: "date-time",
|
|
31921
|
+
type: "string"
|
|
31922
|
+
},
|
|
31923
|
+
error_code: {
|
|
31924
|
+
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
31925
|
+
enum: ["access_code_state_unconfirmed"],
|
|
31926
|
+
type: "string"
|
|
31927
|
+
},
|
|
31928
|
+
is_access_code_error: {
|
|
31929
|
+
description: "Indicates that this is an access code error.",
|
|
31930
|
+
enum: [true],
|
|
31931
|
+
type: "boolean"
|
|
31932
|
+
},
|
|
31933
|
+
message: {
|
|
31934
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
31935
|
+
type: "string"
|
|
31936
|
+
}
|
|
31937
|
+
},
|
|
31938
|
+
required: ["message", "is_access_code_error", "error_code"],
|
|
31939
|
+
type: "object"
|
|
31940
|
+
},
|
|
31941
|
+
{
|
|
31942
|
+
deprecated: true,
|
|
31832
31943
|
description: "Unable to confirm that the access code is set on Kwikset device.",
|
|
31833
31944
|
properties: {
|
|
31834
31945
|
created_at: {
|
|
@@ -31852,9 +31963,11 @@ var openapi = {
|
|
|
31852
31963
|
}
|
|
31853
31964
|
},
|
|
31854
31965
|
required: ["message", "is_access_code_error", "error_code"],
|
|
31855
|
-
type: "object"
|
|
31966
|
+
type: "object",
|
|
31967
|
+
"x-deprecated": "Use `access_code_state_unconfirmed` instead."
|
|
31856
31968
|
},
|
|
31857
31969
|
{
|
|
31970
|
+
deprecated: true,
|
|
31858
31971
|
description: "Unable to confirm the deletion of the access code on Kwikset device.",
|
|
31859
31972
|
properties: {
|
|
31860
31973
|
created_at: {
|
|
@@ -31878,7 +31991,8 @@ var openapi = {
|
|
|
31878
31991
|
}
|
|
31879
31992
|
},
|
|
31880
31993
|
required: ["message", "is_access_code_error", "error_code"],
|
|
31881
|
-
type: "object"
|
|
31994
|
+
type: "object",
|
|
31995
|
+
"x-deprecated": "Use `access_code_state_unconfirmed` instead."
|
|
31882
31996
|
},
|
|
31883
31997
|
{
|
|
31884
31998
|
description: "Code was modified or removed externally after Seam successfully set it on the device.",
|
|
@@ -32958,6 +33072,28 @@ var openapi = {
|
|
|
32958
33072
|
type: "object"
|
|
32959
33073
|
},
|
|
32960
33074
|
{
|
|
33075
|
+
description: "Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.",
|
|
33076
|
+
properties: {
|
|
33077
|
+
created_at: {
|
|
33078
|
+
description: "Date and time at which Seam created the warning.",
|
|
33079
|
+
format: "date-time",
|
|
33080
|
+
type: "string"
|
|
33081
|
+
},
|
|
33082
|
+
message: {
|
|
33083
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
33084
|
+
type: "string"
|
|
33085
|
+
},
|
|
33086
|
+
warning_code: {
|
|
33087
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
33088
|
+
enum: ["access_code_inactive"],
|
|
33089
|
+
type: "string"
|
|
33090
|
+
}
|
|
33091
|
+
},
|
|
33092
|
+
required: ["message", "warning_code"],
|
|
33093
|
+
type: "object"
|
|
33094
|
+
},
|
|
33095
|
+
{
|
|
33096
|
+
deprecated: true,
|
|
32961
33097
|
description: "Access code is disabled on Ultraloq device. Re-enable through the Ultraloq mobile app.",
|
|
32962
33098
|
properties: {
|
|
32963
33099
|
created_at: {
|
|
@@ -32976,7 +33112,8 @@ var openapi = {
|
|
|
32976
33112
|
}
|
|
32977
33113
|
},
|
|
32978
33114
|
required: ["message", "warning_code"],
|
|
32979
|
-
type: "object"
|
|
33115
|
+
type: "object",
|
|
33116
|
+
"x-deprecated": "Use `access_code_inactive` instead."
|
|
32980
33117
|
},
|
|
32981
33118
|
{
|
|
32982
33119
|
description: "A backup access code has been pulled and is being used in place of this access code.",
|