@seamapi/types 1.1194.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.
@@ -118263,6 +118263,13 @@ export type Routes = {
118263
118263
  /** Postal address for the space. */
118264
118264
  address?: (string | null) | undefined;
118265
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;
118266
118273
  /** Reassign this space to the parent space (site) with this `parent_space_id`. */
118267
118274
  parent_space_id?: string | undefined;
118268
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.1194.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,
@@ -77584,6 +77584,31 @@ const openapi: OpenAPISpec = {
77584
77584
  items: { format: 'uuid', type: 'string' },
77585
77585
  type: 'array',
77586
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
+ },
77587
77612
  name: { description: 'Name of the space.', type: 'string' },
77588
77613
  parent_space_id: {
77589
77614
  description:
@@ -141380,6 +141380,15 @@ export type Routes = {
141380
141380
  address?: (string | null) | undefined
141381
141381
  }
141382
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
141383
141392
  /** Reassign this space to the parent space (site) with this `parent_space_id`. */
141384
141393
  parent_space_id?: string | undefined
141385
141394
  /** Reassign this space to the parent space (site) with this `parent_space_key`. */