@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
|
@@ -20786,6 +20786,12 @@ export default {
|
|
|
20786
20786
|
],
|
|
20787
20787
|
type: 'string',
|
|
20788
20788
|
},
|
|
20789
|
+
unstable_location_id: {
|
|
20790
|
+
format: 'uuid',
|
|
20791
|
+
nullable: true,
|
|
20792
|
+
type: 'string',
|
|
20793
|
+
'x-undocumented': 'Experimental locations.',
|
|
20794
|
+
},
|
|
20789
20795
|
user_identifier_key: {
|
|
20790
20796
|
description: 'Your own internal user ID for the user by which to filter devices.',
|
|
20791
20797
|
type: 'string',
|
|
@@ -21309,6 +21315,12 @@ export default {
|
|
|
21309
21315
|
],
|
|
21310
21316
|
type: 'string',
|
|
21311
21317
|
},
|
|
21318
|
+
unstable_location_id: {
|
|
21319
|
+
format: 'uuid',
|
|
21320
|
+
nullable: true,
|
|
21321
|
+
type: 'string',
|
|
21322
|
+
'x-undocumented': 'Experimental locations.',
|
|
21323
|
+
},
|
|
21312
21324
|
user_identifier_key: {
|
|
21313
21325
|
description: 'Your own internal user ID for the user by which to filter devices.',
|
|
21314
21326
|
type: 'string',
|
|
@@ -22157,6 +22169,12 @@ export default {
|
|
|
22157
22169
|
],
|
|
22158
22170
|
type: 'string',
|
|
22159
22171
|
},
|
|
22172
|
+
unstable_location_id: {
|
|
22173
|
+
format: 'uuid',
|
|
22174
|
+
nullable: true,
|
|
22175
|
+
type: 'string',
|
|
22176
|
+
'x-undocumented': 'Experimental locations.',
|
|
22177
|
+
},
|
|
22160
22178
|
user_identifier_key: {
|
|
22161
22179
|
description: 'Your own internal user ID for the user by which to filter devices.',
|
|
22162
22180
|
type: 'string',
|
|
@@ -22643,6 +22661,12 @@ export default {
|
|
|
22643
22661
|
],
|
|
22644
22662
|
type: 'string',
|
|
22645
22663
|
},
|
|
22664
|
+
unstable_location_id: {
|
|
22665
|
+
format: 'uuid',
|
|
22666
|
+
nullable: true,
|
|
22667
|
+
type: 'string',
|
|
22668
|
+
'x-undocumented': 'Experimental locations.',
|
|
22669
|
+
},
|
|
22646
22670
|
user_identifier_key: {
|
|
22647
22671
|
description: 'Your own internal user ID for the user by which to filter devices.',
|
|
22648
22672
|
type: 'string',
|
|
@@ -24473,6 +24497,12 @@ export default {
|
|
|
24473
24497
|
],
|
|
24474
24498
|
type: 'string',
|
|
24475
24499
|
},
|
|
24500
|
+
unstable_location_id: {
|
|
24501
|
+
format: 'uuid',
|
|
24502
|
+
nullable: true,
|
|
24503
|
+
type: 'string',
|
|
24504
|
+
'x-undocumented': 'Experimental locations.',
|
|
24505
|
+
},
|
|
24476
24506
|
user_identifier_key: {
|
|
24477
24507
|
description: 'Your own internal user ID for the user by which to filter devices.',
|
|
24478
24508
|
type: 'string',
|
|
@@ -25821,6 +25851,611 @@ export default {
|
|
|
25821
25851
|
'x-title': 'Update a Climate Preset',
|
|
25822
25852
|
},
|
|
25823
25853
|
},
|
|
25854
|
+
'/unstable_locations/add_devices': {
|
|
25855
|
+
post: {
|
|
25856
|
+
description: 'Add devices to a specific location. If a device already belongs to a location it will be moved.',
|
|
25857
|
+
operationId: 'unstableLocationsAddDevicesPost',
|
|
25858
|
+
requestBody: {
|
|
25859
|
+
content: {
|
|
25860
|
+
'application/json': {
|
|
25861
|
+
schema: {
|
|
25862
|
+
properties: {
|
|
25863
|
+
device_ids: {
|
|
25864
|
+
items: { format: 'uuid', type: 'string' },
|
|
25865
|
+
type: 'array',
|
|
25866
|
+
},
|
|
25867
|
+
location_id: { format: 'uuid', type: 'string' },
|
|
25868
|
+
},
|
|
25869
|
+
required: ['location_id', 'device_ids'],
|
|
25870
|
+
type: 'object',
|
|
25871
|
+
},
|
|
25872
|
+
},
|
|
25873
|
+
},
|
|
25874
|
+
},
|
|
25875
|
+
responses: {
|
|
25876
|
+
200: {
|
|
25877
|
+
content: {
|
|
25878
|
+
'application/json': {
|
|
25879
|
+
schema: {
|
|
25880
|
+
properties: { ok: { type: 'boolean' } },
|
|
25881
|
+
required: ['ok'],
|
|
25882
|
+
type: 'object',
|
|
25883
|
+
},
|
|
25884
|
+
},
|
|
25885
|
+
},
|
|
25886
|
+
description: 'OK',
|
|
25887
|
+
},
|
|
25888
|
+
400: { description: 'Bad Request' },
|
|
25889
|
+
401: { description: 'Unauthorized' },
|
|
25890
|
+
},
|
|
25891
|
+
security: [
|
|
25892
|
+
{ pat_with_workspace: [] },
|
|
25893
|
+
{ console_session_with_workspace: [] },
|
|
25894
|
+
{ api_key: [] },
|
|
25895
|
+
],
|
|
25896
|
+
summary: '/unstable_locations/add_devices',
|
|
25897
|
+
tags: [],
|
|
25898
|
+
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
25899
|
+
'x-fern-sdk-method-name': 'add_devices',
|
|
25900
|
+
'x-response-key': null,
|
|
25901
|
+
'x-title': 'Add Location Devices',
|
|
25902
|
+
'x-undocumented': 'Experimental locations.',
|
|
25903
|
+
},
|
|
25904
|
+
},
|
|
25905
|
+
'/unstable_locations/create': {
|
|
25906
|
+
post: {
|
|
25907
|
+
description: 'Create a new location.',
|
|
25908
|
+
operationId: 'unstableLocationsCreatePost',
|
|
25909
|
+
requestBody: {
|
|
25910
|
+
content: {
|
|
25911
|
+
'application/json': {
|
|
25912
|
+
schema: {
|
|
25913
|
+
properties: {
|
|
25914
|
+
geolocation: {
|
|
25915
|
+
properties: {
|
|
25916
|
+
latitude: { format: 'float', type: 'number' },
|
|
25917
|
+
longitude: { format: 'float', type: 'number' },
|
|
25918
|
+
},
|
|
25919
|
+
required: ['latitude', 'longitude'],
|
|
25920
|
+
type: 'object',
|
|
25921
|
+
},
|
|
25922
|
+
name: { type: 'string' },
|
|
25923
|
+
time_zone: { type: 'string' },
|
|
25924
|
+
},
|
|
25925
|
+
required: ['name'],
|
|
25926
|
+
type: 'object',
|
|
25927
|
+
},
|
|
25928
|
+
},
|
|
25929
|
+
},
|
|
25930
|
+
},
|
|
25931
|
+
responses: {
|
|
25932
|
+
200: {
|
|
25933
|
+
content: {
|
|
25934
|
+
'application/json': {
|
|
25935
|
+
schema: {
|
|
25936
|
+
properties: {
|
|
25937
|
+
location: {
|
|
25938
|
+
properties: {
|
|
25939
|
+
created_at: {
|
|
25940
|
+
description: 'Date and time at which the location object was created.',
|
|
25941
|
+
format: 'date-time',
|
|
25942
|
+
type: 'string',
|
|
25943
|
+
},
|
|
25944
|
+
display_name: {
|
|
25945
|
+
description: 'Display name of the location.',
|
|
25946
|
+
type: 'string',
|
|
25947
|
+
},
|
|
25948
|
+
geolocation: {
|
|
25949
|
+
description: 'Geographical location of the location.',
|
|
25950
|
+
properties: {
|
|
25951
|
+
latitude: { format: 'float', type: 'number' },
|
|
25952
|
+
longitude: { format: 'float', type: 'number' },
|
|
25953
|
+
},
|
|
25954
|
+
required: ['latitude', 'longitude'],
|
|
25955
|
+
type: 'object',
|
|
25956
|
+
},
|
|
25957
|
+
location_id: {
|
|
25958
|
+
description: 'Unique identifier for the location.',
|
|
25959
|
+
format: 'uuid',
|
|
25960
|
+
type: 'string',
|
|
25961
|
+
},
|
|
25962
|
+
time_zone: {
|
|
25963
|
+
description: 'Time zone of the location.',
|
|
25964
|
+
type: 'string',
|
|
25965
|
+
},
|
|
25966
|
+
workspace_id: {
|
|
25967
|
+
description: 'Unique identifier for the Seam workspace associated with the location.',
|
|
25968
|
+
format: 'uuid',
|
|
25969
|
+
type: 'string',
|
|
25970
|
+
},
|
|
25971
|
+
},
|
|
25972
|
+
required: [
|
|
25973
|
+
'location_id',
|
|
25974
|
+
'workspace_id',
|
|
25975
|
+
'display_name',
|
|
25976
|
+
'created_at',
|
|
25977
|
+
],
|
|
25978
|
+
type: 'object',
|
|
25979
|
+
},
|
|
25980
|
+
ok: { type: 'boolean' },
|
|
25981
|
+
},
|
|
25982
|
+
required: ['location', 'ok'],
|
|
25983
|
+
type: 'object',
|
|
25984
|
+
},
|
|
25985
|
+
},
|
|
25986
|
+
},
|
|
25987
|
+
description: 'OK',
|
|
25988
|
+
},
|
|
25989
|
+
400: { description: 'Bad Request' },
|
|
25990
|
+
401: { description: 'Unauthorized' },
|
|
25991
|
+
},
|
|
25992
|
+
security: [
|
|
25993
|
+
{ pat_with_workspace: [] },
|
|
25994
|
+
{ console_session_with_workspace: [] },
|
|
25995
|
+
{ api_key: [] },
|
|
25996
|
+
],
|
|
25997
|
+
summary: '/unstable_locations/create',
|
|
25998
|
+
tags: [],
|
|
25999
|
+
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
26000
|
+
'x-fern-sdk-method-name': 'create',
|
|
26001
|
+
'x-fern-sdk-return-value': 'location',
|
|
26002
|
+
'x-response-key': 'location',
|
|
26003
|
+
'x-title': 'Create Location',
|
|
26004
|
+
'x-undocumented': 'Experimental locations.',
|
|
26005
|
+
},
|
|
26006
|
+
},
|
|
26007
|
+
'/unstable_locations/delete': {
|
|
26008
|
+
post: {
|
|
26009
|
+
description: 'Delete a location.',
|
|
26010
|
+
operationId: 'unstableLocationsDeletePost',
|
|
26011
|
+
requestBody: {
|
|
26012
|
+
content: {
|
|
26013
|
+
'application/json': {
|
|
26014
|
+
schema: {
|
|
26015
|
+
properties: { location_id: { format: 'uuid', type: 'string' } },
|
|
26016
|
+
required: ['location_id'],
|
|
26017
|
+
type: 'object',
|
|
26018
|
+
},
|
|
26019
|
+
},
|
|
26020
|
+
},
|
|
26021
|
+
},
|
|
26022
|
+
responses: {
|
|
26023
|
+
200: {
|
|
26024
|
+
content: {
|
|
26025
|
+
'application/json': {
|
|
26026
|
+
schema: {
|
|
26027
|
+
properties: { ok: { type: 'boolean' } },
|
|
26028
|
+
required: ['ok'],
|
|
26029
|
+
type: 'object',
|
|
26030
|
+
},
|
|
26031
|
+
},
|
|
26032
|
+
},
|
|
26033
|
+
description: 'OK',
|
|
26034
|
+
},
|
|
26035
|
+
400: { description: 'Bad Request' },
|
|
26036
|
+
401: { description: 'Unauthorized' },
|
|
26037
|
+
},
|
|
26038
|
+
security: [
|
|
26039
|
+
{ pat_with_workspace: [] },
|
|
26040
|
+
{ console_session_with_workspace: [] },
|
|
26041
|
+
{ api_key: [] },
|
|
26042
|
+
],
|
|
26043
|
+
summary: '/unstable_locations/delete',
|
|
26044
|
+
tags: [],
|
|
26045
|
+
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
26046
|
+
'x-fern-sdk-method-name': 'delete',
|
|
26047
|
+
'x-response-key': null,
|
|
26048
|
+
'x-title': 'Delete Location',
|
|
26049
|
+
'x-undocumented': 'Experimental locations.',
|
|
26050
|
+
},
|
|
26051
|
+
},
|
|
26052
|
+
'/unstable_locations/get': {
|
|
26053
|
+
post: {
|
|
26054
|
+
description: 'Get a location.',
|
|
26055
|
+
operationId: 'unstableLocationsGetPost',
|
|
26056
|
+
requestBody: {
|
|
26057
|
+
content: {
|
|
26058
|
+
'application/json': {
|
|
26059
|
+
schema: {
|
|
26060
|
+
properties: { location_id: { format: 'uuid', type: 'string' } },
|
|
26061
|
+
required: ['location_id'],
|
|
26062
|
+
type: 'object',
|
|
26063
|
+
},
|
|
26064
|
+
},
|
|
26065
|
+
},
|
|
26066
|
+
},
|
|
26067
|
+
responses: {
|
|
26068
|
+
200: {
|
|
26069
|
+
content: {
|
|
26070
|
+
'application/json': {
|
|
26071
|
+
schema: {
|
|
26072
|
+
properties: {
|
|
26073
|
+
location: {
|
|
26074
|
+
properties: {
|
|
26075
|
+
created_at: {
|
|
26076
|
+
description: 'Date and time at which the location object was created.',
|
|
26077
|
+
format: 'date-time',
|
|
26078
|
+
type: 'string',
|
|
26079
|
+
},
|
|
26080
|
+
display_name: {
|
|
26081
|
+
description: 'Display name of the location.',
|
|
26082
|
+
type: 'string',
|
|
26083
|
+
},
|
|
26084
|
+
geolocation: {
|
|
26085
|
+
description: 'Geographical location of the location.',
|
|
26086
|
+
properties: {
|
|
26087
|
+
latitude: { format: 'float', type: 'number' },
|
|
26088
|
+
longitude: { format: 'float', type: 'number' },
|
|
26089
|
+
},
|
|
26090
|
+
required: ['latitude', 'longitude'],
|
|
26091
|
+
type: 'object',
|
|
26092
|
+
},
|
|
26093
|
+
location_id: {
|
|
26094
|
+
description: 'Unique identifier for the location.',
|
|
26095
|
+
format: 'uuid',
|
|
26096
|
+
type: 'string',
|
|
26097
|
+
},
|
|
26098
|
+
time_zone: {
|
|
26099
|
+
description: 'Time zone of the location.',
|
|
26100
|
+
type: 'string',
|
|
26101
|
+
},
|
|
26102
|
+
workspace_id: {
|
|
26103
|
+
description: 'Unique identifier for the Seam workspace associated with the location.',
|
|
26104
|
+
format: 'uuid',
|
|
26105
|
+
type: 'string',
|
|
26106
|
+
},
|
|
26107
|
+
},
|
|
26108
|
+
required: [
|
|
26109
|
+
'location_id',
|
|
26110
|
+
'workspace_id',
|
|
26111
|
+
'display_name',
|
|
26112
|
+
'created_at',
|
|
26113
|
+
],
|
|
26114
|
+
type: 'object',
|
|
26115
|
+
},
|
|
26116
|
+
ok: { type: 'boolean' },
|
|
26117
|
+
},
|
|
26118
|
+
required: ['location', 'ok'],
|
|
26119
|
+
type: 'object',
|
|
26120
|
+
},
|
|
26121
|
+
},
|
|
26122
|
+
},
|
|
26123
|
+
description: 'OK',
|
|
26124
|
+
},
|
|
26125
|
+
400: { description: 'Bad Request' },
|
|
26126
|
+
401: { description: 'Unauthorized' },
|
|
26127
|
+
},
|
|
26128
|
+
security: [
|
|
26129
|
+
{ pat_with_workspace: [] },
|
|
26130
|
+
{ console_session_with_workspace: [] },
|
|
26131
|
+
{ api_key: [] },
|
|
26132
|
+
],
|
|
26133
|
+
summary: '/unstable_locations/get',
|
|
26134
|
+
tags: [],
|
|
26135
|
+
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
26136
|
+
'x-fern-sdk-method-name': 'get',
|
|
26137
|
+
'x-fern-sdk-return-value': 'location',
|
|
26138
|
+
'x-response-key': 'location',
|
|
26139
|
+
'x-title': 'Get Location',
|
|
26140
|
+
'x-undocumented': 'Experimental locations.',
|
|
26141
|
+
},
|
|
26142
|
+
},
|
|
26143
|
+
'/unstable_locations/list': {
|
|
26144
|
+
get: {
|
|
26145
|
+
description: 'Returns a list of all locations.',
|
|
26146
|
+
operationId: 'unstableLocationsListGet',
|
|
26147
|
+
responses: {
|
|
26148
|
+
200: {
|
|
26149
|
+
content: {
|
|
26150
|
+
'application/json': {
|
|
26151
|
+
schema: {
|
|
26152
|
+
properties: {
|
|
26153
|
+
locations: {
|
|
26154
|
+
items: {
|
|
26155
|
+
properties: {
|
|
26156
|
+
created_at: {
|
|
26157
|
+
description: 'Date and time at which the location object was created.',
|
|
26158
|
+
format: 'date-time',
|
|
26159
|
+
type: 'string',
|
|
26160
|
+
},
|
|
26161
|
+
display_name: {
|
|
26162
|
+
description: 'Display name of the location.',
|
|
26163
|
+
type: 'string',
|
|
26164
|
+
},
|
|
26165
|
+
geolocation: {
|
|
26166
|
+
description: 'Geographical location of the location.',
|
|
26167
|
+
properties: {
|
|
26168
|
+
latitude: { format: 'float', type: 'number' },
|
|
26169
|
+
longitude: { format: 'float', type: 'number' },
|
|
26170
|
+
},
|
|
26171
|
+
required: ['latitude', 'longitude'],
|
|
26172
|
+
type: 'object',
|
|
26173
|
+
},
|
|
26174
|
+
location_id: {
|
|
26175
|
+
description: 'Unique identifier for the location.',
|
|
26176
|
+
format: 'uuid',
|
|
26177
|
+
type: 'string',
|
|
26178
|
+
},
|
|
26179
|
+
time_zone: {
|
|
26180
|
+
description: 'Time zone of the location.',
|
|
26181
|
+
type: 'string',
|
|
26182
|
+
},
|
|
26183
|
+
workspace_id: {
|
|
26184
|
+
description: 'Unique identifier for the Seam workspace associated with the location.',
|
|
26185
|
+
format: 'uuid',
|
|
26186
|
+
type: 'string',
|
|
26187
|
+
},
|
|
26188
|
+
},
|
|
26189
|
+
required: [
|
|
26190
|
+
'location_id',
|
|
26191
|
+
'workspace_id',
|
|
26192
|
+
'display_name',
|
|
26193
|
+
'created_at',
|
|
26194
|
+
],
|
|
26195
|
+
type: 'object',
|
|
26196
|
+
},
|
|
26197
|
+
type: 'array',
|
|
26198
|
+
},
|
|
26199
|
+
ok: { type: 'boolean' },
|
|
26200
|
+
},
|
|
26201
|
+
required: ['locations', 'ok'],
|
|
26202
|
+
type: 'object',
|
|
26203
|
+
},
|
|
26204
|
+
},
|
|
26205
|
+
},
|
|
26206
|
+
description: 'OK',
|
|
26207
|
+
},
|
|
26208
|
+
400: { description: 'Bad Request' },
|
|
26209
|
+
401: { description: 'Unauthorized' },
|
|
26210
|
+
},
|
|
26211
|
+
security: [
|
|
26212
|
+
{ pat_with_workspace: [] },
|
|
26213
|
+
{ console_session_with_workspace: [] },
|
|
26214
|
+
{ api_key: [] },
|
|
26215
|
+
],
|
|
26216
|
+
summary: '/unstable_locations/list',
|
|
26217
|
+
tags: [],
|
|
26218
|
+
'x-fern-ignore': true,
|
|
26219
|
+
'x-response-key': 'locations',
|
|
26220
|
+
'x-title': 'List Locations',
|
|
26221
|
+
'x-undocumented': 'Experimental locations.',
|
|
26222
|
+
},
|
|
26223
|
+
post: {
|
|
26224
|
+
description: 'Returns a list of all locations.',
|
|
26225
|
+
operationId: 'unstableLocationsListPost',
|
|
26226
|
+
responses: {
|
|
26227
|
+
200: {
|
|
26228
|
+
content: {
|
|
26229
|
+
'application/json': {
|
|
26230
|
+
schema: {
|
|
26231
|
+
properties: {
|
|
26232
|
+
locations: {
|
|
26233
|
+
items: {
|
|
26234
|
+
properties: {
|
|
26235
|
+
created_at: {
|
|
26236
|
+
description: 'Date and time at which the location object was created.',
|
|
26237
|
+
format: 'date-time',
|
|
26238
|
+
type: 'string',
|
|
26239
|
+
},
|
|
26240
|
+
display_name: {
|
|
26241
|
+
description: 'Display name of the location.',
|
|
26242
|
+
type: 'string',
|
|
26243
|
+
},
|
|
26244
|
+
geolocation: {
|
|
26245
|
+
description: 'Geographical location of the location.',
|
|
26246
|
+
properties: {
|
|
26247
|
+
latitude: { format: 'float', type: 'number' },
|
|
26248
|
+
longitude: { format: 'float', type: 'number' },
|
|
26249
|
+
},
|
|
26250
|
+
required: ['latitude', 'longitude'],
|
|
26251
|
+
type: 'object',
|
|
26252
|
+
},
|
|
26253
|
+
location_id: {
|
|
26254
|
+
description: 'Unique identifier for the location.',
|
|
26255
|
+
format: 'uuid',
|
|
26256
|
+
type: 'string',
|
|
26257
|
+
},
|
|
26258
|
+
time_zone: {
|
|
26259
|
+
description: 'Time zone of the location.',
|
|
26260
|
+
type: 'string',
|
|
26261
|
+
},
|
|
26262
|
+
workspace_id: {
|
|
26263
|
+
description: 'Unique identifier for the Seam workspace associated with the location.',
|
|
26264
|
+
format: 'uuid',
|
|
26265
|
+
type: 'string',
|
|
26266
|
+
},
|
|
26267
|
+
},
|
|
26268
|
+
required: [
|
|
26269
|
+
'location_id',
|
|
26270
|
+
'workspace_id',
|
|
26271
|
+
'display_name',
|
|
26272
|
+
'created_at',
|
|
26273
|
+
],
|
|
26274
|
+
type: 'object',
|
|
26275
|
+
},
|
|
26276
|
+
type: 'array',
|
|
26277
|
+
},
|
|
26278
|
+
ok: { type: 'boolean' },
|
|
26279
|
+
},
|
|
26280
|
+
required: ['locations', 'ok'],
|
|
26281
|
+
type: 'object',
|
|
26282
|
+
},
|
|
26283
|
+
},
|
|
26284
|
+
},
|
|
26285
|
+
description: 'OK',
|
|
26286
|
+
},
|
|
26287
|
+
400: { description: 'Bad Request' },
|
|
26288
|
+
401: { description: 'Unauthorized' },
|
|
26289
|
+
},
|
|
26290
|
+
security: [
|
|
26291
|
+
{ pat_with_workspace: [] },
|
|
26292
|
+
{ console_session_with_workspace: [] },
|
|
26293
|
+
{ api_key: [] },
|
|
26294
|
+
],
|
|
26295
|
+
summary: '/unstable_locations/list',
|
|
26296
|
+
tags: [],
|
|
26297
|
+
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
26298
|
+
'x-fern-sdk-method-name': 'list',
|
|
26299
|
+
'x-fern-sdk-return-value': 'locations',
|
|
26300
|
+
'x-response-key': 'locations',
|
|
26301
|
+
'x-title': 'List Locations',
|
|
26302
|
+
'x-undocumented': 'Experimental locations.',
|
|
26303
|
+
},
|
|
26304
|
+
},
|
|
26305
|
+
'/unstable_locations/remove_devices': {
|
|
26306
|
+
post: {
|
|
26307
|
+
description: 'Remove devices from a specific location.',
|
|
26308
|
+
operationId: 'unstableLocationsRemoveDevicesPost',
|
|
26309
|
+
requestBody: {
|
|
26310
|
+
content: {
|
|
26311
|
+
'application/json': {
|
|
26312
|
+
schema: {
|
|
26313
|
+
properties: {
|
|
26314
|
+
device_ids: {
|
|
26315
|
+
items: { format: 'uuid', type: 'string' },
|
|
26316
|
+
type: 'array',
|
|
26317
|
+
},
|
|
26318
|
+
location_id: { format: 'uuid', type: 'string' },
|
|
26319
|
+
},
|
|
26320
|
+
required: ['location_id', 'device_ids'],
|
|
26321
|
+
type: 'object',
|
|
26322
|
+
},
|
|
26323
|
+
},
|
|
26324
|
+
},
|
|
26325
|
+
},
|
|
26326
|
+
responses: {
|
|
26327
|
+
200: {
|
|
26328
|
+
content: {
|
|
26329
|
+
'application/json': {
|
|
26330
|
+
schema: {
|
|
26331
|
+
properties: { ok: { type: 'boolean' } },
|
|
26332
|
+
required: ['ok'],
|
|
26333
|
+
type: 'object',
|
|
26334
|
+
},
|
|
26335
|
+
},
|
|
26336
|
+
},
|
|
26337
|
+
description: 'OK',
|
|
26338
|
+
},
|
|
26339
|
+
400: { description: 'Bad Request' },
|
|
26340
|
+
401: { description: 'Unauthorized' },
|
|
26341
|
+
},
|
|
26342
|
+
security: [
|
|
26343
|
+
{ pat_with_workspace: [] },
|
|
26344
|
+
{ console_session_with_workspace: [] },
|
|
26345
|
+
{ api_key: [] },
|
|
26346
|
+
],
|
|
26347
|
+
summary: '/unstable_locations/remove_devices',
|
|
26348
|
+
tags: [],
|
|
26349
|
+
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
26350
|
+
'x-fern-sdk-method-name': 'remove_devices',
|
|
26351
|
+
'x-response-key': null,
|
|
26352
|
+
'x-title': 'Remove Location Devices',
|
|
26353
|
+
'x-undocumented': 'Experimental locations.',
|
|
26354
|
+
},
|
|
26355
|
+
},
|
|
26356
|
+
'/unstable_locations/update': {
|
|
26357
|
+
post: {
|
|
26358
|
+
description: 'Update an existing location.',
|
|
26359
|
+
operationId: 'unstableLocationsUpdatePost',
|
|
26360
|
+
requestBody: {
|
|
26361
|
+
content: {
|
|
26362
|
+
'application/json': {
|
|
26363
|
+
schema: {
|
|
26364
|
+
properties: {
|
|
26365
|
+
geolocation: {
|
|
26366
|
+
properties: {
|
|
26367
|
+
latitude: { format: 'float', type: 'number' },
|
|
26368
|
+
longitude: { format: 'float', type: 'number' },
|
|
26369
|
+
},
|
|
26370
|
+
required: ['latitude', 'longitude'],
|
|
26371
|
+
type: 'object',
|
|
26372
|
+
},
|
|
26373
|
+
location_id: { format: 'uuid', type: 'string' },
|
|
26374
|
+
name: { type: 'string' },
|
|
26375
|
+
time_zone: { type: 'string' },
|
|
26376
|
+
},
|
|
26377
|
+
required: ['location_id'],
|
|
26378
|
+
type: 'object',
|
|
26379
|
+
},
|
|
26380
|
+
},
|
|
26381
|
+
},
|
|
26382
|
+
},
|
|
26383
|
+
responses: {
|
|
26384
|
+
200: {
|
|
26385
|
+
content: {
|
|
26386
|
+
'application/json': {
|
|
26387
|
+
schema: {
|
|
26388
|
+
properties: {
|
|
26389
|
+
location: {
|
|
26390
|
+
properties: {
|
|
26391
|
+
created_at: {
|
|
26392
|
+
description: 'Date and time at which the location object was created.',
|
|
26393
|
+
format: 'date-time',
|
|
26394
|
+
type: 'string',
|
|
26395
|
+
},
|
|
26396
|
+
display_name: {
|
|
26397
|
+
description: 'Display name of the location.',
|
|
26398
|
+
type: 'string',
|
|
26399
|
+
},
|
|
26400
|
+
geolocation: {
|
|
26401
|
+
description: 'Geographical location of the location.',
|
|
26402
|
+
properties: {
|
|
26403
|
+
latitude: { format: 'float', type: 'number' },
|
|
26404
|
+
longitude: { format: 'float', type: 'number' },
|
|
26405
|
+
},
|
|
26406
|
+
required: ['latitude', 'longitude'],
|
|
26407
|
+
type: 'object',
|
|
26408
|
+
},
|
|
26409
|
+
location_id: {
|
|
26410
|
+
description: 'Unique identifier for the location.',
|
|
26411
|
+
format: 'uuid',
|
|
26412
|
+
type: 'string',
|
|
26413
|
+
},
|
|
26414
|
+
time_zone: {
|
|
26415
|
+
description: 'Time zone of the location.',
|
|
26416
|
+
type: 'string',
|
|
26417
|
+
},
|
|
26418
|
+
workspace_id: {
|
|
26419
|
+
description: 'Unique identifier for the Seam workspace associated with the location.',
|
|
26420
|
+
format: 'uuid',
|
|
26421
|
+
type: 'string',
|
|
26422
|
+
},
|
|
26423
|
+
},
|
|
26424
|
+
required: [
|
|
26425
|
+
'location_id',
|
|
26426
|
+
'workspace_id',
|
|
26427
|
+
'display_name',
|
|
26428
|
+
'created_at',
|
|
26429
|
+
],
|
|
26430
|
+
type: 'object',
|
|
26431
|
+
},
|
|
26432
|
+
ok: { type: 'boolean' },
|
|
26433
|
+
},
|
|
26434
|
+
required: ['location', 'ok'],
|
|
26435
|
+
type: 'object',
|
|
26436
|
+
},
|
|
26437
|
+
},
|
|
26438
|
+
},
|
|
26439
|
+
description: 'OK',
|
|
26440
|
+
},
|
|
26441
|
+
400: { description: 'Bad Request' },
|
|
26442
|
+
401: { description: 'Unauthorized' },
|
|
26443
|
+
},
|
|
26444
|
+
security: [
|
|
26445
|
+
{ pat_with_workspace: [] },
|
|
26446
|
+
{ console_session_with_workspace: [] },
|
|
26447
|
+
{ api_key: [] },
|
|
26448
|
+
],
|
|
26449
|
+
summary: '/unstable_locations/update',
|
|
26450
|
+
tags: [],
|
|
26451
|
+
'x-fern-sdk-group-name': ['unstable_locations'],
|
|
26452
|
+
'x-fern-sdk-method-name': 'update',
|
|
26453
|
+
'x-fern-sdk-return-value': 'location',
|
|
26454
|
+
'x-response-key': 'location',
|
|
26455
|
+
'x-title': 'Update Location',
|
|
26456
|
+
'x-undocumented': 'Experimental locations.',
|
|
26457
|
+
},
|
|
26458
|
+
},
|
|
25824
26459
|
'/user_identities/add_acs_user': {
|
|
25825
26460
|
post: {
|
|
25826
26461
|
description: 'Adds a specified [ACS 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-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).',
|