@seamapi/types 1.472.0 → 1.474.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.",
@@ -29198,6 +29149,10 @@ export default {
29198
29149
  batch: {
29199
29150
  description: 'A batch of workspace resources.',
29200
29151
  properties: {
29152
+ access_methods: {
29153
+ items: { $ref: '#/components/schemas/access_method' },
29154
+ type: 'array',
29155
+ },
29201
29156
  acs_access_groups: {
29202
29157
  items: {
29203
29158
  $ref: '#/components/schemas/acs_access_group',
@@ -29357,6 +29312,10 @@ export default {
29357
29312
  batch: {
29358
29313
  description: 'A batch of workspace resources.',
29359
29314
  properties: {
29315
+ access_methods: {
29316
+ items: { $ref: '#/components/schemas/access_method' },
29317
+ type: 'array',
29318
+ },
29360
29319
  acs_access_groups: {
29361
29320
  items: {
29362
29321
  $ref: '#/components/schemas/acs_access_group',
@@ -53319,31 +53278,23 @@ export default {
53319
53278
  'x-title': 'Update the Thermostat Weekly Program',
53320
53279
  },
53321
53280
  },
53322
- '/unstable_locations/add_acs_entrances': {
53281
+ '/unstable_partner/building_blocks/connect_accounts': {
53323
53282
  post: {
53324
53283
  description:
53325
- 'Adds [entrances](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) to a specific location.',
53326
- operationId: 'unstableLocationsAddAcsEntrancesPost',
53284
+ 'Creates a new building block magic link to connect accounts.',
53285
+ operationId: 'unstablePartnerBuildingBlocksConnectAccountsPost',
53327
53286
  requestBody: {
53328
53287
  content: {
53329
53288
  'application/json': {
53330
53289
  schema: {
53331
53290
  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: {
53291
+ customer_key: {
53340
53292
  description:
53341
- 'ID of the location to which you want to add entrances.',
53342
- format: 'uuid',
53293
+ 'Customer key for which you want to connect accounts.',
53343
53294
  type: 'string',
53344
53295
  },
53345
53296
  },
53346
- required: ['location_id', 'acs_entrance_ids'],
53297
+ required: ['customer_key'],
53347
53298
  type: 'object',
53348
53299
  },
53349
53300
  },
@@ -53354,8 +53305,11 @@ export default {
53354
53305
  content: {
53355
53306
  'application/json': {
53356
53307
  schema: {
53357
- properties: { ok: { type: 'boolean' } },
53358
- required: ['ok'],
53308
+ properties: {
53309
+ magic_link: { $ref: '#/components/schemas/magic_link' },
53310
+ ok: { type: 'boolean' },
53311
+ },
53312
+ required: ['magic_link', 'ok'],
53359
53313
  type: 'object',
53360
53314
  },
53361
53315
  },
@@ -53370,50 +53324,83 @@ export default {
53370
53324
  { console_session_with_workspace: [] },
53371
53325
  { api_key: [] },
53372
53326
  ],
53373
- summary: '/unstable_locations/add_acs_entrances',
53327
+ summary: '/unstable_partner/building_blocks/connect_accounts',
53374
53328
  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.',
53329
+ 'x-fern-sdk-group-name': ['unstable_partner', 'building_blocks'],
53330
+ 'x-fern-sdk-method-name': 'connect_accounts',
53331
+ 'x-fern-sdk-return-value': 'magic_link',
53332
+ 'x-response-key': 'magic_link',
53333
+ 'x-title': 'Generate a Connect Accounts Building Block Magic Link',
53334
+ 'x-undocumented': 'Experimental partner building blocks.',
53380
53335
  },
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: {
53336
+ },
53337
+ '/unstable_partner/building_blocks/generate_magic_link': {
53338
+ get: {
53339
+ description: 'Creates a new building block magic link.',
53340
+ operationId: 'unstablePartnerBuildingBlocksGenerateMagicLinkGet',
53341
+ parameters: [
53342
+ {
53343
+ in: 'query',
53344
+ name: 'building_block_type',
53345
+ required: true,
53346
+ schema: {
53347
+ description:
53348
+ 'Type of building block for which you want to create a magic link.',
53349
+ enum: [
53350
+ 'connect_accounts',
53351
+ 'organize_spaces',
53352
+ 'console',
53353
+ 'manage_devices',
53354
+ ],
53355
+ type: 'string',
53356
+ },
53357
+ },
53358
+ {
53359
+ in: 'query',
53360
+ name: 'customer_key',
53361
+ required: true,
53362
+ schema: {
53363
+ description:
53364
+ 'Customer key for which you want to create a new building block magic link.',
53365
+ type: 'string',
53366
+ },
53367
+ },
53368
+ {
53369
+ in: 'query',
53370
+ name: 'spaces',
53371
+ required: false,
53372
+ schema: {
53373
+ description:
53374
+ 'Optional list of spaces that you want to include in the new building block magic link.',
53375
+ items: {
53389
53376
  properties: {
53390
- acs_entrance_ids: {
53377
+ name: {
53391
53378
  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',
53379
+ 'Your display name for this location resource.',
53380
+ type: 'string',
53396
53381
  },
53397
- location_id: {
53398
- description:
53399
- 'ID of the location to which you want to add entrances.',
53400
- format: 'uuid',
53382
+ space_key: {
53383
+ description: 'Your unique identifier for the space.',
53401
53384
  type: 'string',
53402
53385
  },
53403
53386
  },
53404
- required: ['location_id', 'acs_entrance_ids'],
53387
+ required: ['name', 'space_key'],
53405
53388
  type: 'object',
53406
53389
  },
53390
+ type: 'array',
53407
53391
  },
53408
53392
  },
53409
- },
53393
+ ],
53410
53394
  responses: {
53411
53395
  200: {
53412
53396
  content: {
53413
53397
  'application/json': {
53414
53398
  schema: {
53415
- properties: { ok: { type: 'boolean' } },
53416
- required: ['ok'],
53399
+ properties: {
53400
+ magic_link: { $ref: '#/components/schemas/magic_link' },
53401
+ ok: { type: 'boolean' },
53402
+ },
53403
+ required: ['magic_link', 'ok'],
53417
53404
  type: 'object',
53418
53405
  },
53419
53406
  },
@@ -53428,39 +53415,61 @@ export default {
53428
53415
  { console_session_with_workspace: [] },
53429
53416
  { api_key: [] },
53430
53417
  ],
53431
- summary: '/unstable_locations/add_acs_entrances',
53418
+ summary: '/unstable_partner/building_blocks/generate_magic_link',
53432
53419
  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.',
53420
+ 'x-fern-sdk-group-name': ['unstable_partner', 'building_blocks'],
53421
+ 'x-fern-sdk-method-name': 'generate_magic_link',
53422
+ 'x-fern-sdk-return-value': 'magic_link',
53423
+ 'x-response-key': 'magic_link',
53424
+ 'x-title': 'Generate a Building Block Magic Link',
53425
+ 'x-undocumented': 'Experimental partner building blocks.',
53438
53426
  },
53439
- },
53440
- '/unstable_locations/add_devices': {
53441
53427
  post: {
53442
- description: 'Adds devices to a specific location.',
53443
- operationId: 'unstableLocationsAddDevicesPost',
53428
+ description: 'Creates a new building block magic link.',
53429
+ operationId: 'unstablePartnerBuildingBlocksGenerateMagicLinkPost',
53444
53430
  requestBody: {
53445
53431
  content: {
53446
53432
  'application/json': {
53447
53433
  schema: {
53448
53434
  properties: {
53449
- device_ids: {
53435
+ building_block_type: {
53450
53436
  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',
53437
+ 'Type of building block for which you want to create a magic link.',
53438
+ enum: [
53439
+ 'connect_accounts',
53440
+ 'organize_spaces',
53441
+ 'console',
53442
+ 'manage_devices',
53443
+ ],
53444
+ type: 'string',
53455
53445
  },
53456
- location_id: {
53446
+ customer_key: {
53457
53447
  description:
53458
- 'ID of the location to which you want to add devices.',
53459
- format: 'uuid',
53448
+ 'Customer key for which you want to create a new building block magic link.',
53460
53449
  type: 'string',
53461
53450
  },
53451
+ spaces: {
53452
+ description:
53453
+ 'Optional list of spaces that you want to include in the new building block magic link.',
53454
+ items: {
53455
+ properties: {
53456
+ name: {
53457
+ description:
53458
+ 'Your display name for this location resource.',
53459
+ type: 'string',
53460
+ },
53461
+ space_key: {
53462
+ description: 'Your unique identifier for the space.',
53463
+ type: 'string',
53464
+ },
53465
+ },
53466
+ required: ['name', 'space_key'],
53467
+ type: 'object',
53468
+ },
53469
+ type: 'array',
53470
+ },
53462
53471
  },
53463
- required: ['location_id', 'device_ids'],
53472
+ required: ['building_block_type', 'customer_key'],
53464
53473
  type: 'object',
53465
53474
  },
53466
53475
  },
@@ -53471,8 +53480,11 @@ export default {
53471
53480
  content: {
53472
53481
  'application/json': {
53473
53482
  schema: {
53474
- properties: { ok: { type: 'boolean' } },
53475
- required: ['ok'],
53483
+ properties: {
53484
+ magic_link: { $ref: '#/components/schemas/magic_link' },
53485
+ ok: { type: 'boolean' },
53486
+ },
53487
+ required: ['magic_link', 'ok'],
53476
53488
  type: 'object',
53477
53489
  },
53478
53490
  },
@@ -53487,37 +53499,33 @@ export default {
53487
53499
  { console_session_with_workspace: [] },
53488
53500
  { api_key: [] },
53489
53501
  ],
53490
- summary: '/unstable_locations/add_devices',
53502
+ summary: '/unstable_partner/building_blocks/generate_magic_link',
53491
53503
  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.',
53504
+ 'x-fern-sdk-group-name': ['unstable_partner', 'building_blocks'],
53505
+ 'x-fern-sdk-method-name': 'generate_magic_link',
53506
+ 'x-fern-sdk-return-value': 'magic_link',
53507
+ 'x-response-key': 'magic_link',
53508
+ 'x-title': 'Generate a Building Block Magic Link',
53509
+ 'x-undocumented': 'Experimental partner building blocks.',
53497
53510
  },
53498
- put: {
53499
- description: 'Adds devices to a specific location.',
53500
- operationId: 'unstableLocationsAddDevicesPut',
53511
+ },
53512
+ '/unstable_partner/building_blocks/manage_devices': {
53513
+ post: {
53514
+ description:
53515
+ 'Creates a new building block magic link to manage devices.',
53516
+ operationId: 'unstablePartnerBuildingBlocksManageDevicesPost',
53501
53517
  requestBody: {
53502
53518
  content: {
53503
53519
  'application/json': {
53504
53520
  schema: {
53505
53521
  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: {
53522
+ customer_key: {
53514
53523
  description:
53515
- 'ID of the location to which you want to add devices.',
53516
- format: 'uuid',
53524
+ 'Customer key for which you want to manage devices.',
53517
53525
  type: 'string',
53518
53526
  },
53519
53527
  },
53520
- required: ['location_id', 'device_ids'],
53528
+ required: ['customer_key'],
53521
53529
  type: 'object',
53522
53530
  },
53523
53531
  },
@@ -53528,8 +53536,11 @@ export default {
53528
53536
  content: {
53529
53537
  'application/json': {
53530
53538
  schema: {
53531
- properties: { ok: { type: 'boolean' } },
53532
- required: ['ok'],
53539
+ properties: {
53540
+ magic_link: { $ref: '#/components/schemas/magic_link' },
53541
+ ok: { type: 'boolean' },
53542
+ },
53543
+ required: ['magic_link', 'ok'],
53533
53544
  type: 'object',
53534
53545
  },
53535
53546
  },
@@ -53544,55 +53555,53 @@ export default {
53544
53555
  { console_session_with_workspace: [] },
53545
53556
  { api_key: [] },
53546
53557
  ],
53547
- summary: '/unstable_locations/add_devices',
53558
+ summary: '/unstable_partner/building_blocks/manage_devices',
53548
53559
  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.',
53560
+ 'x-fern-sdk-group-name': ['unstable_partner', 'building_blocks'],
53561
+ 'x-fern-sdk-method-name': 'manage_devices',
53562
+ 'x-fern-sdk-return-value': 'magic_link',
53563
+ 'x-response-key': 'magic_link',
53564
+ 'x-title': 'Generate a Manage Devices Building Block Magic Link',
53565
+ 'x-undocumented': 'Experimental partner building blocks.',
53554
53566
  },
53555
53567
  },
53556
- '/unstable_locations/create': {
53568
+ '/unstable_partner/building_blocks/organize_spaces': {
53557
53569
  post: {
53558
- description: 'Creates a new location.',
53559
- operationId: 'unstableLocationsCreatePost',
53570
+ description:
53571
+ 'Creates a new building block magic link to organize spaces.',
53572
+ operationId: 'unstablePartnerBuildingBlocksOrganizeSpacesPost',
53560
53573
  requestBody: {
53561
53574
  content: {
53562
53575
  'application/json': {
53563
53576
  schema: {
53564
53577
  properties: {
53565
- acs_entrance_ids: {
53578
+ customer_key: {
53566
53579
  description:
53567
- 'IDs of the entrances that you want to add to the new location.',
53568
- items: { format: 'uuid', type: 'string' },
53569
- type: 'array',
53580
+ 'Customer key for which you want to organize spaces.',
53581
+ type: 'string',
53570
53582
  },
53571
- device_ids: {
53583
+ spaces: {
53572
53584
  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' },
53585
+ 'Optional list of spaces that you want to include in the new building block magic link.',
53586
+ items: {
53587
+ properties: {
53588
+ name: {
53589
+ description:
53590
+ 'Your display name for this location resource.',
53591
+ type: 'string',
53592
+ },
53593
+ space_key: {
53594
+ description: 'Your unique identifier for the space.',
53595
+ type: 'string',
53596
+ },
53597
+ },
53598
+ required: ['name', 'space_key'],
53599
+ type: 'object',
53582
53600
  },
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',
53601
+ type: 'array',
53593
53602
  },
53594
53603
  },
53595
- required: ['name'],
53604
+ required: ['customer_key'],
53596
53605
  type: 'object',
53597
53606
  },
53598
53607
  },
@@ -53604,10 +53613,10 @@ export default {
53604
53613
  'application/json': {
53605
53614
  schema: {
53606
53615
  properties: {
53607
- location: { $ref: '#/components/schemas/location' },
53616
+ magic_link: { $ref: '#/components/schemas/magic_link' },
53608
53617
  ok: { type: 'boolean' },
53609
53618
  },
53610
- required: ['location', 'ok'],
53619
+ required: ['magic_link', 'ok'],
53611
53620
  type: 'object',
53612
53621
  },
53613
53622
  },
@@ -53622,1056 +53631,40 @@ export default {
53622
53631
  { console_session_with_workspace: [] },
53623
53632
  { api_key: [] },
53624
53633
  ],
53625
- summary: '/unstable_locations/create',
53634
+ summary: '/unstable_partner/building_blocks/organize_spaces',
53626
53635
  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.',
53636
+ 'x-fern-sdk-group-name': ['unstable_partner', 'building_blocks'],
53637
+ 'x-fern-sdk-method-name': 'organize_spaces',
53638
+ 'x-fern-sdk-return-value': 'magic_link',
53639
+ 'x-response-key': 'magic_link',
53640
+ 'x-title': 'Generate an Organize Spaces Building Block Magic Link',
53641
+ 'x-undocumented': 'Experimental partner building blocks.',
53633
53642
  },
53634
53643
  },
53635
- '/unstable_locations/delete': {
53636
- delete: {
53637
- description: 'Deletes a location.',
53638
- operationId: 'unstableLocationsDeleteDelete',
53644
+ '/user_identities/add_acs_user': {
53645
+ post: {
53646
+ description:
53647
+ 'Adds a specified [access system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).',
53648
+ operationId: 'userIdentitiesAddAcsUserPost',
53639
53649
  requestBody: {
53640
53650
  content: {
53641
53651
  'application/json': {
53642
53652
  schema: {
53643
53653
  properties: {
53644
- location_id: {
53645
- description: 'ID of the location that you want to delete.',
53654
+ acs_user_id: {
53655
+ description:
53656
+ 'ID of the access system user that you want to add to the user identity.',
53657
+ format: 'uuid',
53658
+ type: 'string',
53659
+ },
53660
+ user_identity_id: {
53661
+ description:
53662
+ 'ID of the user identity to which you want to add an access system user.',
53646
53663
  format: 'uuid',
53647
53664
  type: 'string',
53648
53665
  },
53649
53666
  },
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
- '/unstable_partner/building_blocks/connect_accounts': {
54289
- post: {
54290
- description:
54291
- 'Creates a new building block magic link to connect accounts.',
54292
- operationId: 'unstablePartnerBuildingBlocksConnectAccountsPost',
54293
- requestBody: {
54294
- content: {
54295
- 'application/json': {
54296
- schema: {
54297
- properties: {
54298
- customer_key: {
54299
- description:
54300
- 'Customer key for which you want to connect accounts.',
54301
- type: 'string',
54302
- },
54303
- },
54304
- required: ['customer_key'],
54305
- type: 'object',
54306
- },
54307
- },
54308
- },
54309
- },
54310
- responses: {
54311
- 200: {
54312
- content: {
54313
- 'application/json': {
54314
- schema: {
54315
- properties: {
54316
- magic_link: { $ref: '#/components/schemas/magic_link' },
54317
- ok: { type: 'boolean' },
54318
- },
54319
- required: ['magic_link', 'ok'],
54320
- type: 'object',
54321
- },
54322
- },
54323
- },
54324
- description: 'OK',
54325
- },
54326
- 400: { description: 'Bad Request' },
54327
- 401: { description: 'Unauthorized' },
54328
- },
54329
- security: [
54330
- { pat_with_workspace: [] },
54331
- { console_session_with_workspace: [] },
54332
- { api_key: [] },
54333
- ],
54334
- summary: '/unstable_partner/building_blocks/connect_accounts',
54335
- tags: [],
54336
- 'x-fern-sdk-group-name': ['unstable_partner', 'building_blocks'],
54337
- 'x-fern-sdk-method-name': 'connect_accounts',
54338
- 'x-fern-sdk-return-value': 'magic_link',
54339
- 'x-response-key': 'magic_link',
54340
- 'x-title': 'Generate a Connect Accounts Building Block Magic Link',
54341
- 'x-undocumented': 'Experimental partner building blocks.',
54342
- },
54343
- },
54344
- '/unstable_partner/building_blocks/generate_magic_link': {
54345
- get: {
54346
- description: 'Creates a new building block magic link.',
54347
- operationId: 'unstablePartnerBuildingBlocksGenerateMagicLinkGet',
54348
- parameters: [
54349
- {
54350
- in: 'query',
54351
- name: 'building_block_type',
54352
- required: true,
54353
- schema: {
54354
- description:
54355
- 'Type of building block for which you want to create a magic link.',
54356
- enum: [
54357
- 'connect_accounts',
54358
- 'organize_spaces',
54359
- 'console',
54360
- 'manage_devices',
54361
- ],
54362
- type: 'string',
54363
- },
54364
- },
54365
- {
54366
- in: 'query',
54367
- name: 'customer_key',
54368
- required: true,
54369
- schema: {
54370
- description:
54371
- 'Customer key for which you want to create a new building block magic link.',
54372
- type: 'string',
54373
- },
54374
- },
54375
- {
54376
- in: 'query',
54377
- name: 'spaces',
54378
- required: false,
54379
- schema: {
54380
- description:
54381
- 'Optional list of spaces that you want to include in the new building block magic link.',
54382
- items: {
54383
- properties: {
54384
- name: {
54385
- description:
54386
- 'Your display name for this location resource.',
54387
- type: 'string',
54388
- },
54389
- space_key: {
54390
- description: 'Your unique identifier for the space.',
54391
- type: 'string',
54392
- },
54393
- },
54394
- required: ['name', 'space_key'],
54395
- type: 'object',
54396
- },
54397
- type: 'array',
54398
- },
54399
- },
54400
- ],
54401
- responses: {
54402
- 200: {
54403
- content: {
54404
- 'application/json': {
54405
- schema: {
54406
- properties: {
54407
- magic_link: { $ref: '#/components/schemas/magic_link' },
54408
- ok: { type: 'boolean' },
54409
- },
54410
- required: ['magic_link', 'ok'],
54411
- type: 'object',
54412
- },
54413
- },
54414
- },
54415
- description: 'OK',
54416
- },
54417
- 400: { description: 'Bad Request' },
54418
- 401: { description: 'Unauthorized' },
54419
- },
54420
- security: [
54421
- { pat_with_workspace: [] },
54422
- { console_session_with_workspace: [] },
54423
- { api_key: [] },
54424
- ],
54425
- summary: '/unstable_partner/building_blocks/generate_magic_link',
54426
- tags: [],
54427
- 'x-fern-sdk-group-name': ['unstable_partner', 'building_blocks'],
54428
- 'x-fern-sdk-method-name': 'generate_magic_link',
54429
- 'x-fern-sdk-return-value': 'magic_link',
54430
- 'x-response-key': 'magic_link',
54431
- 'x-title': 'Generate a Building Block Magic Link',
54432
- 'x-undocumented': 'Experimental partner building blocks.',
54433
- },
54434
- post: {
54435
- description: 'Creates a new building block magic link.',
54436
- operationId: 'unstablePartnerBuildingBlocksGenerateMagicLinkPost',
54437
- requestBody: {
54438
- content: {
54439
- 'application/json': {
54440
- schema: {
54441
- properties: {
54442
- building_block_type: {
54443
- description:
54444
- 'Type of building block for which you want to create a magic link.',
54445
- enum: [
54446
- 'connect_accounts',
54447
- 'organize_spaces',
54448
- 'console',
54449
- 'manage_devices',
54450
- ],
54451
- type: 'string',
54452
- },
54453
- customer_key: {
54454
- description:
54455
- 'Customer key for which you want to create a new building block magic link.',
54456
- type: 'string',
54457
- },
54458
- spaces: {
54459
- description:
54460
- 'Optional list of spaces that you want to include in the new building block magic link.',
54461
- items: {
54462
- properties: {
54463
- name: {
54464
- description:
54465
- 'Your display name for this location resource.',
54466
- type: 'string',
54467
- },
54468
- space_key: {
54469
- description: 'Your unique identifier for the space.',
54470
- type: 'string',
54471
- },
54472
- },
54473
- required: ['name', 'space_key'],
54474
- type: 'object',
54475
- },
54476
- type: 'array',
54477
- },
54478
- },
54479
- required: ['building_block_type', 'customer_key'],
54480
- type: 'object',
54481
- },
54482
- },
54483
- },
54484
- },
54485
- responses: {
54486
- 200: {
54487
- content: {
54488
- 'application/json': {
54489
- schema: {
54490
- properties: {
54491
- magic_link: { $ref: '#/components/schemas/magic_link' },
54492
- ok: { type: 'boolean' },
54493
- },
54494
- required: ['magic_link', 'ok'],
54495
- type: 'object',
54496
- },
54497
- },
54498
- },
54499
- description: 'OK',
54500
- },
54501
- 400: { description: 'Bad Request' },
54502
- 401: { description: 'Unauthorized' },
54503
- },
54504
- security: [
54505
- { pat_with_workspace: [] },
54506
- { console_session_with_workspace: [] },
54507
- { api_key: [] },
54508
- ],
54509
- summary: '/unstable_partner/building_blocks/generate_magic_link',
54510
- tags: [],
54511
- 'x-fern-sdk-group-name': ['unstable_partner', 'building_blocks'],
54512
- 'x-fern-sdk-method-name': 'generate_magic_link',
54513
- 'x-fern-sdk-return-value': 'magic_link',
54514
- 'x-response-key': 'magic_link',
54515
- 'x-title': 'Generate a Building Block Magic Link',
54516
- 'x-undocumented': 'Experimental partner building blocks.',
54517
- },
54518
- },
54519
- '/unstable_partner/building_blocks/manage_devices': {
54520
- post: {
54521
- description:
54522
- 'Creates a new building block magic link to manage devices.',
54523
- operationId: 'unstablePartnerBuildingBlocksManageDevicesPost',
54524
- requestBody: {
54525
- content: {
54526
- 'application/json': {
54527
- schema: {
54528
- properties: {
54529
- customer_key: {
54530
- description:
54531
- 'Customer key for which you want to manage devices.',
54532
- type: 'string',
54533
- },
54534
- },
54535
- required: ['customer_key'],
54536
- type: 'object',
54537
- },
54538
- },
54539
- },
54540
- },
54541
- responses: {
54542
- 200: {
54543
- content: {
54544
- 'application/json': {
54545
- schema: {
54546
- properties: {
54547
- magic_link: { $ref: '#/components/schemas/magic_link' },
54548
- ok: { type: 'boolean' },
54549
- },
54550
- required: ['magic_link', 'ok'],
54551
- type: 'object',
54552
- },
54553
- },
54554
- },
54555
- description: 'OK',
54556
- },
54557
- 400: { description: 'Bad Request' },
54558
- 401: { description: 'Unauthorized' },
54559
- },
54560
- security: [
54561
- { pat_with_workspace: [] },
54562
- { console_session_with_workspace: [] },
54563
- { api_key: [] },
54564
- ],
54565
- summary: '/unstable_partner/building_blocks/manage_devices',
54566
- tags: [],
54567
- 'x-fern-sdk-group-name': ['unstable_partner', 'building_blocks'],
54568
- 'x-fern-sdk-method-name': 'manage_devices',
54569
- 'x-fern-sdk-return-value': 'magic_link',
54570
- 'x-response-key': 'magic_link',
54571
- 'x-title': 'Generate a Manage Devices Building Block Magic Link',
54572
- 'x-undocumented': 'Experimental partner building blocks.',
54573
- },
54574
- },
54575
- '/unstable_partner/building_blocks/organize_spaces': {
54576
- post: {
54577
- description:
54578
- 'Creates a new building block magic link to organize spaces.',
54579
- operationId: 'unstablePartnerBuildingBlocksOrganizeSpacesPost',
54580
- requestBody: {
54581
- content: {
54582
- 'application/json': {
54583
- schema: {
54584
- properties: {
54585
- customer_key: {
54586
- description:
54587
- 'Customer key for which you want to organize spaces.',
54588
- type: 'string',
54589
- },
54590
- spaces: {
54591
- description:
54592
- 'Optional list of spaces that you want to include in the new building block magic link.',
54593
- items: {
54594
- properties: {
54595
- name: {
54596
- description:
54597
- 'Your display name for this location resource.',
54598
- type: 'string',
54599
- },
54600
- space_key: {
54601
- description: 'Your unique identifier for the space.',
54602
- type: 'string',
54603
- },
54604
- },
54605
- required: ['name', 'space_key'],
54606
- type: 'object',
54607
- },
54608
- type: 'array',
54609
- },
54610
- },
54611
- required: ['customer_key'],
54612
- type: 'object',
54613
- },
54614
- },
54615
- },
54616
- },
54617
- responses: {
54618
- 200: {
54619
- content: {
54620
- 'application/json': {
54621
- schema: {
54622
- properties: {
54623
- magic_link: { $ref: '#/components/schemas/magic_link' },
54624
- ok: { type: 'boolean' },
54625
- },
54626
- required: ['magic_link', 'ok'],
54627
- type: 'object',
54628
- },
54629
- },
54630
- },
54631
- description: 'OK',
54632
- },
54633
- 400: { description: 'Bad Request' },
54634
- 401: { description: 'Unauthorized' },
54635
- },
54636
- security: [
54637
- { pat_with_workspace: [] },
54638
- { console_session_with_workspace: [] },
54639
- { api_key: [] },
54640
- ],
54641
- summary: '/unstable_partner/building_blocks/organize_spaces',
54642
- tags: [],
54643
- 'x-fern-sdk-group-name': ['unstable_partner', 'building_blocks'],
54644
- 'x-fern-sdk-method-name': 'organize_spaces',
54645
- 'x-fern-sdk-return-value': 'magic_link',
54646
- 'x-response-key': 'magic_link',
54647
- 'x-title': 'Generate an Organize Spaces Building Block Magic Link',
54648
- 'x-undocumented': 'Experimental partner building blocks.',
54649
- },
54650
- },
54651
- '/user_identities/add_acs_user': {
54652
- post: {
54653
- description:
54654
- 'Adds a specified [access system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).',
54655
- operationId: 'userIdentitiesAddAcsUserPost',
54656
- requestBody: {
54657
- content: {
54658
- 'application/json': {
54659
- schema: {
54660
- properties: {
54661
- acs_user_id: {
54662
- description:
54663
- 'ID of the access system user that you want to add to the user identity.',
54664
- format: 'uuid',
54665
- type: 'string',
54666
- },
54667
- user_identity_id: {
54668
- description:
54669
- 'ID of the user identity to which you want to add an access system user.',
54670
- format: 'uuid',
54671
- type: 'string',
54672
- },
54673
- },
54674
- required: ['user_identity_id', 'acs_user_id'],
53667
+ required: ['user_identity_id', 'acs_user_id'],
54675
53668
  type: 'object',
54676
53669
  },
54677
53670
  },
@@ -57084,6 +56077,10 @@ export default {
57084
56077
  batch: {
57085
56078
  description: 'A batch of workspace resources.',
57086
56079
  properties: {
56080
+ access_methods: {
56081
+ items: { $ref: '#/components/schemas/access_method' },
56082
+ type: 'array',
56083
+ },
57087
56084
  acs_access_groups: {
57088
56085
  items: {
57089
56086
  $ref: '#/components/schemas/acs_access_group',
@@ -57218,6 +56215,10 @@ export default {
57218
56215
  batch: {
57219
56216
  description: 'A batch of workspace resources.',
57220
56217
  properties: {
56218
+ access_methods: {
56219
+ items: { $ref: '#/components/schemas/access_method' },
56220
+ type: 'array',
56221
+ },
57221
56222
  acs_access_groups: {
57222
56223
  items: {
57223
56224
  $ref: '#/components/schemas/acs_access_group',