@seamapi/types 1.762.0 → 1.764.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.
@@ -27922,14 +27922,22 @@ declare const _default: {
27922
27922
  pat_with_workspace: never[];
27923
27923
  console_session_with_workspace?: never;
27924
27924
  api_key?: never;
27925
+ client_session_with_customer?: never;
27925
27926
  } | {
27926
27927
  console_session_with_workspace: never[];
27927
27928
  pat_with_workspace?: never;
27928
27929
  api_key?: never;
27930
+ client_session_with_customer?: never;
27929
27931
  } | {
27930
27932
  api_key: never[];
27931
27933
  pat_with_workspace?: never;
27932
27934
  console_session_with_workspace?: never;
27935
+ client_session_with_customer?: never;
27936
+ } | {
27937
+ client_session_with_customer: never[];
27938
+ pat_with_workspace?: never;
27939
+ console_session_with_workspace?: never;
27940
+ api_key?: never;
27933
27941
  })[];
27934
27942
  summary: string;
27935
27943
  tags: never[];
@@ -28243,14 +28251,22 @@ declare const _default: {
28243
28251
  pat_with_workspace: never[];
28244
28252
  console_session_with_workspace?: never;
28245
28253
  api_key?: never;
28254
+ client_session_with_customer?: never;
28246
28255
  } | {
28247
28256
  console_session_with_workspace: never[];
28248
28257
  pat_with_workspace?: never;
28249
28258
  api_key?: never;
28259
+ client_session_with_customer?: never;
28250
28260
  } | {
28251
28261
  api_key: never[];
28252
28262
  pat_with_workspace?: never;
28253
28263
  console_session_with_workspace?: never;
28264
+ client_session_with_customer?: never;
28265
+ } | {
28266
+ client_session_with_customer: never[];
28267
+ pat_with_workspace?: never;
28268
+ console_session_with_workspace?: never;
28269
+ api_key?: never;
28254
28270
  })[];
28255
28271
  summary: string;
28256
28272
  tags: never[];
@@ -56744,6 +56760,135 @@ declare const _default: {
56744
56760
  'x-undocumented': string;
56745
56761
  };
56746
56762
  };
56763
+ '/seam/customer/v1/reservations/list_access_grants': {
56764
+ get: {
56765
+ description: string;
56766
+ operationId: string;
56767
+ parameters: {
56768
+ in: string;
56769
+ name: string;
56770
+ required: boolean;
56771
+ schema: {
56772
+ description: string;
56773
+ type: string;
56774
+ };
56775
+ }[];
56776
+ responses: {
56777
+ 200: {
56778
+ content: {
56779
+ 'application/json': {
56780
+ schema: {
56781
+ properties: {
56782
+ access_grants: {
56783
+ items: {
56784
+ $ref: string;
56785
+ };
56786
+ type: string;
56787
+ };
56788
+ ok: {
56789
+ type: string;
56790
+ };
56791
+ };
56792
+ required: string[];
56793
+ type: string;
56794
+ };
56795
+ };
56796
+ };
56797
+ description: string;
56798
+ };
56799
+ 400: {
56800
+ description: string;
56801
+ };
56802
+ 401: {
56803
+ description: string;
56804
+ };
56805
+ };
56806
+ security: ({
56807
+ client_session_with_customer: never[];
56808
+ console_session_with_workspace?: never;
56809
+ } | {
56810
+ console_session_with_workspace: never[];
56811
+ client_session_with_customer?: never;
56812
+ })[];
56813
+ summary: string;
56814
+ tags: never[];
56815
+ 'x-fern-sdk-group-name': string[];
56816
+ 'x-fern-sdk-method-name': string;
56817
+ 'x-fern-sdk-return-value': string;
56818
+ 'x-response-key': string;
56819
+ 'x-title': string;
56820
+ 'x-undocumented': string;
56821
+ };
56822
+ post: {
56823
+ description: string;
56824
+ operationId: string;
56825
+ requestBody: {
56826
+ content: {
56827
+ 'application/json': {
56828
+ schema: {
56829
+ properties: {
56830
+ customer_key: {
56831
+ description: string;
56832
+ type: string;
56833
+ };
56834
+ reservation_key: {
56835
+ description: string;
56836
+ type: string;
56837
+ };
56838
+ };
56839
+ required: string[];
56840
+ type: string;
56841
+ };
56842
+ };
56843
+ };
56844
+ };
56845
+ responses: {
56846
+ 200: {
56847
+ content: {
56848
+ 'application/json': {
56849
+ schema: {
56850
+ properties: {
56851
+ access_grants: {
56852
+ items: {
56853
+ $ref: string;
56854
+ };
56855
+ type: string;
56856
+ };
56857
+ ok: {
56858
+ type: string;
56859
+ };
56860
+ };
56861
+ required: string[];
56862
+ type: string;
56863
+ };
56864
+ };
56865
+ };
56866
+ description: string;
56867
+ };
56868
+ 400: {
56869
+ description: string;
56870
+ };
56871
+ 401: {
56872
+ description: string;
56873
+ };
56874
+ };
56875
+ security: ({
56876
+ client_session_with_customer: never[];
56877
+ console_session_with_workspace?: never;
56878
+ } | {
56879
+ console_session_with_workspace: never[];
56880
+ client_session_with_customer?: never;
56881
+ })[];
56882
+ summary: string;
56883
+ tags: never[];
56884
+ 'x-fern-sdk-group-name': string[];
56885
+ 'x-fern-sdk-method-name': string;
56886
+ 'x-fern-sdk-return-value': string;
56887
+ 'x-response-key': string;
56888
+ 'x-title': string;
56889
+ 'x-undocumented': string;
56890
+ };
56891
+ };
56747
56892
  '/seam/customer/v1/settings/business_verticals/list': {
56748
56893
  get: {
56749
56894
  description: string;
@@ -35846,6 +35846,7 @@ export default {
35846
35846
  { pat_with_workspace: [] },
35847
35847
  { console_session_with_workspace: [] },
35848
35848
  { api_key: [] },
35849
+ { client_session_with_customer: [] },
35849
35850
  ],
35850
35851
  summary: '/access_methods/unmanaged/list',
35851
35852
  tags: [],
@@ -36260,6 +36261,7 @@ export default {
36260
36261
  { pat_with_workspace: [] },
36261
36262
  { console_session_with_workspace: [] },
36262
36263
  { api_key: [] },
36264
+ { client_session_with_customer: [] },
36263
36265
  ],
36264
36266
  summary: '/access_methods/unmanaged/list',
36265
36267
  tags: [],
@@ -62296,6 +62298,124 @@ export default {
62296
62298
  'x-undocumented': 'Internal endpoint for customer portals.',
62297
62299
  },
62298
62300
  },
62301
+ '/seam/customer/v1/reservations/list_access_grants': {
62302
+ get: {
62303
+ description: 'Lists access grants linked to a reservation by reservation_key.',
62304
+ operationId: 'seamCustomerV1ReservationsListAccessGrantsGet',
62305
+ parameters: [
62306
+ {
62307
+ in: 'query',
62308
+ name: 'customer_key',
62309
+ required: false,
62310
+ schema: {
62311
+ description: 'The customer_key identifying the customer. Required when not using client_session_with_customer auth.',
62312
+ type: 'string',
62313
+ },
62314
+ },
62315
+ {
62316
+ in: 'query',
62317
+ name: 'reservation_key',
62318
+ required: true,
62319
+ schema: {
62320
+ description: 'The reservation_key to filter access grants by.',
62321
+ type: 'string',
62322
+ },
62323
+ },
62324
+ ],
62325
+ responses: {
62326
+ 200: {
62327
+ content: {
62328
+ 'application/json': {
62329
+ schema: {
62330
+ properties: {
62331
+ access_grants: {
62332
+ items: { $ref: '#/components/schemas/access_grant' },
62333
+ type: 'array',
62334
+ },
62335
+ ok: { type: 'boolean' },
62336
+ },
62337
+ required: ['access_grants', 'ok'],
62338
+ type: 'object',
62339
+ },
62340
+ },
62341
+ },
62342
+ description: 'OK',
62343
+ },
62344
+ 400: { description: 'Bad Request' },
62345
+ 401: { description: 'Unauthorized' },
62346
+ },
62347
+ security: [
62348
+ { client_session_with_customer: [] },
62349
+ { console_session_with_workspace: [] },
62350
+ ],
62351
+ summary: '/seam/customer/v1/reservations/list_access_grants',
62352
+ tags: [],
62353
+ 'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'reservations'],
62354
+ 'x-fern-sdk-method-name': 'list_access_grants',
62355
+ 'x-fern-sdk-return-value': 'access_grants',
62356
+ 'x-response-key': 'access_grants',
62357
+ 'x-title': 'List Access Grants for Reservation',
62358
+ 'x-undocumented': 'Internal endpoint for customer portals.',
62359
+ },
62360
+ post: {
62361
+ description: 'Lists access grants linked to a reservation by reservation_key.',
62362
+ operationId: 'seamCustomerV1ReservationsListAccessGrantsPost',
62363
+ requestBody: {
62364
+ content: {
62365
+ 'application/json': {
62366
+ schema: {
62367
+ properties: {
62368
+ customer_key: {
62369
+ description: 'The customer_key identifying the customer. Required when not using client_session_with_customer auth.',
62370
+ type: 'string',
62371
+ },
62372
+ reservation_key: {
62373
+ description: 'The reservation_key to filter access grants by.',
62374
+ type: 'string',
62375
+ },
62376
+ },
62377
+ required: ['reservation_key'],
62378
+ type: 'object',
62379
+ },
62380
+ },
62381
+ },
62382
+ },
62383
+ responses: {
62384
+ 200: {
62385
+ content: {
62386
+ 'application/json': {
62387
+ schema: {
62388
+ properties: {
62389
+ access_grants: {
62390
+ items: { $ref: '#/components/schemas/access_grant' },
62391
+ type: 'array',
62392
+ },
62393
+ ok: { type: 'boolean' },
62394
+ },
62395
+ required: ['access_grants', 'ok'],
62396
+ type: 'object',
62397
+ },
62398
+ },
62399
+ },
62400
+ description: 'OK',
62401
+ },
62402
+ 400: { description: 'Bad Request' },
62403
+ 401: { description: 'Unauthorized' },
62404
+ },
62405
+ security: [
62406
+ { client_session_with_customer: [] },
62407
+ { console_session_with_workspace: [] },
62408
+ ],
62409
+ summary: '/seam/customer/v1/reservations/list_access_grants',
62410
+ tags: [],
62411
+ 'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'reservations'],
62412
+ 'x-fern-sdk-method-name': 'list_access_grants',
62413
+ 'x-fern-sdk-return-value': 'access_grants',
62414
+ 'x-response-key': 'access_grants',
62415
+ 'x-title': 'List Access Grants for Reservation',
62416
+ 'x-undocumented': 'Internal endpoint for customer portals.',
62417
+ },
62418
+ },
62299
62419
  '/seam/customer/v1/settings/business_verticals/list': {
62300
62420
  get: {
62301
62421
  description: 'Returns all available business verticals.',