@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.
@@ -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: {
@@ -112444,6 +112444,36 @@ declare const _default: {
112444
112444
  nullable: boolean;
112445
112445
  type: string;
112446
112446
  };
112447
+ guest: {
112448
+ nullable: boolean;
112449
+ properties: {
112450
+ email_address: {
112451
+ nullable: boolean;
112452
+ type: string;
112453
+ };
112454
+ guest_key: {
112455
+ type: string;
112456
+ };
112457
+ is_resource_syncing: {
112458
+ type: string;
112459
+ };
112460
+ name: {
112461
+ nullable: boolean;
112462
+ type: string;
112463
+ };
112464
+ phone_number: {
112465
+ nullable: boolean;
112466
+ type: string;
112467
+ };
112468
+ user_identity_id: {
112469
+ format: string;
112470
+ nullable: boolean;
112471
+ type: string;
112472
+ };
112473
+ };
112474
+ required: string[];
112475
+ type: string;
112476
+ };
112447
112477
  guest_name: {
112448
112478
  nullable: boolean;
112449
112479
  type: string;
@@ -112507,9 +112537,13 @@ declare const _default: {
112507
112537
  description: string;
112508
112538
  };
112509
112539
  };
112510
- security: {
112540
+ security: ({
112511
112541
  client_session_with_customer: never[];
112512
- }[];
112542
+ console_session_with_workspace?: never;
112543
+ } | {
112544
+ console_session_with_workspace: never[];
112545
+ client_session_with_customer?: never;
112546
+ })[];
112513
112547
  summary: string;
112514
112548
  tags: never[];
112515
112549
  'x-fern-sdk-group-name': string[];
@@ -112527,6 +112561,10 @@ declare const _default: {
112527
112561
  'application/json': {
112528
112562
  schema: {
112529
112563
  properties: {
112564
+ customer_key: {
112565
+ description: string;
112566
+ type: string;
112567
+ };
112530
112568
  reservation_id: {
112531
112569
  description: string;
112532
112570
  format: string;
@@ -112601,6 +112639,36 @@ declare const _default: {
112601
112639
  nullable: boolean;
112602
112640
  type: string;
112603
112641
  };
112642
+ guest: {
112643
+ nullable: boolean;
112644
+ properties: {
112645
+ email_address: {
112646
+ nullable: boolean;
112647
+ type: string;
112648
+ };
112649
+ guest_key: {
112650
+ type: string;
112651
+ };
112652
+ is_resource_syncing: {
112653
+ type: string;
112654
+ };
112655
+ name: {
112656
+ nullable: boolean;
112657
+ type: string;
112658
+ };
112659
+ phone_number: {
112660
+ nullable: boolean;
112661
+ type: string;
112662
+ };
112663
+ user_identity_id: {
112664
+ format: string;
112665
+ nullable: boolean;
112666
+ type: string;
112667
+ };
112668
+ };
112669
+ required: string[];
112670
+ type: string;
112671
+ };
112604
112672
  guest_name: {
112605
112673
  nullable: boolean;
112606
112674
  type: string;
@@ -112664,9 +112732,13 @@ declare const _default: {
112664
112732
  description: string;
112665
112733
  };
112666
112734
  };
112667
- security: {
112735
+ security: ({
112668
112736
  client_session_with_customer: never[];
112669
- }[];
112737
+ console_session_with_workspace?: never;
112738
+ } | {
112739
+ console_session_with_workspace: never[];
112740
+ client_session_with_customer?: never;
112741
+ })[];
112670
112742
  summary: string;
112671
112743
  tags: never[];
112672
112744
  'x-fern-sdk-group-name': string[];
@@ -112930,9 +113002,13 @@ declare const _default: {
112930
113002
  description: string;
112931
113003
  };
112932
113004
  };
112933
- security: {
113005
+ security: ({
112934
113006
  client_session_with_customer: never[];
112935
- }[];
113007
+ console_session_with_workspace?: never;
113008
+ } | {
113009
+ console_session_with_workspace: never[];
113010
+ client_session_with_customer?: never;
113011
+ })[];
112936
113012
  summary: string;
112937
113013
  tags: never[];
112938
113014
  'x-fern-sdk-group-name': string[];
@@ -112955,6 +113031,10 @@ declare const _default: {
112955
113031
  format: string;
112956
113032
  type: string;
112957
113033
  };
113034
+ customer_key: {
113035
+ description: string;
113036
+ type: string;
113037
+ };
112958
113038
  limit: {
112959
113039
  default: number;
112960
113040
  description: string;
@@ -113170,9 +113250,13 @@ declare const _default: {
113170
113250
  description: string;
113171
113251
  };
113172
113252
  };
113173
- security: {
113253
+ security: ({
113174
113254
  client_session_with_customer: never[];
113175
- }[];
113255
+ console_session_with_workspace?: never;
113256
+ } | {
113257
+ console_session_with_workspace: never[];
113258
+ client_session_with_customer?: never;
113259
+ })[];
113176
113260
  summary: string;
113177
113261
  tags: never[];
113178
113262
  'x-fern-sdk-group-name': string[];
@@ -188254,6 +188338,8 @@ type Routes = {
188254
188338
  queryParams: {};
188255
188339
  jsonBody: {};
188256
188340
  commonParams: {
188341
+ /** The customer_key identifying the customer. Required when not using client_session_with_customer auth. */
188342
+ customer_key?: string | undefined;
188257
188343
  /** ID of the reservation to retrieve. */
188258
188344
  reservation_id?: string | undefined;
188259
188345
  /** Key of the reservation to retrieve. */
@@ -188270,6 +188356,14 @@ type Routes = {
188270
188356
  created_at: string;
188271
188357
  is_resource_syncing: boolean;
188272
188358
  guest_name: string | null;
188359
+ guest: {
188360
+ guest_key: string;
188361
+ name: string | null;
188362
+ email_address: string | null;
188363
+ phone_number: string | null;
188364
+ user_identity_id: string | null;
188365
+ is_resource_syncing: boolean;
188366
+ } | null;
188273
188367
  spaces: {
188274
188368
  space_id: string | null;
188275
188369
  space_key: string;
@@ -188295,6 +188389,8 @@ type Routes = {
188295
188389
  queryParams: {};
188296
188390
  jsonBody: {};
188297
188391
  commonParams: {
188392
+ /** The customer_key identifying the customer. Required when not using client_session_with_customer auth. */
188393
+ customer_key?: string | undefined;
188298
188394
  /** Filter reservations by space key. */
188299
188395
  space_key?: string | undefined;
188300
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",
@@ -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: [{ client_session_with_customer: [] }],
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: [{ client_session_with_customer: [] }],
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: [{ client_session_with_customer: [] }],
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: [{ client_session_with_customer: [] }],
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"],