@seamapi/types 1.611.0 → 1.613.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 +123 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +546 -0
- package/dist/index.cjs +123 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +71 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js +11 -0
- 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 +26 -0
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +52 -0
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +45 -0
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.js +15 -0
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +288 -0
- package/lib/seam/connect/openapi.d.ts +66 -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 +216 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +12 -0
- package/src/lib/seam/connect/models/acs/acs-users/pending-mutations.ts +20 -0
- package/src/lib/seam/connect/openapi.ts +122 -0
- package/src/lib/seam/connect/route-types.ts +240 -0
|
@@ -1557,6 +1557,15 @@ export type Routes = {
|
|
|
1557
1557
|
created_at?: string | undefined;
|
|
1558
1558
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1559
1559
|
error_code: 'kwikset_insufficient_permissions';
|
|
1560
|
+
} | {
|
|
1561
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
1562
|
+
message: string;
|
|
1563
|
+
/** Indicates that this is an access code error. */
|
|
1564
|
+
is_access_code_error: true;
|
|
1565
|
+
/** Date and time at which Seam created the error. */
|
|
1566
|
+
created_at?: string | undefined;
|
|
1567
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1568
|
+
error_code: 'keynest_unsupported_third_party_locker';
|
|
1560
1569
|
} | {
|
|
1561
1570
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
1562
1571
|
message: string;
|
|
@@ -2102,6 +2111,15 @@ export type Routes = {
|
|
|
2102
2111
|
created_at?: string | undefined;
|
|
2103
2112
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2104
2113
|
error_code: 'kwikset_insufficient_permissions';
|
|
2114
|
+
} | {
|
|
2115
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
2116
|
+
message: string;
|
|
2117
|
+
/** Indicates that this is an access code error. */
|
|
2118
|
+
is_access_code_error: true;
|
|
2119
|
+
/** Date and time at which Seam created the error. */
|
|
2120
|
+
created_at?: string | undefined;
|
|
2121
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2122
|
+
error_code: 'keynest_unsupported_third_party_locker';
|
|
2105
2123
|
} | {
|
|
2106
2124
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
2107
2125
|
message: string;
|
|
@@ -3911,6 +3929,15 @@ export type Routes = {
|
|
|
3911
3929
|
created_at?: string | undefined;
|
|
3912
3930
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3913
3931
|
error_code: 'kwikset_insufficient_permissions';
|
|
3932
|
+
} | {
|
|
3933
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3934
|
+
message: string;
|
|
3935
|
+
/** Indicates that this is an access code error. */
|
|
3936
|
+
is_access_code_error: true;
|
|
3937
|
+
/** Date and time at which Seam created the error. */
|
|
3938
|
+
created_at?: string | undefined;
|
|
3939
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
3940
|
+
error_code: 'keynest_unsupported_third_party_locker';
|
|
3914
3941
|
} | {
|
|
3915
3942
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
3916
3943
|
message: string;
|
|
@@ -4430,6 +4457,15 @@ export type Routes = {
|
|
|
4430
4457
|
created_at?: string | undefined;
|
|
4431
4458
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4432
4459
|
error_code: 'kwikset_insufficient_permissions';
|
|
4460
|
+
} | {
|
|
4461
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
4462
|
+
message: string;
|
|
4463
|
+
/** Indicates that this is an access code error. */
|
|
4464
|
+
is_access_code_error: true;
|
|
4465
|
+
/** Date and time at which Seam created the error. */
|
|
4466
|
+
created_at?: string | undefined;
|
|
4467
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4468
|
+
error_code: 'keynest_unsupported_third_party_locker';
|
|
4433
4469
|
} | {
|
|
4434
4470
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
4435
4471
|
message: string;
|
|
@@ -4955,6 +4991,15 @@ export type Routes = {
|
|
|
4955
4991
|
created_at?: string | undefined;
|
|
4956
4992
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4957
4993
|
error_code: 'kwikset_insufficient_permissions';
|
|
4994
|
+
} | {
|
|
4995
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
4996
|
+
message: string;
|
|
4997
|
+
/** Indicates that this is an access code error. */
|
|
4998
|
+
is_access_code_error: true;
|
|
4999
|
+
/** Date and time at which Seam created the error. */
|
|
5000
|
+
created_at?: string | undefined;
|
|
5001
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5002
|
+
error_code: 'keynest_unsupported_third_party_locker';
|
|
4958
5003
|
} | {
|
|
4959
5004
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
4960
5005
|
message: string;
|
|
@@ -5458,6 +5503,15 @@ export type Routes = {
|
|
|
5458
5503
|
created_at?: string | undefined;
|
|
5459
5504
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5460
5505
|
error_code: 'kwikset_insufficient_permissions';
|
|
5506
|
+
} | {
|
|
5507
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5508
|
+
message: string;
|
|
5509
|
+
/** Indicates that this is an access code error. */
|
|
5510
|
+
is_access_code_error: true;
|
|
5511
|
+
/** Date and time at which Seam created the error. */
|
|
5512
|
+
created_at?: string | undefined;
|
|
5513
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5514
|
+
error_code: 'keynest_unsupported_third_party_locker';
|
|
5461
5515
|
} | {
|
|
5462
5516
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5463
5517
|
message: string;
|
|
@@ -5994,6 +6048,15 @@ export type Routes = {
|
|
|
5994
6048
|
created_at?: string | undefined;
|
|
5995
6049
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5996
6050
|
error_code: 'kwikset_insufficient_permissions';
|
|
6051
|
+
} | {
|
|
6052
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
6053
|
+
message: string;
|
|
6054
|
+
/** Indicates that this is an access code error. */
|
|
6055
|
+
is_access_code_error: true;
|
|
6056
|
+
/** Date and time at which Seam created the error. */
|
|
6057
|
+
created_at?: string | undefined;
|
|
6058
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
6059
|
+
error_code: 'keynest_unsupported_third_party_locker';
|
|
5997
6060
|
} | {
|
|
5998
6061
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5999
6062
|
message: string;
|
|
@@ -7790,6 +7853,15 @@ export type Routes = {
|
|
|
7790
7853
|
created_at?: string | undefined;
|
|
7791
7854
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
7792
7855
|
error_code: 'kwikset_insufficient_permissions';
|
|
7856
|
+
} | {
|
|
7857
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
7858
|
+
message: string;
|
|
7859
|
+
/** Indicates that this is an access code error. */
|
|
7860
|
+
is_access_code_error: true;
|
|
7861
|
+
/** Date and time at which Seam created the error. */
|
|
7862
|
+
created_at?: string | undefined;
|
|
7863
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
7864
|
+
error_code: 'keynest_unsupported_third_party_locker';
|
|
7793
7865
|
} | {
|
|
7794
7866
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
7795
7867
|
message: string;
|
|
@@ -8287,6 +8359,15 @@ export type Routes = {
|
|
|
8287
8359
|
created_at?: string | undefined;
|
|
8288
8360
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
8289
8361
|
error_code: 'kwikset_insufficient_permissions';
|
|
8362
|
+
} | {
|
|
8363
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
8364
|
+
message: string;
|
|
8365
|
+
/** Indicates that this is an access code error. */
|
|
8366
|
+
is_access_code_error: true;
|
|
8367
|
+
/** Date and time at which Seam created the error. */
|
|
8368
|
+
created_at?: string | undefined;
|
|
8369
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
8370
|
+
error_code: 'keynest_unsupported_third_party_locker';
|
|
8290
8371
|
} | {
|
|
8291
8372
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
8292
8373
|
message: string;
|
|
@@ -15136,6 +15217,15 @@ export type Routes = {
|
|
|
15136
15217
|
message: string;
|
|
15137
15218
|
/** Mutation code to indicate that Seam is in the process of pushing a user deletion to the integrated access system. */
|
|
15138
15219
|
mutation_code: 'deleting';
|
|
15220
|
+
} | {
|
|
15221
|
+
/** Date and time at which the mutation was created. */
|
|
15222
|
+
created_at: string;
|
|
15223
|
+
/** Detailed description of the mutation. */
|
|
15224
|
+
message: string;
|
|
15225
|
+
/** Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time. */
|
|
15226
|
+
mutation_code: 'deferring_creation';
|
|
15227
|
+
/** Optional: When the user creation is scheduled to occur. */
|
|
15228
|
+
scheduled_at?: (string | undefined) | null;
|
|
15139
15229
|
} | {
|
|
15140
15230
|
/** Date and time at which the mutation was created. */
|
|
15141
15231
|
created_at: string;
|
|
@@ -16941,6 +17031,15 @@ export type Routes = {
|
|
|
16941
17031
|
message: string;
|
|
16942
17032
|
/** Mutation code to indicate that Seam is in the process of pushing a user deletion to the integrated access system. */
|
|
16943
17033
|
mutation_code: 'deleting';
|
|
17034
|
+
} | {
|
|
17035
|
+
/** Date and time at which the mutation was created. */
|
|
17036
|
+
created_at: string;
|
|
17037
|
+
/** Detailed description of the mutation. */
|
|
17038
|
+
message: string;
|
|
17039
|
+
/** Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time. */
|
|
17040
|
+
mutation_code: 'deferring_creation';
|
|
17041
|
+
/** Optional: When the user creation is scheduled to occur. */
|
|
17042
|
+
scheduled_at?: (string | undefined) | null;
|
|
16944
17043
|
} | {
|
|
16945
17044
|
/** Date and time at which the mutation was created. */
|
|
16946
17045
|
created_at: string;
|
|
@@ -19764,6 +19863,15 @@ export type Routes = {
|
|
|
19764
19863
|
created_at?: string | undefined;
|
|
19765
19864
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
19766
19865
|
error_code: 'kwikset_insufficient_permissions';
|
|
19866
|
+
} | {
|
|
19867
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
19868
|
+
message: string;
|
|
19869
|
+
/** Indicates that this is an access code error. */
|
|
19870
|
+
is_access_code_error: true;
|
|
19871
|
+
/** Date and time at which Seam created the error. */
|
|
19872
|
+
created_at?: string | undefined;
|
|
19873
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
19874
|
+
error_code: 'keynest_unsupported_third_party_locker';
|
|
19767
19875
|
} | {
|
|
19768
19876
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
19769
19877
|
message: string;
|
|
@@ -20254,6 +20362,15 @@ export type Routes = {
|
|
|
20254
20362
|
created_at?: string | undefined;
|
|
20255
20363
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
20256
20364
|
error_code: 'kwikset_insufficient_permissions';
|
|
20365
|
+
} | {
|
|
20366
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
20367
|
+
message: string;
|
|
20368
|
+
/** Indicates that this is an access code error. */
|
|
20369
|
+
is_access_code_error: true;
|
|
20370
|
+
/** Date and time at which Seam created the error. */
|
|
20371
|
+
created_at?: string | undefined;
|
|
20372
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
20373
|
+
error_code: 'keynest_unsupported_third_party_locker';
|
|
20257
20374
|
} | {
|
|
20258
20375
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
20259
20376
|
message: string;
|
|
@@ -21090,6 +21207,15 @@ export type Routes = {
|
|
|
21090
21207
|
message: string;
|
|
21091
21208
|
/** Mutation code to indicate that Seam is in the process of pushing a user deletion to the integrated access system. */
|
|
21092
21209
|
mutation_code: 'deleting';
|
|
21210
|
+
} | {
|
|
21211
|
+
/** Date and time at which the mutation was created. */
|
|
21212
|
+
created_at: string;
|
|
21213
|
+
/** Detailed description of the mutation. */
|
|
21214
|
+
message: string;
|
|
21215
|
+
/** Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time. */
|
|
21216
|
+
mutation_code: 'deferring_creation';
|
|
21217
|
+
/** Optional: When the user creation is scheduled to occur. */
|
|
21218
|
+
scheduled_at?: (string | undefined) | null;
|
|
21093
21219
|
} | {
|
|
21094
21220
|
/** Date and time at which the mutation was created. */
|
|
21095
21221
|
created_at: string;
|
|
@@ -26723,6 +26849,15 @@ export type Routes = {
|
|
|
26723
26849
|
message: string;
|
|
26724
26850
|
/** Mutation code to indicate that Seam is in the process of pushing a user deletion to the integrated access system. */
|
|
26725
26851
|
mutation_code: 'deleting';
|
|
26852
|
+
} | {
|
|
26853
|
+
/** Date and time at which the mutation was created. */
|
|
26854
|
+
created_at: string;
|
|
26855
|
+
/** Detailed description of the mutation. */
|
|
26856
|
+
message: string;
|
|
26857
|
+
/** Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time. */
|
|
26858
|
+
mutation_code: 'deferring_creation';
|
|
26859
|
+
/** Optional: When the user creation is scheduled to occur. */
|
|
26860
|
+
scheduled_at?: (string | undefined) | null;
|
|
26726
26861
|
} | {
|
|
26727
26862
|
/** Date and time at which the mutation was created. */
|
|
26728
26863
|
created_at: string;
|
|
@@ -26969,6 +27104,15 @@ export type Routes = {
|
|
|
26969
27104
|
message: string;
|
|
26970
27105
|
/** Mutation code to indicate that Seam is in the process of pushing a user deletion to the integrated access system. */
|
|
26971
27106
|
mutation_code: 'deleting';
|
|
27107
|
+
} | {
|
|
27108
|
+
/** Date and time at which the mutation was created. */
|
|
27109
|
+
created_at: string;
|
|
27110
|
+
/** Detailed description of the mutation. */
|
|
27111
|
+
message: string;
|
|
27112
|
+
/** Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time. */
|
|
27113
|
+
mutation_code: 'deferring_creation';
|
|
27114
|
+
/** Optional: When the user creation is scheduled to occur. */
|
|
27115
|
+
scheduled_at?: (string | undefined) | null;
|
|
26972
27116
|
} | {
|
|
26973
27117
|
/** Date and time at which the mutation was created. */
|
|
26974
27118
|
created_at: string;
|
|
@@ -27204,6 +27348,15 @@ export type Routes = {
|
|
|
27204
27348
|
message: string;
|
|
27205
27349
|
/** Mutation code to indicate that Seam is in the process of pushing a user deletion to the integrated access system. */
|
|
27206
27350
|
mutation_code: 'deleting';
|
|
27351
|
+
} | {
|
|
27352
|
+
/** Date and time at which the mutation was created. */
|
|
27353
|
+
created_at: string;
|
|
27354
|
+
/** Detailed description of the mutation. */
|
|
27355
|
+
message: string;
|
|
27356
|
+
/** Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time. */
|
|
27357
|
+
mutation_code: 'deferring_creation';
|
|
27358
|
+
/** Optional: When the user creation is scheduled to occur. */
|
|
27359
|
+
scheduled_at?: (string | undefined) | null;
|
|
27207
27360
|
} | {
|
|
27208
27361
|
/** Date and time at which the mutation was created. */
|
|
27209
27362
|
created_at: string;
|
|
@@ -27621,6 +27774,15 @@ export type Routes = {
|
|
|
27621
27774
|
message: string;
|
|
27622
27775
|
/** Mutation code to indicate that Seam is in the process of pushing a user deletion to the integrated access system. */
|
|
27623
27776
|
mutation_code: 'deleting';
|
|
27777
|
+
} | {
|
|
27778
|
+
/** Date and time at which the mutation was created. */
|
|
27779
|
+
created_at: string;
|
|
27780
|
+
/** Detailed description of the mutation. */
|
|
27781
|
+
message: string;
|
|
27782
|
+
/** Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time. */
|
|
27783
|
+
mutation_code: 'deferring_creation';
|
|
27784
|
+
/** Optional: When the user creation is scheduled to occur. */
|
|
27785
|
+
scheduled_at?: (string | undefined) | null;
|
|
27624
27786
|
} | {
|
|
27625
27787
|
/** Date and time at which the mutation was created. */
|
|
27626
27788
|
created_at: string;
|
|
@@ -27850,6 +28012,15 @@ export type Routes = {
|
|
|
27850
28012
|
message: string;
|
|
27851
28013
|
/** Mutation code to indicate that Seam is in the process of pushing a user deletion to the integrated access system. */
|
|
27852
28014
|
mutation_code: 'deleting';
|
|
28015
|
+
} | {
|
|
28016
|
+
/** Date and time at which the mutation was created. */
|
|
28017
|
+
created_at: string;
|
|
28018
|
+
/** Detailed description of the mutation. */
|
|
28019
|
+
message: string;
|
|
28020
|
+
/** Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time. */
|
|
28021
|
+
mutation_code: 'deferring_creation';
|
|
28022
|
+
/** Optional: When the user creation is scheduled to occur. */
|
|
28023
|
+
scheduled_at?: (string | undefined) | null;
|
|
27853
28024
|
} | {
|
|
27854
28025
|
/** Date and time at which the mutation was created. */
|
|
27855
28026
|
created_at: string;
|
|
@@ -80596,6 +80767,15 @@ export type Routes = {
|
|
|
80596
80767
|
message: string;
|
|
80597
80768
|
/** Mutation code to indicate that Seam is in the process of pushing a user deletion to the integrated access system. */
|
|
80598
80769
|
mutation_code: 'deleting';
|
|
80770
|
+
} | {
|
|
80771
|
+
/** Date and time at which the mutation was created. */
|
|
80772
|
+
created_at: string;
|
|
80773
|
+
/** Detailed description of the mutation. */
|
|
80774
|
+
message: string;
|
|
80775
|
+
/** Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time. */
|
|
80776
|
+
mutation_code: 'deferring_creation';
|
|
80777
|
+
/** Optional: When the user creation is scheduled to occur. */
|
|
80778
|
+
scheduled_at?: (string | undefined) | null;
|
|
80599
80779
|
} | {
|
|
80600
80780
|
/** Date and time at which the mutation was created. */
|
|
80601
80781
|
created_at: string;
|
|
@@ -82828,6 +83008,15 @@ export type Routes = {
|
|
|
82828
83008
|
message: string;
|
|
82829
83009
|
/** Mutation code to indicate that Seam is in the process of pushing a user deletion to the integrated access system. */
|
|
82830
83010
|
mutation_code: 'deleting';
|
|
83011
|
+
} | {
|
|
83012
|
+
/** Date and time at which the mutation was created. */
|
|
83013
|
+
created_at: string;
|
|
83014
|
+
/** Detailed description of the mutation. */
|
|
83015
|
+
message: string;
|
|
83016
|
+
/** Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time. */
|
|
83017
|
+
mutation_code: 'deferring_creation';
|
|
83018
|
+
/** Optional: When the user creation is scheduled to occur. */
|
|
83019
|
+
scheduled_at?: (string | undefined) | null;
|
|
82831
83020
|
} | {
|
|
82832
83021
|
/** Date and time at which the mutation was created. */
|
|
82833
83022
|
created_at: string;
|
|
@@ -84633,6 +84822,15 @@ export type Routes = {
|
|
|
84633
84822
|
message: string;
|
|
84634
84823
|
/** Mutation code to indicate that Seam is in the process of pushing a user deletion to the integrated access system. */
|
|
84635
84824
|
mutation_code: 'deleting';
|
|
84825
|
+
} | {
|
|
84826
|
+
/** Date and time at which the mutation was created. */
|
|
84827
|
+
created_at: string;
|
|
84828
|
+
/** Detailed description of the mutation. */
|
|
84829
|
+
message: string;
|
|
84830
|
+
/** Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time. */
|
|
84831
|
+
mutation_code: 'deferring_creation';
|
|
84832
|
+
/** Optional: When the user creation is scheduled to occur. */
|
|
84833
|
+
scheduled_at?: (string | undefined) | null;
|
|
84636
84834
|
} | {
|
|
84637
84835
|
/** Date and time at which the mutation was created. */
|
|
84638
84836
|
created_at: string;
|
|
@@ -87456,6 +87654,15 @@ export type Routes = {
|
|
|
87456
87654
|
created_at?: string | undefined;
|
|
87457
87655
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
87458
87656
|
error_code: 'kwikset_insufficient_permissions';
|
|
87657
|
+
} | {
|
|
87658
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
87659
|
+
message: string;
|
|
87660
|
+
/** Indicates that this is an access code error. */
|
|
87661
|
+
is_access_code_error: true;
|
|
87662
|
+
/** Date and time at which Seam created the error. */
|
|
87663
|
+
created_at?: string | undefined;
|
|
87664
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
87665
|
+
error_code: 'keynest_unsupported_third_party_locker';
|
|
87459
87666
|
} | {
|
|
87460
87667
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
87461
87668
|
message: string;
|
|
@@ -87946,6 +88153,15 @@ export type Routes = {
|
|
|
87946
88153
|
created_at?: string | undefined;
|
|
87947
88154
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
87948
88155
|
error_code: 'kwikset_insufficient_permissions';
|
|
88156
|
+
} | {
|
|
88157
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
88158
|
+
message: string;
|
|
88159
|
+
/** Indicates that this is an access code error. */
|
|
88160
|
+
is_access_code_error: true;
|
|
88161
|
+
/** Date and time at which Seam created the error. */
|
|
88162
|
+
created_at?: string | undefined;
|
|
88163
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
88164
|
+
error_code: 'keynest_unsupported_third_party_locker';
|
|
87949
88165
|
} | {
|
|
87950
88166
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
87951
88167
|
message: string;
|
package/package.json
CHANGED
|
@@ -229,6 +229,14 @@ const dormakaba_oracode_no_valid_user_level = common_access_code_error
|
|
|
229
229
|
})
|
|
230
230
|
.describe('No valid user level for Oracode.')
|
|
231
231
|
|
|
232
|
+
const keynest_unsupported_third_party_locker = common_access_code_error
|
|
233
|
+
.extend({
|
|
234
|
+
error_code: z
|
|
235
|
+
.literal('keynest_unsupported_third_party_locker')
|
|
236
|
+
.describe(error_code_description),
|
|
237
|
+
})
|
|
238
|
+
.describe('KeyNest locker is not supported.')
|
|
239
|
+
|
|
232
240
|
const access_code_error = z
|
|
233
241
|
.discriminatedUnion('error_code', [
|
|
234
242
|
smartthings_failed_to_set_access_code_error,
|
|
@@ -256,6 +264,7 @@ const access_code_error = z
|
|
|
256
264
|
wyze_potential_duplicate_code,
|
|
257
265
|
dormakaba_oracode_no_valid_user_level,
|
|
258
266
|
kwikset_insufficient_permissions,
|
|
267
|
+
keynest_unsupported_third_party_locker,
|
|
259
268
|
])
|
|
260
269
|
.describe(
|
|
261
270
|
'Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).',
|
|
@@ -326,6 +335,9 @@ const _access_code_error_map = z.object({
|
|
|
326
335
|
dormakaba_oracode_no_valid_user_level: dormakaba_oracode_no_valid_user_level
|
|
327
336
|
.optional()
|
|
328
337
|
.nullable(),
|
|
338
|
+
keynest_unsupported_third_party_locker: keynest_unsupported_third_party_locker
|
|
339
|
+
.optional()
|
|
340
|
+
.nullable(),
|
|
329
341
|
})
|
|
330
342
|
|
|
331
343
|
export type AccessCodeErrorMap = z.infer<typeof _access_code_error_map>
|
|
@@ -34,6 +34,24 @@ const deleting = common_pending_mutation
|
|
|
34
34
|
'Seam is in the process of pushing a user deletion to the integrated access system.',
|
|
35
35
|
)
|
|
36
36
|
|
|
37
|
+
const deferring_creation = common_pending_mutation
|
|
38
|
+
.extend({
|
|
39
|
+
mutation_code: z
|
|
40
|
+
.literal('deferring_creation')
|
|
41
|
+
.describe(
|
|
42
|
+
'Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time.',
|
|
43
|
+
),
|
|
44
|
+
scheduled_at: z
|
|
45
|
+
.string()
|
|
46
|
+
.datetime()
|
|
47
|
+
.optional()
|
|
48
|
+
.nullable()
|
|
49
|
+
.describe('Optional: When the user creation is scheduled to occur.'),
|
|
50
|
+
})
|
|
51
|
+
.describe(
|
|
52
|
+
'User exists in Seam but has not been pushed to the provider yet. Will be created when a credential is issued.',
|
|
53
|
+
)
|
|
54
|
+
|
|
37
55
|
const acs_user_info = z.object({
|
|
38
56
|
email_address: z
|
|
39
57
|
.string()
|
|
@@ -145,6 +163,7 @@ export const acs_user_pending_mutations = z.discriminatedUnion(
|
|
|
145
163
|
[
|
|
146
164
|
creating,
|
|
147
165
|
deleting,
|
|
166
|
+
deferring_creation,
|
|
148
167
|
updating_user_information_mutation,
|
|
149
168
|
updating_access_schedule_mutation,
|
|
150
169
|
updating_suspension_state_mutation,
|
|
@@ -157,6 +176,7 @@ export type AcsUserPendingMutation = z.infer<typeof acs_user_pending_mutations>
|
|
|
157
176
|
const _acs_user_pending_mutations_map = z.object({
|
|
158
177
|
creating: creating.optional().nullable(),
|
|
159
178
|
deleting: deleting.optional().nullable(),
|
|
179
|
+
deferring_creation: deferring_creation.optional().nullable(),
|
|
160
180
|
updating_access_schedule: updating_access_schedule_mutation
|
|
161
181
|
.optional()
|
|
162
182
|
.nullable(),
|
|
@@ -808,6 +808,36 @@ export default {
|
|
|
808
808
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
809
809
|
type: 'object',
|
|
810
810
|
},
|
|
811
|
+
{
|
|
812
|
+
description: 'KeyNest locker is not supported.',
|
|
813
|
+
properties: {
|
|
814
|
+
created_at: {
|
|
815
|
+
description:
|
|
816
|
+
'Date and time at which Seam created the error.',
|
|
817
|
+
format: 'date-time',
|
|
818
|
+
type: 'string',
|
|
819
|
+
},
|
|
820
|
+
error_code: {
|
|
821
|
+
description:
|
|
822
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
823
|
+
enum: ['keynest_unsupported_third_party_locker'],
|
|
824
|
+
type: 'string',
|
|
825
|
+
},
|
|
826
|
+
is_access_code_error: {
|
|
827
|
+
description:
|
|
828
|
+
'Indicates that this is an access code error.',
|
|
829
|
+
enum: [true],
|
|
830
|
+
type: 'boolean',
|
|
831
|
+
},
|
|
832
|
+
message: {
|
|
833
|
+
description:
|
|
834
|
+
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
835
|
+
type: 'string',
|
|
836
|
+
},
|
|
837
|
+
},
|
|
838
|
+
required: ['message', 'is_access_code_error', 'error_code'],
|
|
839
|
+
type: 'object',
|
|
840
|
+
},
|
|
811
841
|
{
|
|
812
842
|
description: 'Indicates that the account is disconnected.',
|
|
813
843
|
properties: {
|
|
@@ -3841,6 +3871,37 @@ export default {
|
|
|
3841
3871
|
required: ['created_at', 'message', 'mutation_code'],
|
|
3842
3872
|
type: 'object',
|
|
3843
3873
|
},
|
|
3874
|
+
{
|
|
3875
|
+
description:
|
|
3876
|
+
'User exists in Seam but has not been pushed to the provider yet. Will be created when a credential is issued.',
|
|
3877
|
+
properties: {
|
|
3878
|
+
created_at: {
|
|
3879
|
+
description:
|
|
3880
|
+
'Date and time at which the mutation was created.',
|
|
3881
|
+
format: 'date-time',
|
|
3882
|
+
type: 'string',
|
|
3883
|
+
},
|
|
3884
|
+
message: {
|
|
3885
|
+
description: 'Detailed description of the mutation.',
|
|
3886
|
+
type: 'string',
|
|
3887
|
+
},
|
|
3888
|
+
mutation_code: {
|
|
3889
|
+
description:
|
|
3890
|
+
'Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time.',
|
|
3891
|
+
enum: ['deferring_creation'],
|
|
3892
|
+
type: 'string',
|
|
3893
|
+
},
|
|
3894
|
+
scheduled_at: {
|
|
3895
|
+
description:
|
|
3896
|
+
'Optional: When the user creation is scheduled to occur.',
|
|
3897
|
+
format: 'date-time',
|
|
3898
|
+
nullable: true,
|
|
3899
|
+
type: 'string',
|
|
3900
|
+
},
|
|
3901
|
+
},
|
|
3902
|
+
required: ['created_at', 'message', 'mutation_code'],
|
|
3903
|
+
type: 'object',
|
|
3904
|
+
},
|
|
3844
3905
|
{
|
|
3845
3906
|
properties: {
|
|
3846
3907
|
created_at: {
|
|
@@ -21873,6 +21934,36 @@ export default {
|
|
|
21873
21934
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
21874
21935
|
type: 'object',
|
|
21875
21936
|
},
|
|
21937
|
+
{
|
|
21938
|
+
description: 'KeyNest locker is not supported.',
|
|
21939
|
+
properties: {
|
|
21940
|
+
created_at: {
|
|
21941
|
+
description:
|
|
21942
|
+
'Date and time at which Seam created the error.',
|
|
21943
|
+
format: 'date-time',
|
|
21944
|
+
type: 'string',
|
|
21945
|
+
},
|
|
21946
|
+
error_code: {
|
|
21947
|
+
description:
|
|
21948
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
21949
|
+
enum: ['keynest_unsupported_third_party_locker'],
|
|
21950
|
+
type: 'string',
|
|
21951
|
+
},
|
|
21952
|
+
is_access_code_error: {
|
|
21953
|
+
description:
|
|
21954
|
+
'Indicates that this is an access code error.',
|
|
21955
|
+
enum: [true],
|
|
21956
|
+
type: 'boolean',
|
|
21957
|
+
},
|
|
21958
|
+
message: {
|
|
21959
|
+
description:
|
|
21960
|
+
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
21961
|
+
type: 'string',
|
|
21962
|
+
},
|
|
21963
|
+
},
|
|
21964
|
+
required: ['message', 'is_access_code_error', 'error_code'],
|
|
21965
|
+
type: 'object',
|
|
21966
|
+
},
|
|
21876
21967
|
{
|
|
21877
21968
|
description: 'Indicates that the account is disconnected.',
|
|
21878
21969
|
properties: {
|
|
@@ -23658,6 +23749,37 @@ export default {
|
|
|
23658
23749
|
required: ['created_at', 'message', 'mutation_code'],
|
|
23659
23750
|
type: 'object',
|
|
23660
23751
|
},
|
|
23752
|
+
{
|
|
23753
|
+
description:
|
|
23754
|
+
'User exists in Seam but has not been pushed to the provider yet. Will be created when a credential is issued.',
|
|
23755
|
+
properties: {
|
|
23756
|
+
created_at: {
|
|
23757
|
+
description:
|
|
23758
|
+
'Date and time at which the mutation was created.',
|
|
23759
|
+
format: 'date-time',
|
|
23760
|
+
type: 'string',
|
|
23761
|
+
},
|
|
23762
|
+
message: {
|
|
23763
|
+
description: 'Detailed description of the mutation.',
|
|
23764
|
+
type: 'string',
|
|
23765
|
+
},
|
|
23766
|
+
mutation_code: {
|
|
23767
|
+
description:
|
|
23768
|
+
'Mutation code to indicate that Seam is intentionally deferring the creation of the user on the access control system until the appropriate time.',
|
|
23769
|
+
enum: ['deferring_creation'],
|
|
23770
|
+
type: 'string',
|
|
23771
|
+
},
|
|
23772
|
+
scheduled_at: {
|
|
23773
|
+
description:
|
|
23774
|
+
'Optional: When the user creation is scheduled to occur.',
|
|
23775
|
+
format: 'date-time',
|
|
23776
|
+
nullable: true,
|
|
23777
|
+
type: 'string',
|
|
23778
|
+
},
|
|
23779
|
+
},
|
|
23780
|
+
required: ['created_at', 'message', 'mutation_code'],
|
|
23781
|
+
type: 'object',
|
|
23782
|
+
},
|
|
23661
23783
|
{
|
|
23662
23784
|
properties: {
|
|
23663
23785
|
created_at: {
|