@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
package/dist/connect.cjs
CHANGED
|
@@ -65072,6 +65072,14 @@ var openapi_default = {
|
|
|
65072
65072
|
description: "Returns a single reservation for a specific customer by reservation ID.",
|
|
65073
65073
|
operationId: "seamCustomerV1ReservationsGetGet",
|
|
65074
65074
|
parameters: [
|
|
65075
|
+
{
|
|
65076
|
+
in: "query",
|
|
65077
|
+
name: "customer_key",
|
|
65078
|
+
schema: {
|
|
65079
|
+
description: "The customer_key identifying the customer. Required when not using client_session_with_customer auth.",
|
|
65080
|
+
type: "string"
|
|
65081
|
+
}
|
|
65082
|
+
},
|
|
65075
65083
|
{
|
|
65076
65084
|
in: "query",
|
|
65077
65085
|
name: "reservation_id",
|
|
@@ -65218,7 +65226,10 @@ var openapi_default = {
|
|
|
65218
65226
|
400: { description: "Bad Request" },
|
|
65219
65227
|
401: { description: "Unauthorized" }
|
|
65220
65228
|
},
|
|
65221
|
-
security: [
|
|
65229
|
+
security: [
|
|
65230
|
+
{ client_session_with_customer: [] },
|
|
65231
|
+
{ console_session_with_workspace: [] }
|
|
65232
|
+
],
|
|
65222
65233
|
summary: "/seam/customer/v1/reservations/get",
|
|
65223
65234
|
tags: [],
|
|
65224
65235
|
"x-fern-sdk-group-name": ["seam", "customer", "v1", "reservations"],
|
|
@@ -65236,6 +65247,10 @@ var openapi_default = {
|
|
|
65236
65247
|
"application/json": {
|
|
65237
65248
|
schema: {
|
|
65238
65249
|
properties: {
|
|
65250
|
+
customer_key: {
|
|
65251
|
+
description: "The customer_key identifying the customer. Required when not using client_session_with_customer auth.",
|
|
65252
|
+
type: "string"
|
|
65253
|
+
},
|
|
65239
65254
|
reservation_id: {
|
|
65240
65255
|
description: "ID of the reservation to retrieve.",
|
|
65241
65256
|
format: "uuid",
|
|
@@ -65379,7 +65394,10 @@ var openapi_default = {
|
|
|
65379
65394
|
400: { description: "Bad Request" },
|
|
65380
65395
|
401: { description: "Unauthorized" }
|
|
65381
65396
|
},
|
|
65382
|
-
security: [
|
|
65397
|
+
security: [
|
|
65398
|
+
{ client_session_with_customer: [] },
|
|
65399
|
+
{ console_session_with_workspace: [] }
|
|
65400
|
+
],
|
|
65383
65401
|
summary: "/seam/customer/v1/reservations/get",
|
|
65384
65402
|
tags: [],
|
|
65385
65403
|
"x-fern-sdk-group-name": ["seam", "customer", "v1", "reservations"],
|
|
@@ -65395,6 +65413,14 @@ var openapi_default = {
|
|
|
65395
65413
|
description: "Returns a list of reservations for a specific customer. This endpoint is designed for customer portals and supports filtering by space_key.",
|
|
65396
65414
|
operationId: "seamCustomerV1ReservationsListGet",
|
|
65397
65415
|
parameters: [
|
|
65416
|
+
{
|
|
65417
|
+
in: "query",
|
|
65418
|
+
name: "customer_key",
|
|
65419
|
+
schema: {
|
|
65420
|
+
description: "The customer_key identifying the customer. Required when not using client_session_with_customer auth.",
|
|
65421
|
+
type: "string"
|
|
65422
|
+
}
|
|
65423
|
+
},
|
|
65398
65424
|
{
|
|
65399
65425
|
in: "query",
|
|
65400
65426
|
name: "space_key",
|
|
@@ -65617,7 +65643,10 @@ var openapi_default = {
|
|
|
65617
65643
|
400: { description: "Bad Request" },
|
|
65618
65644
|
401: { description: "Unauthorized" }
|
|
65619
65645
|
},
|
|
65620
|
-
security: [
|
|
65646
|
+
security: [
|
|
65647
|
+
{ client_session_with_customer: [] },
|
|
65648
|
+
{ console_session_with_workspace: [] }
|
|
65649
|
+
],
|
|
65621
65650
|
summary: "/seam/customer/v1/reservations/list",
|
|
65622
65651
|
tags: [],
|
|
65623
65652
|
"x-fern-sdk-group-name": ["seam", "customer", "v1", "reservations"],
|
|
@@ -65640,6 +65669,10 @@ var openapi_default = {
|
|
|
65640
65669
|
format: "date-time",
|
|
65641
65670
|
type: "string"
|
|
65642
65671
|
},
|
|
65672
|
+
customer_key: {
|
|
65673
|
+
description: "The customer_key identifying the customer. Required when not using client_session_with_customer auth.",
|
|
65674
|
+
type: "string"
|
|
65675
|
+
},
|
|
65643
65676
|
limit: {
|
|
65644
65677
|
default: 500,
|
|
65645
65678
|
description: "Maximum number of records to return per page.",
|
|
@@ -65838,7 +65871,10 @@ var openapi_default = {
|
|
|
65838
65871
|
400: { description: "Bad Request" },
|
|
65839
65872
|
401: { description: "Unauthorized" }
|
|
65840
65873
|
},
|
|
65841
|
-
security: [
|
|
65874
|
+
security: [
|
|
65875
|
+
{ client_session_with_customer: [] },
|
|
65876
|
+
{ console_session_with_workspace: [] }
|
|
65877
|
+
],
|
|
65842
65878
|
summary: "/seam/customer/v1/reservations/list",
|
|
65843
65879
|
tags: [],
|
|
65844
65880
|
"x-fern-sdk-group-name": ["seam", "customer", "v1", "reservations"],
|