@seamapi/types 1.243.0 → 1.243.1
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 +49 -121
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +63 -273
- package/lib/seam/connect/models/acs/acs-user.d.ts +45 -100
- package/lib/seam/connect/models/acs/acs-user.js +4 -8
- package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +12 -138
- package/lib/seam/connect/openapi.js +45 -113
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +21 -63
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-user.ts +4 -8
- package/src/lib/seam/connect/openapi.ts +45 -122
- package/src/lib/seam/connect/route-types.ts +21 -70
package/dist/connect.cjs
CHANGED
|
@@ -1361,17 +1361,17 @@ var acs_users_salto_ks_subscription_limit_exceeded = common_acs_user_error.exten
|
|
|
1361
1361
|
`Indicates that the user could not be subscribed on Salto KS because the subscription limit has been exceeded.`
|
|
1362
1362
|
);
|
|
1363
1363
|
var acs_users_failed_to_create_on_acs_system = common_acs_user_error.extend({
|
|
1364
|
-
|
|
1364
|
+
error_code: zod.z.literal("failed_to_create_on_acs_system")
|
|
1365
1365
|
}).describe(
|
|
1366
1366
|
`Indicates that the user was not created on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.`
|
|
1367
1367
|
);
|
|
1368
1368
|
var acs_users_failed_to_update_on_acs_system = common_acs_user_error.extend({
|
|
1369
|
-
|
|
1369
|
+
error_code: zod.z.literal("failed_to_update_on_acs_system")
|
|
1370
1370
|
}).describe(
|
|
1371
1371
|
`Indicates that the user was not updated on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.`
|
|
1372
1372
|
);
|
|
1373
1373
|
var acs_users_failed_to_delete_on_acs_system = common_acs_user_error.extend({
|
|
1374
|
-
|
|
1374
|
+
error_code: zod.z.literal("failed_to_delete_on_acs_system")
|
|
1375
1375
|
}).describe(
|
|
1376
1376
|
`Indicates that the user was not deleted on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.`
|
|
1377
1377
|
);
|
|
@@ -1407,11 +1407,7 @@ zod.z.object({
|
|
|
1407
1407
|
being_deleted: acs_users_being_deleted.optional().nullable(),
|
|
1408
1408
|
salto_ks_user_not_subscribed: acs_users_salto_ks_user_not_subscribed.optional().nullable()
|
|
1409
1409
|
});
|
|
1410
|
-
var acs_users_warnings = zod.z.union([
|
|
1411
|
-
acs_users_being_deleted,
|
|
1412
|
-
acs_users_failed_to_update_on_acs_system,
|
|
1413
|
-
acs_users_salto_ks_user_not_subscribed
|
|
1414
|
-
]).describe("Warning associated with the `acs_user`.");
|
|
1410
|
+
var acs_users_warnings = zod.z.union([acs_users_being_deleted, acs_users_salto_ks_user_not_subscribed]).describe("Warning associated with the `acs_user`.");
|
|
1415
1411
|
var user_fields = zod.z.object({
|
|
1416
1412
|
full_name: zod.z.string().optional(),
|
|
1417
1413
|
email: zod.z.string().email().optional().describe(`
|
|
@@ -3109,16 +3105,16 @@ var openapi_default = {
|
|
|
3109
3105
|
format: "date-time",
|
|
3110
3106
|
type: "string"
|
|
3111
3107
|
},
|
|
3112
|
-
|
|
3113
|
-
|
|
3108
|
+
error_code: {
|
|
3109
|
+
enum: ["failed_to_create_on_acs_system"],
|
|
3114
3110
|
type: "string"
|
|
3115
3111
|
},
|
|
3116
|
-
|
|
3117
|
-
|
|
3112
|
+
message: {
|
|
3113
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
3118
3114
|
type: "string"
|
|
3119
3115
|
}
|
|
3120
3116
|
},
|
|
3121
|
-
required: ["created_at", "message", "
|
|
3117
|
+
required: ["created_at", "message", "error_code"],
|
|
3122
3118
|
type: "object"
|
|
3123
3119
|
},
|
|
3124
3120
|
{
|
|
@@ -3129,16 +3125,16 @@ var openapi_default = {
|
|
|
3129
3125
|
format: "date-time",
|
|
3130
3126
|
type: "string"
|
|
3131
3127
|
},
|
|
3132
|
-
|
|
3133
|
-
|
|
3128
|
+
error_code: {
|
|
3129
|
+
enum: ["failed_to_update_on_acs_system"],
|
|
3134
3130
|
type: "string"
|
|
3135
3131
|
},
|
|
3136
|
-
|
|
3137
|
-
|
|
3132
|
+
message: {
|
|
3133
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
3138
3134
|
type: "string"
|
|
3139
3135
|
}
|
|
3140
3136
|
},
|
|
3141
|
-
required: ["created_at", "message", "
|
|
3137
|
+
required: ["created_at", "message", "error_code"],
|
|
3142
3138
|
type: "object"
|
|
3143
3139
|
},
|
|
3144
3140
|
{
|
|
@@ -3149,16 +3145,16 @@ var openapi_default = {
|
|
|
3149
3145
|
format: "date-time",
|
|
3150
3146
|
type: "string"
|
|
3151
3147
|
},
|
|
3152
|
-
|
|
3153
|
-
|
|
3148
|
+
error_code: {
|
|
3149
|
+
enum: ["failed_to_delete_on_acs_system"],
|
|
3154
3150
|
type: "string"
|
|
3155
3151
|
},
|
|
3156
|
-
|
|
3157
|
-
|
|
3152
|
+
message: {
|
|
3153
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
3158
3154
|
type: "string"
|
|
3159
3155
|
}
|
|
3160
3156
|
},
|
|
3161
|
-
required: ["created_at", "message", "
|
|
3157
|
+
required: ["created_at", "message", "error_code"],
|
|
3162
3158
|
type: "object"
|
|
3163
3159
|
}
|
|
3164
3160
|
]
|
|
@@ -3204,26 +3200,6 @@ var openapi_default = {
|
|
|
3204
3200
|
required: ["created_at", "message", "warning_code"],
|
|
3205
3201
|
type: "object"
|
|
3206
3202
|
},
|
|
3207
|
-
{
|
|
3208
|
-
description: "Indicates that the user was not updated on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
|
|
3209
|
-
properties: {
|
|
3210
|
-
created_at: {
|
|
3211
|
-
description: "Date and time at which Seam created the error.",
|
|
3212
|
-
format: "date-time",
|
|
3213
|
-
type: "string"
|
|
3214
|
-
},
|
|
3215
|
-
message: {
|
|
3216
|
-
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
3217
|
-
type: "string"
|
|
3218
|
-
},
|
|
3219
|
-
warning_code: {
|
|
3220
|
-
enum: ["failed_to_update_on_acs_system"],
|
|
3221
|
-
type: "string"
|
|
3222
|
-
}
|
|
3223
|
-
},
|
|
3224
|
-
required: ["created_at", "message", "warning_code"],
|
|
3225
|
-
type: "object"
|
|
3226
|
-
},
|
|
3227
3203
|
{
|
|
3228
3204
|
description: "Indicates that the user is not subscribed on the Salto KS, so they cannot unlock doors or perform any actions. This occur when the their access schedule hasn\u2019t started yet, or if their access schedule has ended, or if the site has reached its limit for active users (subscription slots), or if they have been manually unsubscribed.",
|
|
3229
3205
|
properties: {
|
|
@@ -10310,19 +10286,19 @@ var openapi_default = {
|
|
|
10310
10286
|
format: "date-time",
|
|
10311
10287
|
type: "string"
|
|
10312
10288
|
},
|
|
10313
|
-
|
|
10314
|
-
|
|
10289
|
+
error_code: {
|
|
10290
|
+
enum: ["failed_to_create_on_acs_system"],
|
|
10315
10291
|
type: "string"
|
|
10316
10292
|
},
|
|
10317
|
-
|
|
10318
|
-
|
|
10293
|
+
message: {
|
|
10294
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
10319
10295
|
type: "string"
|
|
10320
10296
|
}
|
|
10321
10297
|
},
|
|
10322
10298
|
required: [
|
|
10323
10299
|
"created_at",
|
|
10324
10300
|
"message",
|
|
10325
|
-
"
|
|
10301
|
+
"error_code"
|
|
10326
10302
|
],
|
|
10327
10303
|
type: "object"
|
|
10328
10304
|
},
|
|
@@ -10334,19 +10310,19 @@ var openapi_default = {
|
|
|
10334
10310
|
format: "date-time",
|
|
10335
10311
|
type: "string"
|
|
10336
10312
|
},
|
|
10337
|
-
|
|
10338
|
-
|
|
10313
|
+
error_code: {
|
|
10314
|
+
enum: ["failed_to_update_on_acs_system"],
|
|
10339
10315
|
type: "string"
|
|
10340
10316
|
},
|
|
10341
|
-
|
|
10342
|
-
|
|
10317
|
+
message: {
|
|
10318
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
10343
10319
|
type: "string"
|
|
10344
10320
|
}
|
|
10345
10321
|
},
|
|
10346
10322
|
required: [
|
|
10347
10323
|
"created_at",
|
|
10348
10324
|
"message",
|
|
10349
|
-
"
|
|
10325
|
+
"error_code"
|
|
10350
10326
|
],
|
|
10351
10327
|
type: "object"
|
|
10352
10328
|
},
|
|
@@ -10358,19 +10334,19 @@ var openapi_default = {
|
|
|
10358
10334
|
format: "date-time",
|
|
10359
10335
|
type: "string"
|
|
10360
10336
|
},
|
|
10361
|
-
|
|
10362
|
-
|
|
10337
|
+
error_code: {
|
|
10338
|
+
enum: ["failed_to_delete_on_acs_system"],
|
|
10363
10339
|
type: "string"
|
|
10364
10340
|
},
|
|
10365
|
-
|
|
10366
|
-
|
|
10341
|
+
message: {
|
|
10342
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
10367
10343
|
type: "string"
|
|
10368
10344
|
}
|
|
10369
10345
|
},
|
|
10370
10346
|
required: [
|
|
10371
10347
|
"created_at",
|
|
10372
10348
|
"message",
|
|
10373
|
-
"
|
|
10349
|
+
"error_code"
|
|
10374
10350
|
],
|
|
10375
10351
|
type: "object"
|
|
10376
10352
|
}
|
|
@@ -10438,30 +10414,6 @@ var openapi_default = {
|
|
|
10438
10414
|
],
|
|
10439
10415
|
type: "object"
|
|
10440
10416
|
},
|
|
10441
|
-
{
|
|
10442
|
-
description: "Indicates that the user was not updated on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
|
|
10443
|
-
properties: {
|
|
10444
|
-
created_at: {
|
|
10445
|
-
description: "Date and time at which Seam created the error.",
|
|
10446
|
-
format: "date-time",
|
|
10447
|
-
type: "string"
|
|
10448
|
-
},
|
|
10449
|
-
message: {
|
|
10450
|
-
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
10451
|
-
type: "string"
|
|
10452
|
-
},
|
|
10453
|
-
warning_code: {
|
|
10454
|
-
enum: ["failed_to_update_on_acs_system"],
|
|
10455
|
-
type: "string"
|
|
10456
|
-
}
|
|
10457
|
-
},
|
|
10458
|
-
required: [
|
|
10459
|
-
"created_at",
|
|
10460
|
-
"message",
|
|
10461
|
-
"warning_code"
|
|
10462
|
-
],
|
|
10463
|
-
type: "object"
|
|
10464
|
-
},
|
|
10465
10417
|
{
|
|
10466
10418
|
description: "Indicates that the user is not subscribed on the Salto KS, so they cannot unlock doors or perform any actions. This occur when the their access schedule hasn\u2019t started yet, or if their access schedule has ended, or if the site has reached its limit for active users (subscription slots), or if they have been manually unsubscribed.",
|
|
10467
10419
|
properties: {
|
|
@@ -10629,19 +10581,19 @@ var openapi_default = {
|
|
|
10629
10581
|
format: "date-time",
|
|
10630
10582
|
type: "string"
|
|
10631
10583
|
},
|
|
10632
|
-
|
|
10633
|
-
|
|
10584
|
+
error_code: {
|
|
10585
|
+
enum: ["failed_to_create_on_acs_system"],
|
|
10634
10586
|
type: "string"
|
|
10635
10587
|
},
|
|
10636
|
-
|
|
10637
|
-
|
|
10588
|
+
message: {
|
|
10589
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
10638
10590
|
type: "string"
|
|
10639
10591
|
}
|
|
10640
10592
|
},
|
|
10641
10593
|
required: [
|
|
10642
10594
|
"created_at",
|
|
10643
10595
|
"message",
|
|
10644
|
-
"
|
|
10596
|
+
"error_code"
|
|
10645
10597
|
],
|
|
10646
10598
|
type: "object"
|
|
10647
10599
|
},
|
|
@@ -10653,19 +10605,19 @@ var openapi_default = {
|
|
|
10653
10605
|
format: "date-time",
|
|
10654
10606
|
type: "string"
|
|
10655
10607
|
},
|
|
10656
|
-
|
|
10657
|
-
|
|
10608
|
+
error_code: {
|
|
10609
|
+
enum: ["failed_to_update_on_acs_system"],
|
|
10658
10610
|
type: "string"
|
|
10659
10611
|
},
|
|
10660
|
-
|
|
10661
|
-
|
|
10612
|
+
message: {
|
|
10613
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
10662
10614
|
type: "string"
|
|
10663
10615
|
}
|
|
10664
10616
|
},
|
|
10665
10617
|
required: [
|
|
10666
10618
|
"created_at",
|
|
10667
10619
|
"message",
|
|
10668
|
-
"
|
|
10620
|
+
"error_code"
|
|
10669
10621
|
],
|
|
10670
10622
|
type: "object"
|
|
10671
10623
|
},
|
|
@@ -10677,19 +10629,19 @@ var openapi_default = {
|
|
|
10677
10629
|
format: "date-time",
|
|
10678
10630
|
type: "string"
|
|
10679
10631
|
},
|
|
10680
|
-
|
|
10681
|
-
|
|
10632
|
+
error_code: {
|
|
10633
|
+
enum: ["failed_to_delete_on_acs_system"],
|
|
10682
10634
|
type: "string"
|
|
10683
10635
|
},
|
|
10684
|
-
|
|
10685
|
-
|
|
10636
|
+
message: {
|
|
10637
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
10686
10638
|
type: "string"
|
|
10687
10639
|
}
|
|
10688
10640
|
},
|
|
10689
10641
|
required: [
|
|
10690
10642
|
"created_at",
|
|
10691
10643
|
"message",
|
|
10692
|
-
"
|
|
10644
|
+
"error_code"
|
|
10693
10645
|
],
|
|
10694
10646
|
type: "object"
|
|
10695
10647
|
}
|
|
@@ -10757,30 +10709,6 @@ var openapi_default = {
|
|
|
10757
10709
|
],
|
|
10758
10710
|
type: "object"
|
|
10759
10711
|
},
|
|
10760
|
-
{
|
|
10761
|
-
description: "Indicates that the user was not updated on the ACS system. This is likely due to an internal unexpected error. Please contact Seam's support if you encounter this.",
|
|
10762
|
-
properties: {
|
|
10763
|
-
created_at: {
|
|
10764
|
-
description: "Date and time at which Seam created the error.",
|
|
10765
|
-
format: "date-time",
|
|
10766
|
-
type: "string"
|
|
10767
|
-
},
|
|
10768
|
-
message: {
|
|
10769
|
-
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
10770
|
-
type: "string"
|
|
10771
|
-
},
|
|
10772
|
-
warning_code: {
|
|
10773
|
-
enum: ["failed_to_update_on_acs_system"],
|
|
10774
|
-
type: "string"
|
|
10775
|
-
}
|
|
10776
|
-
},
|
|
10777
|
-
required: [
|
|
10778
|
-
"created_at",
|
|
10779
|
-
"message",
|
|
10780
|
-
"warning_code"
|
|
10781
|
-
],
|
|
10782
|
-
type: "object"
|
|
10783
|
-
},
|
|
10784
10712
|
{
|
|
10785
10713
|
description: "Indicates that the user is not subscribed on the Salto KS, so they cannot unlock doors or perform any actions. This occur when the their access schedule hasn\u2019t started yet, or if their access schedule has ended, or if the site has reached its limit for active users (subscription slots), or if they have been manually unsubscribed.",
|
|
10786
10714
|
properties: {
|