@seamapi/types 1.858.0 → 1.860.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 +0 -161
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +0 -668
- package/dist/index.cjs +0 -161
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +0 -200
- package/lib/seam/connect/models/access-codes/managed-access-code.js +0 -33
- 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 +0 -73
- package/lib/seam/connect/models/batch.d.ts +0 -202
- package/lib/seam/connect/openapi.js +0 -146
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +0 -275
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +0 -36
- package/src/lib/seam/connect/openapi.ts +0 -172
- package/src/lib/seam/connect/route-types.ts +0 -308
package/dist/connect.cjs
CHANGED
|
@@ -2329,9 +2329,6 @@ var kwikset_insufficient_permissions = common_access_code_error.extend({
|
|
|
2329
2329
|
var august_lock_invalid_code_length = common_access_code_error.extend({
|
|
2330
2330
|
error_code: zod.z.literal("august_lock_invalid_code_length").describe(error_code_description3)
|
|
2331
2331
|
}).describe("Invalid code length for August lock.");
|
|
2332
|
-
var august_device_programming_delay_error = common_access_code_error.extend({
|
|
2333
|
-
error_code: zod.z.literal("august_device_programming_delay").describe(error_code_description3)
|
|
2334
|
-
}).describe("Access code has not yet been fully moved to the device.");
|
|
2335
2332
|
var august_lock_temporarily_offline_error = common_access_code_error.extend({
|
|
2336
2333
|
error_code: zod.z.literal("august_lock_temporarily_offline").describe(error_code_description3)
|
|
2337
2334
|
}).describe("August lock is temporarily offline.");
|
|
@@ -2341,9 +2338,6 @@ var august_lock_missing_keypad = common_access_code_error.extend({
|
|
|
2341
2338
|
var salto_ks_user_not_subscribed = common_access_code_error.extend({
|
|
2342
2339
|
error_code: zod.z.literal("salto_ks_user_not_subscribed").describe(error_code_description3)
|
|
2343
2340
|
}).describe("Salto site user is not subscribed.");
|
|
2344
|
-
var smartthings_no_free_slots_available = common_access_code_error.extend({
|
|
2345
|
-
error_code: zod.z.literal("smartthings_no_free_slots_available").describe(error_code_description3)
|
|
2346
|
-
}).describe("No free slots available on the device.");
|
|
2347
2341
|
var wyze_duplicate_code_name = common_access_code_error.extend({
|
|
2348
2342
|
error_code: zod.z.literal("wyze_duplicate_code_name").describe(error_code_description3)
|
|
2349
2343
|
}).describe("Duplicate access code name detected.");
|
|
@@ -2366,7 +2360,6 @@ var replaced_by_newer_access_code = common_access_code_error.extend({
|
|
|
2366
2360
|
var access_code_error = zod.z.discriminatedUnion("error_code", [
|
|
2367
2361
|
smartthings_failed_to_set_access_code_error,
|
|
2368
2362
|
smartthings_failed_to_set_after_multiple_retries,
|
|
2369
|
-
smartthings_no_free_slots_available,
|
|
2370
2363
|
failed_to_set_on_device,
|
|
2371
2364
|
failed_to_remove_from_device,
|
|
2372
2365
|
duplicate_code_on_device,
|
|
@@ -2376,7 +2369,6 @@ var access_code_error = zod.z.discriminatedUnion("error_code", [
|
|
|
2376
2369
|
kwikset_unable_to_confirm_deletion,
|
|
2377
2370
|
code_modified_external_to_seam_error,
|
|
2378
2371
|
august_lock_invalid_code_length,
|
|
2379
|
-
august_device_programming_delay_error,
|
|
2380
2372
|
august_lock_missing_keypad,
|
|
2381
2373
|
august_lock_temporarily_offline_error,
|
|
2382
2374
|
salto_ks_user_not_subscribed,
|
|
@@ -2392,7 +2384,6 @@ var access_code_error = zod.z.discriminatedUnion("error_code", [
|
|
|
2392
2384
|
zod.z.object({
|
|
2393
2385
|
smartthings_failed_to_set_access_code: smartthings_failed_to_set_access_code_error.optional().nullable(),
|
|
2394
2386
|
smartthings_failed_to_set_after_multiple_retries: smartthings_failed_to_set_after_multiple_retries.optional().nullable(),
|
|
2395
|
-
smartthings_no_free_slots_available: smartthings_no_free_slots_available.optional().nullable(),
|
|
2396
2387
|
failed_to_set_on_device: failed_to_set_on_device.optional().nullable(),
|
|
2397
2388
|
failed_to_remove_from_device: failed_to_remove_from_device.optional().nullable(),
|
|
2398
2389
|
no_space_for_access_code_on_device: no_space_for_access_code_on_device.optional().nullable(),
|
|
@@ -2403,7 +2394,6 @@ zod.z.object({
|
|
|
2403
2394
|
kwikset_insufficient_permissions: kwikset_insufficient_permissions.optional().nullable(),
|
|
2404
2395
|
code_modified_external_to_seam_error: code_modified_external_to_seam_error.optional().nullable(),
|
|
2405
2396
|
august_lock_invalid_code_length: august_lock_invalid_code_length.optional().nullable(),
|
|
2406
|
-
august_device_programming_delay: august_device_programming_delay_error.optional().nullable(),
|
|
2407
2397
|
august_lock_temporarily_offline: august_lock_temporarily_offline_error.optional().nullable(),
|
|
2408
2398
|
august_lock_missing_keypad: august_lock_missing_keypad.optional().nullable(),
|
|
2409
2399
|
salto_ks_user_not_subscribed: salto_ks_user_not_subscribed.optional().nullable(),
|
|
@@ -2423,9 +2413,6 @@ var warning_code_description3 = "Unique identifier of the type of warning. Enabl
|
|
|
2423
2413
|
var smartthings_failed_to_set_access_code_warning = common_access_code_warning.extend({
|
|
2424
2414
|
warning_code: zod.z.literal("smartthings_failed_to_set_access_code").describe(warning_code_description3)
|
|
2425
2415
|
}).describe("Failed to set code on SmartThings device.");
|
|
2426
|
-
var august_device_programming_delay_warning = common_access_code_warning.extend({
|
|
2427
|
-
warning_code: zod.z.literal("august_device_programming_delay").describe(warning_code_description3)
|
|
2428
|
-
}).describe("Access code has not yet been fully moved to the device.");
|
|
2429
2416
|
var august_lock_temporarily_offline_warning = common_access_code_warning.extend({
|
|
2430
2417
|
warning_code: zod.z.literal("august_lock_temporarily_offline").describe(error_code_description3)
|
|
2431
2418
|
}).describe("August lock is temporarily offline.");
|
|
@@ -2487,7 +2474,6 @@ var access_code_warning = zod.z.discriminatedUnion("warning_code", [
|
|
|
2487
2474
|
delay_in_setting_on_device,
|
|
2488
2475
|
delay_in_removing_from_device,
|
|
2489
2476
|
third_party_integration_detected2,
|
|
2490
|
-
august_device_programming_delay_warning,
|
|
2491
2477
|
august_lock_temporarily_offline_warning,
|
|
2492
2478
|
igloo_algopin_must_be_used_within_24_hours,
|
|
2493
2479
|
management_transferred,
|
|
@@ -2507,7 +2493,6 @@ zod.z.object({
|
|
|
2507
2493
|
delay_in_setting_on_device: delay_in_setting_on_device.optional().nullable(),
|
|
2508
2494
|
delay_in_removing_from_device: delay_in_removing_from_device.optional().nullable(),
|
|
2509
2495
|
third_party_integration_detected: third_party_integration_detected2.optional().nullable(),
|
|
2510
|
-
august_device_programming_delay: august_device_programming_delay_warning.optional().nullable(),
|
|
2511
2496
|
august_lock_temporarily_offline: august_lock_temporarily_offline_warning.optional().nullable(),
|
|
2512
2497
|
igloo_algopin_must_be_used_within_24_hours: igloo_algopin_must_be_used_within_24_hours.optional().nullable(),
|
|
2513
2498
|
management_transferred: management_transferred.optional().nullable(),
|
|
@@ -7208,32 +7193,6 @@ var openapi = {
|
|
|
7208
7193
|
required: ["message", "is_access_code_error", "error_code"],
|
|
7209
7194
|
type: "object"
|
|
7210
7195
|
},
|
|
7211
|
-
{
|
|
7212
|
-
description: "No free slots available on the device.",
|
|
7213
|
-
properties: {
|
|
7214
|
-
created_at: {
|
|
7215
|
-
description: "Date and time at which Seam created the error.",
|
|
7216
|
-
format: "date-time",
|
|
7217
|
-
type: "string"
|
|
7218
|
-
},
|
|
7219
|
-
error_code: {
|
|
7220
|
-
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
7221
|
-
enum: ["smartthings_no_free_slots_available"],
|
|
7222
|
-
type: "string"
|
|
7223
|
-
},
|
|
7224
|
-
is_access_code_error: {
|
|
7225
|
-
description: "Indicates that this is an access code error.",
|
|
7226
|
-
enum: [true],
|
|
7227
|
-
type: "boolean"
|
|
7228
|
-
},
|
|
7229
|
-
message: {
|
|
7230
|
-
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
7231
|
-
type: "string"
|
|
7232
|
-
}
|
|
7233
|
-
},
|
|
7234
|
-
required: ["message", "is_access_code_error", "error_code"],
|
|
7235
|
-
type: "object"
|
|
7236
|
-
},
|
|
7237
7196
|
{
|
|
7238
7197
|
description: "Failed to set code on device.",
|
|
7239
7198
|
properties: {
|
|
@@ -7478,32 +7437,6 @@ var openapi = {
|
|
|
7478
7437
|
required: ["message", "is_access_code_error", "error_code"],
|
|
7479
7438
|
type: "object"
|
|
7480
7439
|
},
|
|
7481
|
-
{
|
|
7482
|
-
description: "Access code has not yet been fully moved to the device.",
|
|
7483
|
-
properties: {
|
|
7484
|
-
created_at: {
|
|
7485
|
-
description: "Date and time at which Seam created the error.",
|
|
7486
|
-
format: "date-time",
|
|
7487
|
-
type: "string"
|
|
7488
|
-
},
|
|
7489
|
-
error_code: {
|
|
7490
|
-
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
7491
|
-
enum: ["august_device_programming_delay"],
|
|
7492
|
-
type: "string"
|
|
7493
|
-
},
|
|
7494
|
-
is_access_code_error: {
|
|
7495
|
-
description: "Indicates that this is an access code error.",
|
|
7496
|
-
enum: [true],
|
|
7497
|
-
type: "boolean"
|
|
7498
|
-
},
|
|
7499
|
-
message: {
|
|
7500
|
-
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
7501
|
-
type: "string"
|
|
7502
|
-
}
|
|
7503
|
-
},
|
|
7504
|
-
required: ["message", "is_access_code_error", "error_code"],
|
|
7505
|
-
type: "object"
|
|
7506
|
-
},
|
|
7507
7440
|
{
|
|
7508
7441
|
description: "August lock is missing a keypad.",
|
|
7509
7442
|
properties: {
|
|
@@ -8714,27 +8647,6 @@ var openapi = {
|
|
|
8714
8647
|
required: ["message", "warning_code"],
|
|
8715
8648
|
type: "object"
|
|
8716
8649
|
},
|
|
8717
|
-
{
|
|
8718
|
-
description: "Access code has not yet been fully moved to the device.",
|
|
8719
|
-
properties: {
|
|
8720
|
-
created_at: {
|
|
8721
|
-
description: "Date and time at which Seam created the warning.",
|
|
8722
|
-
format: "date-time",
|
|
8723
|
-
type: "string"
|
|
8724
|
-
},
|
|
8725
|
-
message: {
|
|
8726
|
-
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
8727
|
-
type: "string"
|
|
8728
|
-
},
|
|
8729
|
-
warning_code: {
|
|
8730
|
-
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
8731
|
-
enum: ["august_device_programming_delay"],
|
|
8732
|
-
type: "string"
|
|
8733
|
-
}
|
|
8734
|
-
},
|
|
8735
|
-
required: ["message", "warning_code"],
|
|
8736
|
-
type: "object"
|
|
8737
|
-
},
|
|
8738
8650
|
{
|
|
8739
8651
|
description: "August lock is temporarily offline.",
|
|
8740
8652
|
properties: {
|
|
@@ -31697,32 +31609,6 @@ var openapi = {
|
|
|
31697
31609
|
required: ["message", "is_access_code_error", "error_code"],
|
|
31698
31610
|
type: "object"
|
|
31699
31611
|
},
|
|
31700
|
-
{
|
|
31701
|
-
description: "No free slots available on the device.",
|
|
31702
|
-
properties: {
|
|
31703
|
-
created_at: {
|
|
31704
|
-
description: "Date and time at which Seam created the error.",
|
|
31705
|
-
format: "date-time",
|
|
31706
|
-
type: "string"
|
|
31707
|
-
},
|
|
31708
|
-
error_code: {
|
|
31709
|
-
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
31710
|
-
enum: ["smartthings_no_free_slots_available"],
|
|
31711
|
-
type: "string"
|
|
31712
|
-
},
|
|
31713
|
-
is_access_code_error: {
|
|
31714
|
-
description: "Indicates that this is an access code error.",
|
|
31715
|
-
enum: [true],
|
|
31716
|
-
type: "boolean"
|
|
31717
|
-
},
|
|
31718
|
-
message: {
|
|
31719
|
-
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
31720
|
-
type: "string"
|
|
31721
|
-
}
|
|
31722
|
-
},
|
|
31723
|
-
required: ["message", "is_access_code_error", "error_code"],
|
|
31724
|
-
type: "object"
|
|
31725
|
-
},
|
|
31726
31612
|
{
|
|
31727
31613
|
description: "Failed to set code on device.",
|
|
31728
31614
|
properties: {
|
|
@@ -31967,32 +31853,6 @@ var openapi = {
|
|
|
31967
31853
|
required: ["message", "is_access_code_error", "error_code"],
|
|
31968
31854
|
type: "object"
|
|
31969
31855
|
},
|
|
31970
|
-
{
|
|
31971
|
-
description: "Access code has not yet been fully moved to the device.",
|
|
31972
|
-
properties: {
|
|
31973
|
-
created_at: {
|
|
31974
|
-
description: "Date and time at which Seam created the error.",
|
|
31975
|
-
format: "date-time",
|
|
31976
|
-
type: "string"
|
|
31977
|
-
},
|
|
31978
|
-
error_code: {
|
|
31979
|
-
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
31980
|
-
enum: ["august_device_programming_delay"],
|
|
31981
|
-
type: "string"
|
|
31982
|
-
},
|
|
31983
|
-
is_access_code_error: {
|
|
31984
|
-
description: "Indicates that this is an access code error.",
|
|
31985
|
-
enum: [true],
|
|
31986
|
-
type: "boolean"
|
|
31987
|
-
},
|
|
31988
|
-
message: {
|
|
31989
|
-
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
31990
|
-
type: "string"
|
|
31991
|
-
}
|
|
31992
|
-
},
|
|
31993
|
-
required: ["message", "is_access_code_error", "error_code"],
|
|
31994
|
-
type: "object"
|
|
31995
|
-
},
|
|
31996
31856
|
{
|
|
31997
31857
|
description: "August lock is missing a keypad.",
|
|
31998
31858
|
properties: {
|
|
@@ -32920,27 +32780,6 @@ var openapi = {
|
|
|
32920
32780
|
required: ["message", "warning_code"],
|
|
32921
32781
|
type: "object"
|
|
32922
32782
|
},
|
|
32923
|
-
{
|
|
32924
|
-
description: "Access code has not yet been fully moved to the device.",
|
|
32925
|
-
properties: {
|
|
32926
|
-
created_at: {
|
|
32927
|
-
description: "Date and time at which Seam created the warning.",
|
|
32928
|
-
format: "date-time",
|
|
32929
|
-
type: "string"
|
|
32930
|
-
},
|
|
32931
|
-
message: {
|
|
32932
|
-
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
32933
|
-
type: "string"
|
|
32934
|
-
},
|
|
32935
|
-
warning_code: {
|
|
32936
|
-
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
32937
|
-
enum: ["august_device_programming_delay"],
|
|
32938
|
-
type: "string"
|
|
32939
|
-
}
|
|
32940
|
-
},
|
|
32941
|
-
required: ["message", "warning_code"],
|
|
32942
|
-
type: "object"
|
|
32943
|
-
},
|
|
32944
32783
|
{
|
|
32945
32784
|
description: "August lock is temporarily offline.",
|
|
32946
32785
|
properties: {
|