@seamapi/types 1.471.0 → 1.473.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/dist/connect.cjs +32 -993
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +388 -1812
- package/dist/index.cjs +32 -993
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +13 -0
- package/lib/seam/connect/models/acs/acs-entrance.js +4 -0
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/acs/metadata/dormakaba-ambiance.d.ts +9 -0
- package/lib/seam/connect/models/acs/metadata/dormakaba-ambiance.js +9 -0
- package/lib/seam/connect/models/acs/metadata/dormakaba-ambiance.js.map +1 -0
- package/lib/seam/connect/models/acs/metadata/index.d.ts +1 -0
- package/lib/seam/connect/models/acs/metadata/index.js +1 -0
- package/lib/seam/connect/models/acs/metadata/index.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +95 -0
- package/lib/seam/connect/models/index.d.ts +0 -1
- package/lib/seam/connect/models/index.js +0 -1
- package/lib/seam/connect/models/index.js.map +1 -1
- package/lib/seam/connect/models/phones/phone-session.d.ts +56 -0
- package/lib/seam/connect/openapi.d.ts +22 -1312
- package/lib/seam/connect/openapi.js +22 -993
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +50 -216
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +0 -2
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +6 -0
- package/src/lib/seam/connect/models/acs/metadata/dormakaba-ambiance.ts +17 -0
- package/src/lib/seam/connect/models/acs/metadata/index.ts +1 -0
- package/src/lib/seam/connect/models/index.ts +0 -1
- package/src/lib/seam/connect/openapi.ts +26 -1015
- package/src/lib/seam/connect/route-types.ts +70 -228
- package/lib/seam/connect/models/locations/index.d.ts +0 -1
- package/lib/seam/connect/models/locations/index.js +0 -2
- package/lib/seam/connect/models/locations/index.js.map +0 -1
- package/lib/seam/connect/models/locations/location.d.ts +0 -52
- package/lib/seam/connect/models/locations/location.js +0 -31
- package/lib/seam/connect/models/locations/location.js.map +0 -1
- package/src/lib/seam/connect/models/locations/index.ts +0 -1
- package/src/lib/seam/connect/models/locations/location.ts +0 -36
|
@@ -2416,6 +2416,17 @@ export default {
|
|
|
2416
2416
|
description: 'Display name for the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
2417
2417
|
type: 'string',
|
|
2418
2418
|
},
|
|
2419
|
+
dormakaba_ambiance_metadata: {
|
|
2420
|
+
description: 'dormakaba Ambiance-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
2421
|
+
properties: {
|
|
2422
|
+
access_point_name: {
|
|
2423
|
+
description: 'Name of the access point in the dormakaba Ambiance access system.',
|
|
2424
|
+
type: 'string',
|
|
2425
|
+
},
|
|
2426
|
+
},
|
|
2427
|
+
required: ['access_point_name'],
|
|
2428
|
+
type: 'object',
|
|
2429
|
+
},
|
|
2419
2430
|
dormakaba_community_metadata: {
|
|
2420
2431
|
description: 'dormakaba Community-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
2421
2432
|
properties: {
|
|
@@ -17167,53 +17178,6 @@ export default {
|
|
|
17167
17178
|
type: 'object',
|
|
17168
17179
|
'x-route-path': '/instant_keys',
|
|
17169
17180
|
},
|
|
17170
|
-
location: {
|
|
17171
|
-
properties: {
|
|
17172
|
-
created_at: {
|
|
17173
|
-
description: 'Date and time at which the location object was created.',
|
|
17174
|
-
format: 'date-time',
|
|
17175
|
-
type: 'string',
|
|
17176
|
-
},
|
|
17177
|
-
display_name: {
|
|
17178
|
-
description: 'Display name of the location.',
|
|
17179
|
-
type: 'string',
|
|
17180
|
-
},
|
|
17181
|
-
geolocation: {
|
|
17182
|
-
description: 'Geographical location of the location.',
|
|
17183
|
-
properties: {
|
|
17184
|
-
latitude: { format: 'float', type: 'number' },
|
|
17185
|
-
longitude: { format: 'float', type: 'number' },
|
|
17186
|
-
},
|
|
17187
|
-
required: ['latitude', 'longitude'],
|
|
17188
|
-
type: 'object',
|
|
17189
|
-
},
|
|
17190
|
-
location_id: {
|
|
17191
|
-
description: 'Unique identifier for the location.',
|
|
17192
|
-
format: 'uuid',
|
|
17193
|
-
type: 'string',
|
|
17194
|
-
},
|
|
17195
|
-
name: { description: 'Name of the location.', type: 'string' },
|
|
17196
|
-
time_zone: {
|
|
17197
|
-
description: 'Time zone of the location.',
|
|
17198
|
-
type: 'string',
|
|
17199
|
-
},
|
|
17200
|
-
workspace_id: {
|
|
17201
|
-
description: 'Unique identifier for the Seam workspace associated with the location.',
|
|
17202
|
-
format: 'uuid',
|
|
17203
|
-
type: 'string',
|
|
17204
|
-
},
|
|
17205
|
-
},
|
|
17206
|
-
required: [
|
|
17207
|
-
'location_id',
|
|
17208
|
-
'workspace_id',
|
|
17209
|
-
'name',
|
|
17210
|
-
'display_name',
|
|
17211
|
-
'created_at',
|
|
17212
|
-
],
|
|
17213
|
-
type: 'object',
|
|
17214
|
-
'x-route-path': '/unstable_locations',
|
|
17215
|
-
'x-undocumented': 'Will be removed.',
|
|
17216
|
-
},
|
|
17217
17181
|
magic_link: {
|
|
17218
17182
|
description: "Represents a Customer Portal. Customer Portal is a hosted, customizable interface for managing device access. It enables you to embed secure, pre-authenticated access flows into your product—either by sharing a link with users or embedding a view in an iframe.\n\nWith Customer Portal, you no longer need to build out frontend experiences for physical access, thermostats, and sensors. Instead, you can ship enterprise-grade access control experiences in a fraction of the time, while maintaining your product's branding and user experience.\n\nSeam hosts these flows, handling everything from account connection and device mapping to full-featured device control.",
|
|
17219
17183
|
properties: {
|
|
@@ -17578,6 +17542,17 @@ export default {
|
|
|
17578
17542
|
description: 'Display name for the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
17579
17543
|
type: 'string',
|
|
17580
17544
|
},
|
|
17545
|
+
dormakaba_ambiance_metadata: {
|
|
17546
|
+
description: 'dormakaba Ambiance-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
17547
|
+
properties: {
|
|
17548
|
+
access_point_name: {
|
|
17549
|
+
description: 'Name of the access point in the dormakaba Ambiance access system.',
|
|
17550
|
+
type: 'string',
|
|
17551
|
+
},
|
|
17552
|
+
},
|
|
17553
|
+
required: ['access_point_name'],
|
|
17554
|
+
type: 'object',
|
|
17555
|
+
},
|
|
17581
17556
|
dormakaba_community_metadata: {
|
|
17582
17557
|
description: 'dormakaba Community-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
17583
17558
|
properties: {
|
|
@@ -49141,952 +49116,6 @@ export default {
|
|
|
49141
49116
|
'x-title': 'Update the Thermostat Weekly Program',
|
|
49142
49117
|
},
|
|
49143
49118
|
},
|
|
49144
|
-
'/unstable_locations/add_acs_entrances': {
|
|
49145
|
-
post: {
|
|
49146
|
-
description: 'Adds [entrances](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) to a specific location.',
|
|
49147
|
-
operationId: 'unstableLocationsAddAcsEntrancesPost',
|
|
49148
|
-
requestBody: {
|
|
49149
|
-
content: {
|
|
49150
|
-
'application/json': {
|
|
49151
|
-
schema: {
|
|
49152
|
-
properties: {
|
|
49153
|
-
acs_entrance_ids: {
|
|
49154
|
-
description: 'IDs of the entrances that you want to add to the location.',
|
|
49155
|
-
items: { format: 'uuid', type: 'string' },
|
|
49156
|
-
minItems: 1,
|
|
49157
|
-
type: 'array',
|
|
49158
|
-
},
|
|
49159
|
-
location_id: {
|
|
49160
|
-
description: 'ID of the location to which you want to add entrances.',
|
|
49161
|
-
format: 'uuid',
|
|
49162
|
-
type: 'string',
|
|
49163
|
-
},
|
|
49164
|
-
},
|
|
49165
|
-
required: ['location_id', 'acs_entrance_ids'],
|
|
49166
|
-
type: 'object',
|
|
49167
|
-
},
|
|
49168
|
-
},
|
|
49169
|
-
},
|
|
49170
|
-
},
|
|
49171
|
-
responses: {
|
|
49172
|
-
200: {
|
|
49173
|
-
content: {
|
|
49174
|
-
'application/json': {
|
|
49175
|
-
schema: {
|
|
49176
|
-
properties: { ok: { type: 'boolean' } },
|
|
49177
|
-
required: ['ok'],
|
|
49178
|
-
type: 'object',
|
|
49179
|
-
},
|
|
49180
|
-
},
|
|
49181
|
-
},
|
|
49182
|
-
description: 'OK',
|
|
49183
|
-
},
|
|
49184
|
-
400: { description: 'Bad Request' },
|
|
49185
|
-
401: { description: 'Unauthorized' },
|
|
49186
|
-
},
|
|
49187
|
-
security: [
|
|
49188
|
-
{ pat_with_workspace: [] },
|
|
49189
|
-
{ console_session_with_workspace: [] },
|
|
49190
|
-
{ api_key: [] },
|
|
49191
|
-
],
|
|
49192
|
-
summary: '/unstable_locations/add_acs_entrances',
|
|
49193
|
-
tags: [],
|
|
49194
|
-
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
49195
|
-
'x-fern-sdk-method-name': 'add_acs_entrances',
|
|
49196
|
-
'x-response-key': null,
|
|
49197
|
-
'x-title': 'Add Entrances to a Location',
|
|
49198
|
-
'x-undocumented': 'Experimental locations.',
|
|
49199
|
-
},
|
|
49200
|
-
put: {
|
|
49201
|
-
description: 'Adds [entrances](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) to a specific location.',
|
|
49202
|
-
operationId: 'unstableLocationsAddAcsEntrancesPut',
|
|
49203
|
-
requestBody: {
|
|
49204
|
-
content: {
|
|
49205
|
-
'application/json': {
|
|
49206
|
-
schema: {
|
|
49207
|
-
properties: {
|
|
49208
|
-
acs_entrance_ids: {
|
|
49209
|
-
description: 'IDs of the entrances that you want to add to the location.',
|
|
49210
|
-
items: { format: 'uuid', type: 'string' },
|
|
49211
|
-
minItems: 1,
|
|
49212
|
-
type: 'array',
|
|
49213
|
-
},
|
|
49214
|
-
location_id: {
|
|
49215
|
-
description: 'ID of the location to which you want to add entrances.',
|
|
49216
|
-
format: 'uuid',
|
|
49217
|
-
type: 'string',
|
|
49218
|
-
},
|
|
49219
|
-
},
|
|
49220
|
-
required: ['location_id', 'acs_entrance_ids'],
|
|
49221
|
-
type: 'object',
|
|
49222
|
-
},
|
|
49223
|
-
},
|
|
49224
|
-
},
|
|
49225
|
-
},
|
|
49226
|
-
responses: {
|
|
49227
|
-
200: {
|
|
49228
|
-
content: {
|
|
49229
|
-
'application/json': {
|
|
49230
|
-
schema: {
|
|
49231
|
-
properties: { ok: { type: 'boolean' } },
|
|
49232
|
-
required: ['ok'],
|
|
49233
|
-
type: 'object',
|
|
49234
|
-
},
|
|
49235
|
-
},
|
|
49236
|
-
},
|
|
49237
|
-
description: 'OK',
|
|
49238
|
-
},
|
|
49239
|
-
400: { description: 'Bad Request' },
|
|
49240
|
-
401: { description: 'Unauthorized' },
|
|
49241
|
-
},
|
|
49242
|
-
security: [
|
|
49243
|
-
{ pat_with_workspace: [] },
|
|
49244
|
-
{ console_session_with_workspace: [] },
|
|
49245
|
-
{ api_key: [] },
|
|
49246
|
-
],
|
|
49247
|
-
summary: '/unstable_locations/add_acs_entrances',
|
|
49248
|
-
tags: [],
|
|
49249
|
-
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
49250
|
-
'x-fern-sdk-method-name': 'add_acs_entrances',
|
|
49251
|
-
'x-response-key': null,
|
|
49252
|
-
'x-title': 'Add Entrances to a Location',
|
|
49253
|
-
'x-undocumented': 'Experimental locations.',
|
|
49254
|
-
},
|
|
49255
|
-
},
|
|
49256
|
-
'/unstable_locations/add_devices': {
|
|
49257
|
-
post: {
|
|
49258
|
-
description: 'Adds devices to a specific location.',
|
|
49259
|
-
operationId: 'unstableLocationsAddDevicesPost',
|
|
49260
|
-
requestBody: {
|
|
49261
|
-
content: {
|
|
49262
|
-
'application/json': {
|
|
49263
|
-
schema: {
|
|
49264
|
-
properties: {
|
|
49265
|
-
device_ids: {
|
|
49266
|
-
description: 'IDs of the devices that you want to add to the location.',
|
|
49267
|
-
items: { format: 'uuid', type: 'string' },
|
|
49268
|
-
minItems: 1,
|
|
49269
|
-
type: 'array',
|
|
49270
|
-
},
|
|
49271
|
-
location_id: {
|
|
49272
|
-
description: 'ID of the location to which you want to add devices.',
|
|
49273
|
-
format: 'uuid',
|
|
49274
|
-
type: 'string',
|
|
49275
|
-
},
|
|
49276
|
-
},
|
|
49277
|
-
required: ['location_id', 'device_ids'],
|
|
49278
|
-
type: 'object',
|
|
49279
|
-
},
|
|
49280
|
-
},
|
|
49281
|
-
},
|
|
49282
|
-
},
|
|
49283
|
-
responses: {
|
|
49284
|
-
200: {
|
|
49285
|
-
content: {
|
|
49286
|
-
'application/json': {
|
|
49287
|
-
schema: {
|
|
49288
|
-
properties: { ok: { type: 'boolean' } },
|
|
49289
|
-
required: ['ok'],
|
|
49290
|
-
type: 'object',
|
|
49291
|
-
},
|
|
49292
|
-
},
|
|
49293
|
-
},
|
|
49294
|
-
description: 'OK',
|
|
49295
|
-
},
|
|
49296
|
-
400: { description: 'Bad Request' },
|
|
49297
|
-
401: { description: 'Unauthorized' },
|
|
49298
|
-
},
|
|
49299
|
-
security: [
|
|
49300
|
-
{ pat_with_workspace: [] },
|
|
49301
|
-
{ console_session_with_workspace: [] },
|
|
49302
|
-
{ api_key: [] },
|
|
49303
|
-
],
|
|
49304
|
-
summary: '/unstable_locations/add_devices',
|
|
49305
|
-
tags: [],
|
|
49306
|
-
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
49307
|
-
'x-fern-sdk-method-name': 'add_devices',
|
|
49308
|
-
'x-response-key': null,
|
|
49309
|
-
'x-title': 'Add Devices to a Location',
|
|
49310
|
-
'x-undocumented': 'Experimental locations.',
|
|
49311
|
-
},
|
|
49312
|
-
put: {
|
|
49313
|
-
description: 'Adds devices to a specific location.',
|
|
49314
|
-
operationId: 'unstableLocationsAddDevicesPut',
|
|
49315
|
-
requestBody: {
|
|
49316
|
-
content: {
|
|
49317
|
-
'application/json': {
|
|
49318
|
-
schema: {
|
|
49319
|
-
properties: {
|
|
49320
|
-
device_ids: {
|
|
49321
|
-
description: 'IDs of the devices that you want to add to the location.',
|
|
49322
|
-
items: { format: 'uuid', type: 'string' },
|
|
49323
|
-
minItems: 1,
|
|
49324
|
-
type: 'array',
|
|
49325
|
-
},
|
|
49326
|
-
location_id: {
|
|
49327
|
-
description: 'ID of the location to which you want to add devices.',
|
|
49328
|
-
format: 'uuid',
|
|
49329
|
-
type: 'string',
|
|
49330
|
-
},
|
|
49331
|
-
},
|
|
49332
|
-
required: ['location_id', 'device_ids'],
|
|
49333
|
-
type: 'object',
|
|
49334
|
-
},
|
|
49335
|
-
},
|
|
49336
|
-
},
|
|
49337
|
-
},
|
|
49338
|
-
responses: {
|
|
49339
|
-
200: {
|
|
49340
|
-
content: {
|
|
49341
|
-
'application/json': {
|
|
49342
|
-
schema: {
|
|
49343
|
-
properties: { ok: { type: 'boolean' } },
|
|
49344
|
-
required: ['ok'],
|
|
49345
|
-
type: 'object',
|
|
49346
|
-
},
|
|
49347
|
-
},
|
|
49348
|
-
},
|
|
49349
|
-
description: 'OK',
|
|
49350
|
-
},
|
|
49351
|
-
400: { description: 'Bad Request' },
|
|
49352
|
-
401: { description: 'Unauthorized' },
|
|
49353
|
-
},
|
|
49354
|
-
security: [
|
|
49355
|
-
{ pat_with_workspace: [] },
|
|
49356
|
-
{ console_session_with_workspace: [] },
|
|
49357
|
-
{ api_key: [] },
|
|
49358
|
-
],
|
|
49359
|
-
summary: '/unstable_locations/add_devices',
|
|
49360
|
-
tags: [],
|
|
49361
|
-
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
49362
|
-
'x-fern-sdk-method-name': 'add_devices',
|
|
49363
|
-
'x-response-key': null,
|
|
49364
|
-
'x-title': 'Add Devices to a Location',
|
|
49365
|
-
'x-undocumented': 'Experimental locations.',
|
|
49366
|
-
},
|
|
49367
|
-
},
|
|
49368
|
-
'/unstable_locations/create': {
|
|
49369
|
-
post: {
|
|
49370
|
-
description: 'Creates a new location.',
|
|
49371
|
-
operationId: 'unstableLocationsCreatePost',
|
|
49372
|
-
requestBody: {
|
|
49373
|
-
content: {
|
|
49374
|
-
'application/json': {
|
|
49375
|
-
schema: {
|
|
49376
|
-
properties: {
|
|
49377
|
-
acs_entrance_ids: {
|
|
49378
|
-
description: 'IDs of the entrances that you want to add to the new location.',
|
|
49379
|
-
items: { format: 'uuid', type: 'string' },
|
|
49380
|
-
type: 'array',
|
|
49381
|
-
},
|
|
49382
|
-
device_ids: {
|
|
49383
|
-
description: 'IDs of the devices that you want to add to the new location.',
|
|
49384
|
-
items: { format: 'uuid', type: 'string' },
|
|
49385
|
-
type: 'array',
|
|
49386
|
-
},
|
|
49387
|
-
geolocation: {
|
|
49388
|
-
description: 'Geolocation of the new location.',
|
|
49389
|
-
properties: {
|
|
49390
|
-
latitude: { format: 'float', type: 'number' },
|
|
49391
|
-
longitude: { format: 'float', type: 'number' },
|
|
49392
|
-
},
|
|
49393
|
-
required: ['latitude', 'longitude'],
|
|
49394
|
-
type: 'object',
|
|
49395
|
-
},
|
|
49396
|
-
name: {
|
|
49397
|
-
description: 'Name of the new location.',
|
|
49398
|
-
type: 'string',
|
|
49399
|
-
},
|
|
49400
|
-
time_zone: {
|
|
49401
|
-
description: 'Time zone of the new location.',
|
|
49402
|
-
type: 'string',
|
|
49403
|
-
},
|
|
49404
|
-
},
|
|
49405
|
-
required: ['name'],
|
|
49406
|
-
type: 'object',
|
|
49407
|
-
},
|
|
49408
|
-
},
|
|
49409
|
-
},
|
|
49410
|
-
},
|
|
49411
|
-
responses: {
|
|
49412
|
-
200: {
|
|
49413
|
-
content: {
|
|
49414
|
-
'application/json': {
|
|
49415
|
-
schema: {
|
|
49416
|
-
properties: {
|
|
49417
|
-
location: { $ref: '#/components/schemas/location' },
|
|
49418
|
-
ok: { type: 'boolean' },
|
|
49419
|
-
},
|
|
49420
|
-
required: ['location', 'ok'],
|
|
49421
|
-
type: 'object',
|
|
49422
|
-
},
|
|
49423
|
-
},
|
|
49424
|
-
},
|
|
49425
|
-
description: 'OK',
|
|
49426
|
-
},
|
|
49427
|
-
400: { description: 'Bad Request' },
|
|
49428
|
-
401: { description: 'Unauthorized' },
|
|
49429
|
-
},
|
|
49430
|
-
security: [
|
|
49431
|
-
{ pat_with_workspace: [] },
|
|
49432
|
-
{ console_session_with_workspace: [] },
|
|
49433
|
-
{ api_key: [] },
|
|
49434
|
-
],
|
|
49435
|
-
summary: '/unstable_locations/create',
|
|
49436
|
-
tags: [],
|
|
49437
|
-
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
49438
|
-
'x-fern-sdk-method-name': 'create',
|
|
49439
|
-
'x-fern-sdk-return-value': 'location',
|
|
49440
|
-
'x-response-key': 'location',
|
|
49441
|
-
'x-title': 'Create a Location',
|
|
49442
|
-
'x-undocumented': 'Experimental locations.',
|
|
49443
|
-
},
|
|
49444
|
-
},
|
|
49445
|
-
'/unstable_locations/delete': {
|
|
49446
|
-
delete: {
|
|
49447
|
-
description: 'Deletes a location.',
|
|
49448
|
-
operationId: 'unstableLocationsDeleteDelete',
|
|
49449
|
-
requestBody: {
|
|
49450
|
-
content: {
|
|
49451
|
-
'application/json': {
|
|
49452
|
-
schema: {
|
|
49453
|
-
properties: {
|
|
49454
|
-
location_id: {
|
|
49455
|
-
description: 'ID of the location that you want to delete.',
|
|
49456
|
-
format: 'uuid',
|
|
49457
|
-
type: 'string',
|
|
49458
|
-
},
|
|
49459
|
-
},
|
|
49460
|
-
required: ['location_id'],
|
|
49461
|
-
type: 'object',
|
|
49462
|
-
},
|
|
49463
|
-
},
|
|
49464
|
-
},
|
|
49465
|
-
},
|
|
49466
|
-
responses: {
|
|
49467
|
-
200: {
|
|
49468
|
-
content: {
|
|
49469
|
-
'application/json': {
|
|
49470
|
-
schema: {
|
|
49471
|
-
properties: { ok: { type: 'boolean' } },
|
|
49472
|
-
required: ['ok'],
|
|
49473
|
-
type: 'object',
|
|
49474
|
-
},
|
|
49475
|
-
},
|
|
49476
|
-
},
|
|
49477
|
-
description: 'OK',
|
|
49478
|
-
},
|
|
49479
|
-
400: { description: 'Bad Request' },
|
|
49480
|
-
401: { description: 'Unauthorized' },
|
|
49481
|
-
},
|
|
49482
|
-
security: [
|
|
49483
|
-
{ pat_with_workspace: [] },
|
|
49484
|
-
{ console_session_with_workspace: [] },
|
|
49485
|
-
{ api_key: [] },
|
|
49486
|
-
],
|
|
49487
|
-
summary: '/unstable_locations/delete',
|
|
49488
|
-
tags: [],
|
|
49489
|
-
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
49490
|
-
'x-fern-sdk-method-name': 'delete',
|
|
49491
|
-
'x-response-key': null,
|
|
49492
|
-
'x-title': 'Delete a Location',
|
|
49493
|
-
'x-undocumented': 'Experimental locations.',
|
|
49494
|
-
},
|
|
49495
|
-
post: {
|
|
49496
|
-
description: 'Deletes a location.',
|
|
49497
|
-
operationId: 'unstableLocationsDeletePost',
|
|
49498
|
-
requestBody: {
|
|
49499
|
-
content: {
|
|
49500
|
-
'application/json': {
|
|
49501
|
-
schema: {
|
|
49502
|
-
properties: {
|
|
49503
|
-
location_id: {
|
|
49504
|
-
description: 'ID of the location that you want to delete.',
|
|
49505
|
-
format: 'uuid',
|
|
49506
|
-
type: 'string',
|
|
49507
|
-
},
|
|
49508
|
-
},
|
|
49509
|
-
required: ['location_id'],
|
|
49510
|
-
type: 'object',
|
|
49511
|
-
},
|
|
49512
|
-
},
|
|
49513
|
-
},
|
|
49514
|
-
},
|
|
49515
|
-
responses: {
|
|
49516
|
-
200: {
|
|
49517
|
-
content: {
|
|
49518
|
-
'application/json': {
|
|
49519
|
-
schema: {
|
|
49520
|
-
properties: { ok: { type: 'boolean' } },
|
|
49521
|
-
required: ['ok'],
|
|
49522
|
-
type: 'object',
|
|
49523
|
-
},
|
|
49524
|
-
},
|
|
49525
|
-
},
|
|
49526
|
-
description: 'OK',
|
|
49527
|
-
},
|
|
49528
|
-
400: { description: 'Bad Request' },
|
|
49529
|
-
401: { description: 'Unauthorized' },
|
|
49530
|
-
},
|
|
49531
|
-
security: [
|
|
49532
|
-
{ pat_with_workspace: [] },
|
|
49533
|
-
{ console_session_with_workspace: [] },
|
|
49534
|
-
{ api_key: [] },
|
|
49535
|
-
],
|
|
49536
|
-
summary: '/unstable_locations/delete',
|
|
49537
|
-
tags: [],
|
|
49538
|
-
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
49539
|
-
'x-fern-sdk-method-name': 'delete',
|
|
49540
|
-
'x-response-key': null,
|
|
49541
|
-
'x-title': 'Delete a Location',
|
|
49542
|
-
'x-undocumented': 'Experimental locations.',
|
|
49543
|
-
},
|
|
49544
|
-
},
|
|
49545
|
-
'/unstable_locations/get': {
|
|
49546
|
-
get: {
|
|
49547
|
-
description: 'Gets a location.',
|
|
49548
|
-
operationId: 'unstableLocationsGetGet',
|
|
49549
|
-
parameters: [
|
|
49550
|
-
{
|
|
49551
|
-
in: 'query',
|
|
49552
|
-
name: 'location_id',
|
|
49553
|
-
required: true,
|
|
49554
|
-
schema: {
|
|
49555
|
-
description: 'ID of the location that you want to get.',
|
|
49556
|
-
format: 'uuid',
|
|
49557
|
-
type: 'string',
|
|
49558
|
-
},
|
|
49559
|
-
},
|
|
49560
|
-
],
|
|
49561
|
-
responses: {
|
|
49562
|
-
200: {
|
|
49563
|
-
content: {
|
|
49564
|
-
'application/json': {
|
|
49565
|
-
schema: {
|
|
49566
|
-
properties: {
|
|
49567
|
-
location: { $ref: '#/components/schemas/location' },
|
|
49568
|
-
ok: { type: 'boolean' },
|
|
49569
|
-
},
|
|
49570
|
-
required: ['location', 'ok'],
|
|
49571
|
-
type: 'object',
|
|
49572
|
-
},
|
|
49573
|
-
},
|
|
49574
|
-
},
|
|
49575
|
-
description: 'OK',
|
|
49576
|
-
},
|
|
49577
|
-
400: { description: 'Bad Request' },
|
|
49578
|
-
401: { description: 'Unauthorized' },
|
|
49579
|
-
},
|
|
49580
|
-
security: [
|
|
49581
|
-
{ pat_with_workspace: [] },
|
|
49582
|
-
{ console_session_with_workspace: [] },
|
|
49583
|
-
{ api_key: [] },
|
|
49584
|
-
],
|
|
49585
|
-
summary: '/unstable_locations/get',
|
|
49586
|
-
tags: [],
|
|
49587
|
-
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
49588
|
-
'x-fern-sdk-method-name': 'get',
|
|
49589
|
-
'x-fern-sdk-return-value': 'location',
|
|
49590
|
-
'x-response-key': 'location',
|
|
49591
|
-
'x-title': 'Get a Location',
|
|
49592
|
-
'x-undocumented': 'Experimental locations.',
|
|
49593
|
-
},
|
|
49594
|
-
post: {
|
|
49595
|
-
description: 'Gets a location.',
|
|
49596
|
-
operationId: 'unstableLocationsGetPost',
|
|
49597
|
-
requestBody: {
|
|
49598
|
-
content: {
|
|
49599
|
-
'application/json': {
|
|
49600
|
-
schema: {
|
|
49601
|
-
properties: {
|
|
49602
|
-
location_id: {
|
|
49603
|
-
description: 'ID of the location that you want to get.',
|
|
49604
|
-
format: 'uuid',
|
|
49605
|
-
type: 'string',
|
|
49606
|
-
},
|
|
49607
|
-
},
|
|
49608
|
-
required: ['location_id'],
|
|
49609
|
-
type: 'object',
|
|
49610
|
-
},
|
|
49611
|
-
},
|
|
49612
|
-
},
|
|
49613
|
-
},
|
|
49614
|
-
responses: {
|
|
49615
|
-
200: {
|
|
49616
|
-
content: {
|
|
49617
|
-
'application/json': {
|
|
49618
|
-
schema: {
|
|
49619
|
-
properties: {
|
|
49620
|
-
location: { $ref: '#/components/schemas/location' },
|
|
49621
|
-
ok: { type: 'boolean' },
|
|
49622
|
-
},
|
|
49623
|
-
required: ['location', 'ok'],
|
|
49624
|
-
type: 'object',
|
|
49625
|
-
},
|
|
49626
|
-
},
|
|
49627
|
-
},
|
|
49628
|
-
description: 'OK',
|
|
49629
|
-
},
|
|
49630
|
-
400: { description: 'Bad Request' },
|
|
49631
|
-
401: { description: 'Unauthorized' },
|
|
49632
|
-
},
|
|
49633
|
-
security: [
|
|
49634
|
-
{ pat_with_workspace: [] },
|
|
49635
|
-
{ console_session_with_workspace: [] },
|
|
49636
|
-
{ api_key: [] },
|
|
49637
|
-
],
|
|
49638
|
-
summary: '/unstable_locations/get',
|
|
49639
|
-
tags: [],
|
|
49640
|
-
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
49641
|
-
'x-fern-sdk-method-name': 'get',
|
|
49642
|
-
'x-fern-sdk-return-value': 'location',
|
|
49643
|
-
'x-response-key': 'location',
|
|
49644
|
-
'x-title': 'Get a Location',
|
|
49645
|
-
'x-undocumented': 'Experimental locations.',
|
|
49646
|
-
},
|
|
49647
|
-
},
|
|
49648
|
-
'/unstable_locations/list': {
|
|
49649
|
-
get: {
|
|
49650
|
-
description: 'Returns a list of all locations.',
|
|
49651
|
-
operationId: 'unstableLocationsListGet',
|
|
49652
|
-
responses: {
|
|
49653
|
-
200: {
|
|
49654
|
-
content: {
|
|
49655
|
-
'application/json': {
|
|
49656
|
-
schema: {
|
|
49657
|
-
properties: {
|
|
49658
|
-
locations: {
|
|
49659
|
-
items: { $ref: '#/components/schemas/location' },
|
|
49660
|
-
type: 'array',
|
|
49661
|
-
},
|
|
49662
|
-
ok: { type: 'boolean' },
|
|
49663
|
-
},
|
|
49664
|
-
required: ['locations', 'ok'],
|
|
49665
|
-
type: 'object',
|
|
49666
|
-
},
|
|
49667
|
-
},
|
|
49668
|
-
},
|
|
49669
|
-
description: 'OK',
|
|
49670
|
-
},
|
|
49671
|
-
400: { description: 'Bad Request' },
|
|
49672
|
-
401: { description: 'Unauthorized' },
|
|
49673
|
-
},
|
|
49674
|
-
security: [
|
|
49675
|
-
{ pat_with_workspace: [] },
|
|
49676
|
-
{ console_session_with_workspace: [] },
|
|
49677
|
-
{ api_key: [] },
|
|
49678
|
-
],
|
|
49679
|
-
summary: '/unstable_locations/list',
|
|
49680
|
-
tags: [],
|
|
49681
|
-
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
49682
|
-
'x-fern-sdk-method-name': 'list',
|
|
49683
|
-
'x-fern-sdk-return-value': 'locations',
|
|
49684
|
-
'x-response-key': 'locations',
|
|
49685
|
-
'x-title': 'List Locations',
|
|
49686
|
-
'x-undocumented': 'Experimental locations.',
|
|
49687
|
-
},
|
|
49688
|
-
post: {
|
|
49689
|
-
description: 'Returns a list of all locations.',
|
|
49690
|
-
operationId: 'unstableLocationsListPost',
|
|
49691
|
-
responses: {
|
|
49692
|
-
200: {
|
|
49693
|
-
content: {
|
|
49694
|
-
'application/json': {
|
|
49695
|
-
schema: {
|
|
49696
|
-
properties: {
|
|
49697
|
-
locations: {
|
|
49698
|
-
items: { $ref: '#/components/schemas/location' },
|
|
49699
|
-
type: 'array',
|
|
49700
|
-
},
|
|
49701
|
-
ok: { type: 'boolean' },
|
|
49702
|
-
},
|
|
49703
|
-
required: ['locations', 'ok'],
|
|
49704
|
-
type: 'object',
|
|
49705
|
-
},
|
|
49706
|
-
},
|
|
49707
|
-
},
|
|
49708
|
-
description: 'OK',
|
|
49709
|
-
},
|
|
49710
|
-
400: { description: 'Bad Request' },
|
|
49711
|
-
401: { description: 'Unauthorized' },
|
|
49712
|
-
},
|
|
49713
|
-
security: [
|
|
49714
|
-
{ pat_with_workspace: [] },
|
|
49715
|
-
{ console_session_with_workspace: [] },
|
|
49716
|
-
{ api_key: [] },
|
|
49717
|
-
],
|
|
49718
|
-
summary: '/unstable_locations/list',
|
|
49719
|
-
tags: [],
|
|
49720
|
-
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
49721
|
-
'x-fern-sdk-method-name': 'list',
|
|
49722
|
-
'x-fern-sdk-return-value': 'locations',
|
|
49723
|
-
'x-response-key': 'locations',
|
|
49724
|
-
'x-title': 'List Locations',
|
|
49725
|
-
'x-undocumented': 'Experimental locations.',
|
|
49726
|
-
},
|
|
49727
|
-
},
|
|
49728
|
-
'/unstable_locations/remove_acs_entrances': {
|
|
49729
|
-
delete: {
|
|
49730
|
-
description: 'Removes entrances from a specific location.',
|
|
49731
|
-
operationId: 'unstableLocationsRemoveAcsEntrancesDelete',
|
|
49732
|
-
parameters: [
|
|
49733
|
-
{
|
|
49734
|
-
in: 'query',
|
|
49735
|
-
name: 'location_id',
|
|
49736
|
-
required: true,
|
|
49737
|
-
schema: {
|
|
49738
|
-
description: 'ID of the location from which you want to remove entrances.',
|
|
49739
|
-
format: 'uuid',
|
|
49740
|
-
type: 'string',
|
|
49741
|
-
},
|
|
49742
|
-
},
|
|
49743
|
-
{
|
|
49744
|
-
in: 'query',
|
|
49745
|
-
name: 'acs_entrance_ids',
|
|
49746
|
-
required: true,
|
|
49747
|
-
schema: {
|
|
49748
|
-
description: 'IDs of the entrances that you want to remove from the location.',
|
|
49749
|
-
items: { format: 'uuid', type: 'string' },
|
|
49750
|
-
type: 'array',
|
|
49751
|
-
},
|
|
49752
|
-
},
|
|
49753
|
-
],
|
|
49754
|
-
responses: {
|
|
49755
|
-
200: {
|
|
49756
|
-
content: {
|
|
49757
|
-
'application/json': {
|
|
49758
|
-
schema: {
|
|
49759
|
-
properties: { ok: { type: 'boolean' } },
|
|
49760
|
-
required: ['ok'],
|
|
49761
|
-
type: 'object',
|
|
49762
|
-
},
|
|
49763
|
-
},
|
|
49764
|
-
},
|
|
49765
|
-
description: 'OK',
|
|
49766
|
-
},
|
|
49767
|
-
400: { description: 'Bad Request' },
|
|
49768
|
-
401: { description: 'Unauthorized' },
|
|
49769
|
-
},
|
|
49770
|
-
security: [
|
|
49771
|
-
{ pat_with_workspace: [] },
|
|
49772
|
-
{ console_session_with_workspace: [] },
|
|
49773
|
-
{ api_key: [] },
|
|
49774
|
-
],
|
|
49775
|
-
summary: '/unstable_locations/remove_acs_entrances',
|
|
49776
|
-
tags: [],
|
|
49777
|
-
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
49778
|
-
'x-fern-sdk-method-name': 'remove_acs_entrances',
|
|
49779
|
-
'x-response-key': null,
|
|
49780
|
-
'x-title': 'Remove Entrances from a Location',
|
|
49781
|
-
'x-undocumented': 'Experimental locations.',
|
|
49782
|
-
},
|
|
49783
|
-
post: {
|
|
49784
|
-
description: 'Removes entrances from a specific location.',
|
|
49785
|
-
operationId: 'unstableLocationsRemoveAcsEntrancesPost',
|
|
49786
|
-
requestBody: {
|
|
49787
|
-
content: {
|
|
49788
|
-
'application/json': {
|
|
49789
|
-
schema: {
|
|
49790
|
-
properties: {
|
|
49791
|
-
acs_entrance_ids: {
|
|
49792
|
-
description: 'IDs of the entrances that you want to remove from the location.',
|
|
49793
|
-
items: { format: 'uuid', type: 'string' },
|
|
49794
|
-
type: 'array',
|
|
49795
|
-
},
|
|
49796
|
-
location_id: {
|
|
49797
|
-
description: 'ID of the location from which you want to remove entrances.',
|
|
49798
|
-
format: 'uuid',
|
|
49799
|
-
type: 'string',
|
|
49800
|
-
},
|
|
49801
|
-
},
|
|
49802
|
-
required: ['location_id', 'acs_entrance_ids'],
|
|
49803
|
-
type: 'object',
|
|
49804
|
-
},
|
|
49805
|
-
},
|
|
49806
|
-
},
|
|
49807
|
-
},
|
|
49808
|
-
responses: {
|
|
49809
|
-
200: {
|
|
49810
|
-
content: {
|
|
49811
|
-
'application/json': {
|
|
49812
|
-
schema: {
|
|
49813
|
-
properties: { ok: { type: 'boolean' } },
|
|
49814
|
-
required: ['ok'],
|
|
49815
|
-
type: 'object',
|
|
49816
|
-
},
|
|
49817
|
-
},
|
|
49818
|
-
},
|
|
49819
|
-
description: 'OK',
|
|
49820
|
-
},
|
|
49821
|
-
400: { description: 'Bad Request' },
|
|
49822
|
-
401: { description: 'Unauthorized' },
|
|
49823
|
-
},
|
|
49824
|
-
security: [
|
|
49825
|
-
{ pat_with_workspace: [] },
|
|
49826
|
-
{ console_session_with_workspace: [] },
|
|
49827
|
-
{ api_key: [] },
|
|
49828
|
-
],
|
|
49829
|
-
summary: '/unstable_locations/remove_acs_entrances',
|
|
49830
|
-
tags: [],
|
|
49831
|
-
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
49832
|
-
'x-fern-sdk-method-name': 'remove_acs_entrances',
|
|
49833
|
-
'x-response-key': null,
|
|
49834
|
-
'x-title': 'Remove Entrances from a Location',
|
|
49835
|
-
'x-undocumented': 'Experimental locations.',
|
|
49836
|
-
},
|
|
49837
|
-
},
|
|
49838
|
-
'/unstable_locations/remove_devices': {
|
|
49839
|
-
delete: {
|
|
49840
|
-
description: 'Removes devices from a specific location.',
|
|
49841
|
-
operationId: 'unstableLocationsRemoveDevicesDelete',
|
|
49842
|
-
parameters: [
|
|
49843
|
-
{
|
|
49844
|
-
in: 'query',
|
|
49845
|
-
name: 'location_id',
|
|
49846
|
-
required: true,
|
|
49847
|
-
schema: {
|
|
49848
|
-
description: 'ID of the location from which you want to remove devices.',
|
|
49849
|
-
format: 'uuid',
|
|
49850
|
-
type: 'string',
|
|
49851
|
-
},
|
|
49852
|
-
},
|
|
49853
|
-
{
|
|
49854
|
-
in: 'query',
|
|
49855
|
-
name: 'device_ids',
|
|
49856
|
-
required: true,
|
|
49857
|
-
schema: {
|
|
49858
|
-
description: 'IDs of the devices that you want to remove from the location.',
|
|
49859
|
-
items: { format: 'uuid', type: 'string' },
|
|
49860
|
-
type: 'array',
|
|
49861
|
-
},
|
|
49862
|
-
},
|
|
49863
|
-
],
|
|
49864
|
-
responses: {
|
|
49865
|
-
200: {
|
|
49866
|
-
content: {
|
|
49867
|
-
'application/json': {
|
|
49868
|
-
schema: {
|
|
49869
|
-
properties: { ok: { type: 'boolean' } },
|
|
49870
|
-
required: ['ok'],
|
|
49871
|
-
type: 'object',
|
|
49872
|
-
},
|
|
49873
|
-
},
|
|
49874
|
-
},
|
|
49875
|
-
description: 'OK',
|
|
49876
|
-
},
|
|
49877
|
-
400: { description: 'Bad Request' },
|
|
49878
|
-
401: { description: 'Unauthorized' },
|
|
49879
|
-
},
|
|
49880
|
-
security: [
|
|
49881
|
-
{ pat_with_workspace: [] },
|
|
49882
|
-
{ console_session_with_workspace: [] },
|
|
49883
|
-
{ api_key: [] },
|
|
49884
|
-
],
|
|
49885
|
-
summary: '/unstable_locations/remove_devices',
|
|
49886
|
-
tags: [],
|
|
49887
|
-
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
49888
|
-
'x-fern-sdk-method-name': 'remove_devices',
|
|
49889
|
-
'x-response-key': null,
|
|
49890
|
-
'x-title': 'Remove Devices from a Location',
|
|
49891
|
-
'x-undocumented': 'Experimental locations.',
|
|
49892
|
-
},
|
|
49893
|
-
post: {
|
|
49894
|
-
description: 'Removes devices from a specific location.',
|
|
49895
|
-
operationId: 'unstableLocationsRemoveDevicesPost',
|
|
49896
|
-
requestBody: {
|
|
49897
|
-
content: {
|
|
49898
|
-
'application/json': {
|
|
49899
|
-
schema: {
|
|
49900
|
-
properties: {
|
|
49901
|
-
device_ids: {
|
|
49902
|
-
description: 'IDs of the devices that you want to remove from the location.',
|
|
49903
|
-
items: { format: 'uuid', type: 'string' },
|
|
49904
|
-
type: 'array',
|
|
49905
|
-
},
|
|
49906
|
-
location_id: {
|
|
49907
|
-
description: 'ID of the location from which you want to remove devices.',
|
|
49908
|
-
format: 'uuid',
|
|
49909
|
-
type: 'string',
|
|
49910
|
-
},
|
|
49911
|
-
},
|
|
49912
|
-
required: ['location_id', 'device_ids'],
|
|
49913
|
-
type: 'object',
|
|
49914
|
-
},
|
|
49915
|
-
},
|
|
49916
|
-
},
|
|
49917
|
-
},
|
|
49918
|
-
responses: {
|
|
49919
|
-
200: {
|
|
49920
|
-
content: {
|
|
49921
|
-
'application/json': {
|
|
49922
|
-
schema: {
|
|
49923
|
-
properties: { ok: { type: 'boolean' } },
|
|
49924
|
-
required: ['ok'],
|
|
49925
|
-
type: 'object',
|
|
49926
|
-
},
|
|
49927
|
-
},
|
|
49928
|
-
},
|
|
49929
|
-
description: 'OK',
|
|
49930
|
-
},
|
|
49931
|
-
400: { description: 'Bad Request' },
|
|
49932
|
-
401: { description: 'Unauthorized' },
|
|
49933
|
-
},
|
|
49934
|
-
security: [
|
|
49935
|
-
{ pat_with_workspace: [] },
|
|
49936
|
-
{ console_session_with_workspace: [] },
|
|
49937
|
-
{ api_key: [] },
|
|
49938
|
-
],
|
|
49939
|
-
summary: '/unstable_locations/remove_devices',
|
|
49940
|
-
tags: [],
|
|
49941
|
-
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
49942
|
-
'x-fern-sdk-method-name': 'remove_devices',
|
|
49943
|
-
'x-response-key': null,
|
|
49944
|
-
'x-title': 'Remove Devices from a Location',
|
|
49945
|
-
'x-undocumented': 'Experimental locations.',
|
|
49946
|
-
},
|
|
49947
|
-
},
|
|
49948
|
-
'/unstable_locations/update': {
|
|
49949
|
-
patch: {
|
|
49950
|
-
description: 'Updates a location.',
|
|
49951
|
-
operationId: 'unstableLocationsUpdatePatch',
|
|
49952
|
-
requestBody: {
|
|
49953
|
-
content: {
|
|
49954
|
-
'application/json': {
|
|
49955
|
-
schema: {
|
|
49956
|
-
properties: {
|
|
49957
|
-
geolocation: {
|
|
49958
|
-
description: 'Geolocation of the location.',
|
|
49959
|
-
properties: {
|
|
49960
|
-
latitude: { format: 'float', type: 'number' },
|
|
49961
|
-
longitude: { format: 'float', type: 'number' },
|
|
49962
|
-
},
|
|
49963
|
-
required: ['latitude', 'longitude'],
|
|
49964
|
-
type: 'object',
|
|
49965
|
-
},
|
|
49966
|
-
location_id: {
|
|
49967
|
-
description: 'ID of the location that you want to update.',
|
|
49968
|
-
format: 'uuid',
|
|
49969
|
-
type: 'string',
|
|
49970
|
-
},
|
|
49971
|
-
name: {
|
|
49972
|
-
description: 'Name of the location.',
|
|
49973
|
-
type: 'string',
|
|
49974
|
-
},
|
|
49975
|
-
time_zone: {
|
|
49976
|
-
description: 'Time zone of the the location.',
|
|
49977
|
-
type: 'string',
|
|
49978
|
-
},
|
|
49979
|
-
},
|
|
49980
|
-
required: ['location_id'],
|
|
49981
|
-
type: 'object',
|
|
49982
|
-
},
|
|
49983
|
-
},
|
|
49984
|
-
},
|
|
49985
|
-
},
|
|
49986
|
-
responses: {
|
|
49987
|
-
200: {
|
|
49988
|
-
content: {
|
|
49989
|
-
'application/json': {
|
|
49990
|
-
schema: {
|
|
49991
|
-
properties: {
|
|
49992
|
-
location: { $ref: '#/components/schemas/location' },
|
|
49993
|
-
ok: { type: 'boolean' },
|
|
49994
|
-
},
|
|
49995
|
-
required: ['location', 'ok'],
|
|
49996
|
-
type: 'object',
|
|
49997
|
-
},
|
|
49998
|
-
},
|
|
49999
|
-
},
|
|
50000
|
-
description: 'OK',
|
|
50001
|
-
},
|
|
50002
|
-
400: { description: 'Bad Request' },
|
|
50003
|
-
401: { description: 'Unauthorized' },
|
|
50004
|
-
},
|
|
50005
|
-
security: [
|
|
50006
|
-
{ pat_with_workspace: [] },
|
|
50007
|
-
{ console_session_with_workspace: [] },
|
|
50008
|
-
{ api_key: [] },
|
|
50009
|
-
],
|
|
50010
|
-
summary: '/unstable_locations/update',
|
|
50011
|
-
tags: [],
|
|
50012
|
-
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
50013
|
-
'x-fern-sdk-method-name': 'update',
|
|
50014
|
-
'x-fern-sdk-return-value': 'location',
|
|
50015
|
-
'x-response-key': 'location',
|
|
50016
|
-
'x-title': 'Update a Location',
|
|
50017
|
-
'x-undocumented': 'Experimental locations.',
|
|
50018
|
-
},
|
|
50019
|
-
post: {
|
|
50020
|
-
description: 'Updates a location.',
|
|
50021
|
-
operationId: 'unstableLocationsUpdatePost',
|
|
50022
|
-
requestBody: {
|
|
50023
|
-
content: {
|
|
50024
|
-
'application/json': {
|
|
50025
|
-
schema: {
|
|
50026
|
-
properties: {
|
|
50027
|
-
geolocation: {
|
|
50028
|
-
description: 'Geolocation of the location.',
|
|
50029
|
-
properties: {
|
|
50030
|
-
latitude: { format: 'float', type: 'number' },
|
|
50031
|
-
longitude: { format: 'float', type: 'number' },
|
|
50032
|
-
},
|
|
50033
|
-
required: ['latitude', 'longitude'],
|
|
50034
|
-
type: 'object',
|
|
50035
|
-
},
|
|
50036
|
-
location_id: {
|
|
50037
|
-
description: 'ID of the location that you want to update.',
|
|
50038
|
-
format: 'uuid',
|
|
50039
|
-
type: 'string',
|
|
50040
|
-
},
|
|
50041
|
-
name: {
|
|
50042
|
-
description: 'Name of the location.',
|
|
50043
|
-
type: 'string',
|
|
50044
|
-
},
|
|
50045
|
-
time_zone: {
|
|
50046
|
-
description: 'Time zone of the the location.',
|
|
50047
|
-
type: 'string',
|
|
50048
|
-
},
|
|
50049
|
-
},
|
|
50050
|
-
required: ['location_id'],
|
|
50051
|
-
type: 'object',
|
|
50052
|
-
},
|
|
50053
|
-
},
|
|
50054
|
-
},
|
|
50055
|
-
},
|
|
50056
|
-
responses: {
|
|
50057
|
-
200: {
|
|
50058
|
-
content: {
|
|
50059
|
-
'application/json': {
|
|
50060
|
-
schema: {
|
|
50061
|
-
properties: {
|
|
50062
|
-
location: { $ref: '#/components/schemas/location' },
|
|
50063
|
-
ok: { type: 'boolean' },
|
|
50064
|
-
},
|
|
50065
|
-
required: ['location', 'ok'],
|
|
50066
|
-
type: 'object',
|
|
50067
|
-
},
|
|
50068
|
-
},
|
|
50069
|
-
},
|
|
50070
|
-
description: 'OK',
|
|
50071
|
-
},
|
|
50072
|
-
400: { description: 'Bad Request' },
|
|
50073
|
-
401: { description: 'Unauthorized' },
|
|
50074
|
-
},
|
|
50075
|
-
security: [
|
|
50076
|
-
{ pat_with_workspace: [] },
|
|
50077
|
-
{ console_session_with_workspace: [] },
|
|
50078
|
-
{ api_key: [] },
|
|
50079
|
-
],
|
|
50080
|
-
summary: '/unstable_locations/update',
|
|
50081
|
-
tags: [],
|
|
50082
|
-
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
50083
|
-
'x-fern-sdk-method-name': 'update',
|
|
50084
|
-
'x-fern-sdk-return-value': 'location',
|
|
50085
|
-
'x-response-key': 'location',
|
|
50086
|
-
'x-title': 'Update a Location',
|
|
50087
|
-
'x-undocumented': 'Experimental locations.',
|
|
50088
|
-
},
|
|
50089
|
-
},
|
|
50090
49119
|
'/unstable_partner/building_blocks/connect_accounts': {
|
|
50091
49120
|
post: {
|
|
50092
49121
|
description: 'Creates a new building block magic link to connect accounts.',
|