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