@seamapi/types 1.1192.0 → 1.1193.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 +9 -0
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/openapi.js +21 -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 +25 -0
- package/src/lib/seam/connect/route-types.ts +56 -0
|
@@ -16525,6 +16525,13 @@ export type Routes = {
|
|
|
16525
16525
|
message: string;
|
|
16526
16526
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
16527
16527
|
warning_code: 'salto_ks_subscription_limit_almost_reached';
|
|
16528
|
+
} | {
|
|
16529
|
+
/** Date and time at which Seam created the warning. */
|
|
16530
|
+
created_at: string;
|
|
16531
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
16532
|
+
message: string;
|
|
16533
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
16534
|
+
warning_code: 'salto_ks_custom_pins_not_supported';
|
|
16528
16535
|
} | {
|
|
16529
16536
|
/** Date and time at which Seam created the warning. */
|
|
16530
16537
|
created_at: string;
|
|
@@ -41406,6 +41413,13 @@ export type Routes = {
|
|
|
41406
41413
|
message: string;
|
|
41407
41414
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
41408
41415
|
warning_code: 'salto_ks_subscription_limit_almost_reached';
|
|
41416
|
+
} | {
|
|
41417
|
+
/** Date and time at which Seam created the warning. */
|
|
41418
|
+
created_at: string;
|
|
41419
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
41420
|
+
message: string;
|
|
41421
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
41422
|
+
warning_code: 'salto_ks_custom_pins_not_supported';
|
|
41409
41423
|
} | {
|
|
41410
41424
|
/** Date and time at which Seam created the warning. */
|
|
41411
41425
|
created_at: string;
|
|
@@ -41582,6 +41596,13 @@ export type Routes = {
|
|
|
41582
41596
|
message: string;
|
|
41583
41597
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
41584
41598
|
warning_code: 'salto_ks_subscription_limit_almost_reached';
|
|
41599
|
+
} | {
|
|
41600
|
+
/** Date and time at which Seam created the warning. */
|
|
41601
|
+
created_at: string;
|
|
41602
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
41603
|
+
message: string;
|
|
41604
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
41605
|
+
warning_code: 'salto_ks_custom_pins_not_supported';
|
|
41585
41606
|
} | {
|
|
41586
41607
|
/** Date and time at which Seam created the warning. */
|
|
41587
41608
|
created_at: string;
|
|
@@ -41754,6 +41775,13 @@ export type Routes = {
|
|
|
41754
41775
|
message: string;
|
|
41755
41776
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
41756
41777
|
warning_code: 'salto_ks_subscription_limit_almost_reached';
|
|
41778
|
+
} | {
|
|
41779
|
+
/** Date and time at which Seam created the warning. */
|
|
41780
|
+
created_at: string;
|
|
41781
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
41782
|
+
message: string;
|
|
41783
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
41784
|
+
warning_code: 'salto_ks_custom_pins_not_supported';
|
|
41757
41785
|
} | {
|
|
41758
41786
|
/** Date and time at which Seam created the warning. */
|
|
41759
41787
|
created_at: string;
|
|
@@ -117833,6 +117861,13 @@ export type Routes = {
|
|
|
117833
117861
|
message: string;
|
|
117834
117862
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
117835
117863
|
warning_code: 'salto_ks_subscription_limit_almost_reached';
|
|
117864
|
+
} | {
|
|
117865
|
+
/** Date and time at which Seam created the warning. */
|
|
117866
|
+
created_at: string;
|
|
117867
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
117868
|
+
message: string;
|
|
117869
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
117870
|
+
warning_code: 'salto_ks_custom_pins_not_supported';
|
|
117836
117871
|
} | {
|
|
117837
117872
|
/** Date and time at which Seam created the warning. */
|
|
117838
117873
|
created_at: string;
|
|
@@ -169176,6 +169211,13 @@ export type Routes = {
|
|
|
169176
169211
|
message: string;
|
|
169177
169212
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
169178
169213
|
warning_code: 'salto_ks_subscription_limit_almost_reached';
|
|
169214
|
+
} | {
|
|
169215
|
+
/** Date and time at which Seam created the warning. */
|
|
169216
|
+
created_at: string;
|
|
169217
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
169218
|
+
message: string;
|
|
169219
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
169220
|
+
warning_code: 'salto_ks_custom_pins_not_supported';
|
|
169179
169221
|
} | {
|
|
169180
169222
|
/** Date and time at which Seam created the warning. */
|
|
169181
169223
|
created_at: string;
|
|
@@ -173288,6 +173330,13 @@ export type Routes = {
|
|
|
173288
173330
|
message: string;
|
|
173289
173331
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
173290
173332
|
warning_code: 'salto_ks_subscription_limit_almost_reached';
|
|
173333
|
+
} | {
|
|
173334
|
+
/** Date and time at which Seam created the warning. */
|
|
173335
|
+
created_at: string;
|
|
173336
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
173337
|
+
message: string;
|
|
173338
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
173339
|
+
warning_code: 'salto_ks_custom_pins_not_supported';
|
|
173291
173340
|
} | {
|
|
173292
173341
|
/** Date and time at which Seam created the warning. */
|
|
173293
173342
|
created_at: string;
|
package/package.json
CHANGED
|
@@ -223,6 +223,16 @@ const salto_ks_subscription_limit_almost_reached = common_acs_system_warning
|
|
|
223
223
|
'Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Increase your subscription limit or delete some users from your site to rectify the issue.',
|
|
224
224
|
)
|
|
225
225
|
|
|
226
|
+
const salto_ks_custom_pins_not_supported = common_acs_system_warning
|
|
227
|
+
.extend({
|
|
228
|
+
warning_code: z
|
|
229
|
+
.literal('salto_ks_custom_pins_not_supported')
|
|
230
|
+
.describe(warning_code_description),
|
|
231
|
+
})
|
|
232
|
+
.describe(
|
|
233
|
+
"Indicates that the Salto KS site does not accept custom PIN codes, either because its Salto subscription does not include the Custom PIN feature or because Custom PIN is turned off in the site's settings. Salto KS generates every PIN on the site, so a PIN code requested on an access grant or reservation is replaced with a Salto-generated one. The message says which of the two applies.",
|
|
234
|
+
)
|
|
235
|
+
|
|
226
236
|
const time_zone_does_not_match_location = common_acs_system_warning
|
|
227
237
|
.extend({
|
|
228
238
|
warning_code: z
|
|
@@ -267,6 +277,7 @@ const unknown_issue_with_acs_system = common_acs_system_warning.extend({
|
|
|
267
277
|
const acs_system_warning = z
|
|
268
278
|
.discriminatedUnion('warning_code', [
|
|
269
279
|
salto_ks_subscription_limit_almost_reached,
|
|
280
|
+
salto_ks_custom_pins_not_supported,
|
|
270
281
|
time_zone_does_not_match_location,
|
|
271
282
|
setup_required,
|
|
272
283
|
unknown_issue_with_acs_system,
|
|
@@ -278,6 +289,8 @@ const acs_system_warning = z
|
|
|
278
289
|
const _acs_system_warning_map = z.object({
|
|
279
290
|
salto_ks_subscription_limit_almost_reached:
|
|
280
291
|
salto_ks_subscription_limit_almost_reached.optional(),
|
|
292
|
+
salto_ks_custom_pins_not_supported:
|
|
293
|
+
salto_ks_custom_pins_not_supported.optional(),
|
|
281
294
|
time_zone_does_not_match_location:
|
|
282
295
|
time_zone_does_not_match_location.optional(),
|
|
283
296
|
setup_required: setup_required.optional(),
|
|
@@ -5416,6 +5416,31 @@ const openapi: OpenAPISpec = {
|
|
|
5416
5416
|
required: ['created_at', 'message', 'warning_code'],
|
|
5417
5417
|
type: 'object',
|
|
5418
5418
|
},
|
|
5419
|
+
{
|
|
5420
|
+
description:
|
|
5421
|
+
"Indicates that the Salto KS site does not accept custom PIN codes, either because its Salto subscription does not include the Custom PIN feature or because Custom PIN is turned off in the site's settings. Salto KS generates every PIN on the site, so a PIN code requested on an access grant or reservation is replaced with a Salto-generated one. The message says which of the two applies.",
|
|
5422
|
+
properties: {
|
|
5423
|
+
created_at: {
|
|
5424
|
+
description:
|
|
5425
|
+
'Date and time at which Seam created the warning.',
|
|
5426
|
+
format: 'date-time',
|
|
5427
|
+
type: 'string',
|
|
5428
|
+
},
|
|
5429
|
+
message: {
|
|
5430
|
+
description:
|
|
5431
|
+
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
5432
|
+
type: 'string',
|
|
5433
|
+
},
|
|
5434
|
+
warning_code: {
|
|
5435
|
+
description:
|
|
5436
|
+
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
5437
|
+
enum: ['salto_ks_custom_pins_not_supported'],
|
|
5438
|
+
type: 'string',
|
|
5439
|
+
},
|
|
5440
|
+
},
|
|
5441
|
+
required: ['created_at', 'message', 'warning_code'],
|
|
5442
|
+
type: 'object',
|
|
5443
|
+
},
|
|
5419
5444
|
{
|
|
5420
5445
|
description:
|
|
5421
5446
|
'Indicates the [access control system](https://www.seam.co/docs/low-level-apis/access-systems) time zone could not be determined because the reported physical location does not match the time zone configured on the physical [ACS entrances](https://www.seam.co/docs/low-level-apis/access-systems/retrieving-entrance-details).',
|
|
@@ -19230,6 +19230,14 @@ export type Routes = {
|
|
|
19230
19230
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
19231
19231
|
warning_code: 'salto_ks_subscription_limit_almost_reached'
|
|
19232
19232
|
}
|
|
19233
|
+
| {
|
|
19234
|
+
/** Date and time at which Seam created the warning. */
|
|
19235
|
+
created_at: string
|
|
19236
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
19237
|
+
message: string
|
|
19238
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
19239
|
+
warning_code: 'salto_ks_custom_pins_not_supported'
|
|
19240
|
+
}
|
|
19233
19241
|
| {
|
|
19234
19242
|
/** Date and time at which Seam created the warning. */
|
|
19235
19243
|
created_at: string
|
|
@@ -48334,6 +48342,14 @@ export type Routes = {
|
|
|
48334
48342
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
48335
48343
|
warning_code: 'salto_ks_subscription_limit_almost_reached'
|
|
48336
48344
|
}
|
|
48345
|
+
| {
|
|
48346
|
+
/** Date and time at which Seam created the warning. */
|
|
48347
|
+
created_at: string
|
|
48348
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
48349
|
+
message: string
|
|
48350
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
48351
|
+
warning_code: 'salto_ks_custom_pins_not_supported'
|
|
48352
|
+
}
|
|
48337
48353
|
| {
|
|
48338
48354
|
/** Date and time at which Seam created the warning. */
|
|
48339
48355
|
created_at: string
|
|
@@ -48568,6 +48584,14 @@ export type Routes = {
|
|
|
48568
48584
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
48569
48585
|
warning_code: 'salto_ks_subscription_limit_almost_reached'
|
|
48570
48586
|
}
|
|
48587
|
+
| {
|
|
48588
|
+
/** Date and time at which Seam created the warning. */
|
|
48589
|
+
created_at: string
|
|
48590
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
48591
|
+
message: string
|
|
48592
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
48593
|
+
warning_code: 'salto_ks_custom_pins_not_supported'
|
|
48594
|
+
}
|
|
48571
48595
|
| {
|
|
48572
48596
|
/** Date and time at which Seam created the warning. */
|
|
48573
48597
|
created_at: string
|
|
@@ -48798,6 +48822,14 @@ export type Routes = {
|
|
|
48798
48822
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
48799
48823
|
warning_code: 'salto_ks_subscription_limit_almost_reached'
|
|
48800
48824
|
}
|
|
48825
|
+
| {
|
|
48826
|
+
/** Date and time at which Seam created the warning. */
|
|
48827
|
+
created_at: string
|
|
48828
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
48829
|
+
message: string
|
|
48830
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
48831
|
+
warning_code: 'salto_ks_custom_pins_not_supported'
|
|
48832
|
+
}
|
|
48801
48833
|
| {
|
|
48802
48834
|
/** Date and time at which Seam created the warning. */
|
|
48803
48835
|
created_at: string
|
|
@@ -140913,6 +140945,14 @@ export type Routes = {
|
|
|
140913
140945
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
140914
140946
|
warning_code: 'salto_ks_subscription_limit_almost_reached'
|
|
140915
140947
|
}
|
|
140948
|
+
| {
|
|
140949
|
+
/** Date and time at which Seam created the warning. */
|
|
140950
|
+
created_at: string
|
|
140951
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
140952
|
+
message: string
|
|
140953
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
140954
|
+
warning_code: 'salto_ks_custom_pins_not_supported'
|
|
140955
|
+
}
|
|
140916
140956
|
| {
|
|
140917
140957
|
/** Date and time at which Seam created the warning. */
|
|
140918
140958
|
created_at: string
|
|
@@ -201111,6 +201151,14 @@ export type Routes = {
|
|
|
201111
201151
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
201112
201152
|
warning_code: 'salto_ks_subscription_limit_almost_reached'
|
|
201113
201153
|
}
|
|
201154
|
+
| {
|
|
201155
|
+
/** Date and time at which Seam created the warning. */
|
|
201156
|
+
created_at: string
|
|
201157
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
201158
|
+
message: string
|
|
201159
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
201160
|
+
warning_code: 'salto_ks_custom_pins_not_supported'
|
|
201161
|
+
}
|
|
201114
201162
|
| {
|
|
201115
201163
|
/** Date and time at which Seam created the warning. */
|
|
201116
201164
|
created_at: string
|
|
@@ -206159,6 +206207,14 @@ export type Routes = {
|
|
|
206159
206207
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
206160
206208
|
warning_code: 'salto_ks_subscription_limit_almost_reached'
|
|
206161
206209
|
}
|
|
206210
|
+
| {
|
|
206211
|
+
/** Date and time at which Seam created the warning. */
|
|
206212
|
+
created_at: string
|
|
206213
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
206214
|
+
message: string
|
|
206215
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
206216
|
+
warning_code: 'salto_ks_custom_pins_not_supported'
|
|
206217
|
+
}
|
|
206162
206218
|
| {
|
|
206163
206219
|
/** Date and time at which Seam created the warning. */
|
|
206164
206220
|
created_at: string
|