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