@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.
@@ -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. */
@@ -60759,6 +60761,14 @@ export type Routes = {
60759
60761
  created_at: string;
60760
60762
  is_resource_syncing: boolean;
60761
60763
  guest_name: string | null;
60764
+ guest: {
60765
+ guest_key: string;
60766
+ name: string | null;
60767
+ email_address: string | null;
60768
+ phone_number: string | null;
60769
+ user_identity_id: string | null;
60770
+ is_resource_syncing: boolean;
60771
+ } | null;
60762
60772
  spaces: {
60763
60773
  space_id: string | null;
60764
60774
  space_key: string;
@@ -60784,6 +60794,8 @@ export type Routes = {
60784
60794
  queryParams: {};
60785
60795
  jsonBody: {};
60786
60796
  commonParams: {
60797
+ /** The customer_key identifying the customer. Required when not using client_session_with_customer auth. */
60798
+ customer_key?: string | undefined;
60787
60799
  /** Filter reservations by space key. */
60788
60800
  space_key?: string | undefined;
60789
60801
  /** Filter reservations by space ID (UUID). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.729.0",
3
+ "version": "1.731.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -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',
@@ -63896,6 +63905,30 @@ export default {
63896
63905
  nullable: true,
63897
63906
  type: 'string',
63898
63907
  },
63908
+ guest: {
63909
+ nullable: true,
63910
+ properties: {
63911
+ email_address: { nullable: true, type: 'string' },
63912
+ guest_key: { type: 'string' },
63913
+ is_resource_syncing: { type: 'boolean' },
63914
+ name: { nullable: true, type: 'string' },
63915
+ phone_number: { nullable: true, type: 'string' },
63916
+ user_identity_id: {
63917
+ format: 'uuid',
63918
+ nullable: true,
63919
+ type: 'string',
63920
+ },
63921
+ },
63922
+ required: [
63923
+ 'guest_key',
63924
+ 'name',
63925
+ 'email_address',
63926
+ 'phone_number',
63927
+ 'user_identity_id',
63928
+ 'is_resource_syncing',
63929
+ ],
63930
+ type: 'object',
63931
+ },
63899
63932
  guest_name: { nullable: true, type: 'string' },
63900
63933
  is_resource_syncing: { type: 'boolean' },
63901
63934
  name: { nullable: true, type: 'string' },
@@ -63932,6 +63965,7 @@ export default {
63932
63965
  'created_at',
63933
63966
  'is_resource_syncing',
63934
63967
  'guest_name',
63968
+ 'guest',
63935
63969
  'spaces',
63936
63970
  'access_grant_id',
63937
63971
  'access_methods',
@@ -63949,7 +63983,10 @@ export default {
63949
63983
  400: { description: 'Bad Request' },
63950
63984
  401: { description: 'Unauthorized' },
63951
63985
  },
63952
- security: [{ client_session_with_customer: [] }],
63986
+ security: [
63987
+ { client_session_with_customer: [] },
63988
+ { console_session_with_workspace: [] },
63989
+ ],
63953
63990
  summary: '/seam/customer/v1/reservations/get',
63954
63991
  tags: [],
63955
63992
  'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'reservations'],
@@ -63968,6 +64005,11 @@ export default {
63968
64005
  'application/json': {
63969
64006
  schema: {
63970
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
+ },
63971
64013
  reservation_id: {
63972
64014
  description: 'ID of the reservation to retrieve.',
63973
64015
  format: 'uuid',
@@ -64033,6 +64075,30 @@ export default {
64033
64075
  nullable: true,
64034
64076
  type: 'string',
64035
64077
  },
64078
+ guest: {
64079
+ nullable: true,
64080
+ properties: {
64081
+ email_address: { nullable: true, type: 'string' },
64082
+ guest_key: { type: 'string' },
64083
+ is_resource_syncing: { type: 'boolean' },
64084
+ name: { nullable: true, type: 'string' },
64085
+ phone_number: { nullable: true, type: 'string' },
64086
+ user_identity_id: {
64087
+ format: 'uuid',
64088
+ nullable: true,
64089
+ type: 'string',
64090
+ },
64091
+ },
64092
+ required: [
64093
+ 'guest_key',
64094
+ 'name',
64095
+ 'email_address',
64096
+ 'phone_number',
64097
+ 'user_identity_id',
64098
+ 'is_resource_syncing',
64099
+ ],
64100
+ type: 'object',
64101
+ },
64036
64102
  guest_name: { nullable: true, type: 'string' },
64037
64103
  is_resource_syncing: { type: 'boolean' },
64038
64104
  name: { nullable: true, type: 'string' },
@@ -64069,6 +64135,7 @@ export default {
64069
64135
  'created_at',
64070
64136
  'is_resource_syncing',
64071
64137
  'guest_name',
64138
+ 'guest',
64072
64139
  'spaces',
64073
64140
  'access_grant_id',
64074
64141
  'access_methods',
@@ -64086,7 +64153,10 @@ export default {
64086
64153
  400: { description: 'Bad Request' },
64087
64154
  401: { description: 'Unauthorized' },
64088
64155
  },
64089
- security: [{ client_session_with_customer: [] }],
64156
+ security: [
64157
+ { client_session_with_customer: [] },
64158
+ { console_session_with_workspace: [] },
64159
+ ],
64090
64160
  summary: '/seam/customer/v1/reservations/get',
64091
64161
  tags: [],
64092
64162
  'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'reservations'],
@@ -64103,6 +64173,15 @@ export default {
64103
64173
  'Returns a list of reservations for a specific customer. This endpoint is designed for customer portals and supports filtering by space_key.',
64104
64174
  operationId: 'seamCustomerV1ReservationsListGet',
64105
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
+ },
64106
64185
  {
64107
64186
  in: 'query',
64108
64187
  name: 'space_key',
@@ -64328,7 +64407,10 @@ export default {
64328
64407
  400: { description: 'Bad Request' },
64329
64408
  401: { description: 'Unauthorized' },
64330
64409
  },
64331
- security: [{ client_session_with_customer: [] }],
64410
+ security: [
64411
+ { client_session_with_customer: [] },
64412
+ { console_session_with_workspace: [] },
64413
+ ],
64332
64414
  summary: '/seam/customer/v1/reservations/list',
64333
64415
  tags: [],
64334
64416
  'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'reservations'],
@@ -64353,6 +64435,11 @@ export default {
64353
64435
  format: 'date-time',
64354
64436
  type: 'string',
64355
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
+ },
64356
64443
  limit: {
64357
64444
  default: 500,
64358
64445
  description:
@@ -64554,7 +64641,10 @@ export default {
64554
64641
  400: { description: 'Bad Request' },
64555
64642
  401: { description: 'Unauthorized' },
64556
64643
  },
64557
- security: [{ client_session_with_customer: [] }],
64644
+ security: [
64645
+ { client_session_with_customer: [] },
64646
+ { console_session_with_workspace: [] },
64647
+ ],
64558
64648
  summary: '/seam/customer/v1/reservations/list',
64559
64649
  tags: [],
64560
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. */
@@ -72155,6 +72157,14 @@ export type Routes = {
72155
72157
  created_at: string
72156
72158
  is_resource_syncing: boolean
72157
72159
  guest_name: string | null
72160
+ guest: {
72161
+ guest_key: string
72162
+ name: string | null
72163
+ email_address: string | null
72164
+ phone_number: string | null
72165
+ user_identity_id: string | null
72166
+ is_resource_syncing: boolean
72167
+ } | null
72158
72168
  spaces: {
72159
72169
  space_id: string | null
72160
72170
  space_key: string
@@ -72180,6 +72190,8 @@ export type Routes = {
72180
72190
  queryParams: {}
72181
72191
  jsonBody: {}
72182
72192
  commonParams: {
72193
+ /** The customer_key identifying the customer. Required when not using client_session_with_customer auth. */
72194
+ customer_key?: string | undefined
72183
72195
  /** Filter reservations by space key. */
72184
72196
  space_key?: string | undefined
72185
72197
  /** Filter reservations by space ID (UUID). */