@seamapi/types 1.729.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 +90 -4
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +106 -10
- package/dist/index.cjs +90 -4
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +94 -10
- package/lib/seam/connect/openapi.js +90 -4
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +12 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +94 -4
- package/src/lib/seam/connect/route-types.ts +12 -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",
|
|
@@ -65140,6 +65148,30 @@ var openapi_default = {
|
|
|
65140
65148
|
nullable: true,
|
|
65141
65149
|
type: "string"
|
|
65142
65150
|
},
|
|
65151
|
+
guest: {
|
|
65152
|
+
nullable: true,
|
|
65153
|
+
properties: {
|
|
65154
|
+
email_address: { nullable: true, type: "string" },
|
|
65155
|
+
guest_key: { type: "string" },
|
|
65156
|
+
is_resource_syncing: { type: "boolean" },
|
|
65157
|
+
name: { nullable: true, type: "string" },
|
|
65158
|
+
phone_number: { nullable: true, type: "string" },
|
|
65159
|
+
user_identity_id: {
|
|
65160
|
+
format: "uuid",
|
|
65161
|
+
nullable: true,
|
|
65162
|
+
type: "string"
|
|
65163
|
+
}
|
|
65164
|
+
},
|
|
65165
|
+
required: [
|
|
65166
|
+
"guest_key",
|
|
65167
|
+
"name",
|
|
65168
|
+
"email_address",
|
|
65169
|
+
"phone_number",
|
|
65170
|
+
"user_identity_id",
|
|
65171
|
+
"is_resource_syncing"
|
|
65172
|
+
],
|
|
65173
|
+
type: "object"
|
|
65174
|
+
},
|
|
65143
65175
|
guest_name: { nullable: true, type: "string" },
|
|
65144
65176
|
is_resource_syncing: { type: "boolean" },
|
|
65145
65177
|
name: { nullable: true, type: "string" },
|
|
@@ -65176,6 +65208,7 @@ var openapi_default = {
|
|
|
65176
65208
|
"created_at",
|
|
65177
65209
|
"is_resource_syncing",
|
|
65178
65210
|
"guest_name",
|
|
65211
|
+
"guest",
|
|
65179
65212
|
"spaces",
|
|
65180
65213
|
"access_grant_id",
|
|
65181
65214
|
"access_methods"
|
|
@@ -65193,7 +65226,10 @@ var openapi_default = {
|
|
|
65193
65226
|
400: { description: "Bad Request" },
|
|
65194
65227
|
401: { description: "Unauthorized" }
|
|
65195
65228
|
},
|
|
65196
|
-
security: [
|
|
65229
|
+
security: [
|
|
65230
|
+
{ client_session_with_customer: [] },
|
|
65231
|
+
{ console_session_with_workspace: [] }
|
|
65232
|
+
],
|
|
65197
65233
|
summary: "/seam/customer/v1/reservations/get",
|
|
65198
65234
|
tags: [],
|
|
65199
65235
|
"x-fern-sdk-group-name": ["seam", "customer", "v1", "reservations"],
|
|
@@ -65211,6 +65247,10 @@ var openapi_default = {
|
|
|
65211
65247
|
"application/json": {
|
|
65212
65248
|
schema: {
|
|
65213
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
|
+
},
|
|
65214
65254
|
reservation_id: {
|
|
65215
65255
|
description: "ID of the reservation to retrieve.",
|
|
65216
65256
|
format: "uuid",
|
|
@@ -65276,6 +65316,30 @@ var openapi_default = {
|
|
|
65276
65316
|
nullable: true,
|
|
65277
65317
|
type: "string"
|
|
65278
65318
|
},
|
|
65319
|
+
guest: {
|
|
65320
|
+
nullable: true,
|
|
65321
|
+
properties: {
|
|
65322
|
+
email_address: { nullable: true, type: "string" },
|
|
65323
|
+
guest_key: { type: "string" },
|
|
65324
|
+
is_resource_syncing: { type: "boolean" },
|
|
65325
|
+
name: { nullable: true, type: "string" },
|
|
65326
|
+
phone_number: { nullable: true, type: "string" },
|
|
65327
|
+
user_identity_id: {
|
|
65328
|
+
format: "uuid",
|
|
65329
|
+
nullable: true,
|
|
65330
|
+
type: "string"
|
|
65331
|
+
}
|
|
65332
|
+
},
|
|
65333
|
+
required: [
|
|
65334
|
+
"guest_key",
|
|
65335
|
+
"name",
|
|
65336
|
+
"email_address",
|
|
65337
|
+
"phone_number",
|
|
65338
|
+
"user_identity_id",
|
|
65339
|
+
"is_resource_syncing"
|
|
65340
|
+
],
|
|
65341
|
+
type: "object"
|
|
65342
|
+
},
|
|
65279
65343
|
guest_name: { nullable: true, type: "string" },
|
|
65280
65344
|
is_resource_syncing: { type: "boolean" },
|
|
65281
65345
|
name: { nullable: true, type: "string" },
|
|
@@ -65312,6 +65376,7 @@ var openapi_default = {
|
|
|
65312
65376
|
"created_at",
|
|
65313
65377
|
"is_resource_syncing",
|
|
65314
65378
|
"guest_name",
|
|
65379
|
+
"guest",
|
|
65315
65380
|
"spaces",
|
|
65316
65381
|
"access_grant_id",
|
|
65317
65382
|
"access_methods"
|
|
@@ -65329,7 +65394,10 @@ var openapi_default = {
|
|
|
65329
65394
|
400: { description: "Bad Request" },
|
|
65330
65395
|
401: { description: "Unauthorized" }
|
|
65331
65396
|
},
|
|
65332
|
-
security: [
|
|
65397
|
+
security: [
|
|
65398
|
+
{ client_session_with_customer: [] },
|
|
65399
|
+
{ console_session_with_workspace: [] }
|
|
65400
|
+
],
|
|
65333
65401
|
summary: "/seam/customer/v1/reservations/get",
|
|
65334
65402
|
tags: [],
|
|
65335
65403
|
"x-fern-sdk-group-name": ["seam", "customer", "v1", "reservations"],
|
|
@@ -65345,6 +65413,14 @@ var openapi_default = {
|
|
|
65345
65413
|
description: "Returns a list of reservations for a specific customer. This endpoint is designed for customer portals and supports filtering by space_key.",
|
|
65346
65414
|
operationId: "seamCustomerV1ReservationsListGet",
|
|
65347
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
|
+
},
|
|
65348
65424
|
{
|
|
65349
65425
|
in: "query",
|
|
65350
65426
|
name: "space_key",
|
|
@@ -65567,7 +65643,10 @@ var openapi_default = {
|
|
|
65567
65643
|
400: { description: "Bad Request" },
|
|
65568
65644
|
401: { description: "Unauthorized" }
|
|
65569
65645
|
},
|
|
65570
|
-
security: [
|
|
65646
|
+
security: [
|
|
65647
|
+
{ client_session_with_customer: [] },
|
|
65648
|
+
{ console_session_with_workspace: [] }
|
|
65649
|
+
],
|
|
65571
65650
|
summary: "/seam/customer/v1/reservations/list",
|
|
65572
65651
|
tags: [],
|
|
65573
65652
|
"x-fern-sdk-group-name": ["seam", "customer", "v1", "reservations"],
|
|
@@ -65590,6 +65669,10 @@ var openapi_default = {
|
|
|
65590
65669
|
format: "date-time",
|
|
65591
65670
|
type: "string"
|
|
65592
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
|
+
},
|
|
65593
65676
|
limit: {
|
|
65594
65677
|
default: 500,
|
|
65595
65678
|
description: "Maximum number of records to return per page.",
|
|
@@ -65788,7 +65871,10 @@ var openapi_default = {
|
|
|
65788
65871
|
400: { description: "Bad Request" },
|
|
65789
65872
|
401: { description: "Unauthorized" }
|
|
65790
65873
|
},
|
|
65791
|
-
security: [
|
|
65874
|
+
security: [
|
|
65875
|
+
{ client_session_with_customer: [] },
|
|
65876
|
+
{ console_session_with_workspace: [] }
|
|
65877
|
+
],
|
|
65792
65878
|
summary: "/seam/customer/v1/reservations/list",
|
|
65793
65879
|
tags: [],
|
|
65794
65880
|
"x-fern-sdk-group-name": ["seam", "customer", "v1", "reservations"],
|