@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
|
@@ -26490,6 +26490,7 @@ export default {
|
|
|
26490
26490
|
properties: {
|
|
26491
26491
|
device_ids: {
|
|
26492
26492
|
items: { format: 'uuid', type: 'string' },
|
|
26493
|
+
minItems: 1,
|
|
26493
26494
|
type: 'array',
|
|
26494
26495
|
},
|
|
26495
26496
|
location_id: { format: 'uuid', type: 'string' },
|
|
@@ -26529,6 +26530,55 @@ export default {
|
|
|
26529
26530
|
'x-title': 'Add Location Devices',
|
|
26530
26531
|
'x-undocumented': 'Experimental locations.',
|
|
26531
26532
|
},
|
|
26533
|
+
put: {
|
|
26534
|
+
description: 'Add devices to a specific location. If a device already belongs to a location it will be moved.',
|
|
26535
|
+
operationId: 'unstableLocationsAddDevicesPut',
|
|
26536
|
+
requestBody: {
|
|
26537
|
+
content: {
|
|
26538
|
+
'application/json': {
|
|
26539
|
+
schema: {
|
|
26540
|
+
properties: {
|
|
26541
|
+
device_ids: {
|
|
26542
|
+
items: { format: 'uuid', type: 'string' },
|
|
26543
|
+
minItems: 1,
|
|
26544
|
+
type: 'array',
|
|
26545
|
+
},
|
|
26546
|
+
location_id: { format: 'uuid', type: 'string' },
|
|
26547
|
+
},
|
|
26548
|
+
required: ['location_id', 'device_ids'],
|
|
26549
|
+
type: 'object',
|
|
26550
|
+
},
|
|
26551
|
+
},
|
|
26552
|
+
},
|
|
26553
|
+
},
|
|
26554
|
+
responses: {
|
|
26555
|
+
200: {
|
|
26556
|
+
content: {
|
|
26557
|
+
'application/json': {
|
|
26558
|
+
schema: {
|
|
26559
|
+
properties: { ok: { type: 'boolean' } },
|
|
26560
|
+
required: ['ok'],
|
|
26561
|
+
type: 'object',
|
|
26562
|
+
},
|
|
26563
|
+
},
|
|
26564
|
+
},
|
|
26565
|
+
description: 'OK',
|
|
26566
|
+
},
|
|
26567
|
+
400: { description: 'Bad Request' },
|
|
26568
|
+
401: { description: 'Unauthorized' },
|
|
26569
|
+
},
|
|
26570
|
+
security: [
|
|
26571
|
+
{ pat_with_workspace: [] },
|
|
26572
|
+
{ console_session_with_workspace: [] },
|
|
26573
|
+
{ api_key: [] },
|
|
26574
|
+
],
|
|
26575
|
+
summary: '/unstable_locations/add_devices',
|
|
26576
|
+
tags: [],
|
|
26577
|
+
'x-fern-ignore': true,
|
|
26578
|
+
'x-response-key': null,
|
|
26579
|
+
'x-title': 'Add Location Devices',
|
|
26580
|
+
'x-undocumented': 'Experimental locations.',
|
|
26581
|
+
},
|
|
26532
26582
|
},
|
|
26533
26583
|
'/unstable_locations/create': {
|
|
26534
26584
|
post: {
|
|
@@ -26587,6 +26637,10 @@ export default {
|
|
|
26587
26637
|
format: 'uuid',
|
|
26588
26638
|
type: 'string',
|
|
26589
26639
|
},
|
|
26640
|
+
name: {
|
|
26641
|
+
description: 'Name of the location.',
|
|
26642
|
+
type: 'string',
|
|
26643
|
+
},
|
|
26590
26644
|
time_zone: {
|
|
26591
26645
|
description: 'Time zone of the location.',
|
|
26592
26646
|
type: 'string',
|
|
@@ -26600,6 +26654,7 @@ export default {
|
|
|
26600
26654
|
required: [
|
|
26601
26655
|
'location_id',
|
|
26602
26656
|
'workspace_id',
|
|
26657
|
+
'name',
|
|
26603
26658
|
'display_name',
|
|
26604
26659
|
'created_at',
|
|
26605
26660
|
],
|
|
@@ -26723,6 +26778,10 @@ export default {
|
|
|
26723
26778
|
format: 'uuid',
|
|
26724
26779
|
type: 'string',
|
|
26725
26780
|
},
|
|
26781
|
+
name: {
|
|
26782
|
+
description: 'Name of the location.',
|
|
26783
|
+
type: 'string',
|
|
26784
|
+
},
|
|
26726
26785
|
time_zone: {
|
|
26727
26786
|
description: 'Time zone of the location.',
|
|
26728
26787
|
type: 'string',
|
|
@@ -26736,6 +26795,7 @@ export default {
|
|
|
26736
26795
|
required: [
|
|
26737
26796
|
'location_id',
|
|
26738
26797
|
'workspace_id',
|
|
26798
|
+
'name',
|
|
26739
26799
|
'display_name',
|
|
26740
26800
|
'created_at',
|
|
26741
26801
|
],
|
|
@@ -26804,6 +26864,10 @@ export default {
|
|
|
26804
26864
|
format: 'uuid',
|
|
26805
26865
|
type: 'string',
|
|
26806
26866
|
},
|
|
26867
|
+
name: {
|
|
26868
|
+
description: 'Name of the location.',
|
|
26869
|
+
type: 'string',
|
|
26870
|
+
},
|
|
26807
26871
|
time_zone: {
|
|
26808
26872
|
description: 'Time zone of the location.',
|
|
26809
26873
|
type: 'string',
|
|
@@ -26817,6 +26881,7 @@ export default {
|
|
|
26817
26881
|
required: [
|
|
26818
26882
|
'location_id',
|
|
26819
26883
|
'workspace_id',
|
|
26884
|
+
'name',
|
|
26820
26885
|
'display_name',
|
|
26821
26886
|
'created_at',
|
|
26822
26887
|
],
|
|
@@ -26883,6 +26948,10 @@ export default {
|
|
|
26883
26948
|
format: 'uuid',
|
|
26884
26949
|
type: 'string',
|
|
26885
26950
|
},
|
|
26951
|
+
name: {
|
|
26952
|
+
description: 'Name of the location.',
|
|
26953
|
+
type: 'string',
|
|
26954
|
+
},
|
|
26886
26955
|
time_zone: {
|
|
26887
26956
|
description: 'Time zone of the location.',
|
|
26888
26957
|
type: 'string',
|
|
@@ -26896,6 +26965,7 @@ export default {
|
|
|
26896
26965
|
required: [
|
|
26897
26966
|
'location_id',
|
|
26898
26967
|
'workspace_id',
|
|
26968
|
+
'name',
|
|
26899
26969
|
'display_name',
|
|
26900
26970
|
'created_at',
|
|
26901
26971
|
],
|
|
@@ -26982,6 +27052,110 @@ export default {
|
|
|
26982
27052
|
},
|
|
26983
27053
|
},
|
|
26984
27054
|
'/unstable_locations/update': {
|
|
27055
|
+
patch: {
|
|
27056
|
+
description: 'Update an existing location.',
|
|
27057
|
+
operationId: 'unstableLocationsUpdatePatch',
|
|
27058
|
+
requestBody: {
|
|
27059
|
+
content: {
|
|
27060
|
+
'application/json': {
|
|
27061
|
+
schema: {
|
|
27062
|
+
properties: {
|
|
27063
|
+
geolocation: {
|
|
27064
|
+
properties: {
|
|
27065
|
+
latitude: { format: 'float', type: 'number' },
|
|
27066
|
+
longitude: { format: 'float', type: 'number' },
|
|
27067
|
+
},
|
|
27068
|
+
required: ['latitude', 'longitude'],
|
|
27069
|
+
type: 'object',
|
|
27070
|
+
},
|
|
27071
|
+
location_id: { format: 'uuid', type: 'string' },
|
|
27072
|
+
name: { type: 'string' },
|
|
27073
|
+
time_zone: { type: 'string' },
|
|
27074
|
+
},
|
|
27075
|
+
required: ['location_id'],
|
|
27076
|
+
type: 'object',
|
|
27077
|
+
},
|
|
27078
|
+
},
|
|
27079
|
+
},
|
|
27080
|
+
},
|
|
27081
|
+
responses: {
|
|
27082
|
+
200: {
|
|
27083
|
+
content: {
|
|
27084
|
+
'application/json': {
|
|
27085
|
+
schema: {
|
|
27086
|
+
properties: {
|
|
27087
|
+
location: {
|
|
27088
|
+
properties: {
|
|
27089
|
+
created_at: {
|
|
27090
|
+
description: 'Date and time at which the location object was created.',
|
|
27091
|
+
format: 'date-time',
|
|
27092
|
+
type: 'string',
|
|
27093
|
+
},
|
|
27094
|
+
display_name: {
|
|
27095
|
+
description: 'Display name of the location.',
|
|
27096
|
+
type: 'string',
|
|
27097
|
+
},
|
|
27098
|
+
geolocation: {
|
|
27099
|
+
description: 'Geographical location of the location.',
|
|
27100
|
+
properties: {
|
|
27101
|
+
latitude: { format: 'float', type: 'number' },
|
|
27102
|
+
longitude: { format: 'float', type: 'number' },
|
|
27103
|
+
},
|
|
27104
|
+
required: ['latitude', 'longitude'],
|
|
27105
|
+
type: 'object',
|
|
27106
|
+
},
|
|
27107
|
+
location_id: {
|
|
27108
|
+
description: 'Unique identifier for the location.',
|
|
27109
|
+
format: 'uuid',
|
|
27110
|
+
type: 'string',
|
|
27111
|
+
},
|
|
27112
|
+
name: {
|
|
27113
|
+
description: 'Name of the location.',
|
|
27114
|
+
type: 'string',
|
|
27115
|
+
},
|
|
27116
|
+
time_zone: {
|
|
27117
|
+
description: 'Time zone of the location.',
|
|
27118
|
+
type: 'string',
|
|
27119
|
+
},
|
|
27120
|
+
workspace_id: {
|
|
27121
|
+
description: 'Unique identifier for the Seam workspace associated with the location.',
|
|
27122
|
+
format: 'uuid',
|
|
27123
|
+
type: 'string',
|
|
27124
|
+
},
|
|
27125
|
+
},
|
|
27126
|
+
required: [
|
|
27127
|
+
'location_id',
|
|
27128
|
+
'workspace_id',
|
|
27129
|
+
'name',
|
|
27130
|
+
'display_name',
|
|
27131
|
+
'created_at',
|
|
27132
|
+
],
|
|
27133
|
+
type: 'object',
|
|
27134
|
+
},
|
|
27135
|
+
ok: { type: 'boolean' },
|
|
27136
|
+
},
|
|
27137
|
+
required: ['location', 'ok'],
|
|
27138
|
+
type: 'object',
|
|
27139
|
+
},
|
|
27140
|
+
},
|
|
27141
|
+
},
|
|
27142
|
+
description: 'OK',
|
|
27143
|
+
},
|
|
27144
|
+
400: { description: 'Bad Request' },
|
|
27145
|
+
401: { description: 'Unauthorized' },
|
|
27146
|
+
},
|
|
27147
|
+
security: [
|
|
27148
|
+
{ pat_with_workspace: [] },
|
|
27149
|
+
{ console_session_with_workspace: [] },
|
|
27150
|
+
{ api_key: [] },
|
|
27151
|
+
],
|
|
27152
|
+
summary: '/unstable_locations/update',
|
|
27153
|
+
tags: [],
|
|
27154
|
+
'x-fern-ignore': true,
|
|
27155
|
+
'x-response-key': 'location',
|
|
27156
|
+
'x-title': 'Update Location',
|
|
27157
|
+
'x-undocumented': 'Experimental locations.',
|
|
27158
|
+
},
|
|
26985
27159
|
post: {
|
|
26986
27160
|
description: 'Update an existing location.',
|
|
26987
27161
|
operationId: 'unstableLocationsUpdatePost',
|
|
@@ -27039,6 +27213,10 @@ export default {
|
|
|
27039
27213
|
format: 'uuid',
|
|
27040
27214
|
type: 'string',
|
|
27041
27215
|
},
|
|
27216
|
+
name: {
|
|
27217
|
+
description: 'Name of the location.',
|
|
27218
|
+
type: 'string',
|
|
27219
|
+
},
|
|
27042
27220
|
time_zone: {
|
|
27043
27221
|
description: 'Time zone of the location.',
|
|
27044
27222
|
type: 'string',
|
|
@@ -27052,6 +27230,7 @@ export default {
|
|
|
27052
27230
|
required: [
|
|
27053
27231
|
'location_id',
|
|
27054
27232
|
'workspace_id',
|
|
27233
|
+
'name',
|
|
27055
27234
|
'display_name',
|
|
27056
27235
|
'created_at',
|
|
27057
27236
|
],
|