@seamapi/types 1.1111.0 → 1.1112.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/lib/seam/connect/models/acs/acs-system.d.ts +45 -0
- package/lib/seam/connect/models/acs/acs-system.js +12 -0
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/openapi.js +22 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +49 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-system.ts +13 -0
- package/src/lib/seam/connect/openapi.ts +26 -0
- package/src/lib/seam/connect/route-types.ts +56 -0
|
@@ -15536,6 +15536,13 @@ export type Routes = {
|
|
|
15536
15536
|
message: string;
|
|
15537
15537
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
15538
15538
|
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
15539
|
+
} | {
|
|
15540
|
+
/** Date and time at which Seam created the error. */
|
|
15541
|
+
created_at: string;
|
|
15542
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
15543
|
+
message: string;
|
|
15544
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
15545
|
+
error_code: 'user_license_limit_reached';
|
|
15539
15546
|
} | {
|
|
15540
15547
|
/** Date and time at which Seam created the error. */
|
|
15541
15548
|
created_at: string;
|
|
@@ -38725,6 +38732,13 @@ export type Routes = {
|
|
|
38725
38732
|
message: string;
|
|
38726
38733
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
38727
38734
|
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
38735
|
+
} | {
|
|
38736
|
+
/** Date and time at which Seam created the error. */
|
|
38737
|
+
created_at: string;
|
|
38738
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
38739
|
+
message: string;
|
|
38740
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
38741
|
+
error_code: 'user_license_limit_reached';
|
|
38728
38742
|
} | {
|
|
38729
38743
|
/** Date and time at which Seam created the error. */
|
|
38730
38744
|
created_at: string;
|
|
@@ -38894,6 +38908,13 @@ export type Routes = {
|
|
|
38894
38908
|
message: string;
|
|
38895
38909
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
38896
38910
|
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
38911
|
+
} | {
|
|
38912
|
+
/** Date and time at which Seam created the error. */
|
|
38913
|
+
created_at: string;
|
|
38914
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
38915
|
+
message: string;
|
|
38916
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
38917
|
+
error_code: 'user_license_limit_reached';
|
|
38897
38918
|
} | {
|
|
38898
38919
|
/** Date and time at which Seam created the error. */
|
|
38899
38920
|
created_at: string;
|
|
@@ -39059,6 +39080,13 @@ export type Routes = {
|
|
|
39059
39080
|
message: string;
|
|
39060
39081
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
39061
39082
|
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
39083
|
+
} | {
|
|
39084
|
+
/** Date and time at which Seam created the error. */
|
|
39085
|
+
created_at: string;
|
|
39086
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
39087
|
+
message: string;
|
|
39088
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
39089
|
+
error_code: 'user_license_limit_reached';
|
|
39062
39090
|
} | {
|
|
39063
39091
|
/** Date and time at which Seam created the error. */
|
|
39064
39092
|
created_at: string;
|
|
@@ -103434,6 +103462,13 @@ export type Routes = {
|
|
|
103434
103462
|
message: string;
|
|
103435
103463
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
103436
103464
|
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
103465
|
+
} | {
|
|
103466
|
+
/** Date and time at which Seam created the error. */
|
|
103467
|
+
created_at: string;
|
|
103468
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
103469
|
+
message: string;
|
|
103470
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
103471
|
+
error_code: 'user_license_limit_reached';
|
|
103437
103472
|
} | {
|
|
103438
103473
|
/** Date and time at which Seam created the error. */
|
|
103439
103474
|
created_at: string;
|
|
@@ -146615,6 +146650,13 @@ export type Routes = {
|
|
|
146615
146650
|
message: string;
|
|
146616
146651
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
146617
146652
|
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
146653
|
+
} | {
|
|
146654
|
+
/** Date and time at which Seam created the error. */
|
|
146655
|
+
created_at: string;
|
|
146656
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
146657
|
+
message: string;
|
|
146658
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
146659
|
+
error_code: 'user_license_limit_reached';
|
|
146618
146660
|
} | {
|
|
146619
146661
|
/** Date and time at which Seam created the error. */
|
|
146620
146662
|
created_at: string;
|
|
@@ -149532,6 +149574,13 @@ export type Routes = {
|
|
|
149532
149574
|
message: string;
|
|
149533
149575
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
149534
149576
|
error_code: 'salto_ks_subscription_limit_exceeded';
|
|
149577
|
+
} | {
|
|
149578
|
+
/** Date and time at which Seam created the error. */
|
|
149579
|
+
created_at: string;
|
|
149580
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
149581
|
+
message: string;
|
|
149582
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
149583
|
+
error_code: 'user_license_limit_reached';
|
|
149535
149584
|
} | {
|
|
149536
149585
|
/** Date and time at which Seam created the error. */
|
|
149537
149586
|
created_at: string;
|
package/package.json
CHANGED
|
@@ -104,6 +104,17 @@ const salto_ks_subscription_limit_exceeded = common_acs_system_error.extend({
|
|
|
104
104
|
Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit.
|
|
105
105
|
`)
|
|
106
106
|
|
|
107
|
+
const user_license_limit_reached = common_acs_system_error.extend({
|
|
108
|
+
error_code: z
|
|
109
|
+
.literal('user_license_limit_reached')
|
|
110
|
+
.describe(error_code_description),
|
|
111
|
+
}).describe(`
|
|
112
|
+
---
|
|
113
|
+
resource_type: acs_system
|
|
114
|
+
---
|
|
115
|
+
Indicates that the access control system has reached the maximum number of users its license allows, so Seam cannot create new users on it and access for new guests is not provisioned. Remove unused users from the access control system or increase its license. The error clears once Seam can create users again.
|
|
116
|
+
`)
|
|
117
|
+
|
|
107
118
|
const acs_system_disconnected = common_acs_system_error.extend({
|
|
108
119
|
error_code: z
|
|
109
120
|
.literal('acs_system_disconnected')
|
|
@@ -164,6 +175,7 @@ const acs_system_error = z
|
|
|
164
175
|
bridge_disconnected,
|
|
165
176
|
visionline_instance_unreachable,
|
|
166
177
|
salto_ks_subscription_limit_exceeded,
|
|
178
|
+
user_license_limit_reached,
|
|
167
179
|
insufficient_permissions,
|
|
168
180
|
acs_system_disconnected,
|
|
169
181
|
account_disconnected,
|
|
@@ -183,6 +195,7 @@ const _acs_system_error_map = z.object({
|
|
|
183
195
|
salto_ks_subscription_limit_exceeded: salto_ks_subscription_limit_exceeded
|
|
184
196
|
.optional()
|
|
185
197
|
.nullable(),
|
|
198
|
+
user_license_limit_reached: user_license_limit_reached.optional().nullable(),
|
|
186
199
|
insufficient_permissions: insufficient_permissions.optional().nullable(),
|
|
187
200
|
acs_system_disconnected: acs_system_disconnected.optional().nullable(),
|
|
188
201
|
account_disconnected: account_disconnected.optional().nullable(),
|
|
@@ -4943,6 +4943,32 @@ const openapi: OpenAPISpec = {
|
|
|
4943
4943
|
type: 'object',
|
|
4944
4944
|
'x-resource-type': 'acs_system',
|
|
4945
4945
|
},
|
|
4946
|
+
{
|
|
4947
|
+
description:
|
|
4948
|
+
'Indicates that the access control system has reached the maximum number of users its license allows, so Seam cannot create new users on it and access for new guests is not provisioned. Remove unused users from the access control system or increase its license. The error clears once Seam can create users again.',
|
|
4949
|
+
properties: {
|
|
4950
|
+
created_at: {
|
|
4951
|
+
description:
|
|
4952
|
+
'Date and time at which Seam created the error.',
|
|
4953
|
+
format: 'date-time',
|
|
4954
|
+
type: 'string',
|
|
4955
|
+
},
|
|
4956
|
+
error_code: {
|
|
4957
|
+
description:
|
|
4958
|
+
'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
4959
|
+
enum: ['user_license_limit_reached'],
|
|
4960
|
+
type: 'string',
|
|
4961
|
+
},
|
|
4962
|
+
message: {
|
|
4963
|
+
description:
|
|
4964
|
+
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
4965
|
+
type: 'string',
|
|
4966
|
+
},
|
|
4967
|
+
},
|
|
4968
|
+
required: ['created_at', 'message', 'error_code'],
|
|
4969
|
+
type: 'object',
|
|
4970
|
+
'x-resource-type': 'acs_system',
|
|
4971
|
+
},
|
|
4946
4972
|
{
|
|
4947
4973
|
description:
|
|
4948
4974
|
"Indicates that the provider's system backing this [access control system](https://www.seam.co/docs/low-level-apis/access-systems) is not letting Seam act on it, so access cannot be managed until this is resolved. The error message says which of two causes applies. Either Seam's integration user does not have sufficient permissions on the provider's system, or has been suspended there: grant the integration user the required permissions in the provider's system, or reauthorize the connected account in Seam. Or the provider account or site does not have a valid subscription with the provider: set up or renew that subscription with the provider.",
|
|
@@ -18065,6 +18065,14 @@ export type Routes = {
|
|
|
18065
18065
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
18066
18066
|
error_code: 'salto_ks_subscription_limit_exceeded'
|
|
18067
18067
|
}
|
|
18068
|
+
| {
|
|
18069
|
+
/** Date and time at which Seam created the error. */
|
|
18070
|
+
created_at: string
|
|
18071
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
18072
|
+
message: string
|
|
18073
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
18074
|
+
error_code: 'user_license_limit_reached'
|
|
18075
|
+
}
|
|
18068
18076
|
| {
|
|
18069
18077
|
/** Date and time at which Seam created the error. */
|
|
18070
18078
|
created_at: string
|
|
@@ -45238,6 +45246,14 @@ export type Routes = {
|
|
|
45238
45246
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
45239
45247
|
error_code: 'salto_ks_subscription_limit_exceeded'
|
|
45240
45248
|
}
|
|
45249
|
+
| {
|
|
45250
|
+
/** Date and time at which Seam created the error. */
|
|
45251
|
+
created_at: string
|
|
45252
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
45253
|
+
message: string
|
|
45254
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
45255
|
+
error_code: 'user_license_limit_reached'
|
|
45256
|
+
}
|
|
45241
45257
|
| {
|
|
45242
45258
|
/** Date and time at which Seam created the error. */
|
|
45243
45259
|
created_at: string
|
|
@@ -45464,6 +45480,14 @@ export type Routes = {
|
|
|
45464
45480
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
45465
45481
|
error_code: 'salto_ks_subscription_limit_exceeded'
|
|
45466
45482
|
}
|
|
45483
|
+
| {
|
|
45484
|
+
/** Date and time at which Seam created the error. */
|
|
45485
|
+
created_at: string
|
|
45486
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
45487
|
+
message: string
|
|
45488
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
45489
|
+
error_code: 'user_license_limit_reached'
|
|
45490
|
+
}
|
|
45467
45491
|
| {
|
|
45468
45492
|
/** Date and time at which Seam created the error. */
|
|
45469
45493
|
created_at: string
|
|
@@ -45686,6 +45710,14 @@ export type Routes = {
|
|
|
45686
45710
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
45687
45711
|
error_code: 'salto_ks_subscription_limit_exceeded'
|
|
45688
45712
|
}
|
|
45713
|
+
| {
|
|
45714
|
+
/** Date and time at which Seam created the error. */
|
|
45715
|
+
created_at: string
|
|
45716
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
45717
|
+
message: string
|
|
45718
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
45719
|
+
error_code: 'user_license_limit_reached'
|
|
45720
|
+
}
|
|
45689
45721
|
| {
|
|
45690
45722
|
/** Date and time at which Seam created the error. */
|
|
45691
45723
|
created_at: string
|
|
@@ -123661,6 +123693,14 @@ export type Routes = {
|
|
|
123661
123693
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
123662
123694
|
error_code: 'salto_ks_subscription_limit_exceeded'
|
|
123663
123695
|
}
|
|
123696
|
+
| {
|
|
123697
|
+
/** Date and time at which Seam created the error. */
|
|
123698
|
+
created_at: string
|
|
123699
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
123700
|
+
message: string
|
|
123701
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
123702
|
+
error_code: 'user_license_limit_reached'
|
|
123703
|
+
}
|
|
123664
123704
|
| {
|
|
123665
123705
|
/** Date and time at which Seam created the error. */
|
|
123666
123706
|
created_at: string
|
|
@@ -174377,6 +174417,14 @@ export type Routes = {
|
|
|
174377
174417
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
174378
174418
|
error_code: 'salto_ks_subscription_limit_exceeded'
|
|
174379
174419
|
}
|
|
174420
|
+
| {
|
|
174421
|
+
/** Date and time at which Seam created the error. */
|
|
174422
|
+
created_at: string
|
|
174423
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
174424
|
+
message: string
|
|
174425
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
174426
|
+
error_code: 'user_license_limit_reached'
|
|
174427
|
+
}
|
|
174380
174428
|
| {
|
|
174381
174429
|
/** Date and time at which Seam created the error. */
|
|
174382
174430
|
created_at: string
|
|
@@ -177973,6 +178021,14 @@ export type Routes = {
|
|
|
177973
178021
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
177974
178022
|
error_code: 'salto_ks_subscription_limit_exceeded'
|
|
177975
178023
|
}
|
|
178024
|
+
| {
|
|
178025
|
+
/** Date and time at which Seam created the error. */
|
|
178026
|
+
created_at: string
|
|
178027
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
178028
|
+
message: string
|
|
178029
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
178030
|
+
error_code: 'user_license_limit_reached'
|
|
178031
|
+
}
|
|
177976
178032
|
| {
|
|
177977
178033
|
/** Date and time at which Seam created the error. */
|
|
177978
178034
|
created_at: string
|