@seamapi/types 1.730.0 → 1.731.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 +40 -4
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +38 -10
- package/dist/index.cjs +40 -4
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +34 -10
- package/lib/seam/connect/openapi.js +40 -4
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +4 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +44 -4
- package/src/lib/seam/connect/route-types.ts +4 -0
|
@@ -60743,6 +60743,8 @@ export type Routes = {
|
|
|
60743
60743
|
queryParams: {};
|
|
60744
60744
|
jsonBody: {};
|
|
60745
60745
|
commonParams: {
|
|
60746
|
+
/** The customer_key identifying the customer. Required when not using client_session_with_customer auth. */
|
|
60747
|
+
customer_key?: string | undefined;
|
|
60746
60748
|
/** ID of the reservation to retrieve. */
|
|
60747
60749
|
reservation_id?: string | undefined;
|
|
60748
60750
|
/** Key of the reservation to retrieve. */
|
|
@@ -60792,6 +60794,8 @@ export type Routes = {
|
|
|
60792
60794
|
queryParams: {};
|
|
60793
60795
|
jsonBody: {};
|
|
60794
60796
|
commonParams: {
|
|
60797
|
+
/** The customer_key identifying the customer. Required when not using client_session_with_customer auth. */
|
|
60798
|
+
customer_key?: string | undefined;
|
|
60795
60799
|
/** Filter reservations by space key. */
|
|
60796
60800
|
space_key?: string | undefined;
|
|
60797
60801
|
/** Filter reservations by space ID (UUID). */
|
package/package.json
CHANGED
|
@@ -63828,6 +63828,15 @@ export default {
|
|
|
63828
63828
|
'Returns a single reservation for a specific customer by reservation ID.',
|
|
63829
63829
|
operationId: 'seamCustomerV1ReservationsGetGet',
|
|
63830
63830
|
parameters: [
|
|
63831
|
+
{
|
|
63832
|
+
in: 'query',
|
|
63833
|
+
name: 'customer_key',
|
|
63834
|
+
schema: {
|
|
63835
|
+
description:
|
|
63836
|
+
'The customer_key identifying the customer. Required when not using client_session_with_customer auth.',
|
|
63837
|
+
type: 'string',
|
|
63838
|
+
},
|
|
63839
|
+
},
|
|
63831
63840
|
{
|
|
63832
63841
|
in: 'query',
|
|
63833
63842
|
name: 'reservation_id',
|
|
@@ -63974,7 +63983,10 @@ export default {
|
|
|
63974
63983
|
400: { description: 'Bad Request' },
|
|
63975
63984
|
401: { description: 'Unauthorized' },
|
|
63976
63985
|
},
|
|
63977
|
-
security: [
|
|
63986
|
+
security: [
|
|
63987
|
+
{ client_session_with_customer: [] },
|
|
63988
|
+
{ console_session_with_workspace: [] },
|
|
63989
|
+
],
|
|
63978
63990
|
summary: '/seam/customer/v1/reservations/get',
|
|
63979
63991
|
tags: [],
|
|
63980
63992
|
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'reservations'],
|
|
@@ -63993,6 +64005,11 @@ export default {
|
|
|
63993
64005
|
'application/json': {
|
|
63994
64006
|
schema: {
|
|
63995
64007
|
properties: {
|
|
64008
|
+
customer_key: {
|
|
64009
|
+
description:
|
|
64010
|
+
'The customer_key identifying the customer. Required when not using client_session_with_customer auth.',
|
|
64011
|
+
type: 'string',
|
|
64012
|
+
},
|
|
63996
64013
|
reservation_id: {
|
|
63997
64014
|
description: 'ID of the reservation to retrieve.',
|
|
63998
64015
|
format: 'uuid',
|
|
@@ -64136,7 +64153,10 @@ export default {
|
|
|
64136
64153
|
400: { description: 'Bad Request' },
|
|
64137
64154
|
401: { description: 'Unauthorized' },
|
|
64138
64155
|
},
|
|
64139
|
-
security: [
|
|
64156
|
+
security: [
|
|
64157
|
+
{ client_session_with_customer: [] },
|
|
64158
|
+
{ console_session_with_workspace: [] },
|
|
64159
|
+
],
|
|
64140
64160
|
summary: '/seam/customer/v1/reservations/get',
|
|
64141
64161
|
tags: [],
|
|
64142
64162
|
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'reservations'],
|
|
@@ -64153,6 +64173,15 @@ export default {
|
|
|
64153
64173
|
'Returns a list of reservations for a specific customer. This endpoint is designed for customer portals and supports filtering by space_key.',
|
|
64154
64174
|
operationId: 'seamCustomerV1ReservationsListGet',
|
|
64155
64175
|
parameters: [
|
|
64176
|
+
{
|
|
64177
|
+
in: 'query',
|
|
64178
|
+
name: 'customer_key',
|
|
64179
|
+
schema: {
|
|
64180
|
+
description:
|
|
64181
|
+
'The customer_key identifying the customer. Required when not using client_session_with_customer auth.',
|
|
64182
|
+
type: 'string',
|
|
64183
|
+
},
|
|
64184
|
+
},
|
|
64156
64185
|
{
|
|
64157
64186
|
in: 'query',
|
|
64158
64187
|
name: 'space_key',
|
|
@@ -64378,7 +64407,10 @@ export default {
|
|
|
64378
64407
|
400: { description: 'Bad Request' },
|
|
64379
64408
|
401: { description: 'Unauthorized' },
|
|
64380
64409
|
},
|
|
64381
|
-
security: [
|
|
64410
|
+
security: [
|
|
64411
|
+
{ client_session_with_customer: [] },
|
|
64412
|
+
{ console_session_with_workspace: [] },
|
|
64413
|
+
],
|
|
64382
64414
|
summary: '/seam/customer/v1/reservations/list',
|
|
64383
64415
|
tags: [],
|
|
64384
64416
|
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'reservations'],
|
|
@@ -64403,6 +64435,11 @@ export default {
|
|
|
64403
64435
|
format: 'date-time',
|
|
64404
64436
|
type: 'string',
|
|
64405
64437
|
},
|
|
64438
|
+
customer_key: {
|
|
64439
|
+
description:
|
|
64440
|
+
'The customer_key identifying the customer. Required when not using client_session_with_customer auth.',
|
|
64441
|
+
type: 'string',
|
|
64442
|
+
},
|
|
64406
64443
|
limit: {
|
|
64407
64444
|
default: 500,
|
|
64408
64445
|
description:
|
|
@@ -64604,7 +64641,10 @@ export default {
|
|
|
64604
64641
|
400: { description: 'Bad Request' },
|
|
64605
64642
|
401: { description: 'Unauthorized' },
|
|
64606
64643
|
},
|
|
64607
|
-
security: [
|
|
64644
|
+
security: [
|
|
64645
|
+
{ client_session_with_customer: [] },
|
|
64646
|
+
{ console_session_with_workspace: [] },
|
|
64647
|
+
],
|
|
64608
64648
|
summary: '/seam/customer/v1/reservations/list',
|
|
64609
64649
|
tags: [],
|
|
64610
64650
|
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'reservations'],
|
|
@@ -72139,6 +72139,8 @@ export type Routes = {
|
|
|
72139
72139
|
queryParams: {}
|
|
72140
72140
|
jsonBody: {}
|
|
72141
72141
|
commonParams: {
|
|
72142
|
+
/** The customer_key identifying the customer. Required when not using client_session_with_customer auth. */
|
|
72143
|
+
customer_key?: string | undefined
|
|
72142
72144
|
/** ID of the reservation to retrieve. */
|
|
72143
72145
|
reservation_id?: string | undefined
|
|
72144
72146
|
/** Key of the reservation to retrieve. */
|
|
@@ -72188,6 +72190,8 @@ export type Routes = {
|
|
|
72188
72190
|
queryParams: {}
|
|
72189
72191
|
jsonBody: {}
|
|
72190
72192
|
commonParams: {
|
|
72193
|
+
/** The customer_key identifying the customer. Required when not using client_session_with_customer auth. */
|
|
72194
|
+
customer_key?: string | undefined
|
|
72191
72195
|
/** Filter reservations by space key. */
|
|
72192
72196
|
space_key?: string | undefined
|
|
72193
72197
|
/** Filter reservations by space ID (UUID). */
|