@seamapi/types 1.1193.0 → 1.1195.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.
@@ -104865,6 +104865,25 @@ export type Routes = {
104865
104865
  jsonResponse: {};
104866
104866
  maxDuration: undefined;
104867
104867
  };
104868
+ '/seam/customer/v1/connector_customers/delete': {
104869
+ route: '/seam/customer/v1/connector_customers/delete';
104870
+ method: 'POST';
104871
+ queryParams: {};
104872
+ jsonBody: {
104873
+ /** ID of the connector customer to delete. */
104874
+ connector_customer_id: string;
104875
+ };
104876
+ commonParams: {};
104877
+ formData: {};
104878
+ jsonResponse: {
104879
+ connector_customer: {
104880
+ connector_customer_id: string;
104881
+ connector_id: string;
104882
+ status: 'deleted';
104883
+ };
104884
+ };
104885
+ maxDuration: undefined;
104886
+ };
104868
104887
  '/seam/customer/v1/connector_customers/list': {
104869
104888
  route: '/seam/customer/v1/connector_customers/list';
104870
104889
  method: 'GET' | 'POST';
@@ -118244,6 +118263,13 @@ export type Routes = {
118244
118263
  /** Postal address for the space. */
118245
118264
  address?: (string | null) | undefined;
118246
118265
  } | undefined;
118266
+ /** Geographic coordinates of the space. Pass null to clear them. Seam keeps this value until the connected PMS reports different coordinates for the space. */
118267
+ geolocation?: ({
118268
+ /** Latitude of the space, in decimal degrees. */
118269
+ latitude: number;
118270
+ /** Longitude of the space, in decimal degrees. */
118271
+ longitude: number;
118272
+ } | null) | undefined;
118247
118273
  /** Reassign this space to the parent space (site) with this `parent_space_id`. */
118248
118274
  parent_space_id?: string | undefined;
118249
118275
  /** Reassign this space to the parent space (site) with this `parent_space_key`. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.1193.0",
3
+ "version": "1.1195.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -85,6 +85,7 @@ export {
85
85
  room_resource,
86
86
  space,
87
87
  space_customer_data,
88
+ space_geolocation,
88
89
  neutral_resource as space_resource,
89
90
  speaker_device_type,
90
91
  staff_member_resource,
@@ -69829,6 +69829,75 @@ const openapi: OpenAPISpec = {
69829
69829
  'x-undocumented': 'Internal endpoint for customer portals.',
69830
69830
  },
69831
69831
  },
69832
+ '/seam/customer/v1/connector_customers/delete': {
69833
+ post: {
69834
+ description:
69835
+ "Removes one customer from a connector and deactivates that customer's connection. The connector and its other customers are kept, even when this was the connector's last customer. Reservations, spaces, and other resources already synced for the customer are not deleted.",
69836
+ operationId: 'seamCustomerV1ConnectorCustomersDeletePost',
69837
+ requestBody: {
69838
+ content: {
69839
+ 'application/json': {
69840
+ schema: {
69841
+ properties: {
69842
+ connector_customer_id: {
69843
+ description: 'ID of the connector customer to delete.',
69844
+ format: 'uuid',
69845
+ type: 'string',
69846
+ },
69847
+ },
69848
+ required: ['connector_customer_id'],
69849
+ type: 'object',
69850
+ },
69851
+ },
69852
+ },
69853
+ },
69854
+ responses: {
69855
+ '200': {
69856
+ content: {
69857
+ 'application/json': {
69858
+ schema: {
69859
+ properties: {
69860
+ connector_customer: {
69861
+ properties: {
69862
+ connector_customer_id: { type: 'string' },
69863
+ connector_id: { type: 'string' },
69864
+ status: { enum: ['deleted'], type: 'string' },
69865
+ },
69866
+ required: [
69867
+ 'connector_customer_id',
69868
+ 'connector_id',
69869
+ 'status',
69870
+ ],
69871
+ type: 'object',
69872
+ },
69873
+ ok: { type: 'boolean' },
69874
+ },
69875
+ required: ['connector_customer', 'ok'],
69876
+ type: 'object',
69877
+ },
69878
+ },
69879
+ },
69880
+ description: 'OK',
69881
+ },
69882
+ '400': { description: 'Bad Request' },
69883
+ '401': { description: 'Unauthorized' },
69884
+ },
69885
+ security: [{ api_key: [] }, { console_session_with_workspace: [] }],
69886
+ summary: '/seam/customer/v1/connector_customers/delete',
69887
+ tags: [],
69888
+ 'x-fern-sdk-group-name': [
69889
+ 'seam',
69890
+ 'customer',
69891
+ 'v1',
69892
+ 'connector_customers',
69893
+ ],
69894
+ 'x-fern-sdk-method-name': 'delete',
69895
+ 'x-fern-sdk-return-value': 'connector_customer',
69896
+ 'x-response-key': 'connector_customer',
69897
+ 'x-title': 'Delete Connector Customer',
69898
+ 'x-undocumented': 'Internal endpoint for Console.',
69899
+ },
69900
+ },
69832
69901
  '/seam/customer/v1/connector_customers/list': {
69833
69902
  get: {
69834
69903
  description: 'Lists connector customers for a given connector.',
@@ -77515,6 +77584,31 @@ const openapi: OpenAPISpec = {
77515
77584
  items: { format: 'uuid', type: 'string' },
77516
77585
  type: 'array',
77517
77586
  },
77587
+ geolocation: {
77588
+ description:
77589
+ 'Geographic coordinates of the space. Pass null to clear them. Seam keeps this value until the connected PMS reports different coordinates for the space.',
77590
+ nullable: true,
77591
+ properties: {
77592
+ latitude: {
77593
+ description:
77594
+ 'Latitude of the space, in decimal degrees.',
77595
+ format: 'float',
77596
+ maximum: 90,
77597
+ minimum: -90,
77598
+ type: 'number',
77599
+ },
77600
+ longitude: {
77601
+ description:
77602
+ 'Longitude of the space, in decimal degrees.',
77603
+ format: 'float',
77604
+ maximum: 180,
77605
+ minimum: -180,
77606
+ type: 'number',
77607
+ },
77608
+ },
77609
+ required: ['latitude', 'longitude'],
77610
+ type: 'object',
77611
+ },
77518
77612
  name: { description: 'Name of the space.', type: 'string' },
77519
77613
  parent_space_id: {
77520
77614
  description:
@@ -125307,6 +125307,25 @@ export type Routes = {
125307
125307
  jsonResponse: {}
125308
125308
  maxDuration: undefined
125309
125309
  }
125310
+ '/seam/customer/v1/connector_customers/delete': {
125311
+ route: '/seam/customer/v1/connector_customers/delete'
125312
+ method: 'POST'
125313
+ queryParams: {}
125314
+ jsonBody: {
125315
+ /** ID of the connector customer to delete. */
125316
+ connector_customer_id: string
125317
+ }
125318
+ commonParams: {}
125319
+ formData: {}
125320
+ jsonResponse: {
125321
+ connector_customer: {
125322
+ connector_customer_id: string
125323
+ connector_id: string
125324
+ status: 'deleted'
125325
+ }
125326
+ }
125327
+ maxDuration: undefined
125328
+ }
125310
125329
  '/seam/customer/v1/connector_customers/list': {
125311
125330
  route: '/seam/customer/v1/connector_customers/list'
125312
125331
  method: 'GET' | 'POST'
@@ -141361,6 +141380,15 @@ export type Routes = {
141361
141380
  address?: (string | null) | undefined
141362
141381
  }
141363
141382
  | undefined
141383
+ /** Geographic coordinates of the space. Pass null to clear them. Seam keeps this value until the connected PMS reports different coordinates for the space. */
141384
+ geolocation?:
141385
+ | ({
141386
+ /** Latitude of the space, in decimal degrees. */
141387
+ latitude: number
141388
+ /** Longitude of the space, in decimal degrees. */
141389
+ longitude: number
141390
+ } | null)
141391
+ | undefined
141364
141392
  /** Reassign this space to the parent space (site) with this `parent_space_id`. */
141365
141393
  parent_space_id?: string | undefined
141366
141394
  /** Reassign this space to the parent space (site) with this `parent_space_key`. */