@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
package/dist/connect.cjs
CHANGED
|
@@ -2128,7 +2128,7 @@ var acs_system_capability_flags = zod.z.object({
|
|
|
2128
2128
|
"Indicates whether the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) supports [adding users to access groups](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups#add-an-acs-user-to-an-access-group). See also [Access Group-based Access Control Systems](https://docs.seam.co/latest/capability-guides/access-systems/understanding-access-control-system-differences#access-group-based-access-control-systems)."
|
|
2129
2129
|
)
|
|
2130
2130
|
});
|
|
2131
|
-
var
|
|
2131
|
+
var acs_location = zod.z.object({
|
|
2132
2132
|
time_zone: zod.z.string().nullable().describe(
|
|
2133
2133
|
"Time zone in which the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) is located."
|
|
2134
2134
|
)
|
|
@@ -2268,7 +2268,7 @@ var acs_system = zod.z.object({
|
|
|
2268
2268
|
deprecated: Use \`external_type_display_name\`.
|
|
2269
2269
|
---
|
|
2270
2270
|
`),
|
|
2271
|
-
location,
|
|
2271
|
+
location: acs_location,
|
|
2272
2272
|
name: zod.z.string().describe(
|
|
2273
2273
|
"Name of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems)."
|
|
2274
2274
|
),
|
|
@@ -24797,6 +24797,12 @@ var openapi_default = {
|
|
|
24797
24797
|
],
|
|
24798
24798
|
type: "string"
|
|
24799
24799
|
},
|
|
24800
|
+
unstable_location_id: {
|
|
24801
|
+
format: "uuid",
|
|
24802
|
+
nullable: true,
|
|
24803
|
+
type: "string",
|
|
24804
|
+
"x-undocumented": "Experimental locations."
|
|
24805
|
+
},
|
|
24800
24806
|
user_identifier_key: {
|
|
24801
24807
|
description: "Your own internal user ID for the user by which to filter devices.",
|
|
24802
24808
|
type: "string"
|
|
@@ -25320,6 +25326,12 @@ var openapi_default = {
|
|
|
25320
25326
|
],
|
|
25321
25327
|
type: "string"
|
|
25322
25328
|
},
|
|
25329
|
+
unstable_location_id: {
|
|
25330
|
+
format: "uuid",
|
|
25331
|
+
nullable: true,
|
|
25332
|
+
type: "string",
|
|
25333
|
+
"x-undocumented": "Experimental locations."
|
|
25334
|
+
},
|
|
25323
25335
|
user_identifier_key: {
|
|
25324
25336
|
description: "Your own internal user ID for the user by which to filter devices.",
|
|
25325
25337
|
type: "string"
|
|
@@ -26168,6 +26180,12 @@ var openapi_default = {
|
|
|
26168
26180
|
],
|
|
26169
26181
|
type: "string"
|
|
26170
26182
|
},
|
|
26183
|
+
unstable_location_id: {
|
|
26184
|
+
format: "uuid",
|
|
26185
|
+
nullable: true,
|
|
26186
|
+
type: "string",
|
|
26187
|
+
"x-undocumented": "Experimental locations."
|
|
26188
|
+
},
|
|
26171
26189
|
user_identifier_key: {
|
|
26172
26190
|
description: "Your own internal user ID for the user by which to filter devices.",
|
|
26173
26191
|
type: "string"
|
|
@@ -26654,6 +26672,12 @@ var openapi_default = {
|
|
|
26654
26672
|
],
|
|
26655
26673
|
type: "string"
|
|
26656
26674
|
},
|
|
26675
|
+
unstable_location_id: {
|
|
26676
|
+
format: "uuid",
|
|
26677
|
+
nullable: true,
|
|
26678
|
+
type: "string",
|
|
26679
|
+
"x-undocumented": "Experimental locations."
|
|
26680
|
+
},
|
|
26657
26681
|
user_identifier_key: {
|
|
26658
26682
|
description: "Your own internal user ID for the user by which to filter devices.",
|
|
26659
26683
|
type: "string"
|
|
@@ -28484,6 +28508,12 @@ var openapi_default = {
|
|
|
28484
28508
|
],
|
|
28485
28509
|
type: "string"
|
|
28486
28510
|
},
|
|
28511
|
+
unstable_location_id: {
|
|
28512
|
+
format: "uuid",
|
|
28513
|
+
nullable: true,
|
|
28514
|
+
type: "string",
|
|
28515
|
+
"x-undocumented": "Experimental locations."
|
|
28516
|
+
},
|
|
28487
28517
|
user_identifier_key: {
|
|
28488
28518
|
description: "Your own internal user ID for the user by which to filter devices.",
|
|
28489
28519
|
type: "string"
|
|
@@ -29832,6 +29862,611 @@ var openapi_default = {
|
|
|
29832
29862
|
"x-title": "Update a Climate Preset"
|
|
29833
29863
|
}
|
|
29834
29864
|
},
|
|
29865
|
+
"/unstable_locations/add_devices": {
|
|
29866
|
+
post: {
|
|
29867
|
+
description: "Add devices to a specific location. If a device already belongs to a location it will be moved.",
|
|
29868
|
+
operationId: "unstableLocationsAddDevicesPost",
|
|
29869
|
+
requestBody: {
|
|
29870
|
+
content: {
|
|
29871
|
+
"application/json": {
|
|
29872
|
+
schema: {
|
|
29873
|
+
properties: {
|
|
29874
|
+
device_ids: {
|
|
29875
|
+
items: { format: "uuid", type: "string" },
|
|
29876
|
+
type: "array"
|
|
29877
|
+
},
|
|
29878
|
+
location_id: { format: "uuid", type: "string" }
|
|
29879
|
+
},
|
|
29880
|
+
required: ["location_id", "device_ids"],
|
|
29881
|
+
type: "object"
|
|
29882
|
+
}
|
|
29883
|
+
}
|
|
29884
|
+
}
|
|
29885
|
+
},
|
|
29886
|
+
responses: {
|
|
29887
|
+
200: {
|
|
29888
|
+
content: {
|
|
29889
|
+
"application/json": {
|
|
29890
|
+
schema: {
|
|
29891
|
+
properties: { ok: { type: "boolean" } },
|
|
29892
|
+
required: ["ok"],
|
|
29893
|
+
type: "object"
|
|
29894
|
+
}
|
|
29895
|
+
}
|
|
29896
|
+
},
|
|
29897
|
+
description: "OK"
|
|
29898
|
+
},
|
|
29899
|
+
400: { description: "Bad Request" },
|
|
29900
|
+
401: { description: "Unauthorized" }
|
|
29901
|
+
},
|
|
29902
|
+
security: [
|
|
29903
|
+
{ pat_with_workspace: [] },
|
|
29904
|
+
{ console_session_with_workspace: [] },
|
|
29905
|
+
{ api_key: [] }
|
|
29906
|
+
],
|
|
29907
|
+
summary: "/unstable_locations/add_devices",
|
|
29908
|
+
tags: [],
|
|
29909
|
+
"x-fern-sdk-group-name": ["unstable_locations"],
|
|
29910
|
+
"x-fern-sdk-method-name": "add_devices",
|
|
29911
|
+
"x-response-key": null,
|
|
29912
|
+
"x-title": "Add Location Devices",
|
|
29913
|
+
"x-undocumented": "Experimental locations."
|
|
29914
|
+
}
|
|
29915
|
+
},
|
|
29916
|
+
"/unstable_locations/create": {
|
|
29917
|
+
post: {
|
|
29918
|
+
description: "Create a new location.",
|
|
29919
|
+
operationId: "unstableLocationsCreatePost",
|
|
29920
|
+
requestBody: {
|
|
29921
|
+
content: {
|
|
29922
|
+
"application/json": {
|
|
29923
|
+
schema: {
|
|
29924
|
+
properties: {
|
|
29925
|
+
geolocation: {
|
|
29926
|
+
properties: {
|
|
29927
|
+
latitude: { format: "float", type: "number" },
|
|
29928
|
+
longitude: { format: "float", type: "number" }
|
|
29929
|
+
},
|
|
29930
|
+
required: ["latitude", "longitude"],
|
|
29931
|
+
type: "object"
|
|
29932
|
+
},
|
|
29933
|
+
name: { type: "string" },
|
|
29934
|
+
time_zone: { type: "string" }
|
|
29935
|
+
},
|
|
29936
|
+
required: ["name"],
|
|
29937
|
+
type: "object"
|
|
29938
|
+
}
|
|
29939
|
+
}
|
|
29940
|
+
}
|
|
29941
|
+
},
|
|
29942
|
+
responses: {
|
|
29943
|
+
200: {
|
|
29944
|
+
content: {
|
|
29945
|
+
"application/json": {
|
|
29946
|
+
schema: {
|
|
29947
|
+
properties: {
|
|
29948
|
+
location: {
|
|
29949
|
+
properties: {
|
|
29950
|
+
created_at: {
|
|
29951
|
+
description: "Date and time at which the location object was created.",
|
|
29952
|
+
format: "date-time",
|
|
29953
|
+
type: "string"
|
|
29954
|
+
},
|
|
29955
|
+
display_name: {
|
|
29956
|
+
description: "Display name of the location.",
|
|
29957
|
+
type: "string"
|
|
29958
|
+
},
|
|
29959
|
+
geolocation: {
|
|
29960
|
+
description: "Geographical location of the location.",
|
|
29961
|
+
properties: {
|
|
29962
|
+
latitude: { format: "float", type: "number" },
|
|
29963
|
+
longitude: { format: "float", type: "number" }
|
|
29964
|
+
},
|
|
29965
|
+
required: ["latitude", "longitude"],
|
|
29966
|
+
type: "object"
|
|
29967
|
+
},
|
|
29968
|
+
location_id: {
|
|
29969
|
+
description: "Unique identifier for the location.",
|
|
29970
|
+
format: "uuid",
|
|
29971
|
+
type: "string"
|
|
29972
|
+
},
|
|
29973
|
+
time_zone: {
|
|
29974
|
+
description: "Time zone of the location.",
|
|
29975
|
+
type: "string"
|
|
29976
|
+
},
|
|
29977
|
+
workspace_id: {
|
|
29978
|
+
description: "Unique identifier for the Seam workspace associated with the location.",
|
|
29979
|
+
format: "uuid",
|
|
29980
|
+
type: "string"
|
|
29981
|
+
}
|
|
29982
|
+
},
|
|
29983
|
+
required: [
|
|
29984
|
+
"location_id",
|
|
29985
|
+
"workspace_id",
|
|
29986
|
+
"display_name",
|
|
29987
|
+
"created_at"
|
|
29988
|
+
],
|
|
29989
|
+
type: "object"
|
|
29990
|
+
},
|
|
29991
|
+
ok: { type: "boolean" }
|
|
29992
|
+
},
|
|
29993
|
+
required: ["location", "ok"],
|
|
29994
|
+
type: "object"
|
|
29995
|
+
}
|
|
29996
|
+
}
|
|
29997
|
+
},
|
|
29998
|
+
description: "OK"
|
|
29999
|
+
},
|
|
30000
|
+
400: { description: "Bad Request" },
|
|
30001
|
+
401: { description: "Unauthorized" }
|
|
30002
|
+
},
|
|
30003
|
+
security: [
|
|
30004
|
+
{ pat_with_workspace: [] },
|
|
30005
|
+
{ console_session_with_workspace: [] },
|
|
30006
|
+
{ api_key: [] }
|
|
30007
|
+
],
|
|
30008
|
+
summary: "/unstable_locations/create",
|
|
30009
|
+
tags: [],
|
|
30010
|
+
"x-fern-sdk-group-name": ["unstable_locations"],
|
|
30011
|
+
"x-fern-sdk-method-name": "create",
|
|
30012
|
+
"x-fern-sdk-return-value": "location",
|
|
30013
|
+
"x-response-key": "location",
|
|
30014
|
+
"x-title": "Create Location",
|
|
30015
|
+
"x-undocumented": "Experimental locations."
|
|
30016
|
+
}
|
|
30017
|
+
},
|
|
30018
|
+
"/unstable_locations/delete": {
|
|
30019
|
+
post: {
|
|
30020
|
+
description: "Delete a location.",
|
|
30021
|
+
operationId: "unstableLocationsDeletePost",
|
|
30022
|
+
requestBody: {
|
|
30023
|
+
content: {
|
|
30024
|
+
"application/json": {
|
|
30025
|
+
schema: {
|
|
30026
|
+
properties: { location_id: { format: "uuid", type: "string" } },
|
|
30027
|
+
required: ["location_id"],
|
|
30028
|
+
type: "object"
|
|
30029
|
+
}
|
|
30030
|
+
}
|
|
30031
|
+
}
|
|
30032
|
+
},
|
|
30033
|
+
responses: {
|
|
30034
|
+
200: {
|
|
30035
|
+
content: {
|
|
30036
|
+
"application/json": {
|
|
30037
|
+
schema: {
|
|
30038
|
+
properties: { ok: { type: "boolean" } },
|
|
30039
|
+
required: ["ok"],
|
|
30040
|
+
type: "object"
|
|
30041
|
+
}
|
|
30042
|
+
}
|
|
30043
|
+
},
|
|
30044
|
+
description: "OK"
|
|
30045
|
+
},
|
|
30046
|
+
400: { description: "Bad Request" },
|
|
30047
|
+
401: { description: "Unauthorized" }
|
|
30048
|
+
},
|
|
30049
|
+
security: [
|
|
30050
|
+
{ pat_with_workspace: [] },
|
|
30051
|
+
{ console_session_with_workspace: [] },
|
|
30052
|
+
{ api_key: [] }
|
|
30053
|
+
],
|
|
30054
|
+
summary: "/unstable_locations/delete",
|
|
30055
|
+
tags: [],
|
|
30056
|
+
"x-fern-sdk-group-name": ["unstable_locations"],
|
|
30057
|
+
"x-fern-sdk-method-name": "delete",
|
|
30058
|
+
"x-response-key": null,
|
|
30059
|
+
"x-title": "Delete Location",
|
|
30060
|
+
"x-undocumented": "Experimental locations."
|
|
30061
|
+
}
|
|
30062
|
+
},
|
|
30063
|
+
"/unstable_locations/get": {
|
|
30064
|
+
post: {
|
|
30065
|
+
description: "Get a location.",
|
|
30066
|
+
operationId: "unstableLocationsGetPost",
|
|
30067
|
+
requestBody: {
|
|
30068
|
+
content: {
|
|
30069
|
+
"application/json": {
|
|
30070
|
+
schema: {
|
|
30071
|
+
properties: { location_id: { format: "uuid", type: "string" } },
|
|
30072
|
+
required: ["location_id"],
|
|
30073
|
+
type: "object"
|
|
30074
|
+
}
|
|
30075
|
+
}
|
|
30076
|
+
}
|
|
30077
|
+
},
|
|
30078
|
+
responses: {
|
|
30079
|
+
200: {
|
|
30080
|
+
content: {
|
|
30081
|
+
"application/json": {
|
|
30082
|
+
schema: {
|
|
30083
|
+
properties: {
|
|
30084
|
+
location: {
|
|
30085
|
+
properties: {
|
|
30086
|
+
created_at: {
|
|
30087
|
+
description: "Date and time at which the location object was created.",
|
|
30088
|
+
format: "date-time",
|
|
30089
|
+
type: "string"
|
|
30090
|
+
},
|
|
30091
|
+
display_name: {
|
|
30092
|
+
description: "Display name of the location.",
|
|
30093
|
+
type: "string"
|
|
30094
|
+
},
|
|
30095
|
+
geolocation: {
|
|
30096
|
+
description: "Geographical location of the location.",
|
|
30097
|
+
properties: {
|
|
30098
|
+
latitude: { format: "float", type: "number" },
|
|
30099
|
+
longitude: { format: "float", type: "number" }
|
|
30100
|
+
},
|
|
30101
|
+
required: ["latitude", "longitude"],
|
|
30102
|
+
type: "object"
|
|
30103
|
+
},
|
|
30104
|
+
location_id: {
|
|
30105
|
+
description: "Unique identifier for the location.",
|
|
30106
|
+
format: "uuid",
|
|
30107
|
+
type: "string"
|
|
30108
|
+
},
|
|
30109
|
+
time_zone: {
|
|
30110
|
+
description: "Time zone of the location.",
|
|
30111
|
+
type: "string"
|
|
30112
|
+
},
|
|
30113
|
+
workspace_id: {
|
|
30114
|
+
description: "Unique identifier for the Seam workspace associated with the location.",
|
|
30115
|
+
format: "uuid",
|
|
30116
|
+
type: "string"
|
|
30117
|
+
}
|
|
30118
|
+
},
|
|
30119
|
+
required: [
|
|
30120
|
+
"location_id",
|
|
30121
|
+
"workspace_id",
|
|
30122
|
+
"display_name",
|
|
30123
|
+
"created_at"
|
|
30124
|
+
],
|
|
30125
|
+
type: "object"
|
|
30126
|
+
},
|
|
30127
|
+
ok: { type: "boolean" }
|
|
30128
|
+
},
|
|
30129
|
+
required: ["location", "ok"],
|
|
30130
|
+
type: "object"
|
|
30131
|
+
}
|
|
30132
|
+
}
|
|
30133
|
+
},
|
|
30134
|
+
description: "OK"
|
|
30135
|
+
},
|
|
30136
|
+
400: { description: "Bad Request" },
|
|
30137
|
+
401: { description: "Unauthorized" }
|
|
30138
|
+
},
|
|
30139
|
+
security: [
|
|
30140
|
+
{ pat_with_workspace: [] },
|
|
30141
|
+
{ console_session_with_workspace: [] },
|
|
30142
|
+
{ api_key: [] }
|
|
30143
|
+
],
|
|
30144
|
+
summary: "/unstable_locations/get",
|
|
30145
|
+
tags: [],
|
|
30146
|
+
"x-fern-sdk-group-name": ["unstable_locations"],
|
|
30147
|
+
"x-fern-sdk-method-name": "get",
|
|
30148
|
+
"x-fern-sdk-return-value": "location",
|
|
30149
|
+
"x-response-key": "location",
|
|
30150
|
+
"x-title": "Get Location",
|
|
30151
|
+
"x-undocumented": "Experimental locations."
|
|
30152
|
+
}
|
|
30153
|
+
},
|
|
30154
|
+
"/unstable_locations/list": {
|
|
30155
|
+
get: {
|
|
30156
|
+
description: "Returns a list of all locations.",
|
|
30157
|
+
operationId: "unstableLocationsListGet",
|
|
30158
|
+
responses: {
|
|
30159
|
+
200: {
|
|
30160
|
+
content: {
|
|
30161
|
+
"application/json": {
|
|
30162
|
+
schema: {
|
|
30163
|
+
properties: {
|
|
30164
|
+
locations: {
|
|
30165
|
+
items: {
|
|
30166
|
+
properties: {
|
|
30167
|
+
created_at: {
|
|
30168
|
+
description: "Date and time at which the location object was created.",
|
|
30169
|
+
format: "date-time",
|
|
30170
|
+
type: "string"
|
|
30171
|
+
},
|
|
30172
|
+
display_name: {
|
|
30173
|
+
description: "Display name of the location.",
|
|
30174
|
+
type: "string"
|
|
30175
|
+
},
|
|
30176
|
+
geolocation: {
|
|
30177
|
+
description: "Geographical location of the location.",
|
|
30178
|
+
properties: {
|
|
30179
|
+
latitude: { format: "float", type: "number" },
|
|
30180
|
+
longitude: { format: "float", type: "number" }
|
|
30181
|
+
},
|
|
30182
|
+
required: ["latitude", "longitude"],
|
|
30183
|
+
type: "object"
|
|
30184
|
+
},
|
|
30185
|
+
location_id: {
|
|
30186
|
+
description: "Unique identifier for the location.",
|
|
30187
|
+
format: "uuid",
|
|
30188
|
+
type: "string"
|
|
30189
|
+
},
|
|
30190
|
+
time_zone: {
|
|
30191
|
+
description: "Time zone of the location.",
|
|
30192
|
+
type: "string"
|
|
30193
|
+
},
|
|
30194
|
+
workspace_id: {
|
|
30195
|
+
description: "Unique identifier for the Seam workspace associated with the location.",
|
|
30196
|
+
format: "uuid",
|
|
30197
|
+
type: "string"
|
|
30198
|
+
}
|
|
30199
|
+
},
|
|
30200
|
+
required: [
|
|
30201
|
+
"location_id",
|
|
30202
|
+
"workspace_id",
|
|
30203
|
+
"display_name",
|
|
30204
|
+
"created_at"
|
|
30205
|
+
],
|
|
30206
|
+
type: "object"
|
|
30207
|
+
},
|
|
30208
|
+
type: "array"
|
|
30209
|
+
},
|
|
30210
|
+
ok: { type: "boolean" }
|
|
30211
|
+
},
|
|
30212
|
+
required: ["locations", "ok"],
|
|
30213
|
+
type: "object"
|
|
30214
|
+
}
|
|
30215
|
+
}
|
|
30216
|
+
},
|
|
30217
|
+
description: "OK"
|
|
30218
|
+
},
|
|
30219
|
+
400: { description: "Bad Request" },
|
|
30220
|
+
401: { description: "Unauthorized" }
|
|
30221
|
+
},
|
|
30222
|
+
security: [
|
|
30223
|
+
{ pat_with_workspace: [] },
|
|
30224
|
+
{ console_session_with_workspace: [] },
|
|
30225
|
+
{ api_key: [] }
|
|
30226
|
+
],
|
|
30227
|
+
summary: "/unstable_locations/list",
|
|
30228
|
+
tags: [],
|
|
30229
|
+
"x-fern-ignore": true,
|
|
30230
|
+
"x-response-key": "locations",
|
|
30231
|
+
"x-title": "List Locations",
|
|
30232
|
+
"x-undocumented": "Experimental locations."
|
|
30233
|
+
},
|
|
30234
|
+
post: {
|
|
30235
|
+
description: "Returns a list of all locations.",
|
|
30236
|
+
operationId: "unstableLocationsListPost",
|
|
30237
|
+
responses: {
|
|
30238
|
+
200: {
|
|
30239
|
+
content: {
|
|
30240
|
+
"application/json": {
|
|
30241
|
+
schema: {
|
|
30242
|
+
properties: {
|
|
30243
|
+
locations: {
|
|
30244
|
+
items: {
|
|
30245
|
+
properties: {
|
|
30246
|
+
created_at: {
|
|
30247
|
+
description: "Date and time at which the location object was created.",
|
|
30248
|
+
format: "date-time",
|
|
30249
|
+
type: "string"
|
|
30250
|
+
},
|
|
30251
|
+
display_name: {
|
|
30252
|
+
description: "Display name of the location.",
|
|
30253
|
+
type: "string"
|
|
30254
|
+
},
|
|
30255
|
+
geolocation: {
|
|
30256
|
+
description: "Geographical location of the location.",
|
|
30257
|
+
properties: {
|
|
30258
|
+
latitude: { format: "float", type: "number" },
|
|
30259
|
+
longitude: { format: "float", type: "number" }
|
|
30260
|
+
},
|
|
30261
|
+
required: ["latitude", "longitude"],
|
|
30262
|
+
type: "object"
|
|
30263
|
+
},
|
|
30264
|
+
location_id: {
|
|
30265
|
+
description: "Unique identifier for the location.",
|
|
30266
|
+
format: "uuid",
|
|
30267
|
+
type: "string"
|
|
30268
|
+
},
|
|
30269
|
+
time_zone: {
|
|
30270
|
+
description: "Time zone of the location.",
|
|
30271
|
+
type: "string"
|
|
30272
|
+
},
|
|
30273
|
+
workspace_id: {
|
|
30274
|
+
description: "Unique identifier for the Seam workspace associated with the location.",
|
|
30275
|
+
format: "uuid",
|
|
30276
|
+
type: "string"
|
|
30277
|
+
}
|
|
30278
|
+
},
|
|
30279
|
+
required: [
|
|
30280
|
+
"location_id",
|
|
30281
|
+
"workspace_id",
|
|
30282
|
+
"display_name",
|
|
30283
|
+
"created_at"
|
|
30284
|
+
],
|
|
30285
|
+
type: "object"
|
|
30286
|
+
},
|
|
30287
|
+
type: "array"
|
|
30288
|
+
},
|
|
30289
|
+
ok: { type: "boolean" }
|
|
30290
|
+
},
|
|
30291
|
+
required: ["locations", "ok"],
|
|
30292
|
+
type: "object"
|
|
30293
|
+
}
|
|
30294
|
+
}
|
|
30295
|
+
},
|
|
30296
|
+
description: "OK"
|
|
30297
|
+
},
|
|
30298
|
+
400: { description: "Bad Request" },
|
|
30299
|
+
401: { description: "Unauthorized" }
|
|
30300
|
+
},
|
|
30301
|
+
security: [
|
|
30302
|
+
{ pat_with_workspace: [] },
|
|
30303
|
+
{ console_session_with_workspace: [] },
|
|
30304
|
+
{ api_key: [] }
|
|
30305
|
+
],
|
|
30306
|
+
summary: "/unstable_locations/list",
|
|
30307
|
+
tags: [],
|
|
30308
|
+
"x-fern-sdk-group-name": ["unstable_locations"],
|
|
30309
|
+
"x-fern-sdk-method-name": "list",
|
|
30310
|
+
"x-fern-sdk-return-value": "locations",
|
|
30311
|
+
"x-response-key": "locations",
|
|
30312
|
+
"x-title": "List Locations",
|
|
30313
|
+
"x-undocumented": "Experimental locations."
|
|
30314
|
+
}
|
|
30315
|
+
},
|
|
30316
|
+
"/unstable_locations/remove_devices": {
|
|
30317
|
+
post: {
|
|
30318
|
+
description: "Remove devices from a specific location.",
|
|
30319
|
+
operationId: "unstableLocationsRemoveDevicesPost",
|
|
30320
|
+
requestBody: {
|
|
30321
|
+
content: {
|
|
30322
|
+
"application/json": {
|
|
30323
|
+
schema: {
|
|
30324
|
+
properties: {
|
|
30325
|
+
device_ids: {
|
|
30326
|
+
items: { format: "uuid", type: "string" },
|
|
30327
|
+
type: "array"
|
|
30328
|
+
},
|
|
30329
|
+
location_id: { format: "uuid", type: "string" }
|
|
30330
|
+
},
|
|
30331
|
+
required: ["location_id", "device_ids"],
|
|
30332
|
+
type: "object"
|
|
30333
|
+
}
|
|
30334
|
+
}
|
|
30335
|
+
}
|
|
30336
|
+
},
|
|
30337
|
+
responses: {
|
|
30338
|
+
200: {
|
|
30339
|
+
content: {
|
|
30340
|
+
"application/json": {
|
|
30341
|
+
schema: {
|
|
30342
|
+
properties: { ok: { type: "boolean" } },
|
|
30343
|
+
required: ["ok"],
|
|
30344
|
+
type: "object"
|
|
30345
|
+
}
|
|
30346
|
+
}
|
|
30347
|
+
},
|
|
30348
|
+
description: "OK"
|
|
30349
|
+
},
|
|
30350
|
+
400: { description: "Bad Request" },
|
|
30351
|
+
401: { description: "Unauthorized" }
|
|
30352
|
+
},
|
|
30353
|
+
security: [
|
|
30354
|
+
{ pat_with_workspace: [] },
|
|
30355
|
+
{ console_session_with_workspace: [] },
|
|
30356
|
+
{ api_key: [] }
|
|
30357
|
+
],
|
|
30358
|
+
summary: "/unstable_locations/remove_devices",
|
|
30359
|
+
tags: [],
|
|
30360
|
+
"x-fern-sdk-group-name": ["unstable_locations"],
|
|
30361
|
+
"x-fern-sdk-method-name": "remove_devices",
|
|
30362
|
+
"x-response-key": null,
|
|
30363
|
+
"x-title": "Remove Location Devices",
|
|
30364
|
+
"x-undocumented": "Experimental locations."
|
|
30365
|
+
}
|
|
30366
|
+
},
|
|
30367
|
+
"/unstable_locations/update": {
|
|
30368
|
+
post: {
|
|
30369
|
+
description: "Update an existing location.",
|
|
30370
|
+
operationId: "unstableLocationsUpdatePost",
|
|
30371
|
+
requestBody: {
|
|
30372
|
+
content: {
|
|
30373
|
+
"application/json": {
|
|
30374
|
+
schema: {
|
|
30375
|
+
properties: {
|
|
30376
|
+
geolocation: {
|
|
30377
|
+
properties: {
|
|
30378
|
+
latitude: { format: "float", type: "number" },
|
|
30379
|
+
longitude: { format: "float", type: "number" }
|
|
30380
|
+
},
|
|
30381
|
+
required: ["latitude", "longitude"],
|
|
30382
|
+
type: "object"
|
|
30383
|
+
},
|
|
30384
|
+
location_id: { format: "uuid", type: "string" },
|
|
30385
|
+
name: { type: "string" },
|
|
30386
|
+
time_zone: { type: "string" }
|
|
30387
|
+
},
|
|
30388
|
+
required: ["location_id"],
|
|
30389
|
+
type: "object"
|
|
30390
|
+
}
|
|
30391
|
+
}
|
|
30392
|
+
}
|
|
30393
|
+
},
|
|
30394
|
+
responses: {
|
|
30395
|
+
200: {
|
|
30396
|
+
content: {
|
|
30397
|
+
"application/json": {
|
|
30398
|
+
schema: {
|
|
30399
|
+
properties: {
|
|
30400
|
+
location: {
|
|
30401
|
+
properties: {
|
|
30402
|
+
created_at: {
|
|
30403
|
+
description: "Date and time at which the location object was created.",
|
|
30404
|
+
format: "date-time",
|
|
30405
|
+
type: "string"
|
|
30406
|
+
},
|
|
30407
|
+
display_name: {
|
|
30408
|
+
description: "Display name of the location.",
|
|
30409
|
+
type: "string"
|
|
30410
|
+
},
|
|
30411
|
+
geolocation: {
|
|
30412
|
+
description: "Geographical location of the location.",
|
|
30413
|
+
properties: {
|
|
30414
|
+
latitude: { format: "float", type: "number" },
|
|
30415
|
+
longitude: { format: "float", type: "number" }
|
|
30416
|
+
},
|
|
30417
|
+
required: ["latitude", "longitude"],
|
|
30418
|
+
type: "object"
|
|
30419
|
+
},
|
|
30420
|
+
location_id: {
|
|
30421
|
+
description: "Unique identifier for the location.",
|
|
30422
|
+
format: "uuid",
|
|
30423
|
+
type: "string"
|
|
30424
|
+
},
|
|
30425
|
+
time_zone: {
|
|
30426
|
+
description: "Time zone of the location.",
|
|
30427
|
+
type: "string"
|
|
30428
|
+
},
|
|
30429
|
+
workspace_id: {
|
|
30430
|
+
description: "Unique identifier for the Seam workspace associated with the location.",
|
|
30431
|
+
format: "uuid",
|
|
30432
|
+
type: "string"
|
|
30433
|
+
}
|
|
30434
|
+
},
|
|
30435
|
+
required: [
|
|
30436
|
+
"location_id",
|
|
30437
|
+
"workspace_id",
|
|
30438
|
+
"display_name",
|
|
30439
|
+
"created_at"
|
|
30440
|
+
],
|
|
30441
|
+
type: "object"
|
|
30442
|
+
},
|
|
30443
|
+
ok: { type: "boolean" }
|
|
30444
|
+
},
|
|
30445
|
+
required: ["location", "ok"],
|
|
30446
|
+
type: "object"
|
|
30447
|
+
}
|
|
30448
|
+
}
|
|
30449
|
+
},
|
|
30450
|
+
description: "OK"
|
|
30451
|
+
},
|
|
30452
|
+
400: { description: "Bad Request" },
|
|
30453
|
+
401: { description: "Unauthorized" }
|
|
30454
|
+
},
|
|
30455
|
+
security: [
|
|
30456
|
+
{ pat_with_workspace: [] },
|
|
30457
|
+
{ console_session_with_workspace: [] },
|
|
30458
|
+
{ api_key: [] }
|
|
30459
|
+
],
|
|
30460
|
+
summary: "/unstable_locations/update",
|
|
30461
|
+
tags: [],
|
|
30462
|
+
"x-fern-sdk-group-name": ["unstable_locations"],
|
|
30463
|
+
"x-fern-sdk-method-name": "update",
|
|
30464
|
+
"x-fern-sdk-return-value": "location",
|
|
30465
|
+
"x-response-key": "location",
|
|
30466
|
+
"x-title": "Update Location",
|
|
30467
|
+
"x-undocumented": "Experimental locations."
|
|
30468
|
+
}
|
|
30469
|
+
},
|
|
29835
30470
|
"/user_identities/add_acs_user": {
|
|
29836
30471
|
post: {
|
|
29837
30472
|
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).",
|