@seamapi/types 1.762.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 +118 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +302 -0
- package/dist/index.cjs +118 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +129 -0
- package/lib/seam/connect/openapi.js +118 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +173 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +123 -0
- package/src/lib/seam/connect/route-types.ts +183 -0
|
@@ -56744,6 +56744,135 @@ declare const _default: {
|
|
|
56744
56744
|
'x-undocumented': string;
|
|
56745
56745
|
};
|
|
56746
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
|
+
};
|
|
56747
56876
|
'/seam/customer/v1/settings/business_verticals/list': {
|
|
56748
56877
|
get: {
|
|
56749
56878
|
description: string;
|
|
@@ -62296,6 +62296,124 @@ export default {
|
|
|
62296
62296
|
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
62297
62297
|
},
|
|
62298
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
|
+
},
|
|
62299
62417
|
'/seam/customer/v1/settings/business_verticals/list': {
|
|
62300
62418
|
get: {
|
|
62301
62419
|
description: 'Returns all available business verticals.',
|