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,6 +3,102 @@
|
|
|
3
3
|
* Do not make direct changes to the file.
|
|
4
4
|
*/
|
|
5
5
|
export interface paths {
|
|
6
|
+
'/fileTransfers': {
|
|
7
|
+
parameters: {
|
|
8
|
+
query?: never;
|
|
9
|
+
header?: never;
|
|
10
|
+
path?: never;
|
|
11
|
+
cookie?: never;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* List File Transfer Requests
|
|
15
|
+
* @description This resource allows the client to check the status of a file transfer request that has already been submitted. The response will contain links to the following resources: file: View the file for which the transfer was requested. machine: View the machine to which the transfer was requested.
|
|
16
|
+
*/
|
|
17
|
+
get: {
|
|
18
|
+
parameters: {
|
|
19
|
+
query?: {
|
|
20
|
+
/** @description The source of the file transfer. Takes the values ORGANIZATION or MACHINE. */
|
|
21
|
+
source?: components['parameters']['Source2'];
|
|
22
|
+
};
|
|
23
|
+
header?: {
|
|
24
|
+
/** @description x-deere-signature should be managed by the client per user per API. For a new user/new API, the first request will have a blank value for x-deere-signature. Changes can be tracked with the x-deere-signature returned in the response. If the response has not changed since the last API call, the value of x-deere-signature is not changed and the client should use the same String Token next time. */
|
|
25
|
+
'x-deere-signature'?: components['parameters']['X-deere-signature_FileTransfers'];
|
|
26
|
+
};
|
|
27
|
+
path?: never;
|
|
28
|
+
cookie?: never;
|
|
29
|
+
};
|
|
30
|
+
requestBody?: never;
|
|
31
|
+
responses: {
|
|
32
|
+
/** @description File Transfer. */
|
|
33
|
+
200: {
|
|
34
|
+
headers: {
|
|
35
|
+
[name: string]: unknown;
|
|
36
|
+
};
|
|
37
|
+
content: {
|
|
38
|
+
'application/vnd.deere.axiom.v3+json': {
|
|
39
|
+
links?: unknown;
|
|
40
|
+
values?: unknown;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
put?: never;
|
|
47
|
+
post?: never;
|
|
48
|
+
delete?: never;
|
|
49
|
+
options?: never;
|
|
50
|
+
head?: never;
|
|
51
|
+
patch?: never;
|
|
52
|
+
trace?: never;
|
|
53
|
+
};
|
|
54
|
+
'/fileTransfers/{id}': {
|
|
55
|
+
parameters: {
|
|
56
|
+
query?: never;
|
|
57
|
+
header?: never;
|
|
58
|
+
path?: never;
|
|
59
|
+
cookie?: never;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* View a File Transfer Request
|
|
63
|
+
* @description This resource allows the client to check the status of a file transfer request that has already been submitted. The response will contain links to the following resources: file: View the file for which the transfer was requested. machine: View the machine to which the transfer was requested.
|
|
64
|
+
*/
|
|
65
|
+
get: {
|
|
66
|
+
parameters: {
|
|
67
|
+
query?: {
|
|
68
|
+
/** @description The source of the file transfer. Takes the values ORGANIZATION or MACHINE. */
|
|
69
|
+
source?: components['parameters']['Source'];
|
|
70
|
+
};
|
|
71
|
+
header?: never;
|
|
72
|
+
path: {
|
|
73
|
+
/** @description File Transfer ID */
|
|
74
|
+
id: components['parameters']['Id'];
|
|
75
|
+
};
|
|
76
|
+
cookie?: never;
|
|
77
|
+
};
|
|
78
|
+
requestBody?: never;
|
|
79
|
+
responses: {
|
|
80
|
+
/** @description File Transfer by ID. */
|
|
81
|
+
200: {
|
|
82
|
+
headers: {
|
|
83
|
+
[name: string]: unknown;
|
|
84
|
+
};
|
|
85
|
+
content: {
|
|
86
|
+
'application/vnd.deere.axiom.v3+json': {
|
|
87
|
+
links?: unknown;
|
|
88
|
+
values?: unknown;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
put?: never;
|
|
95
|
+
post?: never;
|
|
96
|
+
delete?: never;
|
|
97
|
+
options?: never;
|
|
98
|
+
head?: never;
|
|
99
|
+
patch?: never;
|
|
100
|
+
trace?: never;
|
|
101
|
+
};
|
|
6
102
|
'/files': {
|
|
7
103
|
parameters: {
|
|
8
104
|
query?: never;
|
|
@@ -172,6 +268,84 @@ export interface paths {
|
|
|
172
268
|
patch?: never;
|
|
173
269
|
trace?: never;
|
|
174
270
|
};
|
|
271
|
+
'/organizations/{orgId}/fileTransfers': {
|
|
272
|
+
parameters: {
|
|
273
|
+
query?: never;
|
|
274
|
+
header?: never;
|
|
275
|
+
path?: never;
|
|
276
|
+
cookie?: never;
|
|
277
|
+
};
|
|
278
|
+
/**
|
|
279
|
+
* Get File Transfer List by Organization
|
|
280
|
+
* @description This resource will retrieve list of all File Transfer by an Organization. The response will contain links to the following resources: file: View the file for which the transfer was requested. machine: View the machine to which the transfer was requested.
|
|
281
|
+
*/
|
|
282
|
+
get: {
|
|
283
|
+
parameters: {
|
|
284
|
+
query?: {
|
|
285
|
+
/** @description The source of the file transfer. Takes the values ORGANIZATION or MACHINE. */
|
|
286
|
+
source?: components['parameters']['Source'];
|
|
287
|
+
};
|
|
288
|
+
header?: never;
|
|
289
|
+
path: {
|
|
290
|
+
/** @description Organization */
|
|
291
|
+
orgId: components['parameters']['OrgId'];
|
|
292
|
+
};
|
|
293
|
+
cookie?: never;
|
|
294
|
+
};
|
|
295
|
+
requestBody?: never;
|
|
296
|
+
responses: {
|
|
297
|
+
/** @description File Transfer. */
|
|
298
|
+
200: {
|
|
299
|
+
headers: {
|
|
300
|
+
[name: string]: unknown;
|
|
301
|
+
};
|
|
302
|
+
content: {
|
|
303
|
+
'application/vnd.deere.axiom.v3+json': {
|
|
304
|
+
links?: unknown;
|
|
305
|
+
values?: unknown;
|
|
306
|
+
};
|
|
307
|
+
};
|
|
308
|
+
};
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
put?: never;
|
|
312
|
+
/**
|
|
313
|
+
* Submit a File Transfer Request
|
|
314
|
+
* @description This resource allows you to select a file and machine, and use the client software to submit a file transfer request. After that, MyJohnDeere API v3's infrastructure transfers the selected file to the selected machine, where it becomes available for the machine operator to use. The response links to the following resources: file: The file for which the transfer is being requested. machine: The machine to which the transfer is being requested.
|
|
315
|
+
*/
|
|
316
|
+
post: {
|
|
317
|
+
parameters: {
|
|
318
|
+
query?: never;
|
|
319
|
+
header?: never;
|
|
320
|
+
path: {
|
|
321
|
+
/** @description Organization */
|
|
322
|
+
orgId: components['parameters']['OrgId2'];
|
|
323
|
+
};
|
|
324
|
+
cookie?: never;
|
|
325
|
+
};
|
|
326
|
+
requestBody?: {
|
|
327
|
+
content: {
|
|
328
|
+
'application/vnd.deere.axiom.v3+json': components['schemas']['FileTransfersPost'];
|
|
329
|
+
};
|
|
330
|
+
};
|
|
331
|
+
responses: {
|
|
332
|
+
/** @description File Transfer. */
|
|
333
|
+
200: {
|
|
334
|
+
headers: {
|
|
335
|
+
[name: string]: unknown;
|
|
336
|
+
};
|
|
337
|
+
content: {
|
|
338
|
+
'application/vnd.deere.axiom.v3+json': components['schemas']['PostFileTransfersResponse'];
|
|
339
|
+
};
|
|
340
|
+
};
|
|
341
|
+
};
|
|
342
|
+
};
|
|
343
|
+
delete?: never;
|
|
344
|
+
options?: never;
|
|
345
|
+
head?: never;
|
|
346
|
+
patch?: never;
|
|
347
|
+
trace?: never;
|
|
348
|
+
};
|
|
175
349
|
'/organizations/{orgId}/files': {
|
|
176
350
|
parameters: {
|
|
177
351
|
query?: never;
|
|
@@ -305,48 +479,6 @@ export interface paths {
|
|
|
305
479
|
export type webhooks = Record<string, never>;
|
|
306
480
|
export interface components {
|
|
307
481
|
schemas: {
|
|
308
|
-
/**
|
|
309
|
-
* @example SETUP
|
|
310
|
-
* @enum {string}
|
|
311
|
-
*/
|
|
312
|
-
FileType: 'SETUP' | 'PRESCRIPTION' | 'INVALID' | 'UNKNOWN' | 'DOC' | 'JDBACKUP' | 'HIC' | 'TIMBERLINK' | 'EXPORT' | 'TIMBERMATIC' | 'PDF' | 'ISO_SETUP' | 'BOUNDARY' | 'EXCEL';
|
|
313
|
-
PostableFileDetails: components['schemas']['EditableFileDetails'] & {
|
|
314
|
-
type?: components['schemas']['FileType'];
|
|
315
|
-
/**
|
|
316
|
-
* @description The source of the file (e.g., the display type or user that uploaded it)
|
|
317
|
-
* @example myUserName
|
|
318
|
-
*/
|
|
319
|
-
source?: string;
|
|
320
|
-
/**
|
|
321
|
-
* @description Contextual metadata for the file, such as frequency, report type, machines, and fields
|
|
322
|
-
* @example {
|
|
323
|
-
* "frequency": "DAILY",
|
|
324
|
-
* "reportType": "CONNECTIVITY",
|
|
325
|
-
* "machines": [
|
|
326
|
-
* "eb8a4a58-9d94-4c98-ae56-09331aa0ff50",
|
|
327
|
-
* "3341fe33-4825-464b-8442-3f17fa876cd1"
|
|
328
|
-
* ],
|
|
329
|
-
* "fields": [
|
|
330
|
-
* "3341fe33-4825-464b-8442-3f17fa876cd1",
|
|
331
|
-
* "3341fe33-4825-464b-8442-3f17fa876cd1"
|
|
332
|
-
* ]
|
|
333
|
-
* }
|
|
334
|
-
*/
|
|
335
|
-
contextMetadata?: Record<string, never>;
|
|
336
|
-
/**
|
|
337
|
-
* @description Additional custom metadata for the file
|
|
338
|
-
* @example {
|
|
339
|
-
* "time_range_start": "2025-07-01T00:00:00Z",
|
|
340
|
-
* "time_range_end": "2025-07-28T00:00:00Z",
|
|
341
|
-
* "locale": "en-US",
|
|
342
|
-
* "time_zone": "UTC",
|
|
343
|
-
* "unit_of_measure": "XYZ",
|
|
344
|
-
* "user_type": "Admin",
|
|
345
|
-
* "schedule_id": "124jsg"
|
|
346
|
-
* }
|
|
347
|
-
*/
|
|
348
|
-
customMetadata?: Record<string, never>;
|
|
349
|
-
};
|
|
350
482
|
EditableFileDetails: {
|
|
351
483
|
/** @example RW8360R907628_12062012.zip */
|
|
352
484
|
name?: string;
|
|
@@ -361,17 +493,138 @@ export interface components {
|
|
|
361
493
|
*/
|
|
362
494
|
delayProcessing?: boolean;
|
|
363
495
|
};
|
|
364
|
-
|
|
496
|
+
FileLinkGet: {
|
|
497
|
+
/**
|
|
498
|
+
* @description Files Link.
|
|
499
|
+
* @example https://sandboxapi.deere.com/platform/files/612
|
|
500
|
+
*/
|
|
501
|
+
file?: unknown;
|
|
502
|
+
/**
|
|
503
|
+
* @description Machines Link.
|
|
504
|
+
* @example https://sandboxapi.deere.com/platform/machines/1523
|
|
505
|
+
*/
|
|
506
|
+
machine?: unknown;
|
|
507
|
+
};
|
|
508
|
+
FileTransfersLink: {
|
|
509
|
+
/**
|
|
510
|
+
* @description Files Link.
|
|
511
|
+
* @example https://sandboxapi.deere.com/platform/files/fileID
|
|
512
|
+
*/
|
|
513
|
+
file?: unknown;
|
|
514
|
+
/**
|
|
515
|
+
* @description Machines Link.
|
|
516
|
+
* @example https://sandboxapi.deere.com/platform/machines/machineID
|
|
517
|
+
*/
|
|
518
|
+
machine?: unknown;
|
|
519
|
+
};
|
|
520
|
+
FileTransfersLinkAPIInteractions: {
|
|
521
|
+
/** @description Status. */
|
|
522
|
+
Status?: unknown;
|
|
523
|
+
/** @description The url of the created resources */
|
|
524
|
+
location?: unknown;
|
|
525
|
+
};
|
|
526
|
+
FileTransfersLinkGet: {
|
|
527
|
+
/**
|
|
528
|
+
* @description Files Link.
|
|
529
|
+
* @example https://sandboxapi.deere.com/platform/files/15234
|
|
530
|
+
*/
|
|
531
|
+
file?: unknown;
|
|
532
|
+
/**
|
|
533
|
+
* @description Machines Link.
|
|
534
|
+
* @example https://sandboxapi.deere.com/platform/machines/8237
|
|
535
|
+
*/
|
|
536
|
+
machine?: unknown;
|
|
365
537
|
/**
|
|
366
538
|
* @description Organization Link.
|
|
367
539
|
* @example https://sandboxapi.deere.com/platform/organizations/1234
|
|
368
540
|
*/
|
|
369
541
|
owningOrganization?: unknown;
|
|
542
|
+
};
|
|
543
|
+
FileTransfersPost: {
|
|
544
|
+
links?: {
|
|
545
|
+
/** @enum {string} */
|
|
546
|
+
rel?: 'file' | 'equipment';
|
|
547
|
+
/** Format: uri */
|
|
548
|
+
uri?: string;
|
|
549
|
+
}[];
|
|
550
|
+
};
|
|
551
|
+
FileTransfersValue: {
|
|
370
552
|
/**
|
|
371
|
-
* @description
|
|
372
|
-
* @example
|
|
553
|
+
* @description Information on the transferred file, including name, type, created type, modified time, native size, source, status, and whether it was archived.
|
|
554
|
+
* @example See sample response below.
|
|
373
555
|
*/
|
|
374
|
-
|
|
556
|
+
file?: Record<string, never>;
|
|
557
|
+
/**
|
|
558
|
+
* @description File Transfer ID
|
|
559
|
+
* @example 1628996
|
|
560
|
+
*/
|
|
561
|
+
id?: string;
|
|
562
|
+
/**
|
|
563
|
+
* @description File source. If the request parameter value for source is MACHINE, this response value will also be MACHINE. If the request parameter value for source is ORGANIZATION, this response value will be HOST.
|
|
564
|
+
* @example HOST
|
|
565
|
+
*/
|
|
566
|
+
source?: string;
|
|
567
|
+
/**
|
|
568
|
+
* Format: date-time
|
|
569
|
+
* @description Timestamp of when the file transfer was initiated.All timestamps are formatted according to the standard.
|
|
570
|
+
* @example 2015-06-09T09:43:01.381Z
|
|
571
|
+
*/
|
|
572
|
+
transferInitiationTime?: string;
|
|
573
|
+
/**
|
|
574
|
+
* Format: date-time
|
|
575
|
+
* @description Timestamp of when the file transfer was last updated.All timestamps are formatted according to the standard.
|
|
576
|
+
* @example 2015-06-09T09:43:01.384Z
|
|
577
|
+
*/
|
|
578
|
+
lastUpdatedTime?: string;
|
|
579
|
+
/**
|
|
580
|
+
* @description Status of the file transfer.
|
|
581
|
+
* @example WDT_AVAILABLE_TO_DISPLAY
|
|
582
|
+
*/
|
|
583
|
+
status?: string;
|
|
584
|
+
};
|
|
585
|
+
/**
|
|
586
|
+
* @example SETUP
|
|
587
|
+
* @enum {string}
|
|
588
|
+
*/
|
|
589
|
+
FileType: 'SETUP' | 'PRESCRIPTION' | 'INVALID' | 'UNKNOWN' | 'DOC' | 'JDBACKUP' | 'HIC' | 'TIMBERLINK' | 'EXPORT' | 'TIMBERMATIC' | 'PDF' | 'ISO_SETUP' | 'BOUNDARY' | 'EXCEL';
|
|
590
|
+
FileValue: {
|
|
591
|
+
/**
|
|
592
|
+
* @description A new x-deere-signature response header will be included if the response has changed since last api call.
|
|
593
|
+
* @example 877280ba-c8fe-49f0-a0ea-b6855cebd36f.1639958400000
|
|
594
|
+
*/
|
|
595
|
+
'x-deere-signature'?: string;
|
|
596
|
+
/**
|
|
597
|
+
* @description Information on the transferred file, including name, type, created type, modified time, native size, source, status, and whether it was archived.
|
|
598
|
+
* @example See sample response below.
|
|
599
|
+
*/
|
|
600
|
+
file?: Record<string, never>;
|
|
601
|
+
/**
|
|
602
|
+
* @description File Transfer ID
|
|
603
|
+
* @default N/A
|
|
604
|
+
* @example 51234
|
|
605
|
+
*/
|
|
606
|
+
id: string;
|
|
607
|
+
/**
|
|
608
|
+
* @description File source. If the request parameter value for source is MACHINE, this response value will also be MACHINE. If the request parameter value for source is ORGANIZATION, this response value will be HOST.
|
|
609
|
+
* @default N/A
|
|
610
|
+
* @example HOST
|
|
611
|
+
*/
|
|
612
|
+
source: string;
|
|
613
|
+
/**
|
|
614
|
+
* @description Timestamp of when the file transfer was initiated.All timestamps are formatted according to the standard.
|
|
615
|
+
* @example 2018-03-20T18:52:22.155Z
|
|
616
|
+
*/
|
|
617
|
+
transferInitiationTime?: string;
|
|
618
|
+
/**
|
|
619
|
+
* @description Timestamp of when the file transfer was last updated.All timestamps are formatted according to the standard.
|
|
620
|
+
* @example 2018-03-20T21:11:35.519Z
|
|
621
|
+
*/
|
|
622
|
+
lastUpdatedTime?: string;
|
|
623
|
+
/**
|
|
624
|
+
* @description Status of the file transfer.
|
|
625
|
+
* @example WDT_IN_PROCESS
|
|
626
|
+
*/
|
|
627
|
+
status?: string;
|
|
375
628
|
};
|
|
376
629
|
FilesGet: {
|
|
377
630
|
/**
|
|
@@ -458,6 +711,87 @@ export interface components {
|
|
|
458
711
|
*/
|
|
459
712
|
manufacturer?: string;
|
|
460
713
|
};
|
|
714
|
+
FilesLink: {
|
|
715
|
+
/**
|
|
716
|
+
* @description Organization Link.
|
|
717
|
+
* @example https://sandboxapi.deere.com/platform/organizations/1234
|
|
718
|
+
*/
|
|
719
|
+
owningOrganization?: unknown;
|
|
720
|
+
/**
|
|
721
|
+
* @description Partnership Link.
|
|
722
|
+
* @example https://sandboxapi.deere.com/platform/files/466578633/partnerships
|
|
723
|
+
*/
|
|
724
|
+
partnerships?: unknown;
|
|
725
|
+
};
|
|
726
|
+
/** @description File Transfers Post Api Response. */
|
|
727
|
+
PostFileTransfersResponse: {
|
|
728
|
+
/**
|
|
729
|
+
* @description The URL of the created resource.
|
|
730
|
+
* @example https://sandboxapi.deere.com/platform/fileTransfers/7482
|
|
731
|
+
*/
|
|
732
|
+
Location?: string;
|
|
733
|
+
};
|
|
734
|
+
PostFiles: {
|
|
735
|
+
/**
|
|
736
|
+
* @description The file was successfully created.
|
|
737
|
+
* @example Created
|
|
738
|
+
*/
|
|
739
|
+
201?: unknown;
|
|
740
|
+
/**
|
|
741
|
+
* @description File names must be between 5 and 69 characters and may only contain international alphanumeric characters, spaces, and any of the following: ".,-_". Specifically, it must match the following Unicode regular expression: ^[\p{N}\p{L}.,_ \-]+$
|
|
742
|
+
* @example Must be between 5 and 69 characters Should not contain invalid characters.
|
|
743
|
+
*/
|
|
744
|
+
400?: unknown;
|
|
745
|
+
};
|
|
746
|
+
PostableFileDetails: components['schemas']['EditableFileDetails'] & {
|
|
747
|
+
type?: components['schemas']['FileType'];
|
|
748
|
+
/**
|
|
749
|
+
* @description The source of the file (e.g., the display type or user that uploaded it)
|
|
750
|
+
* @example myUserName
|
|
751
|
+
*/
|
|
752
|
+
source?: string;
|
|
753
|
+
/**
|
|
754
|
+
* @description Contextual metadata for the file, such as frequency, report type, machines, and fields
|
|
755
|
+
* @example {
|
|
756
|
+
* "frequency": "DAILY",
|
|
757
|
+
* "reportType": "CONNECTIVITY",
|
|
758
|
+
* "machines": [
|
|
759
|
+
* "eb8a4a58-9d94-4c98-ae56-09331aa0ff50",
|
|
760
|
+
* "3341fe33-4825-464b-8442-3f17fa876cd1"
|
|
761
|
+
* ],
|
|
762
|
+
* "fields": [
|
|
763
|
+
* "3341fe33-4825-464b-8442-3f17fa876cd1",
|
|
764
|
+
* "3341fe33-4825-464b-8442-3f17fa876cd1"
|
|
765
|
+
* ]
|
|
766
|
+
* }
|
|
767
|
+
*/
|
|
768
|
+
contextMetadata?: Record<string, never>;
|
|
769
|
+
/**
|
|
770
|
+
* @description Additional custom metadata for the file
|
|
771
|
+
* @example {
|
|
772
|
+
* "time_range_start": "2025-07-01T00:00:00Z",
|
|
773
|
+
* "time_range_end": "2025-07-28T00:00:00Z",
|
|
774
|
+
* "locale": "en-US",
|
|
775
|
+
* "time_zone": "UTC",
|
|
776
|
+
* "unit_of_measure": "XYZ",
|
|
777
|
+
* "user_type": "Admin",
|
|
778
|
+
* "schedule_id": "124jsg"
|
|
779
|
+
* }
|
|
780
|
+
*/
|
|
781
|
+
customMetadata?: Record<string, never>;
|
|
782
|
+
};
|
|
783
|
+
PutFiles: {
|
|
784
|
+
/**
|
|
785
|
+
* @description The file was updated.
|
|
786
|
+
* @example No Content
|
|
787
|
+
*/
|
|
788
|
+
204?: unknown;
|
|
789
|
+
/**
|
|
790
|
+
* @description File names must be between 1 and 45 characters and may only contain international alphanumeric characters, spaces, and any of the following: ".,-_". Specifically, it must match the following Unicode regular expression: ^[\p{N}\p{L}.,_ \-]+$
|
|
791
|
+
* @example Must be between 1 and 45 characters Should not contain invalid characters.
|
|
792
|
+
*/
|
|
793
|
+
400?: unknown;
|
|
794
|
+
};
|
|
461
795
|
ValueFileIdGet: {
|
|
462
796
|
/**
|
|
463
797
|
* @description The id of the file.
|
|
@@ -528,109 +862,97 @@ export interface components {
|
|
|
528
862
|
*/
|
|
529
863
|
new?: boolean;
|
|
530
864
|
};
|
|
531
|
-
PostFiles: {
|
|
532
|
-
/**
|
|
533
|
-
* @description The file was successfully created.
|
|
534
|
-
* @example Created
|
|
535
|
-
*/
|
|
536
|
-
201?: unknown;
|
|
537
|
-
/**
|
|
538
|
-
* @description File names must be between 5 and 69 characters and may only contain international alphanumeric characters, spaces, and any of the following: ".,-_". Specifically, it must match the following Unicode regular expression: ^[\p{N}\p{L}.,_ \-]+$
|
|
539
|
-
* @example Must be between 5 and 69 characters Should not contain invalid characters.
|
|
540
|
-
*/
|
|
541
|
-
400?: unknown;
|
|
542
|
-
};
|
|
543
|
-
PutFiles: {
|
|
544
|
-
/**
|
|
545
|
-
* @description The file was updated.
|
|
546
|
-
* @example No Content
|
|
547
|
-
*/
|
|
548
|
-
204?: unknown;
|
|
549
|
-
/**
|
|
550
|
-
* @description File names must be between 1 and 45 characters and may only contain international alphanumeric characters, spaces, and any of the following: ".,-_". Specifically, it must match the following Unicode regular expression: ^[\p{N}\p{L}.,_ \-]+$
|
|
551
|
-
* @example Must be between 1 and 45 characters Should not contain invalid characters.
|
|
552
|
-
*/
|
|
553
|
-
400?: unknown;
|
|
554
|
-
};
|
|
555
865
|
};
|
|
556
866
|
responses: {
|
|
557
867
|
/** @description Successful operation */
|
|
558
|
-
|
|
868
|
+
FileIdGet: {
|
|
559
869
|
headers: {
|
|
560
870
|
[name: string]: unknown;
|
|
561
871
|
};
|
|
562
872
|
content: {
|
|
873
|
+
'application/zip': unknown;
|
|
874
|
+
'application/octet-stream': unknown;
|
|
875
|
+
'application/x-zip': unknown;
|
|
876
|
+
'application/x-zip-compressed': unknown;
|
|
877
|
+
'multipart/mixed': unknown;
|
|
563
878
|
'application/vnd.deere.axiom.v3+json': {
|
|
564
|
-
links?:
|
|
565
|
-
/**
|
|
566
|
-
* Format: double
|
|
567
|
-
* @description Total number of files matching the request
|
|
568
|
-
* @example 123
|
|
569
|
-
*/
|
|
570
|
-
total?: number;
|
|
879
|
+
links?: unknown;
|
|
571
880
|
values?: unknown;
|
|
572
881
|
};
|
|
573
882
|
};
|
|
574
883
|
};
|
|
575
884
|
/** @description Successful operation */
|
|
576
|
-
|
|
885
|
+
FileListResponse: {
|
|
577
886
|
headers: {
|
|
578
887
|
[name: string]: unknown;
|
|
579
888
|
};
|
|
580
889
|
content: {
|
|
581
|
-
'application/zip': unknown;
|
|
582
|
-
'application/octet-stream': unknown;
|
|
583
|
-
'application/x-zip': unknown;
|
|
584
|
-
'application/x-zip-compressed': unknown;
|
|
585
|
-
'multipart/mixed': unknown;
|
|
586
890
|
'application/vnd.deere.axiom.v3+json': {
|
|
587
|
-
links?:
|
|
891
|
+
links?: components['schemas']['FilesLink'][];
|
|
892
|
+
/**
|
|
893
|
+
* Format: double
|
|
894
|
+
* @description Total number of files matching the request
|
|
895
|
+
* @example 123
|
|
896
|
+
*/
|
|
897
|
+
total?: number;
|
|
588
898
|
values?: unknown;
|
|
589
899
|
};
|
|
590
900
|
};
|
|
591
901
|
};
|
|
592
902
|
};
|
|
593
903
|
parameters: {
|
|
594
|
-
/** @description
|
|
595
|
-
|
|
596
|
-
/** @description
|
|
597
|
-
|
|
598
|
-
/** @description
|
|
599
|
-
|
|
600
|
-
/** @description
|
|
601
|
-
|
|
602
|
-
/** @description Takes ALL or MACHINE. ALL shows all the files in the org. MACHINE shows only the files sent from a machine to the host. */
|
|
603
|
-
FilterOptional: string;
|
|
904
|
+
/** @description Allows client to filter files according to whether they have been archived. TRUE returns only archived files. */
|
|
905
|
+
Archived: boolean;
|
|
906
|
+
/** @description Set to false to force the file to be processed if it would otherwise delay processing. Can only be used with a copyFrom link. */
|
|
907
|
+
DelayProcessing: boolean;
|
|
908
|
+
/** @description Takes a timestamp (in UTC) that indicates when the file was created. Timestamp format is the standard */
|
|
909
|
+
EndDate: Record<string, never>;
|
|
910
|
+
/** @description File Id. */
|
|
911
|
+
FileId: string;
|
|
604
912
|
/** @description Takes a number that identifies the file type. */
|
|
605
913
|
FileType: number;
|
|
606
914
|
/** @description Takes the file type number. */
|
|
607
915
|
FileTypeOptional: number;
|
|
608
|
-
/** @description
|
|
609
|
-
|
|
610
|
-
/** @description
|
|
611
|
-
|
|
612
|
-
/** @description
|
|
613
|
-
|
|
916
|
+
/** @description Takes ALL or MACHINE. ALL shows all the files in the org. MACHINE shows only the files sent from a machine to the host. */
|
|
917
|
+
Filter: string;
|
|
918
|
+
/** @description Takes ALL or MACHINE. ALL shows all the files in the org. MACHINE shows only the files sent from a machine to the host. */
|
|
919
|
+
FilterOptional: string;
|
|
920
|
+
/** @description File Transfer ID */
|
|
921
|
+
Id: string;
|
|
922
|
+
/** @description Currently only supports a copyFrom rel, which can be passed to copy another file into the destination organization. */
|
|
923
|
+
Links: Record<string, never>;
|
|
924
|
+
/** @description File name. */
|
|
925
|
+
Name: string;
|
|
614
926
|
/** @description Allows client to download file in chunks. -1 will download entire file. For smaller pieces, enter offset point (in bytes) in this parameter. */
|
|
615
927
|
Offset: number;
|
|
928
|
+
/** @description Organization */
|
|
929
|
+
OrgId: string;
|
|
930
|
+
/** @description Organization */
|
|
931
|
+
OrgId2: string;
|
|
932
|
+
/** @description Organization */
|
|
933
|
+
OrganizationID: string;
|
|
934
|
+
/** @description Organization */
|
|
935
|
+
OrganizationID2: string;
|
|
936
|
+
/** @description Organization */
|
|
937
|
+
OrganizationID3: string;
|
|
616
938
|
/** @description Allows client to download file in chunks. -1 will download entire file. For smaller pieces, enter size (in bytes) in this parameter. */
|
|
617
939
|
Size: number;
|
|
618
|
-
/** @description
|
|
619
|
-
|
|
940
|
+
/** @description The source of the file transfer. Takes the values ORGANIZATION or MACHINE. */
|
|
941
|
+
Source: string;
|
|
942
|
+
/** @description The source of the file transfer. Takes the values ORGANIZATION or MACHINE. */
|
|
943
|
+
Source2: string;
|
|
620
944
|
/** @description Takes a timestamp (in UTC) that indicates when the file was created. Timestamp format is the standard. */
|
|
621
945
|
StartDate: string;
|
|
622
|
-
/** @description Takes a timestamp (in UTC) that indicates when the file was created. Timestamp format is the standard */
|
|
623
|
-
EndDate: Record<string, never>;
|
|
624
946
|
/** @description Allows client to filter files according to whether they are transferable to machines. Takes TRANSFERABLE and NON_TRANSFERABLE. */
|
|
625
947
|
Status: string;
|
|
626
|
-
/** @description
|
|
627
|
-
|
|
628
|
-
/** @description
|
|
629
|
-
|
|
630
|
-
/** @description
|
|
631
|
-
|
|
632
|
-
/** @description
|
|
633
|
-
|
|
948
|
+
/** @description Filters by whether a file is transferable */
|
|
949
|
+
Transferable: boolean;
|
|
950
|
+
/** @description x-deere-signature should be managed by the client per user per API. For a new user/new API, the first request will have a blank value for x-deere-signature. Changes can be tracked with the x-deere-signature returned in the response. If the response has not changed since the last API call, the value of x-deere-signature is not changed and the client should use the same String Token next time. */
|
|
951
|
+
'X-deere-signature': string;
|
|
952
|
+
/** @description x-deere-signature should be managed by the client per user per API. For a new user/new API, the first request will have a blank value for x-deere-signature. Changes can be tracked with the x-deere-signature returned in the response. If the response has not changed since the last API call, the value of x-deere-signature is not changed and the client should use the same String Token next time. */
|
|
953
|
+
'X-deere-signatureOptional': string;
|
|
954
|
+
/** @description x-deere-signature should be managed by the client per user per API. For a new user/new API, the first request will have a blank value for x-deere-signature. Changes can be tracked with the x-deere-signature returned in the response. If the response has not changed since the last API call, the value of x-deere-signature is not changed and the client should use the same String Token next time. */
|
|
955
|
+
'X-deere-signature_FileTransfers': string;
|
|
634
956
|
};
|
|
635
957
|
requestBodies: never;
|
|
636
958
|
headers: never;
|