@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.
@@ -19080,55 +19080,6 @@ export default {
19080
19080
  type: 'object',
19081
19081
  'x-route-path': '/instant_keys',
19082
19082
  },
19083
- location: {
19084
- properties: {
19085
- created_at: {
19086
- description:
19087
- 'Date and time at which the location object was created.',
19088
- format: 'date-time',
19089
- type: 'string',
19090
- },
19091
- display_name: {
19092
- description: 'Display name of the location.',
19093
- type: 'string',
19094
- },
19095
- geolocation: {
19096
- description: 'Geographical location of the location.',
19097
- properties: {
19098
- latitude: { format: 'float', type: 'number' },
19099
- longitude: { format: 'float', type: 'number' },
19100
- },
19101
- required: ['latitude', 'longitude'],
19102
- type: 'object',
19103
- },
19104
- location_id: {
19105
- description: 'Unique identifier for the location.',
19106
- format: 'uuid',
19107
- type: 'string',
19108
- },
19109
- name: { description: 'Name of the location.', type: 'string' },
19110
- time_zone: {
19111
- description: 'Time zone of the location.',
19112
- type: 'string',
19113
- },
19114
- workspace_id: {
19115
- description:
19116
- 'Unique identifier for the Seam workspace associated with the location.',
19117
- format: 'uuid',
19118
- type: 'string',
19119
- },
19120
- },
19121
- required: [
19122
- 'location_id',
19123
- 'workspace_id',
19124
- 'name',
19125
- 'display_name',
19126
- 'created_at',
19127
- ],
19128
- type: 'object',
19129
- 'x-route-path': '/unstable_locations',
19130
- 'x-undocumented': 'Will be removed.',
19131
- },
19132
19083
  magic_link: {
19133
19084
  description:
19134
19085
  "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.",
@@ -53319,972 +53270,6 @@ export default {
53319
53270
  'x-title': 'Update the Thermostat Weekly Program',
53320
53271
  },
53321
53272
  },
53322
- '/unstable_locations/add_acs_entrances': {
53323
- post: {
53324
- description:
53325
- 'Adds [entrances](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) to a specific location.',
53326
- operationId: 'unstableLocationsAddAcsEntrancesPost',
53327
- requestBody: {
53328
- content: {
53329
- 'application/json': {
53330
- schema: {
53331
- properties: {
53332
- acs_entrance_ids: {
53333
- description:
53334
- 'IDs of the entrances that you want to add to the location.',
53335
- items: { format: 'uuid', type: 'string' },
53336
- minItems: 1,
53337
- type: 'array',
53338
- },
53339
- location_id: {
53340
- description:
53341
- 'ID of the location to which you want to add entrances.',
53342
- format: 'uuid',
53343
- type: 'string',
53344
- },
53345
- },
53346
- required: ['location_id', 'acs_entrance_ids'],
53347
- type: 'object',
53348
- },
53349
- },
53350
- },
53351
- },
53352
- responses: {
53353
- 200: {
53354
- content: {
53355
- 'application/json': {
53356
- schema: {
53357
- properties: { ok: { type: 'boolean' } },
53358
- required: ['ok'],
53359
- type: 'object',
53360
- },
53361
- },
53362
- },
53363
- description: 'OK',
53364
- },
53365
- 400: { description: 'Bad Request' },
53366
- 401: { description: 'Unauthorized' },
53367
- },
53368
- security: [
53369
- { pat_with_workspace: [] },
53370
- { console_session_with_workspace: [] },
53371
- { api_key: [] },
53372
- ],
53373
- summary: '/unstable_locations/add_acs_entrances',
53374
- tags: [],
53375
- 'x-fern-sdk-group-name': ['unstable_locations'],
53376
- 'x-fern-sdk-method-name': 'add_acs_entrances',
53377
- 'x-response-key': null,
53378
- 'x-title': 'Add Entrances to a Location',
53379
- 'x-undocumented': 'Experimental locations.',
53380
- },
53381
- put: {
53382
- description:
53383
- 'Adds [entrances](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) to a specific location.',
53384
- operationId: 'unstableLocationsAddAcsEntrancesPut',
53385
- requestBody: {
53386
- content: {
53387
- 'application/json': {
53388
- schema: {
53389
- properties: {
53390
- acs_entrance_ids: {
53391
- description:
53392
- 'IDs of the entrances that you want to add to the location.',
53393
- items: { format: 'uuid', type: 'string' },
53394
- minItems: 1,
53395
- type: 'array',
53396
- },
53397
- location_id: {
53398
- description:
53399
- 'ID of the location to which you want to add entrances.',
53400
- format: 'uuid',
53401
- type: 'string',
53402
- },
53403
- },
53404
- required: ['location_id', 'acs_entrance_ids'],
53405
- type: 'object',
53406
- },
53407
- },
53408
- },
53409
- },
53410
- responses: {
53411
- 200: {
53412
- content: {
53413
- 'application/json': {
53414
- schema: {
53415
- properties: { ok: { type: 'boolean' } },
53416
- required: ['ok'],
53417
- type: 'object',
53418
- },
53419
- },
53420
- },
53421
- description: 'OK',
53422
- },
53423
- 400: { description: 'Bad Request' },
53424
- 401: { description: 'Unauthorized' },
53425
- },
53426
- security: [
53427
- { pat_with_workspace: [] },
53428
- { console_session_with_workspace: [] },
53429
- { api_key: [] },
53430
- ],
53431
- summary: '/unstable_locations/add_acs_entrances',
53432
- tags: [],
53433
- 'x-fern-sdk-group-name': ['unstable_locations'],
53434
- 'x-fern-sdk-method-name': 'add_acs_entrances',
53435
- 'x-response-key': null,
53436
- 'x-title': 'Add Entrances to a Location',
53437
- 'x-undocumented': 'Experimental locations.',
53438
- },
53439
- },
53440
- '/unstable_locations/add_devices': {
53441
- post: {
53442
- description: 'Adds devices to a specific location.',
53443
- operationId: 'unstableLocationsAddDevicesPost',
53444
- requestBody: {
53445
- content: {
53446
- 'application/json': {
53447
- schema: {
53448
- properties: {
53449
- device_ids: {
53450
- description:
53451
- 'IDs of the devices that you want to add to the location.',
53452
- items: { format: 'uuid', type: 'string' },
53453
- minItems: 1,
53454
- type: 'array',
53455
- },
53456
- location_id: {
53457
- description:
53458
- 'ID of the location to which you want to add devices.',
53459
- format: 'uuid',
53460
- type: 'string',
53461
- },
53462
- },
53463
- required: ['location_id', 'device_ids'],
53464
- type: 'object',
53465
- },
53466
- },
53467
- },
53468
- },
53469
- responses: {
53470
- 200: {
53471
- content: {
53472
- 'application/json': {
53473
- schema: {
53474
- properties: { ok: { type: 'boolean' } },
53475
- required: ['ok'],
53476
- type: 'object',
53477
- },
53478
- },
53479
- },
53480
- description: 'OK',
53481
- },
53482
- 400: { description: 'Bad Request' },
53483
- 401: { description: 'Unauthorized' },
53484
- },
53485
- security: [
53486
- { pat_with_workspace: [] },
53487
- { console_session_with_workspace: [] },
53488
- { api_key: [] },
53489
- ],
53490
- summary: '/unstable_locations/add_devices',
53491
- tags: [],
53492
- 'x-fern-sdk-group-name': ['unstable_locations'],
53493
- 'x-fern-sdk-method-name': 'add_devices',
53494
- 'x-response-key': null,
53495
- 'x-title': 'Add Devices to a Location',
53496
- 'x-undocumented': 'Experimental locations.',
53497
- },
53498
- put: {
53499
- description: 'Adds devices to a specific location.',
53500
- operationId: 'unstableLocationsAddDevicesPut',
53501
- requestBody: {
53502
- content: {
53503
- 'application/json': {
53504
- schema: {
53505
- properties: {
53506
- device_ids: {
53507
- description:
53508
- 'IDs of the devices that you want to add to the location.',
53509
- items: { format: 'uuid', type: 'string' },
53510
- minItems: 1,
53511
- type: 'array',
53512
- },
53513
- location_id: {
53514
- description:
53515
- 'ID of the location to which you want to add devices.',
53516
- format: 'uuid',
53517
- type: 'string',
53518
- },
53519
- },
53520
- required: ['location_id', 'device_ids'],
53521
- type: 'object',
53522
- },
53523
- },
53524
- },
53525
- },
53526
- responses: {
53527
- 200: {
53528
- content: {
53529
- 'application/json': {
53530
- schema: {
53531
- properties: { ok: { type: 'boolean' } },
53532
- required: ['ok'],
53533
- type: 'object',
53534
- },
53535
- },
53536
- },
53537
- description: 'OK',
53538
- },
53539
- 400: { description: 'Bad Request' },
53540
- 401: { description: 'Unauthorized' },
53541
- },
53542
- security: [
53543
- { pat_with_workspace: [] },
53544
- { console_session_with_workspace: [] },
53545
- { api_key: [] },
53546
- ],
53547
- summary: '/unstable_locations/add_devices',
53548
- tags: [],
53549
- 'x-fern-sdk-group-name': ['unstable_locations'],
53550
- 'x-fern-sdk-method-name': 'add_devices',
53551
- 'x-response-key': null,
53552
- 'x-title': 'Add Devices to a Location',
53553
- 'x-undocumented': 'Experimental locations.',
53554
- },
53555
- },
53556
- '/unstable_locations/create': {
53557
- post: {
53558
- description: 'Creates a new location.',
53559
- operationId: 'unstableLocationsCreatePost',
53560
- requestBody: {
53561
- content: {
53562
- 'application/json': {
53563
- schema: {
53564
- properties: {
53565
- acs_entrance_ids: {
53566
- description:
53567
- 'IDs of the entrances that you want to add to the new location.',
53568
- items: { format: 'uuid', type: 'string' },
53569
- type: 'array',
53570
- },
53571
- device_ids: {
53572
- description:
53573
- 'IDs of the devices that you want to add to the new location.',
53574
- items: { format: 'uuid', type: 'string' },
53575
- type: 'array',
53576
- },
53577
- geolocation: {
53578
- description: 'Geolocation of the new location.',
53579
- properties: {
53580
- latitude: { format: 'float', type: 'number' },
53581
- longitude: { format: 'float', type: 'number' },
53582
- },
53583
- required: ['latitude', 'longitude'],
53584
- type: 'object',
53585
- },
53586
- name: {
53587
- description: 'Name of the new location.',
53588
- type: 'string',
53589
- },
53590
- time_zone: {
53591
- description: 'Time zone of the new location.',
53592
- type: 'string',
53593
- },
53594
- },
53595
- required: ['name'],
53596
- type: 'object',
53597
- },
53598
- },
53599
- },
53600
- },
53601
- responses: {
53602
- 200: {
53603
- content: {
53604
- 'application/json': {
53605
- schema: {
53606
- properties: {
53607
- location: { $ref: '#/components/schemas/location' },
53608
- ok: { type: 'boolean' },
53609
- },
53610
- required: ['location', 'ok'],
53611
- type: 'object',
53612
- },
53613
- },
53614
- },
53615
- description: 'OK',
53616
- },
53617
- 400: { description: 'Bad Request' },
53618
- 401: { description: 'Unauthorized' },
53619
- },
53620
- security: [
53621
- { pat_with_workspace: [] },
53622
- { console_session_with_workspace: [] },
53623
- { api_key: [] },
53624
- ],
53625
- summary: '/unstable_locations/create',
53626
- tags: [],
53627
- 'x-fern-sdk-group-name': ['unstable_locations'],
53628
- 'x-fern-sdk-method-name': 'create',
53629
- 'x-fern-sdk-return-value': 'location',
53630
- 'x-response-key': 'location',
53631
- 'x-title': 'Create a Location',
53632
- 'x-undocumented': 'Experimental locations.',
53633
- },
53634
- },
53635
- '/unstable_locations/delete': {
53636
- delete: {
53637
- description: 'Deletes a location.',
53638
- operationId: 'unstableLocationsDeleteDelete',
53639
- requestBody: {
53640
- content: {
53641
- 'application/json': {
53642
- schema: {
53643
- properties: {
53644
- location_id: {
53645
- description: 'ID of the location that you want to delete.',
53646
- format: 'uuid',
53647
- type: 'string',
53648
- },
53649
- },
53650
- required: ['location_id'],
53651
- type: 'object',
53652
- },
53653
- },
53654
- },
53655
- },
53656
- responses: {
53657
- 200: {
53658
- content: {
53659
- 'application/json': {
53660
- schema: {
53661
- properties: { ok: { type: 'boolean' } },
53662
- required: ['ok'],
53663
- type: 'object',
53664
- },
53665
- },
53666
- },
53667
- description: 'OK',
53668
- },
53669
- 400: { description: 'Bad Request' },
53670
- 401: { description: 'Unauthorized' },
53671
- },
53672
- security: [
53673
- { pat_with_workspace: [] },
53674
- { console_session_with_workspace: [] },
53675
- { api_key: [] },
53676
- ],
53677
- summary: '/unstable_locations/delete',
53678
- tags: [],
53679
- 'x-fern-sdk-group-name': ['unstable_locations'],
53680
- 'x-fern-sdk-method-name': 'delete',
53681
- 'x-response-key': null,
53682
- 'x-title': 'Delete a Location',
53683
- 'x-undocumented': 'Experimental locations.',
53684
- },
53685
- post: {
53686
- description: 'Deletes a location.',
53687
- operationId: 'unstableLocationsDeletePost',
53688
- requestBody: {
53689
- content: {
53690
- 'application/json': {
53691
- schema: {
53692
- properties: {
53693
- location_id: {
53694
- description: 'ID of the location that you want to delete.',
53695
- format: 'uuid',
53696
- type: 'string',
53697
- },
53698
- },
53699
- required: ['location_id'],
53700
- type: 'object',
53701
- },
53702
- },
53703
- },
53704
- },
53705
- responses: {
53706
- 200: {
53707
- content: {
53708
- 'application/json': {
53709
- schema: {
53710
- properties: { ok: { type: 'boolean' } },
53711
- required: ['ok'],
53712
- type: 'object',
53713
- },
53714
- },
53715
- },
53716
- description: 'OK',
53717
- },
53718
- 400: { description: 'Bad Request' },
53719
- 401: { description: 'Unauthorized' },
53720
- },
53721
- security: [
53722
- { pat_with_workspace: [] },
53723
- { console_session_with_workspace: [] },
53724
- { api_key: [] },
53725
- ],
53726
- summary: '/unstable_locations/delete',
53727
- tags: [],
53728
- 'x-fern-sdk-group-name': ['unstable_locations'],
53729
- 'x-fern-sdk-method-name': 'delete',
53730
- 'x-response-key': null,
53731
- 'x-title': 'Delete a Location',
53732
- 'x-undocumented': 'Experimental locations.',
53733
- },
53734
- },
53735
- '/unstable_locations/get': {
53736
- get: {
53737
- description: 'Gets a location.',
53738
- operationId: 'unstableLocationsGetGet',
53739
- parameters: [
53740
- {
53741
- in: 'query',
53742
- name: 'location_id',
53743
- required: true,
53744
- schema: {
53745
- description: 'ID of the location that you want to get.',
53746
- format: 'uuid',
53747
- type: 'string',
53748
- },
53749
- },
53750
- ],
53751
- responses: {
53752
- 200: {
53753
- content: {
53754
- 'application/json': {
53755
- schema: {
53756
- properties: {
53757
- location: { $ref: '#/components/schemas/location' },
53758
- ok: { type: 'boolean' },
53759
- },
53760
- required: ['location', 'ok'],
53761
- type: 'object',
53762
- },
53763
- },
53764
- },
53765
- description: 'OK',
53766
- },
53767
- 400: { description: 'Bad Request' },
53768
- 401: { description: 'Unauthorized' },
53769
- },
53770
- security: [
53771
- { pat_with_workspace: [] },
53772
- { console_session_with_workspace: [] },
53773
- { api_key: [] },
53774
- ],
53775
- summary: '/unstable_locations/get',
53776
- tags: [],
53777
- 'x-fern-sdk-group-name': ['unstable_locations'],
53778
- 'x-fern-sdk-method-name': 'get',
53779
- 'x-fern-sdk-return-value': 'location',
53780
- 'x-response-key': 'location',
53781
- 'x-title': 'Get a Location',
53782
- 'x-undocumented': 'Experimental locations.',
53783
- },
53784
- post: {
53785
- description: 'Gets a location.',
53786
- operationId: 'unstableLocationsGetPost',
53787
- requestBody: {
53788
- content: {
53789
- 'application/json': {
53790
- schema: {
53791
- properties: {
53792
- location_id: {
53793
- description: 'ID of the location that you want to get.',
53794
- format: 'uuid',
53795
- type: 'string',
53796
- },
53797
- },
53798
- required: ['location_id'],
53799
- type: 'object',
53800
- },
53801
- },
53802
- },
53803
- },
53804
- responses: {
53805
- 200: {
53806
- content: {
53807
- 'application/json': {
53808
- schema: {
53809
- properties: {
53810
- location: { $ref: '#/components/schemas/location' },
53811
- ok: { type: 'boolean' },
53812
- },
53813
- required: ['location', 'ok'],
53814
- type: 'object',
53815
- },
53816
- },
53817
- },
53818
- description: 'OK',
53819
- },
53820
- 400: { description: 'Bad Request' },
53821
- 401: { description: 'Unauthorized' },
53822
- },
53823
- security: [
53824
- { pat_with_workspace: [] },
53825
- { console_session_with_workspace: [] },
53826
- { api_key: [] },
53827
- ],
53828
- summary: '/unstable_locations/get',
53829
- tags: [],
53830
- 'x-fern-sdk-group-name': ['unstable_locations'],
53831
- 'x-fern-sdk-method-name': 'get',
53832
- 'x-fern-sdk-return-value': 'location',
53833
- 'x-response-key': 'location',
53834
- 'x-title': 'Get a Location',
53835
- 'x-undocumented': 'Experimental locations.',
53836
- },
53837
- },
53838
- '/unstable_locations/list': {
53839
- get: {
53840
- description: 'Returns a list of all locations.',
53841
- operationId: 'unstableLocationsListGet',
53842
- responses: {
53843
- 200: {
53844
- content: {
53845
- 'application/json': {
53846
- schema: {
53847
- properties: {
53848
- locations: {
53849
- items: { $ref: '#/components/schemas/location' },
53850
- type: 'array',
53851
- },
53852
- ok: { type: 'boolean' },
53853
- },
53854
- required: ['locations', 'ok'],
53855
- type: 'object',
53856
- },
53857
- },
53858
- },
53859
- description: 'OK',
53860
- },
53861
- 400: { description: 'Bad Request' },
53862
- 401: { description: 'Unauthorized' },
53863
- },
53864
- security: [
53865
- { pat_with_workspace: [] },
53866
- { console_session_with_workspace: [] },
53867
- { api_key: [] },
53868
- ],
53869
- summary: '/unstable_locations/list',
53870
- tags: [],
53871
- 'x-fern-sdk-group-name': ['unstable_locations'],
53872
- 'x-fern-sdk-method-name': 'list',
53873
- 'x-fern-sdk-return-value': 'locations',
53874
- 'x-response-key': 'locations',
53875
- 'x-title': 'List Locations',
53876
- 'x-undocumented': 'Experimental locations.',
53877
- },
53878
- post: {
53879
- description: 'Returns a list of all locations.',
53880
- operationId: 'unstableLocationsListPost',
53881
- responses: {
53882
- 200: {
53883
- content: {
53884
- 'application/json': {
53885
- schema: {
53886
- properties: {
53887
- locations: {
53888
- items: { $ref: '#/components/schemas/location' },
53889
- type: 'array',
53890
- },
53891
- ok: { type: 'boolean' },
53892
- },
53893
- required: ['locations', 'ok'],
53894
- type: 'object',
53895
- },
53896
- },
53897
- },
53898
- description: 'OK',
53899
- },
53900
- 400: { description: 'Bad Request' },
53901
- 401: { description: 'Unauthorized' },
53902
- },
53903
- security: [
53904
- { pat_with_workspace: [] },
53905
- { console_session_with_workspace: [] },
53906
- { api_key: [] },
53907
- ],
53908
- summary: '/unstable_locations/list',
53909
- tags: [],
53910
- 'x-fern-sdk-group-name': ['unstable_locations'],
53911
- 'x-fern-sdk-method-name': 'list',
53912
- 'x-fern-sdk-return-value': 'locations',
53913
- 'x-response-key': 'locations',
53914
- 'x-title': 'List Locations',
53915
- 'x-undocumented': 'Experimental locations.',
53916
- },
53917
- },
53918
- '/unstable_locations/remove_acs_entrances': {
53919
- delete: {
53920
- description: 'Removes entrances from a specific location.',
53921
- operationId: 'unstableLocationsRemoveAcsEntrancesDelete',
53922
- parameters: [
53923
- {
53924
- in: 'query',
53925
- name: 'location_id',
53926
- required: true,
53927
- schema: {
53928
- description:
53929
- 'ID of the location from which you want to remove entrances.',
53930
- format: 'uuid',
53931
- type: 'string',
53932
- },
53933
- },
53934
- {
53935
- in: 'query',
53936
- name: 'acs_entrance_ids',
53937
- required: true,
53938
- schema: {
53939
- description:
53940
- 'IDs of the entrances that you want to remove from the location.',
53941
- items: { format: 'uuid', type: 'string' },
53942
- type: 'array',
53943
- },
53944
- },
53945
- ],
53946
- responses: {
53947
- 200: {
53948
- content: {
53949
- 'application/json': {
53950
- schema: {
53951
- properties: { ok: { type: 'boolean' } },
53952
- required: ['ok'],
53953
- type: 'object',
53954
- },
53955
- },
53956
- },
53957
- description: 'OK',
53958
- },
53959
- 400: { description: 'Bad Request' },
53960
- 401: { description: 'Unauthorized' },
53961
- },
53962
- security: [
53963
- { pat_with_workspace: [] },
53964
- { console_session_with_workspace: [] },
53965
- { api_key: [] },
53966
- ],
53967
- summary: '/unstable_locations/remove_acs_entrances',
53968
- tags: [],
53969
- 'x-fern-sdk-group-name': ['unstable_locations'],
53970
- 'x-fern-sdk-method-name': 'remove_acs_entrances',
53971
- 'x-response-key': null,
53972
- 'x-title': 'Remove Entrances from a Location',
53973
- 'x-undocumented': 'Experimental locations.',
53974
- },
53975
- post: {
53976
- description: 'Removes entrances from a specific location.',
53977
- operationId: 'unstableLocationsRemoveAcsEntrancesPost',
53978
- requestBody: {
53979
- content: {
53980
- 'application/json': {
53981
- schema: {
53982
- properties: {
53983
- acs_entrance_ids: {
53984
- description:
53985
- 'IDs of the entrances that you want to remove from the location.',
53986
- items: { format: 'uuid', type: 'string' },
53987
- type: 'array',
53988
- },
53989
- location_id: {
53990
- description:
53991
- 'ID of the location from which you want to remove entrances.',
53992
- format: 'uuid',
53993
- type: 'string',
53994
- },
53995
- },
53996
- required: ['location_id', 'acs_entrance_ids'],
53997
- type: 'object',
53998
- },
53999
- },
54000
- },
54001
- },
54002
- responses: {
54003
- 200: {
54004
- content: {
54005
- 'application/json': {
54006
- schema: {
54007
- properties: { ok: { type: 'boolean' } },
54008
- required: ['ok'],
54009
- type: 'object',
54010
- },
54011
- },
54012
- },
54013
- description: 'OK',
54014
- },
54015
- 400: { description: 'Bad Request' },
54016
- 401: { description: 'Unauthorized' },
54017
- },
54018
- security: [
54019
- { pat_with_workspace: [] },
54020
- { console_session_with_workspace: [] },
54021
- { api_key: [] },
54022
- ],
54023
- summary: '/unstable_locations/remove_acs_entrances',
54024
- tags: [],
54025
- 'x-fern-sdk-group-name': ['unstable_locations'],
54026
- 'x-fern-sdk-method-name': 'remove_acs_entrances',
54027
- 'x-response-key': null,
54028
- 'x-title': 'Remove Entrances from a Location',
54029
- 'x-undocumented': 'Experimental locations.',
54030
- },
54031
- },
54032
- '/unstable_locations/remove_devices': {
54033
- delete: {
54034
- description: 'Removes devices from a specific location.',
54035
- operationId: 'unstableLocationsRemoveDevicesDelete',
54036
- parameters: [
54037
- {
54038
- in: 'query',
54039
- name: 'location_id',
54040
- required: true,
54041
- schema: {
54042
- description:
54043
- 'ID of the location from which you want to remove devices.',
54044
- format: 'uuid',
54045
- type: 'string',
54046
- },
54047
- },
54048
- {
54049
- in: 'query',
54050
- name: 'device_ids',
54051
- required: true,
54052
- schema: {
54053
- description:
54054
- 'IDs of the devices that you want to remove from the location.',
54055
- items: { format: 'uuid', type: 'string' },
54056
- type: 'array',
54057
- },
54058
- },
54059
- ],
54060
- responses: {
54061
- 200: {
54062
- content: {
54063
- 'application/json': {
54064
- schema: {
54065
- properties: { ok: { type: 'boolean' } },
54066
- required: ['ok'],
54067
- type: 'object',
54068
- },
54069
- },
54070
- },
54071
- description: 'OK',
54072
- },
54073
- 400: { description: 'Bad Request' },
54074
- 401: { description: 'Unauthorized' },
54075
- },
54076
- security: [
54077
- { pat_with_workspace: [] },
54078
- { console_session_with_workspace: [] },
54079
- { api_key: [] },
54080
- ],
54081
- summary: '/unstable_locations/remove_devices',
54082
- tags: [],
54083
- 'x-fern-sdk-group-name': ['unstable_locations'],
54084
- 'x-fern-sdk-method-name': 'remove_devices',
54085
- 'x-response-key': null,
54086
- 'x-title': 'Remove Devices from a Location',
54087
- 'x-undocumented': 'Experimental locations.',
54088
- },
54089
- post: {
54090
- description: 'Removes devices from a specific location.',
54091
- operationId: 'unstableLocationsRemoveDevicesPost',
54092
- requestBody: {
54093
- content: {
54094
- 'application/json': {
54095
- schema: {
54096
- properties: {
54097
- device_ids: {
54098
- description:
54099
- 'IDs of the devices that you want to remove from the location.',
54100
- items: { format: 'uuid', type: 'string' },
54101
- type: 'array',
54102
- },
54103
- location_id: {
54104
- description:
54105
- 'ID of the location from which you want to remove devices.',
54106
- format: 'uuid',
54107
- type: 'string',
54108
- },
54109
- },
54110
- required: ['location_id', 'device_ids'],
54111
- type: 'object',
54112
- },
54113
- },
54114
- },
54115
- },
54116
- responses: {
54117
- 200: {
54118
- content: {
54119
- 'application/json': {
54120
- schema: {
54121
- properties: { ok: { type: 'boolean' } },
54122
- required: ['ok'],
54123
- type: 'object',
54124
- },
54125
- },
54126
- },
54127
- description: 'OK',
54128
- },
54129
- 400: { description: 'Bad Request' },
54130
- 401: { description: 'Unauthorized' },
54131
- },
54132
- security: [
54133
- { pat_with_workspace: [] },
54134
- { console_session_with_workspace: [] },
54135
- { api_key: [] },
54136
- ],
54137
- summary: '/unstable_locations/remove_devices',
54138
- tags: [],
54139
- 'x-fern-sdk-group-name': ['unstable_locations'],
54140
- 'x-fern-sdk-method-name': 'remove_devices',
54141
- 'x-response-key': null,
54142
- 'x-title': 'Remove Devices from a Location',
54143
- 'x-undocumented': 'Experimental locations.',
54144
- },
54145
- },
54146
- '/unstable_locations/update': {
54147
- patch: {
54148
- description: 'Updates a location.',
54149
- operationId: 'unstableLocationsUpdatePatch',
54150
- requestBody: {
54151
- content: {
54152
- 'application/json': {
54153
- schema: {
54154
- properties: {
54155
- geolocation: {
54156
- description: 'Geolocation of the location.',
54157
- properties: {
54158
- latitude: { format: 'float', type: 'number' },
54159
- longitude: { format: 'float', type: 'number' },
54160
- },
54161
- required: ['latitude', 'longitude'],
54162
- type: 'object',
54163
- },
54164
- location_id: {
54165
- description: 'ID of the location that you want to update.',
54166
- format: 'uuid',
54167
- type: 'string',
54168
- },
54169
- name: {
54170
- description: 'Name of the location.',
54171
- type: 'string',
54172
- },
54173
- time_zone: {
54174
- description: 'Time zone of the the location.',
54175
- type: 'string',
54176
- },
54177
- },
54178
- required: ['location_id'],
54179
- type: 'object',
54180
- },
54181
- },
54182
- },
54183
- },
54184
- responses: {
54185
- 200: {
54186
- content: {
54187
- 'application/json': {
54188
- schema: {
54189
- properties: {
54190
- location: { $ref: '#/components/schemas/location' },
54191
- ok: { type: 'boolean' },
54192
- },
54193
- required: ['location', 'ok'],
54194
- type: 'object',
54195
- },
54196
- },
54197
- },
54198
- description: 'OK',
54199
- },
54200
- 400: { description: 'Bad Request' },
54201
- 401: { description: 'Unauthorized' },
54202
- },
54203
- security: [
54204
- { pat_with_workspace: [] },
54205
- { console_session_with_workspace: [] },
54206
- { api_key: [] },
54207
- ],
54208
- summary: '/unstable_locations/update',
54209
- tags: [],
54210
- 'x-fern-sdk-group-name': ['unstable_locations'],
54211
- 'x-fern-sdk-method-name': 'update',
54212
- 'x-fern-sdk-return-value': 'location',
54213
- 'x-response-key': 'location',
54214
- 'x-title': 'Update a Location',
54215
- 'x-undocumented': 'Experimental locations.',
54216
- },
54217
- post: {
54218
- description: 'Updates a location.',
54219
- operationId: 'unstableLocationsUpdatePost',
54220
- requestBody: {
54221
- content: {
54222
- 'application/json': {
54223
- schema: {
54224
- properties: {
54225
- geolocation: {
54226
- description: 'Geolocation of the location.',
54227
- properties: {
54228
- latitude: { format: 'float', type: 'number' },
54229
- longitude: { format: 'float', type: 'number' },
54230
- },
54231
- required: ['latitude', 'longitude'],
54232
- type: 'object',
54233
- },
54234
- location_id: {
54235
- description: 'ID of the location that you want to update.',
54236
- format: 'uuid',
54237
- type: 'string',
54238
- },
54239
- name: {
54240
- description: 'Name of the location.',
54241
- type: 'string',
54242
- },
54243
- time_zone: {
54244
- description: 'Time zone of the the location.',
54245
- type: 'string',
54246
- },
54247
- },
54248
- required: ['location_id'],
54249
- type: 'object',
54250
- },
54251
- },
54252
- },
54253
- },
54254
- responses: {
54255
- 200: {
54256
- content: {
54257
- 'application/json': {
54258
- schema: {
54259
- properties: {
54260
- location: { $ref: '#/components/schemas/location' },
54261
- ok: { type: 'boolean' },
54262
- },
54263
- required: ['location', 'ok'],
54264
- type: 'object',
54265
- },
54266
- },
54267
- },
54268
- description: 'OK',
54269
- },
54270
- 400: { description: 'Bad Request' },
54271
- 401: { description: 'Unauthorized' },
54272
- },
54273
- security: [
54274
- { pat_with_workspace: [] },
54275
- { console_session_with_workspace: [] },
54276
- { api_key: [] },
54277
- ],
54278
- summary: '/unstable_locations/update',
54279
- tags: [],
54280
- 'x-fern-sdk-group-name': ['unstable_locations'],
54281
- 'x-fern-sdk-method-name': 'update',
54282
- 'x-fern-sdk-return-value': 'location',
54283
- 'x-response-key': 'location',
54284
- 'x-title': 'Update a Location',
54285
- 'x-undocumented': 'Experimental locations.',
54286
- },
54287
- },
54288
53273
  '/unstable_partner/building_blocks/connect_accounts': {
54289
53274
  post: {
54290
53275
  description: