@seamapi/types 1.868.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 +188 -18
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +429 -0
- package/dist/index.cjs +188 -18
- 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 +56 -6
- 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 +118 -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 +70 -6
- package/src/lib/seam/connect/openapi.ts +142 -0
- package/src/lib/seam/connect/route-types.ts +198 -0
|
@@ -1644,6 +1644,15 @@ export type Routes = {
|
|
|
1644
1644
|
created_at?: string | undefined;
|
|
1645
1645
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1646
1646
|
error_code: 'no_space_for_access_code_on_device';
|
|
1647
|
+
} | {
|
|
1648
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
1649
|
+
message: string;
|
|
1650
|
+
/** Indicates that this is an access code error. */
|
|
1651
|
+
is_access_code_error: true;
|
|
1652
|
+
/** Date and time at which Seam created the error. */
|
|
1653
|
+
created_at?: string | undefined;
|
|
1654
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1655
|
+
error_code: 'access_code_state_unconfirmed';
|
|
1647
1656
|
} | {
|
|
1648
1657
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
1649
1658
|
message: string;
|
|
@@ -1988,6 +1997,13 @@ export type Routes = {
|
|
|
1988
1997
|
created_at?: string | undefined;
|
|
1989
1998
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
1990
1999
|
warning_code: 'kwikset_unable_to_confirm_code';
|
|
2000
|
+
} | {
|
|
2001
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
2002
|
+
message: string;
|
|
2003
|
+
/** Date and time at which Seam created the warning. */
|
|
2004
|
+
created_at?: string | undefined;
|
|
2005
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2006
|
+
warning_code: 'access_code_inactive';
|
|
1991
2007
|
} | {
|
|
1992
2008
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
1993
2009
|
message: string;
|
|
@@ -2260,6 +2276,15 @@ export type Routes = {
|
|
|
2260
2276
|
created_at?: string | undefined;
|
|
2261
2277
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2262
2278
|
error_code: 'no_space_for_access_code_on_device';
|
|
2279
|
+
} | {
|
|
2280
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
2281
|
+
message: string;
|
|
2282
|
+
/** Indicates that this is an access code error. */
|
|
2283
|
+
is_access_code_error: true;
|
|
2284
|
+
/** Date and time at which Seam created the error. */
|
|
2285
|
+
created_at?: string | undefined;
|
|
2286
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2287
|
+
error_code: 'access_code_state_unconfirmed';
|
|
2263
2288
|
} | {
|
|
2264
2289
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
2265
2290
|
message: string;
|
|
@@ -2604,6 +2629,13 @@ export type Routes = {
|
|
|
2604
2629
|
created_at?: string | undefined;
|
|
2605
2630
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2606
2631
|
warning_code: 'kwikset_unable_to_confirm_code';
|
|
2632
|
+
} | {
|
|
2633
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
2634
|
+
message: string;
|
|
2635
|
+
/** Date and time at which Seam created the warning. */
|
|
2636
|
+
created_at?: string | undefined;
|
|
2637
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2638
|
+
warning_code: 'access_code_inactive';
|
|
2607
2639
|
} | {
|
|
2608
2640
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
2609
2641
|
message: string;
|
|
@@ -4396,6 +4428,15 @@ export type Routes = {
|
|
|
4396
4428
|
created_at?: string | undefined;
|
|
4397
4429
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4398
4430
|
error_code: 'no_space_for_access_code_on_device';
|
|
4431
|
+
} | {
|
|
4432
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
4433
|
+
message: string;
|
|
4434
|
+
/** Indicates that this is an access code error. */
|
|
4435
|
+
is_access_code_error: true;
|
|
4436
|
+
/** Date and time at which Seam created the error. */
|
|
4437
|
+
created_at?: string | undefined;
|
|
4438
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4439
|
+
error_code: 'access_code_state_unconfirmed';
|
|
4399
4440
|
} | {
|
|
4400
4441
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
4401
4442
|
message: string;
|
|
@@ -4740,6 +4781,13 @@ export type Routes = {
|
|
|
4740
4781
|
created_at?: string | undefined;
|
|
4741
4782
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4742
4783
|
warning_code: 'kwikset_unable_to_confirm_code';
|
|
4784
|
+
} | {
|
|
4785
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
4786
|
+
message: string;
|
|
4787
|
+
/** Date and time at which Seam created the warning. */
|
|
4788
|
+
created_at?: string | undefined;
|
|
4789
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4790
|
+
warning_code: 'access_code_inactive';
|
|
4743
4791
|
} | {
|
|
4744
4792
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
4745
4793
|
message: string;
|
|
@@ -5058,6 +5106,15 @@ export type Routes = {
|
|
|
5058
5106
|
created_at?: string | undefined;
|
|
5059
5107
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5060
5108
|
error_code: 'no_space_for_access_code_on_device';
|
|
5109
|
+
} | {
|
|
5110
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5111
|
+
message: string;
|
|
5112
|
+
/** Indicates that this is an access code error. */
|
|
5113
|
+
is_access_code_error: true;
|
|
5114
|
+
/** Date and time at which Seam created the error. */
|
|
5115
|
+
created_at?: string | undefined;
|
|
5116
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5117
|
+
error_code: 'access_code_state_unconfirmed';
|
|
5061
5118
|
} | {
|
|
5062
5119
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5063
5120
|
message: string;
|
|
@@ -5402,6 +5459,13 @@ export type Routes = {
|
|
|
5402
5459
|
created_at?: string | undefined;
|
|
5403
5460
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
5404
5461
|
warning_code: 'kwikset_unable_to_confirm_code';
|
|
5462
|
+
} | {
|
|
5463
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
5464
|
+
message: string;
|
|
5465
|
+
/** Date and time at which Seam created the warning. */
|
|
5466
|
+
created_at?: string | undefined;
|
|
5467
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
5468
|
+
warning_code: 'access_code_inactive';
|
|
5405
5469
|
} | {
|
|
5406
5470
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
5407
5471
|
message: string;
|
|
@@ -5663,6 +5727,15 @@ export type Routes = {
|
|
|
5663
5727
|
created_at?: string | undefined;
|
|
5664
5728
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5665
5729
|
error_code: 'no_space_for_access_code_on_device';
|
|
5730
|
+
} | {
|
|
5731
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5732
|
+
message: string;
|
|
5733
|
+
/** Indicates that this is an access code error. */
|
|
5734
|
+
is_access_code_error: true;
|
|
5735
|
+
/** Date and time at which Seam created the error. */
|
|
5736
|
+
created_at?: string | undefined;
|
|
5737
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5738
|
+
error_code: 'access_code_state_unconfirmed';
|
|
5666
5739
|
} | {
|
|
5667
5740
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5668
5741
|
message: string;
|
|
@@ -6007,6 +6080,13 @@ export type Routes = {
|
|
|
6007
6080
|
created_at?: string | undefined;
|
|
6008
6081
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
6009
6082
|
warning_code: 'kwikset_unable_to_confirm_code';
|
|
6083
|
+
} | {
|
|
6084
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
6085
|
+
message: string;
|
|
6086
|
+
/** Date and time at which Seam created the warning. */
|
|
6087
|
+
created_at?: string | undefined;
|
|
6088
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
6089
|
+
warning_code: 'access_code_inactive';
|
|
6010
6090
|
} | {
|
|
6011
6091
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
6012
6092
|
message: string;
|
|
@@ -6245,6 +6325,15 @@ export type Routes = {
|
|
|
6245
6325
|
created_at?: string | undefined;
|
|
6246
6326
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
6247
6327
|
error_code: 'no_space_for_access_code_on_device';
|
|
6328
|
+
} | {
|
|
6329
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
6330
|
+
message: string;
|
|
6331
|
+
/** Indicates that this is an access code error. */
|
|
6332
|
+
is_access_code_error: true;
|
|
6333
|
+
/** Date and time at which Seam created the error. */
|
|
6334
|
+
created_at?: string | undefined;
|
|
6335
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
6336
|
+
error_code: 'access_code_state_unconfirmed';
|
|
6248
6337
|
} | {
|
|
6249
6338
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
6250
6339
|
message: string;
|
|
@@ -6589,6 +6678,13 @@ export type Routes = {
|
|
|
6589
6678
|
created_at?: string | undefined;
|
|
6590
6679
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
6591
6680
|
warning_code: 'kwikset_unable_to_confirm_code';
|
|
6681
|
+
} | {
|
|
6682
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
6683
|
+
message: string;
|
|
6684
|
+
/** Date and time at which Seam created the warning. */
|
|
6685
|
+
created_at?: string | undefined;
|
|
6686
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
6687
|
+
warning_code: 'access_code_inactive';
|
|
6592
6688
|
} | {
|
|
6593
6689
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
6594
6690
|
message: string;
|
|
@@ -6862,6 +6958,15 @@ export type Routes = {
|
|
|
6862
6958
|
created_at?: string | undefined;
|
|
6863
6959
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
6864
6960
|
error_code: 'no_space_for_access_code_on_device';
|
|
6961
|
+
} | {
|
|
6962
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
6963
|
+
message: string;
|
|
6964
|
+
/** Indicates that this is an access code error. */
|
|
6965
|
+
is_access_code_error: true;
|
|
6966
|
+
/** Date and time at which Seam created the error. */
|
|
6967
|
+
created_at?: string | undefined;
|
|
6968
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
6969
|
+
error_code: 'access_code_state_unconfirmed';
|
|
6865
6970
|
} | {
|
|
6866
6971
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
6867
6972
|
message: string;
|
|
@@ -7206,6 +7311,13 @@ export type Routes = {
|
|
|
7206
7311
|
created_at?: string | undefined;
|
|
7207
7312
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
7208
7313
|
warning_code: 'kwikset_unable_to_confirm_code';
|
|
7314
|
+
} | {
|
|
7315
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
7316
|
+
message: string;
|
|
7317
|
+
/** Date and time at which Seam created the warning. */
|
|
7318
|
+
created_at?: string | undefined;
|
|
7319
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
7320
|
+
warning_code: 'access_code_inactive';
|
|
7209
7321
|
} | {
|
|
7210
7322
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
7211
7323
|
message: string;
|
|
@@ -8909,6 +9021,15 @@ export type Routes = {
|
|
|
8909
9021
|
created_at?: string | undefined;
|
|
8910
9022
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
8911
9023
|
error_code: 'no_space_for_access_code_on_device';
|
|
9024
|
+
} | {
|
|
9025
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
9026
|
+
message: string;
|
|
9027
|
+
/** Indicates that this is an access code error. */
|
|
9028
|
+
is_access_code_error: true;
|
|
9029
|
+
/** Date and time at which Seam created the error. */
|
|
9030
|
+
created_at?: string | undefined;
|
|
9031
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
9032
|
+
error_code: 'access_code_state_unconfirmed';
|
|
8912
9033
|
} | {
|
|
8913
9034
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
8914
9035
|
message: string;
|
|
@@ -9253,6 +9374,13 @@ export type Routes = {
|
|
|
9253
9374
|
created_at?: string | undefined;
|
|
9254
9375
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
9255
9376
|
warning_code: 'kwikset_unable_to_confirm_code';
|
|
9377
|
+
} | {
|
|
9378
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
9379
|
+
message: string;
|
|
9380
|
+
/** Date and time at which Seam created the warning. */
|
|
9381
|
+
created_at?: string | undefined;
|
|
9382
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
9383
|
+
warning_code: 'access_code_inactive';
|
|
9256
9384
|
} | {
|
|
9257
9385
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
9258
9386
|
message: string;
|
|
@@ -9412,6 +9540,15 @@ export type Routes = {
|
|
|
9412
9540
|
created_at?: string | undefined;
|
|
9413
9541
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
9414
9542
|
error_code: 'no_space_for_access_code_on_device';
|
|
9543
|
+
} | {
|
|
9544
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
9545
|
+
message: string;
|
|
9546
|
+
/** Indicates that this is an access code error. */
|
|
9547
|
+
is_access_code_error: true;
|
|
9548
|
+
/** Date and time at which Seam created the error. */
|
|
9549
|
+
created_at?: string | undefined;
|
|
9550
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
9551
|
+
error_code: 'access_code_state_unconfirmed';
|
|
9415
9552
|
} | {
|
|
9416
9553
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
9417
9554
|
message: string;
|
|
@@ -9756,6 +9893,13 @@ export type Routes = {
|
|
|
9756
9893
|
created_at?: string | undefined;
|
|
9757
9894
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
9758
9895
|
warning_code: 'kwikset_unable_to_confirm_code';
|
|
9896
|
+
} | {
|
|
9897
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
9898
|
+
message: string;
|
|
9899
|
+
/** Date and time at which Seam created the warning. */
|
|
9900
|
+
created_at?: string | undefined;
|
|
9901
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
9902
|
+
warning_code: 'access_code_inactive';
|
|
9759
9903
|
} | {
|
|
9760
9904
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
9761
9905
|
message: string;
|
|
@@ -107309,6 +107453,15 @@ export type Routes = {
|
|
|
107309
107453
|
created_at?: string | undefined;
|
|
107310
107454
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
107311
107455
|
error_code: 'no_space_for_access_code_on_device';
|
|
107456
|
+
} | {
|
|
107457
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
107458
|
+
message: string;
|
|
107459
|
+
/** Indicates that this is an access code error. */
|
|
107460
|
+
is_access_code_error: true;
|
|
107461
|
+
/** Date and time at which Seam created the error. */
|
|
107462
|
+
created_at?: string | undefined;
|
|
107463
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
107464
|
+
error_code: 'access_code_state_unconfirmed';
|
|
107312
107465
|
} | {
|
|
107313
107466
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
107314
107467
|
message: string;
|
|
@@ -107653,6 +107806,13 @@ export type Routes = {
|
|
|
107653
107806
|
created_at?: string | undefined;
|
|
107654
107807
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
107655
107808
|
warning_code: 'kwikset_unable_to_confirm_code';
|
|
107809
|
+
} | {
|
|
107810
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
107811
|
+
message: string;
|
|
107812
|
+
/** Date and time at which Seam created the warning. */
|
|
107813
|
+
created_at?: string | undefined;
|
|
107814
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
107815
|
+
warning_code: 'access_code_inactive';
|
|
107656
107816
|
} | {
|
|
107657
107817
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
107658
107818
|
message: string;
|
|
@@ -107796,6 +107956,15 @@ export type Routes = {
|
|
|
107796
107956
|
created_at?: string | undefined;
|
|
107797
107957
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
107798
107958
|
error_code: 'no_space_for_access_code_on_device';
|
|
107959
|
+
} | {
|
|
107960
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
107961
|
+
message: string;
|
|
107962
|
+
/** Indicates that this is an access code error. */
|
|
107963
|
+
is_access_code_error: true;
|
|
107964
|
+
/** Date and time at which Seam created the error. */
|
|
107965
|
+
created_at?: string | undefined;
|
|
107966
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
107967
|
+
error_code: 'access_code_state_unconfirmed';
|
|
107799
107968
|
} | {
|
|
107800
107969
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
107801
107970
|
message: string;
|
|
@@ -108140,6 +108309,13 @@ export type Routes = {
|
|
|
108140
108309
|
created_at?: string | undefined;
|
|
108141
108310
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
108142
108311
|
warning_code: 'kwikset_unable_to_confirm_code';
|
|
108312
|
+
} | {
|
|
108313
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
108314
|
+
message: string;
|
|
108315
|
+
/** Date and time at which Seam created the warning. */
|
|
108316
|
+
created_at?: string | undefined;
|
|
108317
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
108318
|
+
warning_code: 'access_code_inactive';
|
|
108143
108319
|
} | {
|
|
108144
108320
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
108145
108321
|
message: string;
|
package/package.json
CHANGED
|
@@ -103,13 +103,30 @@ const no_space_for_access_code_on_device = common_access_code_error
|
|
|
103
103
|
})
|
|
104
104
|
.describe('No space for access code on device.')
|
|
105
105
|
|
|
106
|
+
const access_code_state_unconfirmed = common_access_code_error
|
|
107
|
+
.extend({
|
|
108
|
+
error_code: z
|
|
109
|
+
.literal('access_code_state_unconfirmed')
|
|
110
|
+
.describe(error_code_description),
|
|
111
|
+
})
|
|
112
|
+
.describe(
|
|
113
|
+
'Indicates that the provider cannot confirm whether the access code was set or removed on the device.',
|
|
114
|
+
)
|
|
115
|
+
|
|
106
116
|
const kwikset_unable_to_confirm_code = common_access_code_error
|
|
107
117
|
.extend({
|
|
108
118
|
error_code: z
|
|
109
119
|
.literal('kwikset_unable_to_confirm_code')
|
|
110
120
|
.describe(error_code_description),
|
|
111
121
|
})
|
|
112
|
-
.describe(
|
|
122
|
+
.describe(
|
|
123
|
+
`
|
|
124
|
+
---
|
|
125
|
+
deprecated: Use \`access_code_state_unconfirmed\` instead.
|
|
126
|
+
---
|
|
127
|
+
Unable to confirm that the access code is set on Kwikset device.
|
|
128
|
+
`,
|
|
129
|
+
)
|
|
113
130
|
|
|
114
131
|
const kwikset_unable_to_confirm_deletion = common_access_code_error
|
|
115
132
|
.extend({
|
|
@@ -118,7 +135,12 @@ const kwikset_unable_to_confirm_deletion = common_access_code_error
|
|
|
118
135
|
.describe(error_code_description),
|
|
119
136
|
})
|
|
120
137
|
.describe(
|
|
121
|
-
|
|
138
|
+
`
|
|
139
|
+
---
|
|
140
|
+
deprecated: Use \`access_code_state_unconfirmed\` instead.
|
|
141
|
+
---
|
|
142
|
+
Unable to confirm the deletion of the access code on Kwikset device.
|
|
143
|
+
`,
|
|
122
144
|
)
|
|
123
145
|
|
|
124
146
|
const kwikset_insufficient_permissions = common_access_code_error
|
|
@@ -169,7 +191,14 @@ const wyze_duplicate_code_name = common_access_code_error
|
|
|
169
191
|
.literal('wyze_duplicate_code_name')
|
|
170
192
|
.describe(error_code_description),
|
|
171
193
|
})
|
|
172
|
-
.describe(
|
|
194
|
+
.describe(
|
|
195
|
+
`
|
|
196
|
+
---
|
|
197
|
+
deprecated: Use \`duplicate_code_on_device\` instead.
|
|
198
|
+
---
|
|
199
|
+
Duplicate access code name detected.
|
|
200
|
+
`,
|
|
201
|
+
)
|
|
173
202
|
|
|
174
203
|
const wyze_potential_duplicate_code = common_access_code_error
|
|
175
204
|
.extend({
|
|
@@ -177,7 +206,14 @@ const wyze_potential_duplicate_code = common_access_code_error
|
|
|
177
206
|
.literal('wyze_potential_duplicate_code')
|
|
178
207
|
.describe(error_code_description),
|
|
179
208
|
})
|
|
180
|
-
.describe(
|
|
209
|
+
.describe(
|
|
210
|
+
`
|
|
211
|
+
---
|
|
212
|
+
deprecated: Use \`duplicate_code_on_device\` instead.
|
|
213
|
+
---
|
|
214
|
+
Potential duplicate access code detected.
|
|
215
|
+
`,
|
|
216
|
+
)
|
|
181
217
|
|
|
182
218
|
const dormakaba_oracode_invalid_time_range = common_access_code_error
|
|
183
219
|
.extend({
|
|
@@ -216,6 +252,7 @@ const access_code_error = z
|
|
|
216
252
|
duplicate_code_on_device,
|
|
217
253
|
duplicate_code_attempt_prevented,
|
|
218
254
|
no_space_for_access_code_on_device,
|
|
255
|
+
access_code_state_unconfirmed,
|
|
219
256
|
kwikset_unable_to_confirm_code,
|
|
220
257
|
|
|
221
258
|
kwikset_unable_to_confirm_deletion,
|
|
@@ -253,6 +290,9 @@ const _access_code_error_map = z.object({
|
|
|
253
290
|
duplicate_code_attempt_prevented: duplicate_code_attempt_prevented
|
|
254
291
|
.optional()
|
|
255
292
|
.nullable(),
|
|
293
|
+
access_code_state_unconfirmed: access_code_state_unconfirmed
|
|
294
|
+
.optional()
|
|
295
|
+
.nullable(),
|
|
256
296
|
kwikset_unable_to_confirm_code: kwikset_unable_to_confirm_code
|
|
257
297
|
.optional()
|
|
258
298
|
.nullable(),
|
|
@@ -340,7 +380,14 @@ const schlage_detected_duplicate = common_access_code_warning
|
|
|
340
380
|
.literal('schlage_detected_duplicate')
|
|
341
381
|
.describe(warning_code_description),
|
|
342
382
|
})
|
|
343
|
-
.describe(
|
|
383
|
+
.describe(
|
|
384
|
+
`
|
|
385
|
+
---
|
|
386
|
+
deprecated: Use \`duplicate_code_on_device\` error instead.
|
|
387
|
+
---
|
|
388
|
+
Duplicate access code detected.
|
|
389
|
+
`,
|
|
390
|
+
)
|
|
344
391
|
|
|
345
392
|
const schlage_creation_outage = common_access_code_warning
|
|
346
393
|
.extend({
|
|
@@ -411,6 +458,16 @@ const kwikset_unable_to_confirm_code_warning = common_access_code_warning
|
|
|
411
458
|
})
|
|
412
459
|
.describe('Unable to confirm that the access code is set on Kwikset device.')
|
|
413
460
|
|
|
461
|
+
const access_code_inactive = common_access_code_warning
|
|
462
|
+
.extend({
|
|
463
|
+
warning_code: z
|
|
464
|
+
.literal('access_code_inactive')
|
|
465
|
+
.describe(warning_code_description),
|
|
466
|
+
})
|
|
467
|
+
.describe(
|
|
468
|
+
'Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.',
|
|
469
|
+
)
|
|
470
|
+
|
|
414
471
|
const ultraloq_access_code_disabled = common_access_code_warning
|
|
415
472
|
.extend({
|
|
416
473
|
warning_code: z
|
|
@@ -418,7 +475,12 @@ const ultraloq_access_code_disabled = common_access_code_warning
|
|
|
418
475
|
.describe(warning_code_description),
|
|
419
476
|
})
|
|
420
477
|
.describe(
|
|
421
|
-
|
|
478
|
+
`
|
|
479
|
+
---
|
|
480
|
+
deprecated: Use \`access_code_inactive\` instead.
|
|
481
|
+
---
|
|
482
|
+
Access code is disabled on Ultraloq device. Re-enable through the Ultraloq mobile app.
|
|
483
|
+
`,
|
|
422
484
|
)
|
|
423
485
|
|
|
424
486
|
const using_backup_access_code = common_access_code_warning
|
|
@@ -451,6 +513,7 @@ const access_code_warning = z
|
|
|
451
513
|
igloo_algopin_must_be_used_within_24_hours,
|
|
452
514
|
management_transferred,
|
|
453
515
|
kwikset_unable_to_confirm_code_warning,
|
|
516
|
+
access_code_inactive,
|
|
454
517
|
ultraloq_access_code_disabled,
|
|
455
518
|
using_backup_access_code,
|
|
456
519
|
being_deleted,
|
|
@@ -487,6 +550,7 @@ const _access_code_warning_map = z.object({
|
|
|
487
550
|
kwikset_unable_to_confirm_code_warning: kwikset_unable_to_confirm_code_warning
|
|
488
551
|
.optional()
|
|
489
552
|
.nullable(),
|
|
553
|
+
access_code_inactive: access_code_inactive.optional().nullable(),
|
|
490
554
|
ultraloq_access_code_disabled: ultraloq_access_code_disabled
|
|
491
555
|
.optional()
|
|
492
556
|
.nullable(),
|