@seamapi/types 1.43.0 → 1.44.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 +243 -11
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +456 -18
- package/lib/seam/connect/openapi.d.ts +329 -0
- package/lib/seam/connect/openapi.js +224 -8
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +98 -15
- package/lib/seam/connect/stable/model-types.d.ts +1 -1
- package/lib/seam/connect/stable/models/connect-webview.d.ts +21 -0
- package/lib/seam/connect/stable/models/connect-webview.js +8 -0
- package/lib/seam/connect/stable/models/connect-webview.js.map +1 -1
- package/lib/seam/connect/stable/models/custom-metadata.d.ts +3 -0
- package/lib/seam/connect/stable/models/custom-metadata.js +7 -0
- package/lib/seam/connect/stable/models/custom-metadata.js.map +1 -0
- package/lib/seam/connect/stable/models/index.d.ts +1 -0
- package/lib/seam/connect/stable/models/index.js +1 -0
- package/lib/seam/connect/stable/models/index.js.map +1 -1
- package/lib/seam/connect/stable/schemas.d.ts +1 -1
- package/lib/seam/connect/stable/schemas.js +1 -1
- package/lib/seam/connect/stable/schemas.js.map +1 -1
- package/lib/seam/connect/unstable/models/acs/credential.d.ts +7 -7
- package/lib/seam/connect/unstable/models/acs/credential.js +5 -2
- package/lib/seam/connect/unstable/models/acs/credential.js.map +1 -1
- package/lib/seam/connect/unstable/models/acs/user.d.ts +4 -4
- package/lib/seam/connect/unstable/models/acs/user.js +1 -1
- package/lib/seam/connect/unstable/models/acs/user.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +224 -8
- package/src/lib/seam/connect/route-types.ts +98 -15
- package/src/lib/seam/connect/stable/model-types.ts +1 -1
- package/src/lib/seam/connect/stable/models/connect-webview.ts +9 -0
- package/src/lib/seam/connect/stable/models/custom-metadata.ts +12 -0
- package/src/lib/seam/connect/stable/models/index.ts +1 -0
- package/src/lib/seam/connect/stable/schemas.ts +1 -1
- package/src/lib/seam/connect/unstable/models/acs/credential.ts +5 -2
- package/src/lib/seam/connect/unstable/models/acs/user.ts +1 -1
|
@@ -139,7 +139,7 @@ export default {
|
|
|
139
139
|
type: 'string',
|
|
140
140
|
},
|
|
141
141
|
email_address: { format: 'email', type: 'string' },
|
|
142
|
-
external_type: { enum: ['pti_user'], type: 'string' },
|
|
142
|
+
external_type: { enum: ['pti_user', 'brivo_user'], type: 'string' },
|
|
143
143
|
external_type_display_name: { type: 'string' },
|
|
144
144
|
full_name: { type: 'string' },
|
|
145
145
|
is_suspended: { type: 'boolean' },
|
|
@@ -286,16 +286,46 @@ export default {
|
|
|
286
286
|
accepted_providers: { items: { type: 'string' }, type: 'array' },
|
|
287
287
|
any_device_allowed: { type: 'boolean' },
|
|
288
288
|
any_provider_allowed: { type: 'boolean' },
|
|
289
|
+
authorized_at: {
|
|
290
|
+
format: 'date-time',
|
|
291
|
+
nullable: true,
|
|
292
|
+
type: 'string',
|
|
293
|
+
},
|
|
294
|
+
automatically_manage_new_devices: { type: 'boolean' },
|
|
289
295
|
connect_webview_id: { format: 'uuid', type: 'string' },
|
|
290
296
|
connected_account_id: { format: 'uuid', type: 'string' },
|
|
291
297
|
created_at: { format: 'date-time', type: 'string' },
|
|
298
|
+
custom_metadata: {
|
|
299
|
+
additionalProperties: {
|
|
300
|
+
nullable: true,
|
|
301
|
+
oneOf: [
|
|
302
|
+
{ maxLength: 500, type: 'string' },
|
|
303
|
+
{ type: 'number' },
|
|
304
|
+
{ format: 'null', nullable: true, type: 'string' },
|
|
305
|
+
{ type: 'boolean' },
|
|
306
|
+
],
|
|
307
|
+
},
|
|
308
|
+
type: 'object',
|
|
309
|
+
},
|
|
310
|
+
custom_redirect_failure_url: {
|
|
311
|
+
format: 'uri',
|
|
312
|
+
nullable: true,
|
|
313
|
+
type: 'string',
|
|
314
|
+
},
|
|
315
|
+
custom_redirect_url: {
|
|
316
|
+
format: 'uri',
|
|
317
|
+
nullable: true,
|
|
318
|
+
type: 'string',
|
|
319
|
+
},
|
|
292
320
|
device_selection_mode: {
|
|
293
321
|
enum: ['none', 'single', 'multiple'],
|
|
294
322
|
type: 'string',
|
|
295
323
|
},
|
|
296
324
|
login_successful: { type: 'boolean' },
|
|
325
|
+
selected_provider: { nullable: true, type: 'string' },
|
|
297
326
|
status: { enum: ['pending', 'failed', 'authorized'], type: 'string' },
|
|
298
327
|
url: { format: 'uri', type: 'string' },
|
|
328
|
+
wait_for_device_creation: { type: 'boolean' },
|
|
299
329
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
300
330
|
},
|
|
301
331
|
required: [
|
|
@@ -310,6 +340,13 @@ export default {
|
|
|
310
340
|
'created_at',
|
|
311
341
|
'login_successful',
|
|
312
342
|
'status',
|
|
343
|
+
'custom_redirect_url',
|
|
344
|
+
'custom_redirect_failure_url',
|
|
345
|
+
'custom_metadata',
|
|
346
|
+
'automatically_manage_new_devices',
|
|
347
|
+
'wait_for_device_creation',
|
|
348
|
+
'authorized_at',
|
|
349
|
+
'selected_provider',
|
|
313
350
|
],
|
|
314
351
|
type: 'object',
|
|
315
352
|
},
|
|
@@ -3109,6 +3146,91 @@ export default {
|
|
|
3109
3146
|
'x-fern-sdk-method-name': 'update',
|
|
3110
3147
|
},
|
|
3111
3148
|
},
|
|
3149
|
+
'/acs/credentials/assign': {
|
|
3150
|
+
patch: {
|
|
3151
|
+
operationId: 'acsCredentialsAssignPatch',
|
|
3152
|
+
requestBody: {
|
|
3153
|
+
content: {
|
|
3154
|
+
'application/json': {
|
|
3155
|
+
schema: {
|
|
3156
|
+
properties: {
|
|
3157
|
+
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
3158
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
3159
|
+
},
|
|
3160
|
+
required: ['acs_user_id', 'acs_credential_id'],
|
|
3161
|
+
type: 'object',
|
|
3162
|
+
},
|
|
3163
|
+
},
|
|
3164
|
+
},
|
|
3165
|
+
},
|
|
3166
|
+
responses: {
|
|
3167
|
+
200: {
|
|
3168
|
+
content: {
|
|
3169
|
+
'application/json': {
|
|
3170
|
+
schema: {
|
|
3171
|
+
properties: { ok: { type: 'boolean' } },
|
|
3172
|
+
required: ['ok'],
|
|
3173
|
+
type: 'object',
|
|
3174
|
+
},
|
|
3175
|
+
},
|
|
3176
|
+
},
|
|
3177
|
+
description: 'OK',
|
|
3178
|
+
},
|
|
3179
|
+
400: { description: 'Bad Request' },
|
|
3180
|
+
401: { description: 'Unauthorized' },
|
|
3181
|
+
},
|
|
3182
|
+
security: [
|
|
3183
|
+
{ access_token: [], seam_workspace: [] },
|
|
3184
|
+
{ seam_client_session_token: [] },
|
|
3185
|
+
{ client_session_token: [] },
|
|
3186
|
+
],
|
|
3187
|
+
summary: '/acs/credentials/assign',
|
|
3188
|
+
tags: [],
|
|
3189
|
+
'x-fern-ignore': true,
|
|
3190
|
+
},
|
|
3191
|
+
post: {
|
|
3192
|
+
operationId: 'acsCredentialsAssignPost',
|
|
3193
|
+
requestBody: {
|
|
3194
|
+
content: {
|
|
3195
|
+
'application/json': {
|
|
3196
|
+
schema: {
|
|
3197
|
+
properties: {
|
|
3198
|
+
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
3199
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
3200
|
+
},
|
|
3201
|
+
required: ['acs_user_id', 'acs_credential_id'],
|
|
3202
|
+
type: 'object',
|
|
3203
|
+
},
|
|
3204
|
+
},
|
|
3205
|
+
},
|
|
3206
|
+
},
|
|
3207
|
+
responses: {
|
|
3208
|
+
200: {
|
|
3209
|
+
content: {
|
|
3210
|
+
'application/json': {
|
|
3211
|
+
schema: {
|
|
3212
|
+
properties: { ok: { type: 'boolean' } },
|
|
3213
|
+
required: ['ok'],
|
|
3214
|
+
type: 'object',
|
|
3215
|
+
},
|
|
3216
|
+
},
|
|
3217
|
+
},
|
|
3218
|
+
description: 'OK',
|
|
3219
|
+
},
|
|
3220
|
+
400: { description: 'Bad Request' },
|
|
3221
|
+
401: { description: 'Unauthorized' },
|
|
3222
|
+
},
|
|
3223
|
+
security: [
|
|
3224
|
+
{ access_token: [], seam_workspace: [] },
|
|
3225
|
+
{ seam_client_session_token: [] },
|
|
3226
|
+
{ client_session_token: [] },
|
|
3227
|
+
],
|
|
3228
|
+
summary: '/acs/credentials/assign',
|
|
3229
|
+
tags: [],
|
|
3230
|
+
'x-fern-sdk-group-name': ['acs', 'credentials'],
|
|
3231
|
+
'x-fern-sdk-method-name': 'assign',
|
|
3232
|
+
},
|
|
3233
|
+
},
|
|
3112
3234
|
'/acs/credentials/create': {
|
|
3113
3235
|
post: {
|
|
3114
3236
|
operationId: 'acsCredentialsCreatePost',
|
|
@@ -3139,13 +3261,15 @@ export default {
|
|
|
3139
3261
|
acs_user_id: { format: 'uuid', type: 'string' },
|
|
3140
3262
|
code: { nullable: true, type: 'string' },
|
|
3141
3263
|
created_at: { format: 'date-time', type: 'string' },
|
|
3142
|
-
external_type: {
|
|
3264
|
+
external_type: {
|
|
3265
|
+
enum: ['pti_card', 'brivo_credential'],
|
|
3266
|
+
type: 'string',
|
|
3267
|
+
},
|
|
3143
3268
|
external_type_display_name: { type: 'string' },
|
|
3144
3269
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
3145
3270
|
},
|
|
3146
3271
|
required: [
|
|
3147
3272
|
'acs_credential_id',
|
|
3148
|
-
'acs_user_id',
|
|
3149
3273
|
'acs_system_id',
|
|
3150
3274
|
'code',
|
|
3151
3275
|
'external_type',
|
|
@@ -3250,13 +3374,15 @@ export default {
|
|
|
3250
3374
|
acs_user_id: { format: 'uuid', type: 'string' },
|
|
3251
3375
|
code: { nullable: true, type: 'string' },
|
|
3252
3376
|
created_at: { format: 'date-time', type: 'string' },
|
|
3253
|
-
external_type: {
|
|
3377
|
+
external_type: {
|
|
3378
|
+
enum: ['pti_card', 'brivo_credential'],
|
|
3379
|
+
type: 'string',
|
|
3380
|
+
},
|
|
3254
3381
|
external_type_display_name: { type: 'string' },
|
|
3255
3382
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
3256
3383
|
},
|
|
3257
3384
|
required: [
|
|
3258
3385
|
'acs_credential_id',
|
|
3259
|
-
'acs_user_id',
|
|
3260
3386
|
'acs_system_id',
|
|
3261
3387
|
'code',
|
|
3262
3388
|
'external_type',
|
|
@@ -3338,13 +3464,15 @@ export default {
|
|
|
3338
3464
|
acs_user_id: { format: 'uuid', type: 'string' },
|
|
3339
3465
|
code: { nullable: true, type: 'string' },
|
|
3340
3466
|
created_at: { format: 'date-time', type: 'string' },
|
|
3341
|
-
external_type: {
|
|
3467
|
+
external_type: {
|
|
3468
|
+
enum: ['pti_card', 'brivo_credential'],
|
|
3469
|
+
type: 'string',
|
|
3470
|
+
},
|
|
3342
3471
|
external_type_display_name: { type: 'string' },
|
|
3343
3472
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
3344
3473
|
},
|
|
3345
3474
|
required: [
|
|
3346
3475
|
'acs_credential_id',
|
|
3347
|
-
'acs_user_id',
|
|
3348
3476
|
'acs_system_id',
|
|
3349
3477
|
'code',
|
|
3350
3478
|
'external_type',
|
|
@@ -3379,6 +3507,91 @@ export default {
|
|
|
3379
3507
|
'x-fern-sdk-method-name': 'list',
|
|
3380
3508
|
},
|
|
3381
3509
|
},
|
|
3510
|
+
'/acs/credentials/unassign': {
|
|
3511
|
+
patch: {
|
|
3512
|
+
operationId: 'acsCredentialsUnassignPatch',
|
|
3513
|
+
requestBody: {
|
|
3514
|
+
content: {
|
|
3515
|
+
'application/json': {
|
|
3516
|
+
schema: {
|
|
3517
|
+
properties: {
|
|
3518
|
+
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
3519
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
3520
|
+
},
|
|
3521
|
+
required: ['acs_user_id', 'acs_credential_id'],
|
|
3522
|
+
type: 'object',
|
|
3523
|
+
},
|
|
3524
|
+
},
|
|
3525
|
+
},
|
|
3526
|
+
},
|
|
3527
|
+
responses: {
|
|
3528
|
+
200: {
|
|
3529
|
+
content: {
|
|
3530
|
+
'application/json': {
|
|
3531
|
+
schema: {
|
|
3532
|
+
properties: { ok: { type: 'boolean' } },
|
|
3533
|
+
required: ['ok'],
|
|
3534
|
+
type: 'object',
|
|
3535
|
+
},
|
|
3536
|
+
},
|
|
3537
|
+
},
|
|
3538
|
+
description: 'OK',
|
|
3539
|
+
},
|
|
3540
|
+
400: { description: 'Bad Request' },
|
|
3541
|
+
401: { description: 'Unauthorized' },
|
|
3542
|
+
},
|
|
3543
|
+
security: [
|
|
3544
|
+
{ access_token: [], seam_workspace: [] },
|
|
3545
|
+
{ seam_client_session_token: [] },
|
|
3546
|
+
{ client_session_token: [] },
|
|
3547
|
+
],
|
|
3548
|
+
summary: '/acs/credentials/unassign',
|
|
3549
|
+
tags: [],
|
|
3550
|
+
'x-fern-ignore': true,
|
|
3551
|
+
},
|
|
3552
|
+
post: {
|
|
3553
|
+
operationId: 'acsCredentialsUnassignPost',
|
|
3554
|
+
requestBody: {
|
|
3555
|
+
content: {
|
|
3556
|
+
'application/json': {
|
|
3557
|
+
schema: {
|
|
3558
|
+
properties: {
|
|
3559
|
+
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
3560
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
3561
|
+
},
|
|
3562
|
+
required: ['acs_user_id', 'acs_credential_id'],
|
|
3563
|
+
type: 'object',
|
|
3564
|
+
},
|
|
3565
|
+
},
|
|
3566
|
+
},
|
|
3567
|
+
},
|
|
3568
|
+
responses: {
|
|
3569
|
+
200: {
|
|
3570
|
+
content: {
|
|
3571
|
+
'application/json': {
|
|
3572
|
+
schema: {
|
|
3573
|
+
properties: { ok: { type: 'boolean' } },
|
|
3574
|
+
required: ['ok'],
|
|
3575
|
+
type: 'object',
|
|
3576
|
+
},
|
|
3577
|
+
},
|
|
3578
|
+
},
|
|
3579
|
+
description: 'OK',
|
|
3580
|
+
},
|
|
3581
|
+
400: { description: 'Bad Request' },
|
|
3582
|
+
401: { description: 'Unauthorized' },
|
|
3583
|
+
},
|
|
3584
|
+
security: [
|
|
3585
|
+
{ access_token: [], seam_workspace: [] },
|
|
3586
|
+
{ seam_client_session_token: [] },
|
|
3587
|
+
{ client_session_token: [] },
|
|
3588
|
+
],
|
|
3589
|
+
summary: '/acs/credentials/unassign',
|
|
3590
|
+
tags: [],
|
|
3591
|
+
'x-fern-sdk-group-name': ['acs', 'credentials'],
|
|
3592
|
+
'x-fern-sdk-method-name': 'unassign',
|
|
3593
|
+
},
|
|
3594
|
+
},
|
|
3382
3595
|
'/acs/systems/get': {
|
|
3383
3596
|
post: {
|
|
3384
3597
|
operationId: 'acsSystemsGetPost',
|
|
@@ -3555,6 +3768,7 @@ export default {
|
|
|
3555
3768
|
format: 'email',
|
|
3556
3769
|
type: 'string',
|
|
3557
3770
|
},
|
|
3771
|
+
email_address: { format: 'email', type: 'string' },
|
|
3558
3772
|
full_name: { type: 'string' },
|
|
3559
3773
|
phone_number: { nullable: true, type: 'string' },
|
|
3560
3774
|
},
|
|
@@ -3857,6 +4071,7 @@ export default {
|
|
|
3857
4071
|
format: 'email',
|
|
3858
4072
|
type: 'string',
|
|
3859
4073
|
},
|
|
4074
|
+
email_address: { format: 'email', type: 'string' },
|
|
3860
4075
|
full_name: { type: 'string' },
|
|
3861
4076
|
phone_number: { nullable: true, type: 'string' },
|
|
3862
4077
|
},
|
|
@@ -3904,6 +4119,7 @@ export default {
|
|
|
3904
4119
|
format: 'email',
|
|
3905
4120
|
type: 'string',
|
|
3906
4121
|
},
|
|
4122
|
+
email_address: { format: 'email', type: 'string' },
|
|
3907
4123
|
full_name: { type: 'string' },
|
|
3908
4124
|
phone_number: { nullable: true, type: 'string' },
|
|
3909
4125
|
},
|
|
@@ -8829,7 +9045,7 @@ export default {
|
|
|
8829
9045
|
tags: ['/workspaces'],
|
|
8830
9046
|
'x-fern-sdk-group-name': ['workspaces'],
|
|
8831
9047
|
'x-fern-sdk-method-name': 'list',
|
|
8832
|
-
'x-fern-sdk-return-value': '
|
|
9048
|
+
'x-fern-sdk-return-value': 'workspaces',
|
|
8833
9049
|
},
|
|
8834
9050
|
},
|
|
8835
9051
|
'/workspaces/reset_sandbox': {
|