@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.d.cts
CHANGED
|
@@ -112373,16 +112373,16 @@ declare const _default: {
|
|
|
112373
112373
|
name: string;
|
|
112374
112374
|
schema: {
|
|
112375
112375
|
description: string;
|
|
112376
|
-
format: string;
|
|
112377
112376
|
type: string;
|
|
112377
|
+
format?: never;
|
|
112378
112378
|
};
|
|
112379
112379
|
} | {
|
|
112380
112380
|
in: string;
|
|
112381
112381
|
name: string;
|
|
112382
112382
|
schema: {
|
|
112383
112383
|
description: string;
|
|
112384
|
+
format: string;
|
|
112384
112385
|
type: string;
|
|
112385
|
-
format?: never;
|
|
112386
112386
|
};
|
|
112387
112387
|
})[];
|
|
112388
112388
|
responses: {
|
|
@@ -112537,9 +112537,13 @@ declare const _default: {
|
|
|
112537
112537
|
description: string;
|
|
112538
112538
|
};
|
|
112539
112539
|
};
|
|
112540
|
-
security: {
|
|
112540
|
+
security: ({
|
|
112541
112541
|
client_session_with_customer: never[];
|
|
112542
|
-
|
|
112542
|
+
console_session_with_workspace?: never;
|
|
112543
|
+
} | {
|
|
112544
|
+
console_session_with_workspace: never[];
|
|
112545
|
+
client_session_with_customer?: never;
|
|
112546
|
+
})[];
|
|
112543
112547
|
summary: string;
|
|
112544
112548
|
tags: never[];
|
|
112545
112549
|
'x-fern-sdk-group-name': string[];
|
|
@@ -112557,6 +112561,10 @@ declare const _default: {
|
|
|
112557
112561
|
'application/json': {
|
|
112558
112562
|
schema: {
|
|
112559
112563
|
properties: {
|
|
112564
|
+
customer_key: {
|
|
112565
|
+
description: string;
|
|
112566
|
+
type: string;
|
|
112567
|
+
};
|
|
112560
112568
|
reservation_id: {
|
|
112561
112569
|
description: string;
|
|
112562
112570
|
format: string;
|
|
@@ -112724,9 +112732,13 @@ declare const _default: {
|
|
|
112724
112732
|
description: string;
|
|
112725
112733
|
};
|
|
112726
112734
|
};
|
|
112727
|
-
security: {
|
|
112735
|
+
security: ({
|
|
112728
112736
|
client_session_with_customer: never[];
|
|
112729
|
-
|
|
112737
|
+
console_session_with_workspace?: never;
|
|
112738
|
+
} | {
|
|
112739
|
+
console_session_with_workspace: never[];
|
|
112740
|
+
client_session_with_customer?: never;
|
|
112741
|
+
})[];
|
|
112730
112742
|
summary: string;
|
|
112731
112743
|
tags: never[];
|
|
112732
112744
|
'x-fern-sdk-group-name': string[];
|
|
@@ -112990,9 +113002,13 @@ declare const _default: {
|
|
|
112990
113002
|
description: string;
|
|
112991
113003
|
};
|
|
112992
113004
|
};
|
|
112993
|
-
security: {
|
|
113005
|
+
security: ({
|
|
112994
113006
|
client_session_with_customer: never[];
|
|
112995
|
-
|
|
113007
|
+
console_session_with_workspace?: never;
|
|
113008
|
+
} | {
|
|
113009
|
+
console_session_with_workspace: never[];
|
|
113010
|
+
client_session_with_customer?: never;
|
|
113011
|
+
})[];
|
|
112996
113012
|
summary: string;
|
|
112997
113013
|
tags: never[];
|
|
112998
113014
|
'x-fern-sdk-group-name': string[];
|
|
@@ -113015,6 +113031,10 @@ declare const _default: {
|
|
|
113015
113031
|
format: string;
|
|
113016
113032
|
type: string;
|
|
113017
113033
|
};
|
|
113034
|
+
customer_key: {
|
|
113035
|
+
description: string;
|
|
113036
|
+
type: string;
|
|
113037
|
+
};
|
|
113018
113038
|
limit: {
|
|
113019
113039
|
default: number;
|
|
113020
113040
|
description: string;
|
|
@@ -113230,9 +113250,13 @@ declare const _default: {
|
|
|
113230
113250
|
description: string;
|
|
113231
113251
|
};
|
|
113232
113252
|
};
|
|
113233
|
-
security: {
|
|
113253
|
+
security: ({
|
|
113234
113254
|
client_session_with_customer: never[];
|
|
113235
|
-
|
|
113255
|
+
console_session_with_workspace?: never;
|
|
113256
|
+
} | {
|
|
113257
|
+
console_session_with_workspace: never[];
|
|
113258
|
+
client_session_with_customer?: never;
|
|
113259
|
+
})[];
|
|
113236
113260
|
summary: string;
|
|
113237
113261
|
tags: never[];
|
|
113238
113262
|
'x-fern-sdk-group-name': string[];
|
|
@@ -188314,6 +188338,8 @@ type Routes = {
|
|
|
188314
188338
|
queryParams: {};
|
|
188315
188339
|
jsonBody: {};
|
|
188316
188340
|
commonParams: {
|
|
188341
|
+
/** The customer_key identifying the customer. Required when not using client_session_with_customer auth. */
|
|
188342
|
+
customer_key?: string | undefined;
|
|
188317
188343
|
/** ID of the reservation to retrieve. */
|
|
188318
188344
|
reservation_id?: string | undefined;
|
|
188319
188345
|
/** Key of the reservation to retrieve. */
|
|
@@ -188363,6 +188389,8 @@ type Routes = {
|
|
|
188363
188389
|
queryParams: {};
|
|
188364
188390
|
jsonBody: {};
|
|
188365
188391
|
commonParams: {
|
|
188392
|
+
/** The customer_key identifying the customer. Required when not using client_session_with_customer auth. */
|
|
188393
|
+
customer_key?: string | undefined;
|
|
188366
188394
|
/** Filter reservations by space key. */
|
|
188367
188395
|
space_key?: string | undefined;
|
|
188368
188396
|
/** Filter reservations by space ID (UUID). */
|
package/dist/index.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"],
|