@seamapi/types 1.364.0 → 1.365.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect.cjs +637 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1092 -119
- package/lib/seam/connect/internal/schemas.d.ts +1 -1
- package/lib/seam/connect/internal/schemas.js +1 -1
- package/lib/seam/connect/internal/schemas.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-access-group.js +1 -2
- package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-credential.js +1 -2
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.d.ts +1 -1
- package/lib/seam/connect/models/acs/acs-system.js +2 -2
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-user.js +1 -2
- package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
- package/lib/seam/connect/models/connected-accounts/connected-account.js +1 -2
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/devices/device.js +1 -2
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/index.d.ts +1 -0
- package/lib/seam/connect/models/index.js +1 -0
- package/lib/seam/connect/models/index.js.map +1 -1
- package/lib/seam/connect/models/locations/index.d.ts +1 -0
- package/lib/seam/connect/models/locations/index.js +2 -0
- package/lib/seam/connect/models/locations/index.js.map +1 -0
- package/lib/seam/connect/models/locations/location.d.ts +49 -0
- package/lib/seam/connect/models/locations/location.js +25 -0
- package/lib/seam/connect/models/locations/location.js.map +1 -0
- package/lib/seam/connect/openapi.d.ts +803 -0
- package/lib/seam/connect/openapi.js +635 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +170 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +2 -0
- package/src/lib/seam/connect/models/acs/acs-access-group.ts +1 -2
- package/src/lib/seam/connect/models/acs/acs-credential.ts +1 -2
- package/src/lib/seam/connect/models/acs/acs-system.ts +2 -2
- package/src/lib/seam/connect/models/acs/acs-user.ts +1 -2
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +1 -2
- package/src/lib/seam/connect/models/devices/device.ts +1 -2
- package/src/lib/seam/connect/models/index.ts +1 -0
- package/src/lib/seam/connect/models/locations/index.ts +1 -0
- package/src/lib/seam/connect/models/locations/location.ts +30 -0
- package/src/lib/seam/connect/openapi.ts +648 -0
- package/src/lib/seam/connect/route-types.ts +182 -0
|
@@ -22162,6 +22162,12 @@ export default {
|
|
|
22162
22162
|
],
|
|
22163
22163
|
type: 'string',
|
|
22164
22164
|
},
|
|
22165
|
+
unstable_location_id: {
|
|
22166
|
+
format: 'uuid',
|
|
22167
|
+
nullable: true,
|
|
22168
|
+
type: 'string',
|
|
22169
|
+
'x-undocumented': 'Experimental locations.',
|
|
22170
|
+
},
|
|
22165
22171
|
user_identifier_key: {
|
|
22166
22172
|
description:
|
|
22167
22173
|
'Your own internal user ID for the user by which to filter devices.',
|
|
@@ -22694,6 +22700,12 @@ export default {
|
|
|
22694
22700
|
],
|
|
22695
22701
|
type: 'string',
|
|
22696
22702
|
},
|
|
22703
|
+
unstable_location_id: {
|
|
22704
|
+
format: 'uuid',
|
|
22705
|
+
nullable: true,
|
|
22706
|
+
type: 'string',
|
|
22707
|
+
'x-undocumented': 'Experimental locations.',
|
|
22708
|
+
},
|
|
22697
22709
|
user_identifier_key: {
|
|
22698
22710
|
description:
|
|
22699
22711
|
'Your own internal user ID for the user by which to filter devices.',
|
|
@@ -23551,6 +23563,12 @@ export default {
|
|
|
23551
23563
|
],
|
|
23552
23564
|
type: 'string',
|
|
23553
23565
|
},
|
|
23566
|
+
unstable_location_id: {
|
|
23567
|
+
format: 'uuid',
|
|
23568
|
+
nullable: true,
|
|
23569
|
+
type: 'string',
|
|
23570
|
+
'x-undocumented': 'Experimental locations.',
|
|
23571
|
+
},
|
|
23554
23572
|
user_identifier_key: {
|
|
23555
23573
|
description:
|
|
23556
23574
|
'Your own internal user ID for the user by which to filter devices.',
|
|
@@ -24046,6 +24064,12 @@ export default {
|
|
|
24046
24064
|
],
|
|
24047
24065
|
type: 'string',
|
|
24048
24066
|
},
|
|
24067
|
+
unstable_location_id: {
|
|
24068
|
+
format: 'uuid',
|
|
24069
|
+
nullable: true,
|
|
24070
|
+
type: 'string',
|
|
24071
|
+
'x-undocumented': 'Experimental locations.',
|
|
24072
|
+
},
|
|
24049
24073
|
user_identifier_key: {
|
|
24050
24074
|
description:
|
|
24051
24075
|
'Your own internal user ID for the user by which to filter devices.',
|
|
@@ -25939,6 +25963,12 @@ export default {
|
|
|
25939
25963
|
],
|
|
25940
25964
|
type: 'string',
|
|
25941
25965
|
},
|
|
25966
|
+
unstable_location_id: {
|
|
25967
|
+
format: 'uuid',
|
|
25968
|
+
nullable: true,
|
|
25969
|
+
type: 'string',
|
|
25970
|
+
'x-undocumented': 'Experimental locations.',
|
|
25971
|
+
},
|
|
25942
25972
|
user_identifier_key: {
|
|
25943
25973
|
description:
|
|
25944
25974
|
'Your own internal user ID for the user by which to filter devices.',
|
|
@@ -27375,6 +27405,624 @@ export default {
|
|
|
27375
27405
|
'x-title': 'Update a Climate Preset',
|
|
27376
27406
|
},
|
|
27377
27407
|
},
|
|
27408
|
+
'/unstable_locations/add_devices': {
|
|
27409
|
+
post: {
|
|
27410
|
+
description:
|
|
27411
|
+
'Add devices to a specific location. If a device already belongs to a location it will be moved.',
|
|
27412
|
+
operationId: 'unstableLocationsAddDevicesPost',
|
|
27413
|
+
requestBody: {
|
|
27414
|
+
content: {
|
|
27415
|
+
'application/json': {
|
|
27416
|
+
schema: {
|
|
27417
|
+
properties: {
|
|
27418
|
+
device_ids: {
|
|
27419
|
+
items: { format: 'uuid', type: 'string' },
|
|
27420
|
+
type: 'array',
|
|
27421
|
+
},
|
|
27422
|
+
location_id: { format: 'uuid', type: 'string' },
|
|
27423
|
+
},
|
|
27424
|
+
required: ['location_id', 'device_ids'],
|
|
27425
|
+
type: 'object',
|
|
27426
|
+
},
|
|
27427
|
+
},
|
|
27428
|
+
},
|
|
27429
|
+
},
|
|
27430
|
+
responses: {
|
|
27431
|
+
200: {
|
|
27432
|
+
content: {
|
|
27433
|
+
'application/json': {
|
|
27434
|
+
schema: {
|
|
27435
|
+
properties: { ok: { type: 'boolean' } },
|
|
27436
|
+
required: ['ok'],
|
|
27437
|
+
type: 'object',
|
|
27438
|
+
},
|
|
27439
|
+
},
|
|
27440
|
+
},
|
|
27441
|
+
description: 'OK',
|
|
27442
|
+
},
|
|
27443
|
+
400: { description: 'Bad Request' },
|
|
27444
|
+
401: { description: 'Unauthorized' },
|
|
27445
|
+
},
|
|
27446
|
+
security: [
|
|
27447
|
+
{ pat_with_workspace: [] },
|
|
27448
|
+
{ console_session_with_workspace: [] },
|
|
27449
|
+
{ api_key: [] },
|
|
27450
|
+
],
|
|
27451
|
+
summary: '/unstable_locations/add_devices',
|
|
27452
|
+
tags: [],
|
|
27453
|
+
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
27454
|
+
'x-fern-sdk-method-name': 'add_devices',
|
|
27455
|
+
'x-response-key': null,
|
|
27456
|
+
'x-title': 'Add Location Devices',
|
|
27457
|
+
'x-undocumented': 'Experimental locations.',
|
|
27458
|
+
},
|
|
27459
|
+
},
|
|
27460
|
+
'/unstable_locations/create': {
|
|
27461
|
+
post: {
|
|
27462
|
+
description: 'Create a new location.',
|
|
27463
|
+
operationId: 'unstableLocationsCreatePost',
|
|
27464
|
+
requestBody: {
|
|
27465
|
+
content: {
|
|
27466
|
+
'application/json': {
|
|
27467
|
+
schema: {
|
|
27468
|
+
properties: {
|
|
27469
|
+
geolocation: {
|
|
27470
|
+
properties: {
|
|
27471
|
+
latitude: { format: 'float', type: 'number' },
|
|
27472
|
+
longitude: { format: 'float', type: 'number' },
|
|
27473
|
+
},
|
|
27474
|
+
required: ['latitude', 'longitude'],
|
|
27475
|
+
type: 'object',
|
|
27476
|
+
},
|
|
27477
|
+
name: { type: 'string' },
|
|
27478
|
+
time_zone: { type: 'string' },
|
|
27479
|
+
},
|
|
27480
|
+
required: ['name'],
|
|
27481
|
+
type: 'object',
|
|
27482
|
+
},
|
|
27483
|
+
},
|
|
27484
|
+
},
|
|
27485
|
+
},
|
|
27486
|
+
responses: {
|
|
27487
|
+
200: {
|
|
27488
|
+
content: {
|
|
27489
|
+
'application/json': {
|
|
27490
|
+
schema: {
|
|
27491
|
+
properties: {
|
|
27492
|
+
location: {
|
|
27493
|
+
properties: {
|
|
27494
|
+
created_at: {
|
|
27495
|
+
description:
|
|
27496
|
+
'Date and time at which the location object was created.',
|
|
27497
|
+
format: 'date-time',
|
|
27498
|
+
type: 'string',
|
|
27499
|
+
},
|
|
27500
|
+
display_name: {
|
|
27501
|
+
description: 'Display name of the location.',
|
|
27502
|
+
type: 'string',
|
|
27503
|
+
},
|
|
27504
|
+
geolocation: {
|
|
27505
|
+
description: 'Geographical location of the location.',
|
|
27506
|
+
properties: {
|
|
27507
|
+
latitude: { format: 'float', type: 'number' },
|
|
27508
|
+
longitude: { format: 'float', type: 'number' },
|
|
27509
|
+
},
|
|
27510
|
+
required: ['latitude', 'longitude'],
|
|
27511
|
+
type: 'object',
|
|
27512
|
+
},
|
|
27513
|
+
location_id: {
|
|
27514
|
+
description: 'Unique identifier for the location.',
|
|
27515
|
+
format: 'uuid',
|
|
27516
|
+
type: 'string',
|
|
27517
|
+
},
|
|
27518
|
+
time_zone: {
|
|
27519
|
+
description: 'Time zone of the location.',
|
|
27520
|
+
type: 'string',
|
|
27521
|
+
},
|
|
27522
|
+
workspace_id: {
|
|
27523
|
+
description:
|
|
27524
|
+
'Unique identifier for the Seam workspace associated with the location.',
|
|
27525
|
+
format: 'uuid',
|
|
27526
|
+
type: 'string',
|
|
27527
|
+
},
|
|
27528
|
+
},
|
|
27529
|
+
required: [
|
|
27530
|
+
'location_id',
|
|
27531
|
+
'workspace_id',
|
|
27532
|
+
'display_name',
|
|
27533
|
+
'created_at',
|
|
27534
|
+
],
|
|
27535
|
+
type: 'object',
|
|
27536
|
+
},
|
|
27537
|
+
ok: { type: 'boolean' },
|
|
27538
|
+
},
|
|
27539
|
+
required: ['location', 'ok'],
|
|
27540
|
+
type: 'object',
|
|
27541
|
+
},
|
|
27542
|
+
},
|
|
27543
|
+
},
|
|
27544
|
+
description: 'OK',
|
|
27545
|
+
},
|
|
27546
|
+
400: { description: 'Bad Request' },
|
|
27547
|
+
401: { description: 'Unauthorized' },
|
|
27548
|
+
},
|
|
27549
|
+
security: [
|
|
27550
|
+
{ pat_with_workspace: [] },
|
|
27551
|
+
{ console_session_with_workspace: [] },
|
|
27552
|
+
{ api_key: [] },
|
|
27553
|
+
],
|
|
27554
|
+
summary: '/unstable_locations/create',
|
|
27555
|
+
tags: [],
|
|
27556
|
+
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
27557
|
+
'x-fern-sdk-method-name': 'create',
|
|
27558
|
+
'x-fern-sdk-return-value': 'location',
|
|
27559
|
+
'x-response-key': 'location',
|
|
27560
|
+
'x-title': 'Create Location',
|
|
27561
|
+
'x-undocumented': 'Experimental locations.',
|
|
27562
|
+
},
|
|
27563
|
+
},
|
|
27564
|
+
'/unstable_locations/delete': {
|
|
27565
|
+
post: {
|
|
27566
|
+
description: 'Delete a location.',
|
|
27567
|
+
operationId: 'unstableLocationsDeletePost',
|
|
27568
|
+
requestBody: {
|
|
27569
|
+
content: {
|
|
27570
|
+
'application/json': {
|
|
27571
|
+
schema: {
|
|
27572
|
+
properties: { location_id: { format: 'uuid', type: 'string' } },
|
|
27573
|
+
required: ['location_id'],
|
|
27574
|
+
type: 'object',
|
|
27575
|
+
},
|
|
27576
|
+
},
|
|
27577
|
+
},
|
|
27578
|
+
},
|
|
27579
|
+
responses: {
|
|
27580
|
+
200: {
|
|
27581
|
+
content: {
|
|
27582
|
+
'application/json': {
|
|
27583
|
+
schema: {
|
|
27584
|
+
properties: { ok: { type: 'boolean' } },
|
|
27585
|
+
required: ['ok'],
|
|
27586
|
+
type: 'object',
|
|
27587
|
+
},
|
|
27588
|
+
},
|
|
27589
|
+
},
|
|
27590
|
+
description: 'OK',
|
|
27591
|
+
},
|
|
27592
|
+
400: { description: 'Bad Request' },
|
|
27593
|
+
401: { description: 'Unauthorized' },
|
|
27594
|
+
},
|
|
27595
|
+
security: [
|
|
27596
|
+
{ pat_with_workspace: [] },
|
|
27597
|
+
{ console_session_with_workspace: [] },
|
|
27598
|
+
{ api_key: [] },
|
|
27599
|
+
],
|
|
27600
|
+
summary: '/unstable_locations/delete',
|
|
27601
|
+
tags: [],
|
|
27602
|
+
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
27603
|
+
'x-fern-sdk-method-name': 'delete',
|
|
27604
|
+
'x-response-key': null,
|
|
27605
|
+
'x-title': 'Delete Location',
|
|
27606
|
+
'x-undocumented': 'Experimental locations.',
|
|
27607
|
+
},
|
|
27608
|
+
},
|
|
27609
|
+
'/unstable_locations/get': {
|
|
27610
|
+
post: {
|
|
27611
|
+
description: 'Get a location.',
|
|
27612
|
+
operationId: 'unstableLocationsGetPost',
|
|
27613
|
+
requestBody: {
|
|
27614
|
+
content: {
|
|
27615
|
+
'application/json': {
|
|
27616
|
+
schema: {
|
|
27617
|
+
properties: { location_id: { format: 'uuid', type: 'string' } },
|
|
27618
|
+
required: ['location_id'],
|
|
27619
|
+
type: 'object',
|
|
27620
|
+
},
|
|
27621
|
+
},
|
|
27622
|
+
},
|
|
27623
|
+
},
|
|
27624
|
+
responses: {
|
|
27625
|
+
200: {
|
|
27626
|
+
content: {
|
|
27627
|
+
'application/json': {
|
|
27628
|
+
schema: {
|
|
27629
|
+
properties: {
|
|
27630
|
+
location: {
|
|
27631
|
+
properties: {
|
|
27632
|
+
created_at: {
|
|
27633
|
+
description:
|
|
27634
|
+
'Date and time at which the location object was created.',
|
|
27635
|
+
format: 'date-time',
|
|
27636
|
+
type: 'string',
|
|
27637
|
+
},
|
|
27638
|
+
display_name: {
|
|
27639
|
+
description: 'Display name of the location.',
|
|
27640
|
+
type: 'string',
|
|
27641
|
+
},
|
|
27642
|
+
geolocation: {
|
|
27643
|
+
description: 'Geographical location of the location.',
|
|
27644
|
+
properties: {
|
|
27645
|
+
latitude: { format: 'float', type: 'number' },
|
|
27646
|
+
longitude: { format: 'float', type: 'number' },
|
|
27647
|
+
},
|
|
27648
|
+
required: ['latitude', 'longitude'],
|
|
27649
|
+
type: 'object',
|
|
27650
|
+
},
|
|
27651
|
+
location_id: {
|
|
27652
|
+
description: 'Unique identifier for the location.',
|
|
27653
|
+
format: 'uuid',
|
|
27654
|
+
type: 'string',
|
|
27655
|
+
},
|
|
27656
|
+
time_zone: {
|
|
27657
|
+
description: 'Time zone of the location.',
|
|
27658
|
+
type: 'string',
|
|
27659
|
+
},
|
|
27660
|
+
workspace_id: {
|
|
27661
|
+
description:
|
|
27662
|
+
'Unique identifier for the Seam workspace associated with the location.',
|
|
27663
|
+
format: 'uuid',
|
|
27664
|
+
type: 'string',
|
|
27665
|
+
},
|
|
27666
|
+
},
|
|
27667
|
+
required: [
|
|
27668
|
+
'location_id',
|
|
27669
|
+
'workspace_id',
|
|
27670
|
+
'display_name',
|
|
27671
|
+
'created_at',
|
|
27672
|
+
],
|
|
27673
|
+
type: 'object',
|
|
27674
|
+
},
|
|
27675
|
+
ok: { type: 'boolean' },
|
|
27676
|
+
},
|
|
27677
|
+
required: ['location', 'ok'],
|
|
27678
|
+
type: 'object',
|
|
27679
|
+
},
|
|
27680
|
+
},
|
|
27681
|
+
},
|
|
27682
|
+
description: 'OK',
|
|
27683
|
+
},
|
|
27684
|
+
400: { description: 'Bad Request' },
|
|
27685
|
+
401: { description: 'Unauthorized' },
|
|
27686
|
+
},
|
|
27687
|
+
security: [
|
|
27688
|
+
{ pat_with_workspace: [] },
|
|
27689
|
+
{ console_session_with_workspace: [] },
|
|
27690
|
+
{ api_key: [] },
|
|
27691
|
+
],
|
|
27692
|
+
summary: '/unstable_locations/get',
|
|
27693
|
+
tags: [],
|
|
27694
|
+
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
27695
|
+
'x-fern-sdk-method-name': 'get',
|
|
27696
|
+
'x-fern-sdk-return-value': 'location',
|
|
27697
|
+
'x-response-key': 'location',
|
|
27698
|
+
'x-title': 'Get Location',
|
|
27699
|
+
'x-undocumented': 'Experimental locations.',
|
|
27700
|
+
},
|
|
27701
|
+
},
|
|
27702
|
+
'/unstable_locations/list': {
|
|
27703
|
+
get: {
|
|
27704
|
+
description: 'Returns a list of all locations.',
|
|
27705
|
+
operationId: 'unstableLocationsListGet',
|
|
27706
|
+
responses: {
|
|
27707
|
+
200: {
|
|
27708
|
+
content: {
|
|
27709
|
+
'application/json': {
|
|
27710
|
+
schema: {
|
|
27711
|
+
properties: {
|
|
27712
|
+
locations: {
|
|
27713
|
+
items: {
|
|
27714
|
+
properties: {
|
|
27715
|
+
created_at: {
|
|
27716
|
+
description:
|
|
27717
|
+
'Date and time at which the location object was created.',
|
|
27718
|
+
format: 'date-time',
|
|
27719
|
+
type: 'string',
|
|
27720
|
+
},
|
|
27721
|
+
display_name: {
|
|
27722
|
+
description: 'Display name of the location.',
|
|
27723
|
+
type: 'string',
|
|
27724
|
+
},
|
|
27725
|
+
geolocation: {
|
|
27726
|
+
description:
|
|
27727
|
+
'Geographical location of the location.',
|
|
27728
|
+
properties: {
|
|
27729
|
+
latitude: { format: 'float', type: 'number' },
|
|
27730
|
+
longitude: { format: 'float', type: 'number' },
|
|
27731
|
+
},
|
|
27732
|
+
required: ['latitude', 'longitude'],
|
|
27733
|
+
type: 'object',
|
|
27734
|
+
},
|
|
27735
|
+
location_id: {
|
|
27736
|
+
description: 'Unique identifier for the location.',
|
|
27737
|
+
format: 'uuid',
|
|
27738
|
+
type: 'string',
|
|
27739
|
+
},
|
|
27740
|
+
time_zone: {
|
|
27741
|
+
description: 'Time zone of the location.',
|
|
27742
|
+
type: 'string',
|
|
27743
|
+
},
|
|
27744
|
+
workspace_id: {
|
|
27745
|
+
description:
|
|
27746
|
+
'Unique identifier for the Seam workspace associated with the location.',
|
|
27747
|
+
format: 'uuid',
|
|
27748
|
+
type: 'string',
|
|
27749
|
+
},
|
|
27750
|
+
},
|
|
27751
|
+
required: [
|
|
27752
|
+
'location_id',
|
|
27753
|
+
'workspace_id',
|
|
27754
|
+
'display_name',
|
|
27755
|
+
'created_at',
|
|
27756
|
+
],
|
|
27757
|
+
type: 'object',
|
|
27758
|
+
},
|
|
27759
|
+
type: 'array',
|
|
27760
|
+
},
|
|
27761
|
+
ok: { type: 'boolean' },
|
|
27762
|
+
},
|
|
27763
|
+
required: ['locations', 'ok'],
|
|
27764
|
+
type: 'object',
|
|
27765
|
+
},
|
|
27766
|
+
},
|
|
27767
|
+
},
|
|
27768
|
+
description: 'OK',
|
|
27769
|
+
},
|
|
27770
|
+
400: { description: 'Bad Request' },
|
|
27771
|
+
401: { description: 'Unauthorized' },
|
|
27772
|
+
},
|
|
27773
|
+
security: [
|
|
27774
|
+
{ pat_with_workspace: [] },
|
|
27775
|
+
{ console_session_with_workspace: [] },
|
|
27776
|
+
{ api_key: [] },
|
|
27777
|
+
],
|
|
27778
|
+
summary: '/unstable_locations/list',
|
|
27779
|
+
tags: [],
|
|
27780
|
+
'x-fern-ignore': true,
|
|
27781
|
+
'x-response-key': 'locations',
|
|
27782
|
+
'x-title': 'List Locations',
|
|
27783
|
+
'x-undocumented': 'Experimental locations.',
|
|
27784
|
+
},
|
|
27785
|
+
post: {
|
|
27786
|
+
description: 'Returns a list of all locations.',
|
|
27787
|
+
operationId: 'unstableLocationsListPost',
|
|
27788
|
+
responses: {
|
|
27789
|
+
200: {
|
|
27790
|
+
content: {
|
|
27791
|
+
'application/json': {
|
|
27792
|
+
schema: {
|
|
27793
|
+
properties: {
|
|
27794
|
+
locations: {
|
|
27795
|
+
items: {
|
|
27796
|
+
properties: {
|
|
27797
|
+
created_at: {
|
|
27798
|
+
description:
|
|
27799
|
+
'Date and time at which the location object was created.',
|
|
27800
|
+
format: 'date-time',
|
|
27801
|
+
type: 'string',
|
|
27802
|
+
},
|
|
27803
|
+
display_name: {
|
|
27804
|
+
description: 'Display name of the location.',
|
|
27805
|
+
type: 'string',
|
|
27806
|
+
},
|
|
27807
|
+
geolocation: {
|
|
27808
|
+
description:
|
|
27809
|
+
'Geographical location of the location.',
|
|
27810
|
+
properties: {
|
|
27811
|
+
latitude: { format: 'float', type: 'number' },
|
|
27812
|
+
longitude: { format: 'float', type: 'number' },
|
|
27813
|
+
},
|
|
27814
|
+
required: ['latitude', 'longitude'],
|
|
27815
|
+
type: 'object',
|
|
27816
|
+
},
|
|
27817
|
+
location_id: {
|
|
27818
|
+
description: 'Unique identifier for the location.',
|
|
27819
|
+
format: 'uuid',
|
|
27820
|
+
type: 'string',
|
|
27821
|
+
},
|
|
27822
|
+
time_zone: {
|
|
27823
|
+
description: 'Time zone of the location.',
|
|
27824
|
+
type: 'string',
|
|
27825
|
+
},
|
|
27826
|
+
workspace_id: {
|
|
27827
|
+
description:
|
|
27828
|
+
'Unique identifier for the Seam workspace associated with the location.',
|
|
27829
|
+
format: 'uuid',
|
|
27830
|
+
type: 'string',
|
|
27831
|
+
},
|
|
27832
|
+
},
|
|
27833
|
+
required: [
|
|
27834
|
+
'location_id',
|
|
27835
|
+
'workspace_id',
|
|
27836
|
+
'display_name',
|
|
27837
|
+
'created_at',
|
|
27838
|
+
],
|
|
27839
|
+
type: 'object',
|
|
27840
|
+
},
|
|
27841
|
+
type: 'array',
|
|
27842
|
+
},
|
|
27843
|
+
ok: { type: 'boolean' },
|
|
27844
|
+
},
|
|
27845
|
+
required: ['locations', 'ok'],
|
|
27846
|
+
type: 'object',
|
|
27847
|
+
},
|
|
27848
|
+
},
|
|
27849
|
+
},
|
|
27850
|
+
description: 'OK',
|
|
27851
|
+
},
|
|
27852
|
+
400: { description: 'Bad Request' },
|
|
27853
|
+
401: { description: 'Unauthorized' },
|
|
27854
|
+
},
|
|
27855
|
+
security: [
|
|
27856
|
+
{ pat_with_workspace: [] },
|
|
27857
|
+
{ console_session_with_workspace: [] },
|
|
27858
|
+
{ api_key: [] },
|
|
27859
|
+
],
|
|
27860
|
+
summary: '/unstable_locations/list',
|
|
27861
|
+
tags: [],
|
|
27862
|
+
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
27863
|
+
'x-fern-sdk-method-name': 'list',
|
|
27864
|
+
'x-fern-sdk-return-value': 'locations',
|
|
27865
|
+
'x-response-key': 'locations',
|
|
27866
|
+
'x-title': 'List Locations',
|
|
27867
|
+
'x-undocumented': 'Experimental locations.',
|
|
27868
|
+
},
|
|
27869
|
+
},
|
|
27870
|
+
'/unstable_locations/remove_devices': {
|
|
27871
|
+
post: {
|
|
27872
|
+
description: 'Remove devices from a specific location.',
|
|
27873
|
+
operationId: 'unstableLocationsRemoveDevicesPost',
|
|
27874
|
+
requestBody: {
|
|
27875
|
+
content: {
|
|
27876
|
+
'application/json': {
|
|
27877
|
+
schema: {
|
|
27878
|
+
properties: {
|
|
27879
|
+
device_ids: {
|
|
27880
|
+
items: { format: 'uuid', type: 'string' },
|
|
27881
|
+
type: 'array',
|
|
27882
|
+
},
|
|
27883
|
+
location_id: { format: 'uuid', type: 'string' },
|
|
27884
|
+
},
|
|
27885
|
+
required: ['location_id', 'device_ids'],
|
|
27886
|
+
type: 'object',
|
|
27887
|
+
},
|
|
27888
|
+
},
|
|
27889
|
+
},
|
|
27890
|
+
},
|
|
27891
|
+
responses: {
|
|
27892
|
+
200: {
|
|
27893
|
+
content: {
|
|
27894
|
+
'application/json': {
|
|
27895
|
+
schema: {
|
|
27896
|
+
properties: { ok: { type: 'boolean' } },
|
|
27897
|
+
required: ['ok'],
|
|
27898
|
+
type: 'object',
|
|
27899
|
+
},
|
|
27900
|
+
},
|
|
27901
|
+
},
|
|
27902
|
+
description: 'OK',
|
|
27903
|
+
},
|
|
27904
|
+
400: { description: 'Bad Request' },
|
|
27905
|
+
401: { description: 'Unauthorized' },
|
|
27906
|
+
},
|
|
27907
|
+
security: [
|
|
27908
|
+
{ pat_with_workspace: [] },
|
|
27909
|
+
{ console_session_with_workspace: [] },
|
|
27910
|
+
{ api_key: [] },
|
|
27911
|
+
],
|
|
27912
|
+
summary: '/unstable_locations/remove_devices',
|
|
27913
|
+
tags: [],
|
|
27914
|
+
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
27915
|
+
'x-fern-sdk-method-name': 'remove_devices',
|
|
27916
|
+
'x-response-key': null,
|
|
27917
|
+
'x-title': 'Remove Location Devices',
|
|
27918
|
+
'x-undocumented': 'Experimental locations.',
|
|
27919
|
+
},
|
|
27920
|
+
},
|
|
27921
|
+
'/unstable_locations/update': {
|
|
27922
|
+
post: {
|
|
27923
|
+
description: 'Update an existing location.',
|
|
27924
|
+
operationId: 'unstableLocationsUpdatePost',
|
|
27925
|
+
requestBody: {
|
|
27926
|
+
content: {
|
|
27927
|
+
'application/json': {
|
|
27928
|
+
schema: {
|
|
27929
|
+
properties: {
|
|
27930
|
+
geolocation: {
|
|
27931
|
+
properties: {
|
|
27932
|
+
latitude: { format: 'float', type: 'number' },
|
|
27933
|
+
longitude: { format: 'float', type: 'number' },
|
|
27934
|
+
},
|
|
27935
|
+
required: ['latitude', 'longitude'],
|
|
27936
|
+
type: 'object',
|
|
27937
|
+
},
|
|
27938
|
+
location_id: { format: 'uuid', type: 'string' },
|
|
27939
|
+
name: { type: 'string' },
|
|
27940
|
+
time_zone: { type: 'string' },
|
|
27941
|
+
},
|
|
27942
|
+
required: ['location_id'],
|
|
27943
|
+
type: 'object',
|
|
27944
|
+
},
|
|
27945
|
+
},
|
|
27946
|
+
},
|
|
27947
|
+
},
|
|
27948
|
+
responses: {
|
|
27949
|
+
200: {
|
|
27950
|
+
content: {
|
|
27951
|
+
'application/json': {
|
|
27952
|
+
schema: {
|
|
27953
|
+
properties: {
|
|
27954
|
+
location: {
|
|
27955
|
+
properties: {
|
|
27956
|
+
created_at: {
|
|
27957
|
+
description:
|
|
27958
|
+
'Date and time at which the location object was created.',
|
|
27959
|
+
format: 'date-time',
|
|
27960
|
+
type: 'string',
|
|
27961
|
+
},
|
|
27962
|
+
display_name: {
|
|
27963
|
+
description: 'Display name of the location.',
|
|
27964
|
+
type: 'string',
|
|
27965
|
+
},
|
|
27966
|
+
geolocation: {
|
|
27967
|
+
description: 'Geographical location of the location.',
|
|
27968
|
+
properties: {
|
|
27969
|
+
latitude: { format: 'float', type: 'number' },
|
|
27970
|
+
longitude: { format: 'float', type: 'number' },
|
|
27971
|
+
},
|
|
27972
|
+
required: ['latitude', 'longitude'],
|
|
27973
|
+
type: 'object',
|
|
27974
|
+
},
|
|
27975
|
+
location_id: {
|
|
27976
|
+
description: 'Unique identifier for the location.',
|
|
27977
|
+
format: 'uuid',
|
|
27978
|
+
type: 'string',
|
|
27979
|
+
},
|
|
27980
|
+
time_zone: {
|
|
27981
|
+
description: 'Time zone of the location.',
|
|
27982
|
+
type: 'string',
|
|
27983
|
+
},
|
|
27984
|
+
workspace_id: {
|
|
27985
|
+
description:
|
|
27986
|
+
'Unique identifier for the Seam workspace associated with the location.',
|
|
27987
|
+
format: 'uuid',
|
|
27988
|
+
type: 'string',
|
|
27989
|
+
},
|
|
27990
|
+
},
|
|
27991
|
+
required: [
|
|
27992
|
+
'location_id',
|
|
27993
|
+
'workspace_id',
|
|
27994
|
+
'display_name',
|
|
27995
|
+
'created_at',
|
|
27996
|
+
],
|
|
27997
|
+
type: 'object',
|
|
27998
|
+
},
|
|
27999
|
+
ok: { type: 'boolean' },
|
|
28000
|
+
},
|
|
28001
|
+
required: ['location', 'ok'],
|
|
28002
|
+
type: 'object',
|
|
28003
|
+
},
|
|
28004
|
+
},
|
|
28005
|
+
},
|
|
28006
|
+
description: 'OK',
|
|
28007
|
+
},
|
|
28008
|
+
400: { description: 'Bad Request' },
|
|
28009
|
+
401: { description: 'Unauthorized' },
|
|
28010
|
+
},
|
|
28011
|
+
security: [
|
|
28012
|
+
{ pat_with_workspace: [] },
|
|
28013
|
+
{ console_session_with_workspace: [] },
|
|
28014
|
+
{ api_key: [] },
|
|
28015
|
+
],
|
|
28016
|
+
summary: '/unstable_locations/update',
|
|
28017
|
+
tags: [],
|
|
28018
|
+
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
28019
|
+
'x-fern-sdk-method-name': 'update',
|
|
28020
|
+
'x-fern-sdk-return-value': 'location',
|
|
28021
|
+
'x-response-key': 'location',
|
|
28022
|
+
'x-title': 'Update Location',
|
|
28023
|
+
'x-undocumented': 'Experimental locations.',
|
|
28024
|
+
},
|
|
28025
|
+
},
|
|
27378
28026
|
'/user_identities/add_acs_user': {
|
|
27379
28027
|
post: {
|
|
27380
28028
|
description:
|