@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.
- package/lib/seam/connect/openapi.js +90 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +26 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +94 -0
- package/src/lib/seam/connect/route-types.ts +28 -0
|
@@ -63920,6 +63920,74 @@ const openapi = {
|
|
|
63920
63920
|
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
63921
63921
|
},
|
|
63922
63922
|
},
|
|
63923
|
+
'/seam/customer/v1/connector_customers/delete': {
|
|
63924
|
+
post: {
|
|
63925
|
+
description: "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.",
|
|
63926
|
+
operationId: 'seamCustomerV1ConnectorCustomersDeletePost',
|
|
63927
|
+
requestBody: {
|
|
63928
|
+
content: {
|
|
63929
|
+
'application/json': {
|
|
63930
|
+
schema: {
|
|
63931
|
+
properties: {
|
|
63932
|
+
connector_customer_id: {
|
|
63933
|
+
description: 'ID of the connector customer to delete.',
|
|
63934
|
+
format: 'uuid',
|
|
63935
|
+
type: 'string',
|
|
63936
|
+
},
|
|
63937
|
+
},
|
|
63938
|
+
required: ['connector_customer_id'],
|
|
63939
|
+
type: 'object',
|
|
63940
|
+
},
|
|
63941
|
+
},
|
|
63942
|
+
},
|
|
63943
|
+
},
|
|
63944
|
+
responses: {
|
|
63945
|
+
'200': {
|
|
63946
|
+
content: {
|
|
63947
|
+
'application/json': {
|
|
63948
|
+
schema: {
|
|
63949
|
+
properties: {
|
|
63950
|
+
connector_customer: {
|
|
63951
|
+
properties: {
|
|
63952
|
+
connector_customer_id: { type: 'string' },
|
|
63953
|
+
connector_id: { type: 'string' },
|
|
63954
|
+
status: { enum: ['deleted'], type: 'string' },
|
|
63955
|
+
},
|
|
63956
|
+
required: [
|
|
63957
|
+
'connector_customer_id',
|
|
63958
|
+
'connector_id',
|
|
63959
|
+
'status',
|
|
63960
|
+
],
|
|
63961
|
+
type: 'object',
|
|
63962
|
+
},
|
|
63963
|
+
ok: { type: 'boolean' },
|
|
63964
|
+
},
|
|
63965
|
+
required: ['connector_customer', 'ok'],
|
|
63966
|
+
type: 'object',
|
|
63967
|
+
},
|
|
63968
|
+
},
|
|
63969
|
+
},
|
|
63970
|
+
description: 'OK',
|
|
63971
|
+
},
|
|
63972
|
+
'400': { description: 'Bad Request' },
|
|
63973
|
+
'401': { description: 'Unauthorized' },
|
|
63974
|
+
},
|
|
63975
|
+
security: [{ api_key: [] }, { console_session_with_workspace: [] }],
|
|
63976
|
+
summary: '/seam/customer/v1/connector_customers/delete',
|
|
63977
|
+
tags: [],
|
|
63978
|
+
'x-fern-sdk-group-name': [
|
|
63979
|
+
'seam',
|
|
63980
|
+
'customer',
|
|
63981
|
+
'v1',
|
|
63982
|
+
'connector_customers',
|
|
63983
|
+
],
|
|
63984
|
+
'x-fern-sdk-method-name': 'delete',
|
|
63985
|
+
'x-fern-sdk-return-value': 'connector_customer',
|
|
63986
|
+
'x-response-key': 'connector_customer',
|
|
63987
|
+
'x-title': 'Delete Connector Customer',
|
|
63988
|
+
'x-undocumented': 'Internal endpoint for Console.',
|
|
63989
|
+
},
|
|
63990
|
+
},
|
|
63923
63991
|
'/seam/customer/v1/connector_customers/list': {
|
|
63924
63992
|
get: {
|
|
63925
63993
|
description: 'Lists connector customers for a given connector.',
|
|
@@ -71302,6 +71370,28 @@ const openapi = {
|
|
|
71302
71370
|
items: { format: 'uuid', type: 'string' },
|
|
71303
71371
|
type: 'array',
|
|
71304
71372
|
},
|
|
71373
|
+
geolocation: {
|
|
71374
|
+
description: 'Geographic coordinates of the space. Pass null to clear them. Seam keeps this value until the connected PMS reports different coordinates for the space.',
|
|
71375
|
+
nullable: true,
|
|
71376
|
+
properties: {
|
|
71377
|
+
latitude: {
|
|
71378
|
+
description: 'Latitude of the space, in decimal degrees.',
|
|
71379
|
+
format: 'float',
|
|
71380
|
+
maximum: 90,
|
|
71381
|
+
minimum: -90,
|
|
71382
|
+
type: 'number',
|
|
71383
|
+
},
|
|
71384
|
+
longitude: {
|
|
71385
|
+
description: 'Longitude of the space, in decimal degrees.',
|
|
71386
|
+
format: 'float',
|
|
71387
|
+
maximum: 180,
|
|
71388
|
+
minimum: -180,
|
|
71389
|
+
type: 'number',
|
|
71390
|
+
},
|
|
71391
|
+
},
|
|
71392
|
+
required: ['latitude', 'longitude'],
|
|
71393
|
+
type: 'object',
|
|
71394
|
+
},
|
|
71305
71395
|
name: { description: 'Name of the space.', type: 'string' },
|
|
71306
71396
|
parent_space_id: {
|
|
71307
71397
|
description: 'Reassign this space to the parent space (site) with this `parent_space_id`.',
|