@seamapi/types 1.429.0 → 1.429.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 +145 -8
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +177 -12
- package/lib/seam/connect/openapi.d.ts +169 -4
- package/lib/seam/connect/openapi.js +145 -8
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +8 -8
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +147 -8
- package/src/lib/seam/connect/route-types.ts +8 -8
|
@@ -9973,7 +9973,7 @@ export interface Routes {
|
|
|
9973
9973
|
};
|
|
9974
9974
|
'/access_grants/delete': {
|
|
9975
9975
|
route: '/access_grants/delete';
|
|
9976
|
-
method: '
|
|
9976
|
+
method: 'DELETE' | 'POST';
|
|
9977
9977
|
queryParams: {};
|
|
9978
9978
|
jsonBody: {};
|
|
9979
9979
|
commonParams: {
|
|
@@ -10109,7 +10109,7 @@ export interface Routes {
|
|
|
10109
10109
|
};
|
|
10110
10110
|
'/access_methods/delete': {
|
|
10111
10111
|
route: '/access_methods/delete';
|
|
10112
|
-
method: '
|
|
10112
|
+
method: 'DELETE' | 'POST';
|
|
10113
10113
|
queryParams: {};
|
|
10114
10114
|
jsonBody: {};
|
|
10115
10115
|
commonParams: {
|
|
@@ -44924,7 +44924,7 @@ export interface Routes {
|
|
|
44924
44924
|
};
|
|
44925
44925
|
'/seam/customer/v1/automations/delete': {
|
|
44926
44926
|
route: '/seam/customer/v1/automations/delete';
|
|
44927
|
-
method: 'DELETE';
|
|
44927
|
+
method: 'DELETE' | 'POST';
|
|
44928
44928
|
queryParams: {};
|
|
44929
44929
|
jsonBody: {};
|
|
44930
44930
|
commonParams: {};
|
|
@@ -44933,7 +44933,7 @@ export interface Routes {
|
|
|
44933
44933
|
};
|
|
44934
44934
|
'/seam/customer/v1/automations/get': {
|
|
44935
44935
|
route: '/seam/customer/v1/automations/get';
|
|
44936
|
-
method: 'GET';
|
|
44936
|
+
method: 'GET' | 'POST';
|
|
44937
44937
|
queryParams: {};
|
|
44938
44938
|
jsonBody: {};
|
|
44939
44939
|
commonParams: {};
|
|
@@ -44960,7 +44960,7 @@ export interface Routes {
|
|
|
44960
44960
|
};
|
|
44961
44961
|
'/seam/customer/v1/automations/update': {
|
|
44962
44962
|
route: '/seam/customer/v1/automations/update';
|
|
44963
|
-
method: '
|
|
44963
|
+
method: 'PATCH' | 'POST';
|
|
44964
44964
|
queryParams: {};
|
|
44965
44965
|
jsonBody: {
|
|
44966
44966
|
/** Access automation rules configuration. */
|
|
@@ -45017,7 +45017,7 @@ export interface Routes {
|
|
|
45017
45017
|
};
|
|
45018
45018
|
'/seam/customer/v1/settings/update': {
|
|
45019
45019
|
route: '/seam/customer/v1/settings/update';
|
|
45020
|
-
method: '
|
|
45020
|
+
method: 'PATCH' | 'POST';
|
|
45021
45021
|
queryParams: {};
|
|
45022
45022
|
jsonBody: {
|
|
45023
45023
|
/** Business vertical to set on the workspace. */
|
|
@@ -60903,7 +60903,7 @@ export interface Routes {
|
|
|
60903
60903
|
};
|
|
60904
60904
|
'/unstable_access_grants/delete': {
|
|
60905
60905
|
route: '/unstable_access_grants/delete';
|
|
60906
|
-
method: '
|
|
60906
|
+
method: 'DELETE' | 'POST';
|
|
60907
60907
|
queryParams: {};
|
|
60908
60908
|
jsonBody: {};
|
|
60909
60909
|
commonParams: {
|
|
@@ -61023,7 +61023,7 @@ export interface Routes {
|
|
|
61023
61023
|
};
|
|
61024
61024
|
'/unstable_access_methods/delete': {
|
|
61025
61025
|
route: '/unstable_access_methods/delete';
|
|
61026
|
-
method: '
|
|
61026
|
+
method: 'DELETE' | 'POST';
|
|
61027
61027
|
queryParams: {};
|
|
61028
61028
|
jsonBody: {};
|
|
61029
61029
|
commonParams: {
|
package/package.json
CHANGED
|
@@ -26540,9 +26540,9 @@ export default {
|
|
|
26540
26540
|
},
|
|
26541
26541
|
},
|
|
26542
26542
|
'/access_grants/delete': {
|
|
26543
|
-
|
|
26543
|
+
delete: {
|
|
26544
26544
|
description: 'Delete an access grant.',
|
|
26545
|
-
operationId: '
|
|
26545
|
+
operationId: 'accessGrantsDeleteDelete',
|
|
26546
26546
|
parameters: [
|
|
26547
26547
|
{
|
|
26548
26548
|
in: 'query',
|
|
@@ -27044,9 +27044,9 @@ export default {
|
|
|
27044
27044
|
},
|
|
27045
27045
|
},
|
|
27046
27046
|
'/access_methods/delete': {
|
|
27047
|
-
|
|
27047
|
+
delete: {
|
|
27048
27048
|
description: 'Delete an access method.',
|
|
27049
|
-
operationId: '
|
|
27049
|
+
operationId: 'accessMethodsDeleteDelete',
|
|
27050
27050
|
parameters: [
|
|
27051
27051
|
{
|
|
27052
27052
|
in: 'query',
|
|
@@ -44227,6 +44227,44 @@ export default {
|
|
|
44227
44227
|
'x-title': 'Delete Customer Portal Automation Configuration',
|
|
44228
44228
|
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
44229
44229
|
},
|
|
44230
|
+
post: {
|
|
44231
|
+
description:
|
|
44232
|
+
'Deletes the automation configuration for a customer portal workspace.\nSupports both console session and customer client session authentication.',
|
|
44233
|
+
operationId: 'seamCustomerV1AutomationsDeletePost',
|
|
44234
|
+
requestBody: {
|
|
44235
|
+
content: {
|
|
44236
|
+
'application/json': { schema: { properties: {}, type: 'object' } },
|
|
44237
|
+
},
|
|
44238
|
+
},
|
|
44239
|
+
responses: {
|
|
44240
|
+
200: {
|
|
44241
|
+
content: {
|
|
44242
|
+
'application/json': {
|
|
44243
|
+
schema: {
|
|
44244
|
+
properties: { ok: { type: 'boolean' } },
|
|
44245
|
+
required: ['ok'],
|
|
44246
|
+
type: 'object',
|
|
44247
|
+
},
|
|
44248
|
+
},
|
|
44249
|
+
},
|
|
44250
|
+
description: 'OK',
|
|
44251
|
+
},
|
|
44252
|
+
400: { description: 'Bad Request' },
|
|
44253
|
+
401: { description: 'Unauthorized' },
|
|
44254
|
+
},
|
|
44255
|
+
security: [
|
|
44256
|
+
{ console_session_with_workspace: [] },
|
|
44257
|
+
{ api_key: [] },
|
|
44258
|
+
{ client_session_with_customer: [] },
|
|
44259
|
+
],
|
|
44260
|
+
summary: '/seam/customer/v1/automations/delete',
|
|
44261
|
+
tags: [],
|
|
44262
|
+
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'automations'],
|
|
44263
|
+
'x-fern-sdk-method-name': 'delete',
|
|
44264
|
+
'x-response-key': null,
|
|
44265
|
+
'x-title': 'Delete Customer Portal Automation Configuration',
|
|
44266
|
+
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
44267
|
+
},
|
|
44230
44268
|
},
|
|
44231
44269
|
'/seam/customer/v1/automations/get': {
|
|
44232
44270
|
get: {
|
|
@@ -44330,6 +44368,107 @@ export default {
|
|
|
44330
44368
|
'x-title': 'Get Customer Portal Automation Configuration',
|
|
44331
44369
|
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
44332
44370
|
},
|
|
44371
|
+
post: {
|
|
44372
|
+
description:
|
|
44373
|
+
'Gets the current automation configuration for a customer portal workspace.\nFor customer client sessions, returns customer-specific config if available,\notherwise falls back to workspace-level config.',
|
|
44374
|
+
operationId: 'seamCustomerV1AutomationsGetPost',
|
|
44375
|
+
responses: {
|
|
44376
|
+
200: {
|
|
44377
|
+
content: {
|
|
44378
|
+
'application/json': {
|
|
44379
|
+
schema: {
|
|
44380
|
+
properties: {
|
|
44381
|
+
access_rules: {
|
|
44382
|
+
properties: {
|
|
44383
|
+
reservation_created: {
|
|
44384
|
+
properties: {
|
|
44385
|
+
config: {
|
|
44386
|
+
properties: {
|
|
44387
|
+
access_methods: {
|
|
44388
|
+
items: {
|
|
44389
|
+
enum: ['card', 'mobile_key', 'code'],
|
|
44390
|
+
type: 'string',
|
|
44391
|
+
},
|
|
44392
|
+
minItems: 1,
|
|
44393
|
+
type: 'array',
|
|
44394
|
+
},
|
|
44395
|
+
method_issuance_strategy: {
|
|
44396
|
+
enum: [
|
|
44397
|
+
'first_available',
|
|
44398
|
+
'first_two_available',
|
|
44399
|
+
'all_available',
|
|
44400
|
+
],
|
|
44401
|
+
type: 'string',
|
|
44402
|
+
},
|
|
44403
|
+
},
|
|
44404
|
+
required: [
|
|
44405
|
+
'access_methods',
|
|
44406
|
+
'method_issuance_strategy',
|
|
44407
|
+
],
|
|
44408
|
+
type: 'object',
|
|
44409
|
+
},
|
|
44410
|
+
rule: {
|
|
44411
|
+
enum: ['reservation_created'],
|
|
44412
|
+
type: 'string',
|
|
44413
|
+
},
|
|
44414
|
+
},
|
|
44415
|
+
required: ['rule', 'config'],
|
|
44416
|
+
type: 'object',
|
|
44417
|
+
},
|
|
44418
|
+
reservation_deleted: {
|
|
44419
|
+
properties: {
|
|
44420
|
+
config: {
|
|
44421
|
+
$ref: '#/components/schemas/access_code',
|
|
44422
|
+
},
|
|
44423
|
+
rule: {
|
|
44424
|
+
enum: ['reservation_deleted'],
|
|
44425
|
+
type: 'string',
|
|
44426
|
+
},
|
|
44427
|
+
},
|
|
44428
|
+
required: ['rule', 'config'],
|
|
44429
|
+
type: 'object',
|
|
44430
|
+
},
|
|
44431
|
+
reservation_time_updated: {
|
|
44432
|
+
properties: {
|
|
44433
|
+
config: {
|
|
44434
|
+
$ref: '#/components/schemas/access_code',
|
|
44435
|
+
},
|
|
44436
|
+
rule: {
|
|
44437
|
+
enum: ['reservation_time_updated'],
|
|
44438
|
+
type: 'string',
|
|
44439
|
+
},
|
|
44440
|
+
},
|
|
44441
|
+
required: ['rule', 'config'],
|
|
44442
|
+
type: 'object',
|
|
44443
|
+
},
|
|
44444
|
+
},
|
|
44445
|
+
type: 'object',
|
|
44446
|
+
},
|
|
44447
|
+
ok: { type: 'boolean' },
|
|
44448
|
+
},
|
|
44449
|
+
required: ['ok'],
|
|
44450
|
+
type: 'object',
|
|
44451
|
+
},
|
|
44452
|
+
},
|
|
44453
|
+
},
|
|
44454
|
+
description: 'OK',
|
|
44455
|
+
},
|
|
44456
|
+
400: { description: 'Bad Request' },
|
|
44457
|
+
401: { description: 'Unauthorized' },
|
|
44458
|
+
},
|
|
44459
|
+
security: [
|
|
44460
|
+
{ console_session_with_workspace: [] },
|
|
44461
|
+
{ api_key: [] },
|
|
44462
|
+
{ client_session_with_customer: [] },
|
|
44463
|
+
],
|
|
44464
|
+
summary: '/seam/customer/v1/automations/get',
|
|
44465
|
+
tags: [],
|
|
44466
|
+
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'automations'],
|
|
44467
|
+
'x-fern-sdk-method-name': 'get',
|
|
44468
|
+
'x-response-key': null,
|
|
44469
|
+
'x-title': 'Get Customer Portal Automation Configuration',
|
|
44470
|
+
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
44471
|
+
},
|
|
44333
44472
|
},
|
|
44334
44473
|
'/seam/customer/v1/automations/update': {
|
|
44335
44474
|
patch: {
|
|
@@ -49511,9 +49650,9 @@ export default {
|
|
|
49511
49650
|
},
|
|
49512
49651
|
},
|
|
49513
49652
|
'/unstable_access_grants/delete': {
|
|
49514
|
-
|
|
49653
|
+
delete: {
|
|
49515
49654
|
description: 'Deletes an access grant.',
|
|
49516
|
-
operationId: '
|
|
49655
|
+
operationId: 'unstableAccessGrantsDeleteDelete',
|
|
49517
49656
|
parameters: [
|
|
49518
49657
|
{
|
|
49519
49658
|
in: 'query',
|
|
@@ -49888,9 +50027,9 @@ export default {
|
|
|
49888
50027
|
},
|
|
49889
50028
|
},
|
|
49890
50029
|
'/unstable_access_methods/delete': {
|
|
49891
|
-
|
|
50030
|
+
delete: {
|
|
49892
50031
|
description: 'Deletes an access method.',
|
|
49893
|
-
operationId: '
|
|
50032
|
+
operationId: 'unstableAccessMethodsDeleteDelete',
|
|
49894
50033
|
parameters: [
|
|
49895
50034
|
{
|
|
49896
50035
|
in: 'query',
|
|
@@ -11197,7 +11197,7 @@ export interface Routes {
|
|
|
11197
11197
|
}
|
|
11198
11198
|
'/access_grants/delete': {
|
|
11199
11199
|
route: '/access_grants/delete'
|
|
11200
|
-
method: '
|
|
11200
|
+
method: 'DELETE' | 'POST'
|
|
11201
11201
|
queryParams: {}
|
|
11202
11202
|
jsonBody: {}
|
|
11203
11203
|
commonParams: {
|
|
@@ -11333,7 +11333,7 @@ export interface Routes {
|
|
|
11333
11333
|
}
|
|
11334
11334
|
'/access_methods/delete': {
|
|
11335
11335
|
route: '/access_methods/delete'
|
|
11336
|
-
method: '
|
|
11336
|
+
method: 'DELETE' | 'POST'
|
|
11337
11337
|
queryParams: {}
|
|
11338
11338
|
jsonBody: {}
|
|
11339
11339
|
commonParams: {
|
|
@@ -52327,7 +52327,7 @@ export interface Routes {
|
|
|
52327
52327
|
}
|
|
52328
52328
|
'/seam/customer/v1/automations/delete': {
|
|
52329
52329
|
route: '/seam/customer/v1/automations/delete'
|
|
52330
|
-
method: 'DELETE'
|
|
52330
|
+
method: 'DELETE' | 'POST'
|
|
52331
52331
|
queryParams: {}
|
|
52332
52332
|
jsonBody: {}
|
|
52333
52333
|
commonParams: {}
|
|
@@ -52336,7 +52336,7 @@ export interface Routes {
|
|
|
52336
52336
|
}
|
|
52337
52337
|
'/seam/customer/v1/automations/get': {
|
|
52338
52338
|
route: '/seam/customer/v1/automations/get'
|
|
52339
|
-
method: 'GET'
|
|
52339
|
+
method: 'GET' | 'POST'
|
|
52340
52340
|
queryParams: {}
|
|
52341
52341
|
jsonBody: {}
|
|
52342
52342
|
commonParams: {}
|
|
@@ -52374,7 +52374,7 @@ export interface Routes {
|
|
|
52374
52374
|
}
|
|
52375
52375
|
'/seam/customer/v1/automations/update': {
|
|
52376
52376
|
route: '/seam/customer/v1/automations/update'
|
|
52377
|
-
method: '
|
|
52377
|
+
method: 'PATCH' | 'POST'
|
|
52378
52378
|
queryParams: {}
|
|
52379
52379
|
jsonBody: {
|
|
52380
52380
|
/** Access automation rules configuration. */
|
|
@@ -52458,7 +52458,7 @@ export interface Routes {
|
|
|
52458
52458
|
}
|
|
52459
52459
|
'/seam/customer/v1/settings/update': {
|
|
52460
52460
|
route: '/seam/customer/v1/settings/update'
|
|
52461
|
-
method: '
|
|
52461
|
+
method: 'PATCH' | 'POST'
|
|
52462
52462
|
queryParams: {}
|
|
52463
52463
|
jsonBody: {
|
|
52464
52464
|
/** Business vertical to set on the workspace. */
|
|
@@ -70842,7 +70842,7 @@ export interface Routes {
|
|
|
70842
70842
|
}
|
|
70843
70843
|
'/unstable_access_grants/delete': {
|
|
70844
70844
|
route: '/unstable_access_grants/delete'
|
|
70845
|
-
method: '
|
|
70845
|
+
method: 'DELETE' | 'POST'
|
|
70846
70846
|
queryParams: {}
|
|
70847
70847
|
jsonBody: {}
|
|
70848
70848
|
commonParams: {
|
|
@@ -70962,7 +70962,7 @@ export interface Routes {
|
|
|
70962
70962
|
}
|
|
70963
70963
|
'/unstable_access_methods/delete': {
|
|
70964
70964
|
route: '/unstable_access_methods/delete'
|
|
70965
|
-
method: '
|
|
70965
|
+
method: 'DELETE' | 'POST'
|
|
70966
70966
|
queryParams: {}
|
|
70967
70967
|
jsonBody: {}
|
|
70968
70968
|
commonParams: {
|