@seamapi/types 1.761.0 → 1.763.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 +130 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +327 -0
- package/dist/index.cjs +130 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +151 -0
- package/lib/seam/connect/openapi.js +130 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +176 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +135 -0
- package/src/lib/seam/connect/route-types.ts +188 -0
|
@@ -48888,6 +48888,7 @@ declare const _default: {
|
|
|
48888
48888
|
type: string;
|
|
48889
48889
|
};
|
|
48890
48890
|
errors?: never;
|
|
48891
|
+
properties_before?: never;
|
|
48891
48892
|
properties_updated?: never;
|
|
48892
48893
|
warnings?: never;
|
|
48893
48894
|
event_id?: never;
|
|
@@ -48920,6 +48921,12 @@ declare const _default: {
|
|
|
48920
48921
|
};
|
|
48921
48922
|
type: string;
|
|
48922
48923
|
};
|
|
48924
|
+
properties_before: {
|
|
48925
|
+
additionalProperties: {
|
|
48926
|
+
$ref: string;
|
|
48927
|
+
};
|
|
48928
|
+
type: string;
|
|
48929
|
+
};
|
|
48923
48930
|
properties_updated: {
|
|
48924
48931
|
additionalProperties: {
|
|
48925
48932
|
$ref: string;
|
|
@@ -48961,6 +48968,7 @@ declare const _default: {
|
|
|
48961
48968
|
};
|
|
48962
48969
|
description?: never;
|
|
48963
48970
|
errors?: never;
|
|
48971
|
+
properties_before?: never;
|
|
48964
48972
|
properties_updated?: never;
|
|
48965
48973
|
warnings?: never;
|
|
48966
48974
|
response_body?: never;
|
|
@@ -48996,6 +49004,7 @@ declare const _default: {
|
|
|
48996
49004
|
type: string;
|
|
48997
49005
|
};
|
|
48998
49006
|
errors?: never;
|
|
49007
|
+
properties_before?: never;
|
|
48999
49008
|
properties_updated?: never;
|
|
49000
49009
|
warnings?: never;
|
|
49001
49010
|
event_id?: never;
|
|
@@ -49036,6 +49045,7 @@ declare const _default: {
|
|
|
49036
49045
|
};
|
|
49037
49046
|
description?: never;
|
|
49038
49047
|
errors?: never;
|
|
49048
|
+
properties_before?: never;
|
|
49039
49049
|
properties_updated?: never;
|
|
49040
49050
|
warnings?: never;
|
|
49041
49051
|
event_id?: never;
|
|
@@ -49084,6 +49094,7 @@ declare const _default: {
|
|
|
49084
49094
|
};
|
|
49085
49095
|
description?: never;
|
|
49086
49096
|
errors?: never;
|
|
49097
|
+
properties_before?: never;
|
|
49087
49098
|
properties_updated?: never;
|
|
49088
49099
|
warnings?: never;
|
|
49089
49100
|
event_id?: never;
|
|
@@ -49337,6 +49348,7 @@ declare const _default: {
|
|
|
49337
49348
|
type: string;
|
|
49338
49349
|
};
|
|
49339
49350
|
errors?: never;
|
|
49351
|
+
properties_before?: never;
|
|
49340
49352
|
properties_updated?: never;
|
|
49341
49353
|
warnings?: never;
|
|
49342
49354
|
event_id?: never;
|
|
@@ -49369,6 +49381,12 @@ declare const _default: {
|
|
|
49369
49381
|
};
|
|
49370
49382
|
type: string;
|
|
49371
49383
|
};
|
|
49384
|
+
properties_before: {
|
|
49385
|
+
additionalProperties: {
|
|
49386
|
+
$ref: string;
|
|
49387
|
+
};
|
|
49388
|
+
type: string;
|
|
49389
|
+
};
|
|
49372
49390
|
properties_updated: {
|
|
49373
49391
|
additionalProperties: {
|
|
49374
49392
|
$ref: string;
|
|
@@ -49410,6 +49428,7 @@ declare const _default: {
|
|
|
49410
49428
|
};
|
|
49411
49429
|
description?: never;
|
|
49412
49430
|
errors?: never;
|
|
49431
|
+
properties_before?: never;
|
|
49413
49432
|
properties_updated?: never;
|
|
49414
49433
|
warnings?: never;
|
|
49415
49434
|
response_body?: never;
|
|
@@ -49445,6 +49464,7 @@ declare const _default: {
|
|
|
49445
49464
|
type: string;
|
|
49446
49465
|
};
|
|
49447
49466
|
errors?: never;
|
|
49467
|
+
properties_before?: never;
|
|
49448
49468
|
properties_updated?: never;
|
|
49449
49469
|
warnings?: never;
|
|
49450
49470
|
event_id?: never;
|
|
@@ -49485,6 +49505,7 @@ declare const _default: {
|
|
|
49485
49505
|
};
|
|
49486
49506
|
description?: never;
|
|
49487
49507
|
errors?: never;
|
|
49508
|
+
properties_before?: never;
|
|
49488
49509
|
properties_updated?: never;
|
|
49489
49510
|
warnings?: never;
|
|
49490
49511
|
event_id?: never;
|
|
@@ -49533,6 +49554,7 @@ declare const _default: {
|
|
|
49533
49554
|
};
|
|
49534
49555
|
description?: never;
|
|
49535
49556
|
errors?: never;
|
|
49557
|
+
properties_before?: never;
|
|
49536
49558
|
properties_updated?: never;
|
|
49537
49559
|
warnings?: never;
|
|
49538
49560
|
event_id?: never;
|
|
@@ -56722,6 +56744,135 @@ declare const _default: {
|
|
|
56722
56744
|
'x-undocumented': string;
|
|
56723
56745
|
};
|
|
56724
56746
|
};
|
|
56747
|
+
'/seam/customer/v1/reservations/list_access_grants': {
|
|
56748
|
+
get: {
|
|
56749
|
+
description: string;
|
|
56750
|
+
operationId: string;
|
|
56751
|
+
parameters: {
|
|
56752
|
+
in: string;
|
|
56753
|
+
name: string;
|
|
56754
|
+
required: boolean;
|
|
56755
|
+
schema: {
|
|
56756
|
+
description: string;
|
|
56757
|
+
type: string;
|
|
56758
|
+
};
|
|
56759
|
+
}[];
|
|
56760
|
+
responses: {
|
|
56761
|
+
200: {
|
|
56762
|
+
content: {
|
|
56763
|
+
'application/json': {
|
|
56764
|
+
schema: {
|
|
56765
|
+
properties: {
|
|
56766
|
+
access_grants: {
|
|
56767
|
+
items: {
|
|
56768
|
+
$ref: string;
|
|
56769
|
+
};
|
|
56770
|
+
type: string;
|
|
56771
|
+
};
|
|
56772
|
+
ok: {
|
|
56773
|
+
type: string;
|
|
56774
|
+
};
|
|
56775
|
+
};
|
|
56776
|
+
required: string[];
|
|
56777
|
+
type: string;
|
|
56778
|
+
};
|
|
56779
|
+
};
|
|
56780
|
+
};
|
|
56781
|
+
description: string;
|
|
56782
|
+
};
|
|
56783
|
+
400: {
|
|
56784
|
+
description: string;
|
|
56785
|
+
};
|
|
56786
|
+
401: {
|
|
56787
|
+
description: string;
|
|
56788
|
+
};
|
|
56789
|
+
};
|
|
56790
|
+
security: ({
|
|
56791
|
+
client_session_with_customer: never[];
|
|
56792
|
+
console_session_with_workspace?: never;
|
|
56793
|
+
} | {
|
|
56794
|
+
console_session_with_workspace: never[];
|
|
56795
|
+
client_session_with_customer?: never;
|
|
56796
|
+
})[];
|
|
56797
|
+
summary: string;
|
|
56798
|
+
tags: never[];
|
|
56799
|
+
'x-fern-sdk-group-name': string[];
|
|
56800
|
+
'x-fern-sdk-method-name': string;
|
|
56801
|
+
'x-fern-sdk-return-value': string;
|
|
56802
|
+
'x-response-key': string;
|
|
56803
|
+
'x-title': string;
|
|
56804
|
+
'x-undocumented': string;
|
|
56805
|
+
};
|
|
56806
|
+
post: {
|
|
56807
|
+
description: string;
|
|
56808
|
+
operationId: string;
|
|
56809
|
+
requestBody: {
|
|
56810
|
+
content: {
|
|
56811
|
+
'application/json': {
|
|
56812
|
+
schema: {
|
|
56813
|
+
properties: {
|
|
56814
|
+
customer_key: {
|
|
56815
|
+
description: string;
|
|
56816
|
+
type: string;
|
|
56817
|
+
};
|
|
56818
|
+
reservation_key: {
|
|
56819
|
+
description: string;
|
|
56820
|
+
type: string;
|
|
56821
|
+
};
|
|
56822
|
+
};
|
|
56823
|
+
required: string[];
|
|
56824
|
+
type: string;
|
|
56825
|
+
};
|
|
56826
|
+
};
|
|
56827
|
+
};
|
|
56828
|
+
};
|
|
56829
|
+
responses: {
|
|
56830
|
+
200: {
|
|
56831
|
+
content: {
|
|
56832
|
+
'application/json': {
|
|
56833
|
+
schema: {
|
|
56834
|
+
properties: {
|
|
56835
|
+
access_grants: {
|
|
56836
|
+
items: {
|
|
56837
|
+
$ref: string;
|
|
56838
|
+
};
|
|
56839
|
+
type: string;
|
|
56840
|
+
};
|
|
56841
|
+
ok: {
|
|
56842
|
+
type: string;
|
|
56843
|
+
};
|
|
56844
|
+
};
|
|
56845
|
+
required: string[];
|
|
56846
|
+
type: string;
|
|
56847
|
+
};
|
|
56848
|
+
};
|
|
56849
|
+
};
|
|
56850
|
+
description: string;
|
|
56851
|
+
};
|
|
56852
|
+
400: {
|
|
56853
|
+
description: string;
|
|
56854
|
+
};
|
|
56855
|
+
401: {
|
|
56856
|
+
description: string;
|
|
56857
|
+
};
|
|
56858
|
+
};
|
|
56859
|
+
security: ({
|
|
56860
|
+
client_session_with_customer: never[];
|
|
56861
|
+
console_session_with_workspace?: never;
|
|
56862
|
+
} | {
|
|
56863
|
+
console_session_with_workspace: never[];
|
|
56864
|
+
client_session_with_customer?: never;
|
|
56865
|
+
})[];
|
|
56866
|
+
summary: string;
|
|
56867
|
+
tags: never[];
|
|
56868
|
+
'x-fern-sdk-group-name': string[];
|
|
56869
|
+
'x-fern-sdk-method-name': string;
|
|
56870
|
+
'x-fern-sdk-return-value': string;
|
|
56871
|
+
'x-response-key': string;
|
|
56872
|
+
'x-title': string;
|
|
56873
|
+
'x-undocumented': string;
|
|
56874
|
+
};
|
|
56875
|
+
};
|
|
56725
56876
|
'/seam/customer/v1/settings/business_verticals/list': {
|
|
56726
56877
|
get: {
|
|
56727
56878
|
description: string;
|
|
@@ -55056,6 +55056,12 @@ export default {
|
|
|
55056
55056
|
items: { type: 'string' },
|
|
55057
55057
|
type: 'array',
|
|
55058
55058
|
},
|
|
55059
|
+
properties_before: {
|
|
55060
|
+
additionalProperties: {
|
|
55061
|
+
$ref: '#/components/schemas/access_code',
|
|
55062
|
+
},
|
|
55063
|
+
type: 'object',
|
|
55064
|
+
},
|
|
55059
55065
|
properties_updated: {
|
|
55060
55066
|
additionalProperties: {
|
|
55061
55067
|
$ref: '#/components/schemas/access_code',
|
|
@@ -55441,6 +55447,12 @@ export default {
|
|
|
55441
55447
|
items: { type: 'string' },
|
|
55442
55448
|
type: 'array',
|
|
55443
55449
|
},
|
|
55450
|
+
properties_before: {
|
|
55451
|
+
additionalProperties: {
|
|
55452
|
+
$ref: '#/components/schemas/access_code',
|
|
55453
|
+
},
|
|
55454
|
+
type: 'object',
|
|
55455
|
+
},
|
|
55444
55456
|
properties_updated: {
|
|
55445
55457
|
additionalProperties: {
|
|
55446
55458
|
$ref: '#/components/schemas/access_code',
|
|
@@ -62284,6 +62296,124 @@ export default {
|
|
|
62284
62296
|
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
62285
62297
|
},
|
|
62286
62298
|
},
|
|
62299
|
+
'/seam/customer/v1/reservations/list_access_grants': {
|
|
62300
|
+
get: {
|
|
62301
|
+
description: 'Lists access grants linked to a reservation by reservation_key.',
|
|
62302
|
+
operationId: 'seamCustomerV1ReservationsListAccessGrantsGet',
|
|
62303
|
+
parameters: [
|
|
62304
|
+
{
|
|
62305
|
+
in: 'query',
|
|
62306
|
+
name: 'customer_key',
|
|
62307
|
+
required: false,
|
|
62308
|
+
schema: {
|
|
62309
|
+
description: 'The customer_key identifying the customer. Required when not using client_session_with_customer auth.',
|
|
62310
|
+
type: 'string',
|
|
62311
|
+
},
|
|
62312
|
+
},
|
|
62313
|
+
{
|
|
62314
|
+
in: 'query',
|
|
62315
|
+
name: 'reservation_key',
|
|
62316
|
+
required: true,
|
|
62317
|
+
schema: {
|
|
62318
|
+
description: 'The reservation_key to filter access grants by.',
|
|
62319
|
+
type: 'string',
|
|
62320
|
+
},
|
|
62321
|
+
},
|
|
62322
|
+
],
|
|
62323
|
+
responses: {
|
|
62324
|
+
200: {
|
|
62325
|
+
content: {
|
|
62326
|
+
'application/json': {
|
|
62327
|
+
schema: {
|
|
62328
|
+
properties: {
|
|
62329
|
+
access_grants: {
|
|
62330
|
+
items: { $ref: '#/components/schemas/access_grant' },
|
|
62331
|
+
type: 'array',
|
|
62332
|
+
},
|
|
62333
|
+
ok: { type: 'boolean' },
|
|
62334
|
+
},
|
|
62335
|
+
required: ['access_grants', 'ok'],
|
|
62336
|
+
type: 'object',
|
|
62337
|
+
},
|
|
62338
|
+
},
|
|
62339
|
+
},
|
|
62340
|
+
description: 'OK',
|
|
62341
|
+
},
|
|
62342
|
+
400: { description: 'Bad Request' },
|
|
62343
|
+
401: { description: 'Unauthorized' },
|
|
62344
|
+
},
|
|
62345
|
+
security: [
|
|
62346
|
+
{ client_session_with_customer: [] },
|
|
62347
|
+
{ console_session_with_workspace: [] },
|
|
62348
|
+
],
|
|
62349
|
+
summary: '/seam/customer/v1/reservations/list_access_grants',
|
|
62350
|
+
tags: [],
|
|
62351
|
+
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'reservations'],
|
|
62352
|
+
'x-fern-sdk-method-name': 'list_access_grants',
|
|
62353
|
+
'x-fern-sdk-return-value': 'access_grants',
|
|
62354
|
+
'x-response-key': 'access_grants',
|
|
62355
|
+
'x-title': 'List Access Grants for Reservation',
|
|
62356
|
+
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
62357
|
+
},
|
|
62358
|
+
post: {
|
|
62359
|
+
description: 'Lists access grants linked to a reservation by reservation_key.',
|
|
62360
|
+
operationId: 'seamCustomerV1ReservationsListAccessGrantsPost',
|
|
62361
|
+
requestBody: {
|
|
62362
|
+
content: {
|
|
62363
|
+
'application/json': {
|
|
62364
|
+
schema: {
|
|
62365
|
+
properties: {
|
|
62366
|
+
customer_key: {
|
|
62367
|
+
description: 'The customer_key identifying the customer. Required when not using client_session_with_customer auth.',
|
|
62368
|
+
type: 'string',
|
|
62369
|
+
},
|
|
62370
|
+
reservation_key: {
|
|
62371
|
+
description: 'The reservation_key to filter access grants by.',
|
|
62372
|
+
type: 'string',
|
|
62373
|
+
},
|
|
62374
|
+
},
|
|
62375
|
+
required: ['reservation_key'],
|
|
62376
|
+
type: 'object',
|
|
62377
|
+
},
|
|
62378
|
+
},
|
|
62379
|
+
},
|
|
62380
|
+
},
|
|
62381
|
+
responses: {
|
|
62382
|
+
200: {
|
|
62383
|
+
content: {
|
|
62384
|
+
'application/json': {
|
|
62385
|
+
schema: {
|
|
62386
|
+
properties: {
|
|
62387
|
+
access_grants: {
|
|
62388
|
+
items: { $ref: '#/components/schemas/access_grant' },
|
|
62389
|
+
type: 'array',
|
|
62390
|
+
},
|
|
62391
|
+
ok: { type: 'boolean' },
|
|
62392
|
+
},
|
|
62393
|
+
required: ['access_grants', 'ok'],
|
|
62394
|
+
type: 'object',
|
|
62395
|
+
},
|
|
62396
|
+
},
|
|
62397
|
+
},
|
|
62398
|
+
description: 'OK',
|
|
62399
|
+
},
|
|
62400
|
+
400: { description: 'Bad Request' },
|
|
62401
|
+
401: { description: 'Unauthorized' },
|
|
62402
|
+
},
|
|
62403
|
+
security: [
|
|
62404
|
+
{ client_session_with_customer: [] },
|
|
62405
|
+
{ console_session_with_workspace: [] },
|
|
62406
|
+
],
|
|
62407
|
+
summary: '/seam/customer/v1/reservations/list_access_grants',
|
|
62408
|
+
tags: [],
|
|
62409
|
+
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'reservations'],
|
|
62410
|
+
'x-fern-sdk-method-name': 'list_access_grants',
|
|
62411
|
+
'x-fern-sdk-return-value': 'access_grants',
|
|
62412
|
+
'x-response-key': 'access_grants',
|
|
62413
|
+
'x-title': 'List Access Grants for Reservation',
|
|
62414
|
+
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
62415
|
+
},
|
|
62416
|
+
},
|
|
62287
62417
|
'/seam/customer/v1/settings/business_verticals/list': {
|
|
62288
62418
|
get: {
|
|
62289
62419
|
description: 'Returns all available business verticals.',
|