@seamapi/types 1.923.0 → 1.925.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 +2 -124
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +0 -299
- package/dist/index.cjs +2 -124
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +0 -129
- package/lib/seam/connect/models/access-codes/managed-access-code.js +0 -28
- 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 -47
- package/lib/seam/connect/openapi.js +0 -100
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +0 -176
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +0 -32
- package/src/lib/seam/connect/openapi.ts +0 -118
- package/src/lib/seam/connect/route-types.ts +0 -198
|
@@ -1859,15 +1859,6 @@ export type Routes = {
|
|
|
1859
1859
|
created_at?: string | undefined;
|
|
1860
1860
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1861
1861
|
error_code: 'insufficient_permissions';
|
|
1862
|
-
} | {
|
|
1863
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
1864
|
-
message: string;
|
|
1865
|
-
/** Indicates that this is an access code error. */
|
|
1866
|
-
is_access_code_error: true;
|
|
1867
|
-
/** Date and time at which Seam created the error. */
|
|
1868
|
-
created_at?: string | undefined;
|
|
1869
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1870
|
-
error_code: 'replaced_by_newer_access_code';
|
|
1871
1862
|
} | {
|
|
1872
1863
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
1873
1864
|
message: string;
|
|
@@ -2029,13 +2020,6 @@ export type Routes = {
|
|
|
2029
2020
|
created_at?: string | undefined;
|
|
2030
2021
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2031
2022
|
warning_code: 'provider_issue';
|
|
2032
|
-
} | {
|
|
2033
|
-
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
2034
|
-
message: string;
|
|
2035
|
-
/** Date and time at which Seam created the warning. */
|
|
2036
|
-
created_at?: string | undefined;
|
|
2037
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2038
|
-
warning_code: 'schlage_detected_duplicate';
|
|
2039
2023
|
} | {
|
|
2040
2024
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
2041
2025
|
message: string;
|
|
@@ -2415,15 +2399,6 @@ export type Routes = {
|
|
|
2415
2399
|
created_at?: string | undefined;
|
|
2416
2400
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2417
2401
|
error_code: 'insufficient_permissions';
|
|
2418
|
-
} | {
|
|
2419
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
2420
|
-
message: string;
|
|
2421
|
-
/** Indicates that this is an access code error. */
|
|
2422
|
-
is_access_code_error: true;
|
|
2423
|
-
/** Date and time at which Seam created the error. */
|
|
2424
|
-
created_at?: string | undefined;
|
|
2425
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2426
|
-
error_code: 'replaced_by_newer_access_code';
|
|
2427
2402
|
} | {
|
|
2428
2403
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
2429
2404
|
message: string;
|
|
@@ -2585,13 +2560,6 @@ export type Routes = {
|
|
|
2585
2560
|
created_at?: string | undefined;
|
|
2586
2561
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2587
2562
|
warning_code: 'provider_issue';
|
|
2588
|
-
} | {
|
|
2589
|
-
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
2590
|
-
message: string;
|
|
2591
|
-
/** Date and time at which Seam created the warning. */
|
|
2592
|
-
created_at?: string | undefined;
|
|
2593
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2594
|
-
warning_code: 'schlage_detected_duplicate';
|
|
2595
2563
|
} | {
|
|
2596
2564
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
2597
2565
|
message: string;
|
|
@@ -4659,15 +4627,6 @@ export type Routes = {
|
|
|
4659
4627
|
created_at?: string | undefined;
|
|
4660
4628
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4661
4629
|
error_code: 'insufficient_permissions';
|
|
4662
|
-
} | {
|
|
4663
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
4664
|
-
message: string;
|
|
4665
|
-
/** Indicates that this is an access code error. */
|
|
4666
|
-
is_access_code_error: true;
|
|
4667
|
-
/** Date and time at which Seam created the error. */
|
|
4668
|
-
created_at?: string | undefined;
|
|
4669
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4670
|
-
error_code: 'replaced_by_newer_access_code';
|
|
4671
4630
|
} | {
|
|
4672
4631
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
4673
4632
|
message: string;
|
|
@@ -4829,13 +4788,6 @@ export type Routes = {
|
|
|
4829
4788
|
created_at?: string | undefined;
|
|
4830
4789
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4831
4790
|
warning_code: 'provider_issue';
|
|
4832
|
-
} | {
|
|
4833
|
-
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
4834
|
-
message: string;
|
|
4835
|
-
/** Date and time at which Seam created the warning. */
|
|
4836
|
-
created_at?: string | undefined;
|
|
4837
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4838
|
-
warning_code: 'schlage_detected_duplicate';
|
|
4839
4791
|
} | {
|
|
4840
4792
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
4841
4793
|
message: string;
|
|
@@ -5261,15 +5213,6 @@ export type Routes = {
|
|
|
5261
5213
|
created_at?: string | undefined;
|
|
5262
5214
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5263
5215
|
error_code: 'insufficient_permissions';
|
|
5264
|
-
} | {
|
|
5265
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5266
|
-
message: string;
|
|
5267
|
-
/** Indicates that this is an access code error. */
|
|
5268
|
-
is_access_code_error: true;
|
|
5269
|
-
/** Date and time at which Seam created the error. */
|
|
5270
|
-
created_at?: string | undefined;
|
|
5271
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5272
|
-
error_code: 'replaced_by_newer_access_code';
|
|
5273
5216
|
} | {
|
|
5274
5217
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5275
5218
|
message: string;
|
|
@@ -5431,13 +5374,6 @@ export type Routes = {
|
|
|
5431
5374
|
created_at?: string | undefined;
|
|
5432
5375
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
5433
5376
|
warning_code: 'provider_issue';
|
|
5434
|
-
} | {
|
|
5435
|
-
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
5436
|
-
message: string;
|
|
5437
|
-
/** Date and time at which Seam created the warning. */
|
|
5438
|
-
created_at?: string | undefined;
|
|
5439
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
5440
|
-
warning_code: 'schlage_detected_duplicate';
|
|
5441
5377
|
} | {
|
|
5442
5378
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
5443
5379
|
message: string;
|
|
@@ -5808,15 +5744,6 @@ export type Routes = {
|
|
|
5808
5744
|
created_at?: string | undefined;
|
|
5809
5745
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5810
5746
|
error_code: 'insufficient_permissions';
|
|
5811
|
-
} | {
|
|
5812
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5813
|
-
message: string;
|
|
5814
|
-
/** Indicates that this is an access code error. */
|
|
5815
|
-
is_access_code_error: true;
|
|
5816
|
-
/** Date and time at which Seam created the error. */
|
|
5817
|
-
created_at?: string | undefined;
|
|
5818
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5819
|
-
error_code: 'replaced_by_newer_access_code';
|
|
5820
5747
|
} | {
|
|
5821
5748
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5822
5749
|
message: string;
|
|
@@ -5978,13 +5905,6 @@ export type Routes = {
|
|
|
5978
5905
|
created_at?: string | undefined;
|
|
5979
5906
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
5980
5907
|
warning_code: 'provider_issue';
|
|
5981
|
-
} | {
|
|
5982
|
-
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
5983
|
-
message: string;
|
|
5984
|
-
/** Date and time at which Seam created the warning. */
|
|
5985
|
-
created_at?: string | undefined;
|
|
5986
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
5987
|
-
warning_code: 'schlage_detected_duplicate';
|
|
5988
5908
|
} | {
|
|
5989
5909
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
5990
5910
|
message: string;
|
|
@@ -6332,15 +6252,6 @@ export type Routes = {
|
|
|
6332
6252
|
created_at?: string | undefined;
|
|
6333
6253
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
6334
6254
|
error_code: 'insufficient_permissions';
|
|
6335
|
-
} | {
|
|
6336
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
6337
|
-
message: string;
|
|
6338
|
-
/** Indicates that this is an access code error. */
|
|
6339
|
-
is_access_code_error: true;
|
|
6340
|
-
/** Date and time at which Seam created the error. */
|
|
6341
|
-
created_at?: string | undefined;
|
|
6342
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
6343
|
-
error_code: 'replaced_by_newer_access_code';
|
|
6344
6255
|
} | {
|
|
6345
6256
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
6346
6257
|
message: string;
|
|
@@ -6502,13 +6413,6 @@ export type Routes = {
|
|
|
6502
6413
|
created_at?: string | undefined;
|
|
6503
6414
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
6504
6415
|
warning_code: 'provider_issue';
|
|
6505
|
-
} | {
|
|
6506
|
-
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
6507
|
-
message: string;
|
|
6508
|
-
/** Date and time at which Seam created the warning. */
|
|
6509
|
-
created_at?: string | undefined;
|
|
6510
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
6511
|
-
warning_code: 'schlage_detected_duplicate';
|
|
6512
6416
|
} | {
|
|
6513
6417
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
6514
6418
|
message: string;
|
|
@@ -6889,15 +6793,6 @@ export type Routes = {
|
|
|
6889
6793
|
created_at?: string | undefined;
|
|
6890
6794
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
6891
6795
|
error_code: 'insufficient_permissions';
|
|
6892
|
-
} | {
|
|
6893
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
6894
|
-
message: string;
|
|
6895
|
-
/** Indicates that this is an access code error. */
|
|
6896
|
-
is_access_code_error: true;
|
|
6897
|
-
/** Date and time at which Seam created the error. */
|
|
6898
|
-
created_at?: string | undefined;
|
|
6899
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
6900
|
-
error_code: 'replaced_by_newer_access_code';
|
|
6901
6796
|
} | {
|
|
6902
6797
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
6903
6798
|
message: string;
|
|
@@ -7059,13 +6954,6 @@ export type Routes = {
|
|
|
7059
6954
|
created_at?: string | undefined;
|
|
7060
6955
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
7061
6956
|
warning_code: 'provider_issue';
|
|
7062
|
-
} | {
|
|
7063
|
-
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
7064
|
-
message: string;
|
|
7065
|
-
/** Date and time at which Seam created the warning. */
|
|
7066
|
-
created_at?: string | undefined;
|
|
7067
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
7068
|
-
warning_code: 'schlage_detected_duplicate';
|
|
7069
6957
|
} | {
|
|
7070
6958
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
7071
6959
|
message: string;
|
|
@@ -9042,15 +8930,6 @@ export type Routes = {
|
|
|
9042
8930
|
created_at?: string | undefined;
|
|
9043
8931
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
9044
8932
|
error_code: 'insufficient_permissions';
|
|
9045
|
-
} | {
|
|
9046
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
9047
|
-
message: string;
|
|
9048
|
-
/** Indicates that this is an access code error. */
|
|
9049
|
-
is_access_code_error: true;
|
|
9050
|
-
/** Date and time at which Seam created the error. */
|
|
9051
|
-
created_at?: string | undefined;
|
|
9052
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
9053
|
-
error_code: 'replaced_by_newer_access_code';
|
|
9054
8933
|
} | {
|
|
9055
8934
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
9056
8935
|
message: string;
|
|
@@ -9212,13 +9091,6 @@ export type Routes = {
|
|
|
9212
9091
|
created_at?: string | undefined;
|
|
9213
9092
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
9214
9093
|
warning_code: 'provider_issue';
|
|
9215
|
-
} | {
|
|
9216
|
-
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
9217
|
-
message: string;
|
|
9218
|
-
/** Date and time at which Seam created the warning. */
|
|
9219
|
-
created_at?: string | undefined;
|
|
9220
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
9221
|
-
warning_code: 'schlage_detected_duplicate';
|
|
9222
9094
|
} | {
|
|
9223
9095
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
9224
9096
|
message: string;
|
|
@@ -9485,15 +9357,6 @@ export type Routes = {
|
|
|
9485
9357
|
created_at?: string | undefined;
|
|
9486
9358
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
9487
9359
|
error_code: 'insufficient_permissions';
|
|
9488
|
-
} | {
|
|
9489
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
9490
|
-
message: string;
|
|
9491
|
-
/** Indicates that this is an access code error. */
|
|
9492
|
-
is_access_code_error: true;
|
|
9493
|
-
/** Date and time at which Seam created the error. */
|
|
9494
|
-
created_at?: string | undefined;
|
|
9495
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
9496
|
-
error_code: 'replaced_by_newer_access_code';
|
|
9497
9360
|
} | {
|
|
9498
9361
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
9499
9362
|
message: string;
|
|
@@ -9655,13 +9518,6 @@ export type Routes = {
|
|
|
9655
9518
|
created_at?: string | undefined;
|
|
9656
9519
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
9657
9520
|
warning_code: 'provider_issue';
|
|
9658
|
-
} | {
|
|
9659
|
-
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
9660
|
-
message: string;
|
|
9661
|
-
/** Date and time at which Seam created the warning. */
|
|
9662
|
-
created_at?: string | undefined;
|
|
9663
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
9664
|
-
warning_code: 'schlage_detected_duplicate';
|
|
9665
9521
|
} | {
|
|
9666
9522
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
9667
9523
|
message: string;
|
|
@@ -117765,15 +117621,6 @@ export type Routes = {
|
|
|
117765
117621
|
created_at?: string | undefined;
|
|
117766
117622
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
117767
117623
|
error_code: 'insufficient_permissions';
|
|
117768
|
-
} | {
|
|
117769
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
117770
|
-
message: string;
|
|
117771
|
-
/** Indicates that this is an access code error. */
|
|
117772
|
-
is_access_code_error: true;
|
|
117773
|
-
/** Date and time at which Seam created the error. */
|
|
117774
|
-
created_at?: string | undefined;
|
|
117775
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
117776
|
-
error_code: 'replaced_by_newer_access_code';
|
|
117777
117624
|
} | {
|
|
117778
117625
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
117779
117626
|
message: string;
|
|
@@ -117935,13 +117782,6 @@ export type Routes = {
|
|
|
117935
117782
|
created_at?: string | undefined;
|
|
117936
117783
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
117937
117784
|
warning_code: 'provider_issue';
|
|
117938
|
-
} | {
|
|
117939
|
-
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
117940
|
-
message: string;
|
|
117941
|
-
/** Date and time at which Seam created the warning. */
|
|
117942
|
-
created_at?: string | undefined;
|
|
117943
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
117944
|
-
warning_code: 'schlage_detected_duplicate';
|
|
117945
117785
|
} | {
|
|
117946
117786
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
117947
117787
|
message: string;
|
|
@@ -118192,15 +118032,6 @@ export type Routes = {
|
|
|
118192
118032
|
created_at?: string | undefined;
|
|
118193
118033
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
118194
118034
|
error_code: 'insufficient_permissions';
|
|
118195
|
-
} | {
|
|
118196
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
118197
|
-
message: string;
|
|
118198
|
-
/** Indicates that this is an access code error. */
|
|
118199
|
-
is_access_code_error: true;
|
|
118200
|
-
/** Date and time at which Seam created the error. */
|
|
118201
|
-
created_at?: string | undefined;
|
|
118202
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
118203
|
-
error_code: 'replaced_by_newer_access_code';
|
|
118204
118035
|
} | {
|
|
118205
118036
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
118206
118037
|
message: string;
|
|
@@ -118362,13 +118193,6 @@ export type Routes = {
|
|
|
118362
118193
|
created_at?: string | undefined;
|
|
118363
118194
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
118364
118195
|
warning_code: 'provider_issue';
|
|
118365
|
-
} | {
|
|
118366
|
-
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
118367
|
-
message: string;
|
|
118368
|
-
/** Date and time at which Seam created the warning. */
|
|
118369
|
-
created_at?: string | undefined;
|
|
118370
|
-
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
118371
|
-
warning_code: 'schlage_detected_duplicate';
|
|
118372
118196
|
} | {
|
|
118373
118197
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
118374
118198
|
message: string;
|
package/package.json
CHANGED
|
@@ -182,17 +182,6 @@ const salto_ks_user_not_subscribed = common_access_code_error
|
|
|
182
182
|
`,
|
|
183
183
|
)
|
|
184
184
|
|
|
185
|
-
const replaced_by_newer_access_code = common_access_code_error.extend({
|
|
186
|
-
error_code: z
|
|
187
|
-
.literal('replaced_by_newer_access_code')
|
|
188
|
-
.describe(error_code_description),
|
|
189
|
-
}).describe(`
|
|
190
|
-
---
|
|
191
|
-
resource_type: access_code
|
|
192
|
-
---
|
|
193
|
-
This access code was overridden on the device by a newer access code programmed to the same slot.
|
|
194
|
-
`)
|
|
195
|
-
|
|
196
185
|
const access_code_error = z
|
|
197
186
|
.discriminatedUnion('error_code', [
|
|
198
187
|
provider_issue,
|
|
@@ -206,7 +195,6 @@ const access_code_error = z
|
|
|
206
195
|
access_code_inactive_error,
|
|
207
196
|
salto_ks_user_not_subscribed,
|
|
208
197
|
insufficient_permissions,
|
|
209
|
-
replaced_by_newer_access_code,
|
|
210
198
|
])
|
|
211
199
|
.describe(
|
|
212
200
|
'Errors associated with the [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes).',
|
|
@@ -238,9 +226,6 @@ const _access_code_error_map = z.object({
|
|
|
238
226
|
salto_ks_user_not_subscribed: salto_ks_user_not_subscribed
|
|
239
227
|
.optional()
|
|
240
228
|
.nullable(),
|
|
241
|
-
replaced_by_newer_access_code: replaced_by_newer_access_code
|
|
242
|
-
.optional()
|
|
243
|
-
.nullable(),
|
|
244
229
|
})
|
|
245
230
|
|
|
246
231
|
export type AccessCodeErrorMap = z.infer<typeof _access_code_error_map>
|
|
@@ -283,21 +268,6 @@ const code_modified_external_to_seam_warning = common_access_code_warning
|
|
|
283
268
|
'Code was modified or removed externally after Seam successfully set it on the device.',
|
|
284
269
|
)
|
|
285
270
|
|
|
286
|
-
const schlage_detected_duplicate = common_access_code_warning
|
|
287
|
-
.extend({
|
|
288
|
-
warning_code: z
|
|
289
|
-
.literal('schlage_detected_duplicate')
|
|
290
|
-
.describe(warning_code_description),
|
|
291
|
-
})
|
|
292
|
-
.describe(
|
|
293
|
-
`
|
|
294
|
-
---
|
|
295
|
-
deprecated: Use \`duplicate_code_on_device\` error instead.
|
|
296
|
-
---
|
|
297
|
-
Duplicate access code detected.
|
|
298
|
-
`,
|
|
299
|
-
)
|
|
300
|
-
|
|
301
271
|
const provider_issue_warning = common_access_code_warning
|
|
302
272
|
.extend({
|
|
303
273
|
warning_code: z
|
|
@@ -390,7 +360,6 @@ const being_deleted = common_access_code_warning
|
|
|
390
360
|
const access_code_warning = z
|
|
391
361
|
.discriminatedUnion('warning_code', [
|
|
392
362
|
provider_issue_warning,
|
|
393
|
-
schlage_detected_duplicate,
|
|
394
363
|
schlage_access_code_ambiguous_timezone_dst_risk,
|
|
395
364
|
code_modified_external_to_seam_warning,
|
|
396
365
|
delay_in_setting_on_device,
|
|
@@ -410,7 +379,6 @@ export type AccessCodeWarning = z.infer<typeof access_code_warning>
|
|
|
410
379
|
|
|
411
380
|
const _access_code_warning_map = z.object({
|
|
412
381
|
provider_issue: provider_issue_warning.optional().nullable(),
|
|
413
|
-
schlage_detected_duplicate: schlage_detected_duplicate.optional().nullable(),
|
|
414
382
|
schlage_access_code_ambiguous_timezone_dst_risk:
|
|
415
383
|
schlage_access_code_ambiguous_timezone_dst_risk.optional().nullable(),
|
|
416
384
|
code_modified_external_to_seam_warning: code_modified_external_to_seam_warning
|
|
@@ -497,38 +497,6 @@ const openapi: OpenAPISpec = {
|
|
|
497
497
|
type: 'object',
|
|
498
498
|
'x-resource-type': 'access_code',
|
|
499
499
|
},
|
|
500
|
-
{
|
|
501
|
-
description:
|
|
502
|
-
'This access code was overridden on the device by a newer access code programmed to the same slot.',
|
|
503
|
-
properties: {
|
|
504
|
-
created_at: {
|
|
505
|
-
description:
|
|
506
|
-
'Date and time at which Seam created the error.',
|
|
507
|
-
format: 'date-time',
|
|
508
|
-
type: 'string',
|
|
509
|
-
},
|
|
510
|
-
error_code: {
|
|
511
|
-
description:
|
|
512
|
-
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
513
|
-
enum: ['replaced_by_newer_access_code'],
|
|
514
|
-
type: 'string',
|
|
515
|
-
},
|
|
516
|
-
is_access_code_error: {
|
|
517
|
-
description:
|
|
518
|
-
'Indicates that this is an access code error.',
|
|
519
|
-
enum: [true],
|
|
520
|
-
type: 'boolean',
|
|
521
|
-
},
|
|
522
|
-
message: {
|
|
523
|
-
description:
|
|
524
|
-
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
525
|
-
type: 'string',
|
|
526
|
-
},
|
|
527
|
-
},
|
|
528
|
-
required: ['message', 'is_access_code_error', 'error_code'],
|
|
529
|
-
type: 'object',
|
|
530
|
-
'x-resource-type': 'access_code',
|
|
531
|
-
},
|
|
532
500
|
{
|
|
533
501
|
description: 'Indicates that the account is disconnected.',
|
|
534
502
|
properties: {
|
|
@@ -1537,33 +1505,6 @@ const openapi: OpenAPISpec = {
|
|
|
1537
1505
|
required: ['message', 'warning_code'],
|
|
1538
1506
|
type: 'object',
|
|
1539
1507
|
},
|
|
1540
|
-
{
|
|
1541
|
-
deprecated: true,
|
|
1542
|
-
description: 'Duplicate access code detected.',
|
|
1543
|
-
properties: {
|
|
1544
|
-
created_at: {
|
|
1545
|
-
description:
|
|
1546
|
-
'Date and time at which Seam created the warning.',
|
|
1547
|
-
format: 'date-time',
|
|
1548
|
-
type: 'string',
|
|
1549
|
-
},
|
|
1550
|
-
message: {
|
|
1551
|
-
description:
|
|
1552
|
-
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
1553
|
-
type: 'string',
|
|
1554
|
-
},
|
|
1555
|
-
warning_code: {
|
|
1556
|
-
description:
|
|
1557
|
-
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
1558
|
-
enum: ['schlage_detected_duplicate'],
|
|
1559
|
-
type: 'string',
|
|
1560
|
-
},
|
|
1561
|
-
},
|
|
1562
|
-
required: ['message', 'warning_code'],
|
|
1563
|
-
type: 'object',
|
|
1564
|
-
'x-deprecated':
|
|
1565
|
-
'Use `duplicate_code_on_device` error instead.',
|
|
1566
|
-
},
|
|
1567
1508
|
{
|
|
1568
1509
|
description:
|
|
1569
1510
|
"The Schlage device's timezone is ambiguous and this code's schedule crosses a daylight-saving transition in at least one plausible timezone. A 1-hour safety buffer has been applied to the side of the schedule affected by the transition (`ends_at` for spring-forward, `starts_at` for fall-back) so the code stays active through the shift — the code may be usable up to 1 hour beyond your requested window. Set the device's timezone via `/devices/report_provider_metadata` to clear the buffer and guarantee exact DST handling.",
|
|
@@ -29249,38 +29190,6 @@ const openapi: OpenAPISpec = {
|
|
|
29249
29190
|
type: 'object',
|
|
29250
29191
|
'x-resource-type': 'access_code',
|
|
29251
29192
|
},
|
|
29252
|
-
{
|
|
29253
|
-
description:
|
|
29254
|
-
'This access code was overridden on the device by a newer access code programmed to the same slot.',
|
|
29255
|
-
properties: {
|
|
29256
|
-
created_at: {
|
|
29257
|
-
description:
|
|
29258
|
-
'Date and time at which Seam created the error.',
|
|
29259
|
-
format: 'date-time',
|
|
29260
|
-
type: 'string',
|
|
29261
|
-
},
|
|
29262
|
-
error_code: {
|
|
29263
|
-
description:
|
|
29264
|
-
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
29265
|
-
enum: ['replaced_by_newer_access_code'],
|
|
29266
|
-
type: 'string',
|
|
29267
|
-
},
|
|
29268
|
-
is_access_code_error: {
|
|
29269
|
-
description:
|
|
29270
|
-
'Indicates that this is an access code error.',
|
|
29271
|
-
enum: [true],
|
|
29272
|
-
type: 'boolean',
|
|
29273
|
-
},
|
|
29274
|
-
message: {
|
|
29275
|
-
description:
|
|
29276
|
-
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
29277
|
-
type: 'string',
|
|
29278
|
-
},
|
|
29279
|
-
},
|
|
29280
|
-
required: ['message', 'is_access_code_error', 'error_code'],
|
|
29281
|
-
type: 'object',
|
|
29282
|
-
'x-resource-type': 'access_code',
|
|
29283
|
-
},
|
|
29284
29193
|
{
|
|
29285
29194
|
description: 'Indicates that the account is disconnected.',
|
|
29286
29195
|
properties: {
|
|
@@ -29978,33 +29887,6 @@ const openapi: OpenAPISpec = {
|
|
|
29978
29887
|
required: ['message', 'warning_code'],
|
|
29979
29888
|
type: 'object',
|
|
29980
29889
|
},
|
|
29981
|
-
{
|
|
29982
|
-
deprecated: true,
|
|
29983
|
-
description: 'Duplicate access code detected.',
|
|
29984
|
-
properties: {
|
|
29985
|
-
created_at: {
|
|
29986
|
-
description:
|
|
29987
|
-
'Date and time at which Seam created the warning.',
|
|
29988
|
-
format: 'date-time',
|
|
29989
|
-
type: 'string',
|
|
29990
|
-
},
|
|
29991
|
-
message: {
|
|
29992
|
-
description:
|
|
29993
|
-
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
29994
|
-
type: 'string',
|
|
29995
|
-
},
|
|
29996
|
-
warning_code: {
|
|
29997
|
-
description:
|
|
29998
|
-
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
29999
|
-
enum: ['schlage_detected_duplicate'],
|
|
30000
|
-
type: 'string',
|
|
30001
|
-
},
|
|
30002
|
-
},
|
|
30003
|
-
required: ['message', 'warning_code'],
|
|
30004
|
-
type: 'object',
|
|
30005
|
-
'x-deprecated':
|
|
30006
|
-
'Use `duplicate_code_on_device` error instead.',
|
|
30007
|
-
},
|
|
30008
29890
|
{
|
|
30009
29891
|
description:
|
|
30010
29892
|
"The Schlage device's timezone is ambiguous and this code's schedule crosses a daylight-saving transition in at least one plausible timezone. A 1-hour safety buffer has been applied to the side of the schedule affected by the transition (`ends_at` for spring-forward, `starts_at` for fall-back) so the code stays active through the shift — the code may be usable up to 1 hour beyond your requested window. Set the device's timezone via `/devices/report_provider_metadata` to clear the buffer and guarantee exact DST handling.",
|