deere-sdk 2.3.0 → 2.4.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/CHANGELOG.md +61 -0
- package/dist/api/assets.d.ts +23 -23
- package/dist/api/assets.d.ts.map +1 -1
- package/dist/api/assets.js +35 -35
- package/dist/api/assets.js.map +1 -1
- package/dist/api/boundaries.d.ts +16 -16
- package/dist/api/boundaries.d.ts.map +1 -1
- package/dist/api/boundaries.js +19 -19
- package/dist/api/boundaries.js.map +1 -1
- package/dist/api/clients.d.ts +10 -10
- package/dist/api/clients.d.ts.map +1 -1
- package/dist/api/clients.js +13 -13
- package/dist/api/clients.js.map +1 -1
- package/dist/api/crop-types.d.ts +4 -4
- package/dist/api/crop-types.d.ts.map +1 -1
- package/dist/api/crop-types.js +6 -6
- package/dist/api/crop-types.js.map +1 -1
- package/dist/api/equipment.d.ts +74 -74
- package/dist/api/equipment.d.ts.map +1 -1
- package/dist/api/equipment.js +96 -96
- package/dist/api/equipment.js.map +1 -1
- package/dist/api/farms.d.ts +11 -11
- package/dist/api/farms.d.ts.map +1 -1
- package/dist/api/farms.js +14 -14
- package/dist/api/farms.js.map +1 -1
- package/dist/api/field-operations-api.d.ts +88 -32
- package/dist/api/field-operations-api.d.ts.map +1 -1
- package/dist/api/field-operations-api.js +111 -49
- package/dist/api/field-operations-api.js.map +1 -1
- package/dist/api/fields.d.ts +9 -9
- package/dist/api/fields.d.ts.map +1 -1
- package/dist/api/fields.js +12 -12
- package/dist/api/fields.js.map +1 -1
- package/dist/api/files.d.ts +47 -0
- package/dist/api/files.d.ts.map +1 -1
- package/dist/api/files.js +65 -0
- package/dist/api/files.js.map +1 -1
- package/dist/api/flags.d.ts +100 -34
- package/dist/api/flags.d.ts.map +1 -1
- package/dist/api/flags.js +145 -49
- package/dist/api/flags.js.map +1 -1
- package/dist/api/machine-locations.d.ts +14 -0
- package/dist/api/machine-locations.d.ts.map +1 -1
- package/dist/api/machine-locations.js +22 -0
- package/dist/api/machine-locations.js.map +1 -1
- package/dist/api/map-layers.d.ts +83 -13
- package/dist/api/map-layers.d.ts.map +1 -1
- package/dist/api/map-layers.js +121 -19
- package/dist/api/map-layers.js.map +1 -1
- package/dist/api/notifications.d.ts +6 -6
- package/dist/api/notifications.d.ts.map +1 -1
- package/dist/api/notifications.js +9 -9
- package/dist/api/notifications.js.map +1 -1
- package/dist/api/products.d.ts +296 -10
- package/dist/api/products.d.ts.map +1 -1
- package/dist/api/products.js +423 -13
- package/dist/api/products.js.map +1 -1
- package/dist/api/webhook.d.ts +13 -0
- package/dist/api/webhook.d.ts.map +1 -1
- package/dist/api/webhook.js +19 -0
- package/dist/api/webhook.js.map +1 -1
- package/dist/api-servers.generated.d.ts +0 -1
- package/dist/api-servers.generated.d.ts.map +1 -1
- package/dist/api-servers.generated.js +0 -1
- package/dist/api-servers.generated.js.map +1 -1
- package/dist/hateoas-map.d.ts.map +1 -1
- package/dist/hateoas-map.js +65 -0
- package/dist/hateoas-map.js.map +1 -1
- package/dist/types/generated/assets.d.ts +256 -256
- package/dist/types/generated/assets.d.ts.map +1 -1
- package/dist/types/generated/boundaries.d.ts +475 -475
- package/dist/types/generated/boundaries.d.ts.map +1 -1
- package/dist/types/generated/clients.d.ts +163 -163
- package/dist/types/generated/clients.d.ts.map +1 -1
- package/dist/types/generated/connection-management.d.ts +21 -21
- package/dist/types/generated/connection-management.d.ts.map +1 -1
- package/dist/types/generated/crop-types.d.ts +30 -30
- package/dist/types/generated/crop-types.d.ts.map +1 -1
- package/dist/types/generated/equipment-measurement.d.ts +85 -85
- package/dist/types/generated/equipment-measurement.d.ts.map +1 -1
- package/dist/types/generated/equipment.d.ts +1201 -1201
- package/dist/types/generated/equipment.d.ts.map +1 -1
- package/dist/types/generated/farms.d.ts +122 -122
- package/dist/types/generated/farms.d.ts.map +1 -1
- package/dist/types/generated/field-operations-api.d.ts +1103 -846
- package/dist/types/generated/field-operations-api.d.ts.map +1 -1
- package/dist/types/generated/fields.d.ts +357 -357
- package/dist/types/generated/fields.d.ts.map +1 -1
- package/dist/types/generated/files.d.ts +435 -113
- package/dist/types/generated/files.d.ts.map +1 -1
- package/dist/types/generated/flags.d.ts +779 -77
- package/dist/types/generated/flags.d.ts.map +1 -1
- package/dist/types/generated/guidance-lines.d.ts +41 -41
- package/dist/types/generated/guidance-lines.d.ts.map +1 -1
- package/dist/types/generated/harvest-id.d.ts +137 -137
- package/dist/types/generated/harvest-id.d.ts.map +1 -1
- package/dist/types/generated/index.d.ts +1 -1
- package/dist/types/generated/index.js +1 -1
- package/dist/types/generated/machine-alerts.d.ts +114 -114
- package/dist/types/generated/machine-alerts.d.ts.map +1 -1
- package/dist/types/generated/machine-device-state-reports.d.ts +12 -12
- package/dist/types/generated/machine-device-state-reports.d.ts.map +1 -1
- package/dist/types/generated/machine-engine-hours.d.ts +19 -19
- package/dist/types/generated/machine-engine-hours.d.ts.map +1 -1
- package/dist/types/generated/machine-hours-of-operation.d.ts +20 -20
- package/dist/types/generated/machine-hours-of-operation.d.ts.map +1 -1
- package/dist/types/generated/machine-locations.d.ts +247 -1
- package/dist/types/generated/machine-locations.d.ts.map +1 -1
- package/dist/types/generated/map-layers.d.ts +957 -293
- package/dist/types/generated/map-layers.d.ts.map +1 -1
- package/dist/types/generated/notifications.d.ts +126 -126
- package/dist/types/generated/notifications.d.ts.map +1 -1
- package/dist/types/generated/operators.d.ts +21 -21
- package/dist/types/generated/operators.d.ts.map +1 -1
- package/dist/types/generated/organizations.d.ts +33 -33
- package/dist/types/generated/organizations.d.ts.map +1 -1
- package/dist/types/generated/partnerships.d.ts +61 -61
- package/dist/types/generated/partnerships.d.ts.map +1 -1
- package/dist/types/generated/products.d.ts +5162 -456
- package/dist/types/generated/products.d.ts.map +1 -1
- package/dist/types/generated/webhook.d.ts +299 -137
- package/dist/types/generated/webhook.d.ts.map +1 -1
- package/package.json +2 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Do not make direct changes to the file.
|
|
4
4
|
*/
|
|
5
5
|
export interface paths {
|
|
6
|
-
'/
|
|
6
|
+
'/assetCatalog': {
|
|
7
7
|
parameters: {
|
|
8
8
|
query?: never;
|
|
9
9
|
header?: never;
|
|
@@ -11,16 +11,12 @@ export interface paths {
|
|
|
11
11
|
cookie?: never;
|
|
12
12
|
};
|
|
13
13
|
/**
|
|
14
|
-
* Get
|
|
15
|
-
* @description This endpoint will retrieve
|
|
14
|
+
* Get Asset Catalog List
|
|
15
|
+
* @description This endpoint will retrieve the Asset Catalog List.
|
|
16
16
|
*/
|
|
17
|
-
get: operations['
|
|
17
|
+
get: operations['getAssetCatalog'];
|
|
18
18
|
put?: never;
|
|
19
|
-
|
|
20
|
-
* Create a new asset
|
|
21
|
-
* @description This endpoint will create a new asset.
|
|
22
|
-
*/
|
|
23
|
-
post: operations['postAsset'];
|
|
19
|
+
post?: never;
|
|
24
20
|
delete?: never;
|
|
25
21
|
options?: never;
|
|
26
22
|
head?: never;
|
|
@@ -131,7 +127,7 @@ export interface paths {
|
|
|
131
127
|
patch?: never;
|
|
132
128
|
trace?: never;
|
|
133
129
|
};
|
|
134
|
-
'/
|
|
130
|
+
'/organizations/{orgId}/assets': {
|
|
135
131
|
parameters: {
|
|
136
132
|
query?: never;
|
|
137
133
|
header?: never;
|
|
@@ -139,12 +135,16 @@ export interface paths {
|
|
|
139
135
|
cookie?: never;
|
|
140
136
|
};
|
|
141
137
|
/**
|
|
142
|
-
* Get
|
|
143
|
-
* @description This endpoint will retrieve
|
|
138
|
+
* Get all assets
|
|
139
|
+
* @description This endpoint will retrieve all assets for an organization.
|
|
144
140
|
*/
|
|
145
|
-
get: operations['
|
|
141
|
+
get: operations['getOrgAssets'];
|
|
146
142
|
put?: never;
|
|
147
|
-
|
|
143
|
+
/**
|
|
144
|
+
* Create a new asset
|
|
145
|
+
* @description This endpoint will create a new asset.
|
|
146
|
+
*/
|
|
147
|
+
post: operations['postAsset'];
|
|
148
148
|
delete?: never;
|
|
149
149
|
options?: never;
|
|
150
150
|
head?: never;
|
|
@@ -155,49 +155,6 @@ export interface paths {
|
|
|
155
155
|
export type webhooks = Record<string, never>;
|
|
156
156
|
export interface components {
|
|
157
157
|
schemas: {
|
|
158
|
-
AssetCatalogItem: {
|
|
159
|
-
/** @example ContributedCatalogItem */
|
|
160
|
-
'@type'?: string;
|
|
161
|
-
assetCategory: components['schemas']['AssetCategory'];
|
|
162
|
-
assetType: components['schemas']['AssetType'];
|
|
163
|
-
assetSubType: components['schemas']['AssetSubType'];
|
|
164
|
-
links?: {
|
|
165
|
-
/**
|
|
166
|
-
* @description Links relavent to exploring the collection.
|
|
167
|
-
* @example self
|
|
168
|
-
*/
|
|
169
|
-
rel?: string;
|
|
170
|
-
/**
|
|
171
|
-
* Format: uri
|
|
172
|
-
* @description The URI to the related resource.
|
|
173
|
-
* @example https://sandboxapi.deere.com/platform/resources/61265
|
|
174
|
-
*/
|
|
175
|
-
uri?: string;
|
|
176
|
-
}[];
|
|
177
|
-
};
|
|
178
|
-
MeasurementData: {
|
|
179
|
-
/**
|
|
180
|
-
* @description representation for which to capture data sandardized via the [ADAPT Representation System](https://github.com/ADAPT/ADAPT/blob/develop/source/Representation/Resources/RepresentationSystem.xml)
|
|
181
|
-
* @example vrSoilTemperature
|
|
182
|
-
*/
|
|
183
|
-
name: string;
|
|
184
|
-
/**
|
|
185
|
-
* @description measurement reading
|
|
186
|
-
* @example 46.2
|
|
187
|
-
*/
|
|
188
|
-
value: string;
|
|
189
|
-
/**
|
|
190
|
-
* @description unit of measure - the basis for any conversion sandardized via the [ADAPT Unit System](https://github.com/ADAPT/ADAPT/blob/develop/source/Representation/Resources/UnitSystem.xml)
|
|
191
|
-
* @example F
|
|
192
|
-
*/
|
|
193
|
-
unit: string;
|
|
194
|
-
};
|
|
195
|
-
/** @example DEVICE */
|
|
196
|
-
AssetCategory: string;
|
|
197
|
-
/** @example SENSOR */
|
|
198
|
-
AssetType: string;
|
|
199
|
-
/** @example ENVIRONMENTAL */
|
|
200
|
-
AssetSubType: string;
|
|
201
158
|
'400Errors': {
|
|
202
159
|
/** @example Errors */
|
|
203
160
|
'@type'?: string;
|
|
@@ -218,23 +175,40 @@ export interface components {
|
|
|
218
175
|
}[];
|
|
219
176
|
otherAttributes?: Record<string, never>;
|
|
220
177
|
};
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
* Format: uuid
|
|
229
|
-
* @example ed292512-1f3c-4285-83c3-1fb084423f9b
|
|
230
|
-
*/
|
|
231
|
-
guid?: string;
|
|
232
|
-
/** @example some error message */
|
|
233
|
-
message?: string;
|
|
234
|
-
}[];
|
|
235
|
-
otherAttributes?: Record<string, never>;
|
|
178
|
+
Asset: components['schemas']['UpdateAsset'] & {
|
|
179
|
+
/**
|
|
180
|
+
* Format: date-time
|
|
181
|
+
* @description A timestamp of the date and time the last operation was performed on this item.
|
|
182
|
+
*/
|
|
183
|
+
readonly lastModifiedDate?: string;
|
|
184
|
+
lastKnownLocation?: components['schemas']['LastKnownLocation'];
|
|
236
185
|
};
|
|
237
|
-
|
|
186
|
+
AssetCatalogCollection: components['schemas']['CollectionBase'] & {
|
|
187
|
+
values?: components['schemas']['AssetCatalogItem'][];
|
|
188
|
+
};
|
|
189
|
+
AssetCatalogGet: {
|
|
190
|
+
/**
|
|
191
|
+
* @description Asset Category
|
|
192
|
+
* @example DEVICE
|
|
193
|
+
*/
|
|
194
|
+
assetCategory?: string;
|
|
195
|
+
/**
|
|
196
|
+
* @description Asset Type
|
|
197
|
+
* @example SENSOR
|
|
198
|
+
*/
|
|
199
|
+
assetType?: string;
|
|
200
|
+
/**
|
|
201
|
+
* @description Asset Sub Type
|
|
202
|
+
* @example OTHER
|
|
203
|
+
*/
|
|
204
|
+
assetSubType?: string;
|
|
205
|
+
};
|
|
206
|
+
AssetCatalogItem: {
|
|
207
|
+
/** @example ContributedCatalogItem */
|
|
208
|
+
'@type'?: string;
|
|
209
|
+
assetCategory: components['schemas']['AssetCategory'];
|
|
210
|
+
assetType: components['schemas']['AssetType'];
|
|
211
|
+
assetSubType: components['schemas']['AssetSubType'];
|
|
238
212
|
links?: {
|
|
239
213
|
/**
|
|
240
214
|
* @description Links relavent to exploring the collection.
|
|
@@ -248,64 +222,12 @@ export interface components {
|
|
|
248
222
|
*/
|
|
249
223
|
uri?: string;
|
|
250
224
|
}[];
|
|
251
|
-
/** @example 1 */
|
|
252
|
-
total?: number;
|
|
253
225
|
};
|
|
226
|
+
/** @example DEVICE */
|
|
227
|
+
AssetCategory: string;
|
|
254
228
|
AssetCollection: components['schemas']['CollectionBase'] & {
|
|
255
229
|
values?: components['schemas']['Asset'][];
|
|
256
230
|
};
|
|
257
|
-
AssetLocationCollection: components['schemas']['CollectionBase'] & {
|
|
258
|
-
values?: components['schemas']['AssetLocation'][];
|
|
259
|
-
};
|
|
260
|
-
AssetLocationBase: {
|
|
261
|
-
/** @example ContributedAssetLocation */
|
|
262
|
-
'@type'?: string;
|
|
263
|
-
/**
|
|
264
|
-
* Format: date-time
|
|
265
|
-
* @description ISO 8601 Date and time in UTC the `measurementData` and/or `geometry` were recorded by the Asset
|
|
266
|
-
* @example 2019-07-12T21:29:50.000Z
|
|
267
|
-
*/
|
|
268
|
-
timestamp: string;
|
|
269
|
-
/**
|
|
270
|
-
* @description stringified [GeoJSON Point (RFC 7946)](https://tools.ietf.org/html/rfc7946#section-3.1.2) identifying the Asset geolocation
|
|
271
|
-
* @example { "type": "Feature", "geometry": { "geometries": [ { "coordinates": [ -94.5609911, 42.3428859 ], "type": "Point" } ], "type": "GeometryCollection" } }
|
|
272
|
-
*/
|
|
273
|
-
geometry?: string;
|
|
274
|
-
measurementData?: components['schemas']['MeasurementData'][];
|
|
275
|
-
};
|
|
276
|
-
/** @description A point in time geolocation or measurments broadcast by an Asset, a series of Asset Locations track an Asset's movement and/or measurement changes. Either `geometry` or `measurementData` is required and both are allowed. */
|
|
277
|
-
AssetLocation: components['schemas']['AssetLocationBase'];
|
|
278
|
-
/** @description The Asset Location with the most recent `timestamp` */
|
|
279
|
-
LastKnownLocation: components['schemas']['AssetLocationBase'];
|
|
280
|
-
UpdateAsset: {
|
|
281
|
-
/**
|
|
282
|
-
* Format: uuid
|
|
283
|
-
* @description The ID of the Asset. Optional, but if included it must match the URL parameter for Asset Id.
|
|
284
|
-
* @example b9d96332-93c7-44ae-ac86-eed8727f13c7
|
|
285
|
-
*/
|
|
286
|
-
id?: string;
|
|
287
|
-
} & components['schemas']['CreateAsset'];
|
|
288
|
-
/** @description A networked physical device, an IOT device, with the ability to broadcast geolocations and measurements */
|
|
289
|
-
CreateAsset: {
|
|
290
|
-
/** @example ContributedAsset */
|
|
291
|
-
'@type'?: string;
|
|
292
|
-
/**
|
|
293
|
-
* @description The name of the Asset.
|
|
294
|
-
* @example McGill 7000
|
|
295
|
-
*/
|
|
296
|
-
title: string;
|
|
297
|
-
assetCategory: components['schemas']['AssetCategory'];
|
|
298
|
-
assetType: components['schemas']['AssetType'];
|
|
299
|
-
assetSubType: components['schemas']['AssetSubType'];
|
|
300
|
-
};
|
|
301
|
-
Asset: components['schemas']['UpdateAsset'] & {
|
|
302
|
-
/**
|
|
303
|
-
* Format: date-time
|
|
304
|
-
* @description A timestamp of the date and time the last operation was performed on this item.
|
|
305
|
-
*/
|
|
306
|
-
readonly lastModifiedDate?: string;
|
|
307
|
-
lastKnownLocation?: components['schemas']['LastKnownLocation'];
|
|
308
|
-
};
|
|
309
231
|
AssetCollectionGetLink: {
|
|
310
232
|
/**
|
|
311
233
|
* @description This Asset List Link.
|
|
@@ -391,35 +313,6 @@ export interface components {
|
|
|
391
313
|
lastKnownLocation?: Record<string, never>;
|
|
392
314
|
};
|
|
393
315
|
};
|
|
394
|
-
CreatePostLink: {
|
|
395
|
-
/**
|
|
396
|
-
* @description Contribution Definition Link.
|
|
397
|
-
* @example https://sandboxapi.deere.com/platform/contributionDefinitions/DEFINITION_ID
|
|
398
|
-
*/
|
|
399
|
-
contributionDefinition?: unknown;
|
|
400
|
-
};
|
|
401
|
-
CreatePostValues: {
|
|
402
|
-
/**
|
|
403
|
-
* @description The name of the asset.
|
|
404
|
-
* @example Water Sensor
|
|
405
|
-
*/
|
|
406
|
-
title?: string;
|
|
407
|
-
/**
|
|
408
|
-
* @description Asset Category
|
|
409
|
-
* @example DEVICE
|
|
410
|
-
*/
|
|
411
|
-
assetCategory?: string;
|
|
412
|
-
/**
|
|
413
|
-
* @description Asset Type
|
|
414
|
-
* @example SENSOR
|
|
415
|
-
*/
|
|
416
|
-
assetType?: string;
|
|
417
|
-
/**
|
|
418
|
-
* @description Asset Sub Type
|
|
419
|
-
* @example OTHER
|
|
420
|
-
*/
|
|
421
|
-
assetSubType?: string;
|
|
422
|
-
};
|
|
423
316
|
AssetGetValues: {
|
|
424
317
|
/**
|
|
425
318
|
* Format: uuid
|
|
@@ -495,6 +388,48 @@ export interface components {
|
|
|
495
388
|
*/
|
|
496
389
|
measurementData?: unknown[];
|
|
497
390
|
};
|
|
391
|
+
/** @description A point in time geolocation or measurments broadcast by an Asset, a series of Asset Locations track an Asset's movement and/or measurement changes. Either `geometry` or `measurementData` is required and both are allowed. */
|
|
392
|
+
AssetLocation: components['schemas']['AssetLocationBase'];
|
|
393
|
+
AssetLocationBase: {
|
|
394
|
+
/** @example ContributedAssetLocation */
|
|
395
|
+
'@type'?: string;
|
|
396
|
+
/**
|
|
397
|
+
* Format: date-time
|
|
398
|
+
* @description ISO 8601 Date and time in UTC the `measurementData` and/or `geometry` were recorded by the Asset
|
|
399
|
+
* @example 2019-07-12T21:29:50.000Z
|
|
400
|
+
*/
|
|
401
|
+
timestamp: string;
|
|
402
|
+
/**
|
|
403
|
+
* @description stringified [GeoJSON Point (RFC 7946)](https://tools.ietf.org/html/rfc7946#section-3.1.2) identifying the Asset geolocation
|
|
404
|
+
* @example { "type": "Feature", "geometry": { "geometries": [ { "coordinates": [ -94.5609911, 42.3428859 ], "type": "Point" } ], "type": "GeometryCollection" } }
|
|
405
|
+
*/
|
|
406
|
+
geometry?: string;
|
|
407
|
+
measurementData?: components['schemas']['MeasurementData'][];
|
|
408
|
+
};
|
|
409
|
+
AssetLocationCollection: components['schemas']['CollectionBase'] & {
|
|
410
|
+
values?: components['schemas']['AssetLocation'][];
|
|
411
|
+
};
|
|
412
|
+
/** @example ENVIRONMENTAL */
|
|
413
|
+
AssetSubType: string;
|
|
414
|
+
/** @example SENSOR */
|
|
415
|
+
AssetType: string;
|
|
416
|
+
CollectionBase: {
|
|
417
|
+
links?: {
|
|
418
|
+
/**
|
|
419
|
+
* @description Links relavent to exploring the collection.
|
|
420
|
+
* @example self
|
|
421
|
+
*/
|
|
422
|
+
rel?: string;
|
|
423
|
+
/**
|
|
424
|
+
* Format: uri
|
|
425
|
+
* @description The URI to the related resource.
|
|
426
|
+
* @example https://sandboxapi.deere.com/platform/resources/61265
|
|
427
|
+
*/
|
|
428
|
+
uri?: string;
|
|
429
|
+
}[];
|
|
430
|
+
/** @example 1 */
|
|
431
|
+
total?: number;
|
|
432
|
+
};
|
|
498
433
|
ContributionDefinitionLink: {
|
|
499
434
|
/** @example Link */
|
|
500
435
|
'@type'?: string;
|
|
@@ -510,7 +445,32 @@ export interface components {
|
|
|
510
445
|
*/
|
|
511
446
|
uri?: string;
|
|
512
447
|
};
|
|
513
|
-
|
|
448
|
+
/** @description A networked physical device, an IOT device, with the ability to broadcast geolocations and measurements */
|
|
449
|
+
CreateAsset: {
|
|
450
|
+
/** @example ContributedAsset */
|
|
451
|
+
'@type'?: string;
|
|
452
|
+
/**
|
|
453
|
+
* @description The name of the Asset.
|
|
454
|
+
* @example McGill 7000
|
|
455
|
+
*/
|
|
456
|
+
title: string;
|
|
457
|
+
assetCategory: components['schemas']['AssetCategory'];
|
|
458
|
+
assetType: components['schemas']['AssetType'];
|
|
459
|
+
assetSubType: components['schemas']['AssetSubType'];
|
|
460
|
+
};
|
|
461
|
+
CreatePostLink: {
|
|
462
|
+
/**
|
|
463
|
+
* @description Contribution Definition Link.
|
|
464
|
+
* @example https://sandboxapi.deere.com/platform/contributionDefinitions/DEFINITION_ID
|
|
465
|
+
*/
|
|
466
|
+
contributionDefinition?: unknown;
|
|
467
|
+
};
|
|
468
|
+
CreatePostValues: {
|
|
469
|
+
/**
|
|
470
|
+
* @description The name of the asset.
|
|
471
|
+
* @example Water Sensor
|
|
472
|
+
*/
|
|
473
|
+
title?: string;
|
|
514
474
|
/**
|
|
515
475
|
* @description Asset Category
|
|
516
476
|
* @example DEVICE
|
|
@@ -527,9 +487,49 @@ export interface components {
|
|
|
527
487
|
*/
|
|
528
488
|
assetSubType?: string;
|
|
529
489
|
};
|
|
530
|
-
|
|
531
|
-
|
|
490
|
+
GenericErrors: {
|
|
491
|
+
/** @example Errors */
|
|
492
|
+
'@type'?: string;
|
|
493
|
+
errors?: {
|
|
494
|
+
/** @example Error */
|
|
495
|
+
'@type'?: string;
|
|
496
|
+
/**
|
|
497
|
+
* Format: uuid
|
|
498
|
+
* @example ed292512-1f3c-4285-83c3-1fb084423f9b
|
|
499
|
+
*/
|
|
500
|
+
guid?: string;
|
|
501
|
+
/** @example some error message */
|
|
502
|
+
message?: string;
|
|
503
|
+
}[];
|
|
504
|
+
otherAttributes?: Record<string, never>;
|
|
505
|
+
};
|
|
506
|
+
/** @description The Asset Location with the most recent `timestamp` */
|
|
507
|
+
LastKnownLocation: components['schemas']['AssetLocationBase'];
|
|
508
|
+
MeasurementData: {
|
|
509
|
+
/**
|
|
510
|
+
* @description representation for which to capture data sandardized via the [ADAPT Representation System](https://github.com/ADAPT/ADAPT/blob/develop/source/Representation/Resources/RepresentationSystem.xml)
|
|
511
|
+
* @example vrSoilTemperature
|
|
512
|
+
*/
|
|
513
|
+
name: string;
|
|
514
|
+
/**
|
|
515
|
+
* @description measurement reading
|
|
516
|
+
* @example 46.2
|
|
517
|
+
*/
|
|
518
|
+
value: string;
|
|
519
|
+
/**
|
|
520
|
+
* @description unit of measure - the basis for any conversion sandardized via the [ADAPT Unit System](https://github.com/ADAPT/ADAPT/blob/develop/source/Representation/Resources/UnitSystem.xml)
|
|
521
|
+
* @example F
|
|
522
|
+
*/
|
|
523
|
+
unit: string;
|
|
532
524
|
};
|
|
525
|
+
UpdateAsset: {
|
|
526
|
+
/**
|
|
527
|
+
* Format: uuid
|
|
528
|
+
* @description The ID of the Asset. Optional, but if included it must match the URL parameter for Asset Id.
|
|
529
|
+
* @example b9d96332-93c7-44ae-ac86-eed8727f13c7
|
|
530
|
+
*/
|
|
531
|
+
id?: string;
|
|
532
|
+
} & components['schemas']['CreateAsset'];
|
|
533
533
|
};
|
|
534
534
|
responses: {
|
|
535
535
|
/** @description Request */
|
|
@@ -610,8 +610,8 @@ export interface components {
|
|
|
610
610
|
};
|
|
611
611
|
content?: never;
|
|
612
612
|
};
|
|
613
|
-
/** @description
|
|
614
|
-
|
|
613
|
+
/** @description The Asset. */
|
|
614
|
+
AssetGet: {
|
|
615
615
|
headers: {
|
|
616
616
|
[name: string]: unknown;
|
|
617
617
|
};
|
|
@@ -622,25 +622,24 @@ export interface components {
|
|
|
622
622
|
};
|
|
623
623
|
};
|
|
624
624
|
};
|
|
625
|
-
/** @description
|
|
626
|
-
|
|
625
|
+
/** @description The Asset Locations */
|
|
626
|
+
AssetIdGet: {
|
|
627
627
|
headers: {
|
|
628
628
|
[name: string]: unknown;
|
|
629
629
|
};
|
|
630
630
|
content: {
|
|
631
|
-
'application/vnd.deere.axiom.v3+json':
|
|
631
|
+
'application/vnd.deere.axiom.v3+json': {
|
|
632
|
+
values?: unknown;
|
|
633
|
+
};
|
|
632
634
|
};
|
|
633
635
|
};
|
|
634
|
-
/** @description The Asset. */
|
|
635
|
-
|
|
636
|
+
/** @description The Asset Location. */
|
|
637
|
+
AssetLocation: {
|
|
636
638
|
headers: {
|
|
637
639
|
[name: string]: unknown;
|
|
638
640
|
};
|
|
639
641
|
content: {
|
|
640
|
-
'
|
|
641
|
-
links?: unknown;
|
|
642
|
-
values?: unknown;
|
|
643
|
-
};
|
|
642
|
+
'*/*': components['schemas']['AssetLocation'][];
|
|
644
643
|
};
|
|
645
644
|
};
|
|
646
645
|
/** @description Success */
|
|
@@ -652,24 +651,34 @@ export interface components {
|
|
|
652
651
|
'application/vnd.deere.axiom.v3+json': Record<string, never>;
|
|
653
652
|
};
|
|
654
653
|
};
|
|
655
|
-
/** @description
|
|
656
|
-
|
|
654
|
+
/** @description Create */
|
|
655
|
+
CreatePost: {
|
|
657
656
|
headers: {
|
|
658
657
|
[name: string]: unknown;
|
|
659
658
|
};
|
|
660
659
|
content: {
|
|
661
|
-
'application/vnd.deere.axiom.v3+json':
|
|
662
|
-
values?: unknown;
|
|
663
|
-
};
|
|
660
|
+
'application/vnd.deere.axiom.v3+json': Record<string, never>;
|
|
664
661
|
};
|
|
665
662
|
};
|
|
666
|
-
/** @description
|
|
667
|
-
|
|
663
|
+
/** @description Created. */
|
|
664
|
+
Created: {
|
|
665
|
+
headers: {
|
|
666
|
+
/** @description https://sandboxapi.deere.com/platform/asset/1234 */
|
|
667
|
+
Location?: string;
|
|
668
|
+
[name: string]: unknown;
|
|
669
|
+
};
|
|
670
|
+
content?: never;
|
|
671
|
+
};
|
|
672
|
+
/** @description A collection of Assets */
|
|
673
|
+
GetOrgId: {
|
|
668
674
|
headers: {
|
|
669
675
|
[name: string]: unknown;
|
|
670
676
|
};
|
|
671
677
|
content: {
|
|
672
|
-
'
|
|
678
|
+
'application/vnd.deere.axiom.v3+json': {
|
|
679
|
+
links?: unknown;
|
|
680
|
+
values?: unknown;
|
|
681
|
+
};
|
|
673
682
|
};
|
|
674
683
|
};
|
|
675
684
|
/** @description Success. */
|
|
@@ -679,39 +688,30 @@ export interface components {
|
|
|
679
688
|
};
|
|
680
689
|
content?: never;
|
|
681
690
|
};
|
|
682
|
-
/** @description Created. */
|
|
683
|
-
Created: {
|
|
684
|
-
headers: {
|
|
685
|
-
/** @description https://sandboxapi.deere.com/platform/asset/1234 */
|
|
686
|
-
Location?: string;
|
|
687
|
-
[name: string]: unknown;
|
|
688
|
-
};
|
|
689
|
-
content?: never;
|
|
690
|
-
};
|
|
691
691
|
};
|
|
692
692
|
parameters: {
|
|
693
|
-
/** @description The ID of the organization */
|
|
694
|
-
OrgId: string;
|
|
695
|
-
/** @description Additional data to embed in the response. For example embed=lastKnownLocation will return assets with their lastKnownLocation included. */
|
|
696
|
-
Embed: string;
|
|
697
|
-
/** @description See for more information. */
|
|
698
|
-
'X-deere-sign': string;
|
|
699
|
-
/** @description See for more information. */
|
|
700
|
-
'x-deere-sign': string;
|
|
701
|
-
/** @description See for more information. */
|
|
702
|
-
'x-deere-sign2': string;
|
|
703
693
|
/** @description The ID of the asset */
|
|
704
694
|
AssetId: string;
|
|
705
695
|
/** @description The ID associated with the asset. */
|
|
706
696
|
AssetId2: string;
|
|
707
|
-
/** @description
|
|
708
|
-
|
|
697
|
+
/** @description The number of results to include in the response. Must be a positive value greater than or equal to 1. Max 500. Default 500. */
|
|
698
|
+
Count: string;
|
|
699
|
+
/** @description Additional data to embed in the response. For example embed=lastKnownLocation will return assets with their lastKnownLocation included. */
|
|
700
|
+
Embed: string;
|
|
709
701
|
/** @description Retrieves results that occurred before (inclusive) a specified date. The format is in the ISO 8601 Standard. Note: When including startDate without endDate or vice versa the missing parameter will default. startDate will default to the beginning of time and endDate will default to the current time. */
|
|
710
702
|
EndDate: string;
|
|
703
|
+
/** @description The ID of the organization */
|
|
704
|
+
OrgId: string;
|
|
711
705
|
/** @description A query param returned by the server in the nextPage link if there are more results for your query than were returned in the response. */
|
|
712
706
|
PageKey: string;
|
|
713
|
-
/** @description
|
|
714
|
-
|
|
707
|
+
/** @description Retrieves results that occurred after (inclusive) a specified date. The format is in the ISO 8601 Standard. Note: When including startDate without endDate or vice versa the missing parameter will default. startDate will default to the beginning of time and endDate will default to the current time. */
|
|
708
|
+
StartDate: string;
|
|
709
|
+
/** @description See for more information. */
|
|
710
|
+
'X-deere-sign': string;
|
|
711
|
+
/** @description See for more information. */
|
|
712
|
+
'x-deere-sign': string;
|
|
713
|
+
/** @description See for more information. */
|
|
714
|
+
'x-deere-sign2': string;
|
|
715
715
|
};
|
|
716
716
|
requestBodies: never;
|
|
717
717
|
headers: {
|
|
@@ -725,57 +725,30 @@ export interface components {
|
|
|
725
725
|
}
|
|
726
726
|
export type $defs = Record<string, never>;
|
|
727
727
|
export interface operations {
|
|
728
|
-
|
|
728
|
+
getAssetCatalog: {
|
|
729
729
|
parameters: {
|
|
730
|
-
query?:
|
|
731
|
-
/** @description Additional data to embed in the response. For example embed=lastKnownLocation will return assets with their lastKnownLocation included. */
|
|
732
|
-
embed?: components['parameters']['Embed'];
|
|
733
|
-
};
|
|
730
|
+
query?: never;
|
|
734
731
|
header?: {
|
|
735
732
|
/** @description See for more information. */
|
|
736
|
-
'x-deere-signature'?: components['parameters']['
|
|
737
|
-
};
|
|
738
|
-
path: {
|
|
739
|
-
/** @description The ID of the organization */
|
|
740
|
-
orgId: components['parameters']['OrgId'];
|
|
733
|
+
'x-deere-signature'?: components['parameters']['x-deere-sign'];
|
|
741
734
|
};
|
|
735
|
+
path?: never;
|
|
742
736
|
cookie?: never;
|
|
743
737
|
};
|
|
744
738
|
requestBody?: never;
|
|
745
739
|
responses: {
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
header?: never;
|
|
757
|
-
path: {
|
|
758
|
-
/** @description The ID of the organization */
|
|
759
|
-
orgId: components['parameters']['OrgId'];
|
|
760
|
-
};
|
|
761
|
-
cookie?: never;
|
|
762
|
-
};
|
|
763
|
-
/** @description Asset to be created. */
|
|
764
|
-
requestBody?: {
|
|
765
|
-
content: {
|
|
766
|
-
'application/vnd.deere.axiom.v3+json': components['schemas']['CreatePostValues'];
|
|
740
|
+
/** @description The Asset Catalog containaing all valid entries. */
|
|
741
|
+
200: {
|
|
742
|
+
headers: {
|
|
743
|
+
[name: string]: unknown;
|
|
744
|
+
};
|
|
745
|
+
content: {
|
|
746
|
+
'application/vnd.deere.axiom.v3+json': {
|
|
747
|
+
values?: unknown;
|
|
748
|
+
};
|
|
749
|
+
};
|
|
767
750
|
};
|
|
768
751
|
};
|
|
769
|
-
responses: {
|
|
770
|
-
201: components['responses']['CreatePost'];
|
|
771
|
-
400: components['responses']['400'];
|
|
772
|
-
401: components['responses']['401'];
|
|
773
|
-
403: components['responses']['403'];
|
|
774
|
-
404: components['responses']['404'];
|
|
775
|
-
406: components['responses']['406'];
|
|
776
|
-
415: components['responses']['415'];
|
|
777
|
-
429: components['responses']['429'];
|
|
778
|
-
};
|
|
779
752
|
};
|
|
780
753
|
getAsset: {
|
|
781
754
|
parameters: {
|
|
@@ -859,30 +832,57 @@ export interface operations {
|
|
|
859
832
|
429: components['responses']['429'];
|
|
860
833
|
};
|
|
861
834
|
};
|
|
862
|
-
|
|
835
|
+
getOrgAssets: {
|
|
863
836
|
parameters: {
|
|
864
|
-
query?:
|
|
837
|
+
query?: {
|
|
838
|
+
/** @description Additional data to embed in the response. For example embed=lastKnownLocation will return assets with their lastKnownLocation included. */
|
|
839
|
+
embed?: components['parameters']['Embed'];
|
|
840
|
+
};
|
|
865
841
|
header?: {
|
|
866
842
|
/** @description See for more information. */
|
|
867
|
-
'x-deere-signature'?: components['parameters']['
|
|
843
|
+
'x-deere-signature'?: components['parameters']['X-deere-sign'];
|
|
844
|
+
};
|
|
845
|
+
path: {
|
|
846
|
+
/** @description The ID of the organization */
|
|
847
|
+
orgId: components['parameters']['OrgId'];
|
|
868
848
|
};
|
|
869
|
-
path?: never;
|
|
870
849
|
cookie?: never;
|
|
871
850
|
};
|
|
872
851
|
requestBody?: never;
|
|
873
852
|
responses: {
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
853
|
+
200: components['responses']['GetOrgId'];
|
|
854
|
+
401: components['responses']['401'];
|
|
855
|
+
403: components['responses']['403'];
|
|
856
|
+
406: components['responses']['406'];
|
|
857
|
+
429: components['responses']['429'];
|
|
858
|
+
};
|
|
859
|
+
};
|
|
860
|
+
postAsset: {
|
|
861
|
+
parameters: {
|
|
862
|
+
query?: never;
|
|
863
|
+
header?: never;
|
|
864
|
+
path: {
|
|
865
|
+
/** @description The ID of the organization */
|
|
866
|
+
orgId: components['parameters']['OrgId'];
|
|
867
|
+
};
|
|
868
|
+
cookie?: never;
|
|
869
|
+
};
|
|
870
|
+
/** @description Asset to be created. */
|
|
871
|
+
requestBody?: {
|
|
872
|
+
content: {
|
|
873
|
+
'application/vnd.deere.axiom.v3+json': components['schemas']['CreatePostValues'];
|
|
884
874
|
};
|
|
885
875
|
};
|
|
876
|
+
responses: {
|
|
877
|
+
201: components['responses']['CreatePost'];
|
|
878
|
+
400: components['responses']['400'];
|
|
879
|
+
401: components['responses']['401'];
|
|
880
|
+
403: components['responses']['403'];
|
|
881
|
+
404: components['responses']['404'];
|
|
882
|
+
406: components['responses']['406'];
|
|
883
|
+
415: components['responses']['415'];
|
|
884
|
+
429: components['responses']['429'];
|
|
885
|
+
};
|
|
886
886
|
};
|
|
887
887
|
}
|
|
888
888
|
//# sourceMappingURL=assets.d.ts.map
|