@seamapi/types 1.367.0 → 1.367.1
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 +179 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +236 -5
- package/lib/seam/connect/models/locations/location.d.ts +3 -0
- package/lib/seam/connect/models/locations/location.js +1 -0
- package/lib/seam/connect/models/locations/location.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +223 -0
- package/lib/seam/connect/openapi.js +179 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +13 -5
- package/package.json +1 -1
- package/src/lib/seam/connect/models/locations/location.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +182 -0
- package/src/lib/seam/connect/route-types.ts +13 -5
package/dist/connect.cjs
CHANGED
|
@@ -30574,6 +30574,7 @@ var openapi_default = {
|
|
|
30574
30574
|
properties: {
|
|
30575
30575
|
device_ids: {
|
|
30576
30576
|
items: { format: "uuid", type: "string" },
|
|
30577
|
+
minItems: 1,
|
|
30577
30578
|
type: "array"
|
|
30578
30579
|
},
|
|
30579
30580
|
location_id: { format: "uuid", type: "string" }
|
|
@@ -30612,6 +30613,55 @@ var openapi_default = {
|
|
|
30612
30613
|
"x-response-key": null,
|
|
30613
30614
|
"x-title": "Add Location Devices",
|
|
30614
30615
|
"x-undocumented": "Experimental locations."
|
|
30616
|
+
},
|
|
30617
|
+
put: {
|
|
30618
|
+
description: "Add devices to a specific location. If a device already belongs to a location it will be moved.",
|
|
30619
|
+
operationId: "unstableLocationsAddDevicesPut",
|
|
30620
|
+
requestBody: {
|
|
30621
|
+
content: {
|
|
30622
|
+
"application/json": {
|
|
30623
|
+
schema: {
|
|
30624
|
+
properties: {
|
|
30625
|
+
device_ids: {
|
|
30626
|
+
items: { format: "uuid", type: "string" },
|
|
30627
|
+
minItems: 1,
|
|
30628
|
+
type: "array"
|
|
30629
|
+
},
|
|
30630
|
+
location_id: { format: "uuid", type: "string" }
|
|
30631
|
+
},
|
|
30632
|
+
required: ["location_id", "device_ids"],
|
|
30633
|
+
type: "object"
|
|
30634
|
+
}
|
|
30635
|
+
}
|
|
30636
|
+
}
|
|
30637
|
+
},
|
|
30638
|
+
responses: {
|
|
30639
|
+
200: {
|
|
30640
|
+
content: {
|
|
30641
|
+
"application/json": {
|
|
30642
|
+
schema: {
|
|
30643
|
+
properties: { ok: { type: "boolean" } },
|
|
30644
|
+
required: ["ok"],
|
|
30645
|
+
type: "object"
|
|
30646
|
+
}
|
|
30647
|
+
}
|
|
30648
|
+
},
|
|
30649
|
+
description: "OK"
|
|
30650
|
+
},
|
|
30651
|
+
400: { description: "Bad Request" },
|
|
30652
|
+
401: { description: "Unauthorized" }
|
|
30653
|
+
},
|
|
30654
|
+
security: [
|
|
30655
|
+
{ pat_with_workspace: [] },
|
|
30656
|
+
{ console_session_with_workspace: [] },
|
|
30657
|
+
{ api_key: [] }
|
|
30658
|
+
],
|
|
30659
|
+
summary: "/unstable_locations/add_devices",
|
|
30660
|
+
tags: [],
|
|
30661
|
+
"x-fern-ignore": true,
|
|
30662
|
+
"x-response-key": null,
|
|
30663
|
+
"x-title": "Add Location Devices",
|
|
30664
|
+
"x-undocumented": "Experimental locations."
|
|
30615
30665
|
}
|
|
30616
30666
|
},
|
|
30617
30667
|
"/unstable_locations/create": {
|
|
@@ -30671,6 +30721,10 @@ var openapi_default = {
|
|
|
30671
30721
|
format: "uuid",
|
|
30672
30722
|
type: "string"
|
|
30673
30723
|
},
|
|
30724
|
+
name: {
|
|
30725
|
+
description: "Name of the location.",
|
|
30726
|
+
type: "string"
|
|
30727
|
+
},
|
|
30674
30728
|
time_zone: {
|
|
30675
30729
|
description: "Time zone of the location.",
|
|
30676
30730
|
type: "string"
|
|
@@ -30684,6 +30738,7 @@ var openapi_default = {
|
|
|
30684
30738
|
required: [
|
|
30685
30739
|
"location_id",
|
|
30686
30740
|
"workspace_id",
|
|
30741
|
+
"name",
|
|
30687
30742
|
"display_name",
|
|
30688
30743
|
"created_at"
|
|
30689
30744
|
],
|
|
@@ -30807,6 +30862,10 @@ var openapi_default = {
|
|
|
30807
30862
|
format: "uuid",
|
|
30808
30863
|
type: "string"
|
|
30809
30864
|
},
|
|
30865
|
+
name: {
|
|
30866
|
+
description: "Name of the location.",
|
|
30867
|
+
type: "string"
|
|
30868
|
+
},
|
|
30810
30869
|
time_zone: {
|
|
30811
30870
|
description: "Time zone of the location.",
|
|
30812
30871
|
type: "string"
|
|
@@ -30820,6 +30879,7 @@ var openapi_default = {
|
|
|
30820
30879
|
required: [
|
|
30821
30880
|
"location_id",
|
|
30822
30881
|
"workspace_id",
|
|
30882
|
+
"name",
|
|
30823
30883
|
"display_name",
|
|
30824
30884
|
"created_at"
|
|
30825
30885
|
],
|
|
@@ -30888,6 +30948,10 @@ var openapi_default = {
|
|
|
30888
30948
|
format: "uuid",
|
|
30889
30949
|
type: "string"
|
|
30890
30950
|
},
|
|
30951
|
+
name: {
|
|
30952
|
+
description: "Name of the location.",
|
|
30953
|
+
type: "string"
|
|
30954
|
+
},
|
|
30891
30955
|
time_zone: {
|
|
30892
30956
|
description: "Time zone of the location.",
|
|
30893
30957
|
type: "string"
|
|
@@ -30901,6 +30965,7 @@ var openapi_default = {
|
|
|
30901
30965
|
required: [
|
|
30902
30966
|
"location_id",
|
|
30903
30967
|
"workspace_id",
|
|
30968
|
+
"name",
|
|
30904
30969
|
"display_name",
|
|
30905
30970
|
"created_at"
|
|
30906
30971
|
],
|
|
@@ -30967,6 +31032,10 @@ var openapi_default = {
|
|
|
30967
31032
|
format: "uuid",
|
|
30968
31033
|
type: "string"
|
|
30969
31034
|
},
|
|
31035
|
+
name: {
|
|
31036
|
+
description: "Name of the location.",
|
|
31037
|
+
type: "string"
|
|
31038
|
+
},
|
|
30970
31039
|
time_zone: {
|
|
30971
31040
|
description: "Time zone of the location.",
|
|
30972
31041
|
type: "string"
|
|
@@ -30980,6 +31049,7 @@ var openapi_default = {
|
|
|
30980
31049
|
required: [
|
|
30981
31050
|
"location_id",
|
|
30982
31051
|
"workspace_id",
|
|
31052
|
+
"name",
|
|
30983
31053
|
"display_name",
|
|
30984
31054
|
"created_at"
|
|
30985
31055
|
],
|
|
@@ -31066,6 +31136,110 @@ var openapi_default = {
|
|
|
31066
31136
|
}
|
|
31067
31137
|
},
|
|
31068
31138
|
"/unstable_locations/update": {
|
|
31139
|
+
patch: {
|
|
31140
|
+
description: "Update an existing location.",
|
|
31141
|
+
operationId: "unstableLocationsUpdatePatch",
|
|
31142
|
+
requestBody: {
|
|
31143
|
+
content: {
|
|
31144
|
+
"application/json": {
|
|
31145
|
+
schema: {
|
|
31146
|
+
properties: {
|
|
31147
|
+
geolocation: {
|
|
31148
|
+
properties: {
|
|
31149
|
+
latitude: { format: "float", type: "number" },
|
|
31150
|
+
longitude: { format: "float", type: "number" }
|
|
31151
|
+
},
|
|
31152
|
+
required: ["latitude", "longitude"],
|
|
31153
|
+
type: "object"
|
|
31154
|
+
},
|
|
31155
|
+
location_id: { format: "uuid", type: "string" },
|
|
31156
|
+
name: { type: "string" },
|
|
31157
|
+
time_zone: { type: "string" }
|
|
31158
|
+
},
|
|
31159
|
+
required: ["location_id"],
|
|
31160
|
+
type: "object"
|
|
31161
|
+
}
|
|
31162
|
+
}
|
|
31163
|
+
}
|
|
31164
|
+
},
|
|
31165
|
+
responses: {
|
|
31166
|
+
200: {
|
|
31167
|
+
content: {
|
|
31168
|
+
"application/json": {
|
|
31169
|
+
schema: {
|
|
31170
|
+
properties: {
|
|
31171
|
+
location: {
|
|
31172
|
+
properties: {
|
|
31173
|
+
created_at: {
|
|
31174
|
+
description: "Date and time at which the location object was created.",
|
|
31175
|
+
format: "date-time",
|
|
31176
|
+
type: "string"
|
|
31177
|
+
},
|
|
31178
|
+
display_name: {
|
|
31179
|
+
description: "Display name of the location.",
|
|
31180
|
+
type: "string"
|
|
31181
|
+
},
|
|
31182
|
+
geolocation: {
|
|
31183
|
+
description: "Geographical location of the location.",
|
|
31184
|
+
properties: {
|
|
31185
|
+
latitude: { format: "float", type: "number" },
|
|
31186
|
+
longitude: { format: "float", type: "number" }
|
|
31187
|
+
},
|
|
31188
|
+
required: ["latitude", "longitude"],
|
|
31189
|
+
type: "object"
|
|
31190
|
+
},
|
|
31191
|
+
location_id: {
|
|
31192
|
+
description: "Unique identifier for the location.",
|
|
31193
|
+
format: "uuid",
|
|
31194
|
+
type: "string"
|
|
31195
|
+
},
|
|
31196
|
+
name: {
|
|
31197
|
+
description: "Name of the location.",
|
|
31198
|
+
type: "string"
|
|
31199
|
+
},
|
|
31200
|
+
time_zone: {
|
|
31201
|
+
description: "Time zone of the location.",
|
|
31202
|
+
type: "string"
|
|
31203
|
+
},
|
|
31204
|
+
workspace_id: {
|
|
31205
|
+
description: "Unique identifier for the Seam workspace associated with the location.",
|
|
31206
|
+
format: "uuid",
|
|
31207
|
+
type: "string"
|
|
31208
|
+
}
|
|
31209
|
+
},
|
|
31210
|
+
required: [
|
|
31211
|
+
"location_id",
|
|
31212
|
+
"workspace_id",
|
|
31213
|
+
"name",
|
|
31214
|
+
"display_name",
|
|
31215
|
+
"created_at"
|
|
31216
|
+
],
|
|
31217
|
+
type: "object"
|
|
31218
|
+
},
|
|
31219
|
+
ok: { type: "boolean" }
|
|
31220
|
+
},
|
|
31221
|
+
required: ["location", "ok"],
|
|
31222
|
+
type: "object"
|
|
31223
|
+
}
|
|
31224
|
+
}
|
|
31225
|
+
},
|
|
31226
|
+
description: "OK"
|
|
31227
|
+
},
|
|
31228
|
+
400: { description: "Bad Request" },
|
|
31229
|
+
401: { description: "Unauthorized" }
|
|
31230
|
+
},
|
|
31231
|
+
security: [
|
|
31232
|
+
{ pat_with_workspace: [] },
|
|
31233
|
+
{ console_session_with_workspace: [] },
|
|
31234
|
+
{ api_key: [] }
|
|
31235
|
+
],
|
|
31236
|
+
summary: "/unstable_locations/update",
|
|
31237
|
+
tags: [],
|
|
31238
|
+
"x-fern-ignore": true,
|
|
31239
|
+
"x-response-key": "location",
|
|
31240
|
+
"x-title": "Update Location",
|
|
31241
|
+
"x-undocumented": "Experimental locations."
|
|
31242
|
+
},
|
|
31069
31243
|
post: {
|
|
31070
31244
|
description: "Update an existing location.",
|
|
31071
31245
|
operationId: "unstableLocationsUpdatePost",
|
|
@@ -31123,6 +31297,10 @@ var openapi_default = {
|
|
|
31123
31297
|
format: "uuid",
|
|
31124
31298
|
type: "string"
|
|
31125
31299
|
},
|
|
31300
|
+
name: {
|
|
31301
|
+
description: "Name of the location.",
|
|
31302
|
+
type: "string"
|
|
31303
|
+
},
|
|
31126
31304
|
time_zone: {
|
|
31127
31305
|
description: "Time zone of the location.",
|
|
31128
31306
|
type: "string"
|
|
@@ -31136,6 +31314,7 @@ var openapi_default = {
|
|
|
31136
31314
|
required: [
|
|
31137
31315
|
"location_id",
|
|
31138
31316
|
"workspace_id",
|
|
31317
|
+
"name",
|
|
31139
31318
|
"display_name",
|
|
31140
31319
|
"created_at"
|
|
31141
31320
|
],
|