deere-sdk 0.1.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 +38 -0
- package/LICENSE +21 -0
- package/README.md +253 -0
- package/dist/api/assets.d.ts +78 -0
- package/dist/api/assets.d.ts.map +1 -0
- package/dist/api/assets.js +115 -0
- package/dist/api/assets.js.map +1 -0
- package/dist/api/boundaries.d.ts +69 -0
- package/dist/api/boundaries.d.ts.map +1 -0
- package/dist/api/boundaries.js +102 -0
- package/dist/api/boundaries.js.map +1 -0
- package/dist/api/clients.d.ts +71 -0
- package/dist/api/clients.d.ts.map +1 -0
- package/dist/api/clients.js +104 -0
- package/dist/api/clients.js.map +1 -0
- package/dist/api/connection-management.d.ts +41 -0
- package/dist/api/connection-management.d.ts.map +1 -0
- package/dist/api/connection-management.js +56 -0
- package/dist/api/connection-management.js.map +1 -0
- package/dist/api/crop-types.d.ts +48 -0
- package/dist/api/crop-types.d.ts.map +1 -0
- package/dist/api/crop-types.js +69 -0
- package/dist/api/crop-types.js.map +1 -0
- package/dist/api/equipment.d.ts +138 -0
- package/dist/api/equipment.d.ts.map +1 -0
- package/dist/api/equipment.js +214 -0
- package/dist/api/equipment.js.map +1 -0
- package/dist/api/farms.d.ts +69 -0
- package/dist/api/farms.d.ts.map +1 -0
- package/dist/api/farms.js +100 -0
- package/dist/api/farms.js.map +1 -0
- package/dist/api/field-operations-api.d.ts +56 -0
- package/dist/api/field-operations-api.d.ts.map +1 -0
- package/dist/api/field-operations-api.js +88 -0
- package/dist/api/field-operations-api.js.map +1 -0
- package/dist/api/field-operations.d.ts +83 -0
- package/dist/api/field-operations.d.ts.map +1 -0
- package/dist/api/field-operations.js +134 -0
- package/dist/api/field-operations.js.map +1 -0
- package/dist/api/fields.d.ts +73 -0
- package/dist/api/fields.d.ts.map +1 -0
- package/dist/api/fields.js +113 -0
- package/dist/api/fields.js.map +1 -0
- package/dist/api/files.d.ts +63 -0
- package/dist/api/files.d.ts.map +1 -0
- package/dist/api/files.js +96 -0
- package/dist/api/files.js.map +1 -0
- package/dist/api/flags.d.ts +96 -0
- package/dist/api/flags.d.ts.map +1 -0
- package/dist/api/flags.js +159 -0
- package/dist/api/flags.js.map +1 -0
- package/dist/api/guidance-lines.d.ts +52 -0
- package/dist/api/guidance-lines.d.ts.map +1 -0
- package/dist/api/guidance-lines.js +77 -0
- package/dist/api/guidance-lines.js.map +1 -0
- package/dist/api/index.d.ts +43 -0
- package/dist/api/index.d.ts.map +1 -0
- package/dist/api/index.js +25 -0
- package/dist/api/index.js.map +1 -0
- package/dist/api/map-layers.d.ts +49 -0
- package/dist/api/map-layers.d.ts.map +1 -0
- package/dist/api/map-layers.js +69 -0
- package/dist/api/map-layers.js.map +1 -0
- package/dist/api/operators.d.ts +67 -0
- package/dist/api/operators.d.ts.map +1 -0
- package/dist/api/operators.js +99 -0
- package/dist/api/operators.js.map +1 -0
- package/dist/api/organizations.d.ts +45 -0
- package/dist/api/organizations.d.ts.map +1 -0
- package/dist/api/organizations.js +64 -0
- package/dist/api/organizations.js.map +1 -0
- package/dist/api/products.d.ts +88 -0
- package/dist/api/products.d.ts.map +1 -0
- package/dist/api/products.js +132 -0
- package/dist/api/products.js.map +1 -0
- package/dist/api/users.d.ts +22 -0
- package/dist/api/users.d.ts.map +1 -0
- package/dist/api/users.js +26 -0
- package/dist/api/users.js.map +1 -0
- package/dist/api/webhook.d.ts +42 -0
- package/dist/api/webhook.d.ts.map +1 -0
- package/dist/api/webhook.js +57 -0
- package/dist/api/webhook.js.map +1 -0
- package/dist/client.d.ts +114 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +224 -0
- package/dist/client.js.map +1 -0
- package/dist/deere.d.ts +98 -0
- package/dist/deere.d.ts.map +1 -0
- package/dist/deere.js +120 -0
- package/dist/deere.js.map +1 -0
- package/dist/index.d.ts +36 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +39 -0
- package/dist/index.js.map +1 -0
- package/dist/types/generated/assets.d.ts +839 -0
- package/dist/types/generated/assets.d.ts.map +1 -0
- package/dist/types/generated/assets.js +6 -0
- package/dist/types/generated/assets.js.map +1 -0
- package/dist/types/generated/boundaries.d.ts +734 -0
- package/dist/types/generated/boundaries.d.ts.map +1 -0
- package/dist/types/generated/boundaries.js +6 -0
- package/dist/types/generated/boundaries.js.map +1 -0
- package/dist/types/generated/clients.d.ts +602 -0
- package/dist/types/generated/clients.d.ts.map +1 -0
- package/dist/types/generated/clients.js +6 -0
- package/dist/types/generated/clients.js.map +1 -0
- package/dist/types/generated/connection-management.d.ts +210 -0
- package/dist/types/generated/connection-management.d.ts.map +1 -0
- package/dist/types/generated/connection-management.js +6 -0
- package/dist/types/generated/connection-management.js.map +1 -0
- package/dist/types/generated/crop-types.d.ts +541 -0
- package/dist/types/generated/crop-types.d.ts.map +1 -0
- package/dist/types/generated/crop-types.js +6 -0
- package/dist/types/generated/crop-types.js.map +1 -0
- package/dist/types/generated/equipment.d.ts +2599 -0
- package/dist/types/generated/equipment.d.ts.map +1 -0
- package/dist/types/generated/equipment.js +6 -0
- package/dist/types/generated/equipment.js.map +1 -0
- package/dist/types/generated/farms.d.ts +520 -0
- package/dist/types/generated/farms.d.ts.map +1 -0
- package/dist/types/generated/farms.js +6 -0
- package/dist/types/generated/farms.js.map +1 -0
- package/dist/types/generated/field-operations-api.d.ts +1724 -0
- package/dist/types/generated/field-operations-api.d.ts.map +1 -0
- package/dist/types/generated/field-operations-api.js +6 -0
- package/dist/types/generated/field-operations-api.js.map +1 -0
- package/dist/types/generated/fields.d.ts +904 -0
- package/dist/types/generated/fields.d.ts.map +1 -0
- package/dist/types/generated/fields.js +6 -0
- package/dist/types/generated/fields.js.map +1 -0
- package/dist/types/generated/files.d.ts +598 -0
- package/dist/types/generated/files.d.ts.map +1 -0
- package/dist/types/generated/files.js +6 -0
- package/dist/types/generated/files.js.map +1 -0
- package/dist/types/generated/flags.d.ts +593 -0
- package/dist/types/generated/flags.d.ts.map +1 -0
- package/dist/types/generated/flags.js +6 -0
- package/dist/types/generated/flags.js.map +1 -0
- package/dist/types/generated/guidance-lines.d.ts +405 -0
- package/dist/types/generated/guidance-lines.d.ts.map +1 -0
- package/dist/types/generated/guidance-lines.js +6 -0
- package/dist/types/generated/guidance-lines.js.map +1 -0
- package/dist/types/generated/index.d.ts +44 -0
- package/dist/types/generated/index.d.ts.map +1 -0
- package/dist/types/generated/index.js +26 -0
- package/dist/types/generated/index.js.map +1 -0
- package/dist/types/generated/map-layers.d.ts +696 -0
- package/dist/types/generated/map-layers.d.ts.map +1 -0
- package/dist/types/generated/map-layers.js +6 -0
- package/dist/types/generated/map-layers.js.map +1 -0
- package/dist/types/generated/operators.d.ts +361 -0
- package/dist/types/generated/operators.d.ts.map +1 -0
- package/dist/types/generated/operators.js +6 -0
- package/dist/types/generated/operators.js.map +1 -0
- package/dist/types/generated/organizations.d.ts +308 -0
- package/dist/types/generated/organizations.d.ts.map +1 -0
- package/dist/types/generated/organizations.js +6 -0
- package/dist/types/generated/organizations.js.map +1 -0
- package/dist/types/generated/products.d.ts +1165 -0
- package/dist/types/generated/products.d.ts.map +1 -0
- package/dist/types/generated/products.js +6 -0
- package/dist/types/generated/products.js.map +1 -0
- package/dist/types/generated/users.d.ts +96 -0
- package/dist/types/generated/users.d.ts.map +1 -0
- package/dist/types/generated/users.js +6 -0
- package/dist/types/generated/users.js.map +1 -0
- package/dist/types/generated/webhook.d.ts +475 -0
- package/dist/types/generated/webhook.d.ts.map +1 -0
- package/dist/types/generated/webhook.js +6 -0
- package/dist/types/generated/webhook.js.map +1 -0
- package/dist/types/index.d.ts +25 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +25 -0
- package/dist/types/index.js.map +1 -0
- package/package.json +70 -0
|
@@ -0,0 +1,1165 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by openapi-typescript.
|
|
3
|
+
* Do not make direct changes to the file.
|
|
4
|
+
*/
|
|
5
|
+
export interface paths {
|
|
6
|
+
"/organizations/{organizationId}/varieties": {
|
|
7
|
+
parameters: {
|
|
8
|
+
query?: never;
|
|
9
|
+
header?: never;
|
|
10
|
+
path?: never;
|
|
11
|
+
cookie?: never;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* View varieties for an org
|
|
15
|
+
* @description This endpoint will retrieve a collection of varieties for the specified org.
|
|
16
|
+
*/
|
|
17
|
+
get: {
|
|
18
|
+
parameters: {
|
|
19
|
+
query?: {
|
|
20
|
+
/** @description Filters the list based on archive status. Accepted values are ARCHIVED, AVAILABLE, and ALL. The default behavior is to return only available (non-archived) varieties. */
|
|
21
|
+
status?: components["parameters"]["ArchiveStatus"];
|
|
22
|
+
/** @description An embeddable list of properties which are optional by default. */
|
|
23
|
+
embed?: components["parameters"]["VarietyEmbed"];
|
|
24
|
+
};
|
|
25
|
+
header?: never;
|
|
26
|
+
path: {
|
|
27
|
+
/** @description The identifier of the Organization. */
|
|
28
|
+
organizationId: components["parameters"]["OrganizationID"];
|
|
29
|
+
};
|
|
30
|
+
cookie?: never;
|
|
31
|
+
};
|
|
32
|
+
requestBody?: never;
|
|
33
|
+
responses: {
|
|
34
|
+
/** @description A collection of your org varieties. If any of the supported embeds are used, the associated data will be present as a field in the variety. */
|
|
35
|
+
200: {
|
|
36
|
+
headers: {
|
|
37
|
+
[name: string]: unknown;
|
|
38
|
+
};
|
|
39
|
+
content: {
|
|
40
|
+
"application/vnd.deere.axiom.v3+json": components["schemas"]["VarietyCollection"];
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
/** @description The user has not been provided access to the varieties for this org */
|
|
44
|
+
403: {
|
|
45
|
+
headers: {
|
|
46
|
+
[name: string]: unknown;
|
|
47
|
+
};
|
|
48
|
+
content?: never;
|
|
49
|
+
};
|
|
50
|
+
/** @description The specified organization does not exist */
|
|
51
|
+
404: {
|
|
52
|
+
headers: {
|
|
53
|
+
[name: string]: unknown;
|
|
54
|
+
};
|
|
55
|
+
content?: never;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
put?: never;
|
|
60
|
+
/**
|
|
61
|
+
* Add a variety
|
|
62
|
+
* @description This endpoint will add a custom variety into the organization. Its name+cropName must be unique within your organization. Its crop name must be a supported crop name (see /cropTypes). There are a number of crop names that are deprecated in the system. If the crop name is set to one of these, then it will be mapped to its corresponding valid crop name. </br> </br> Additionally, POST can be used for supporting offline creation of varieties from e.g. a mobile app, by sending a payload with an `id` generated by the client. If an `id` is present in the payload, the service checks the database for that `id`.</br> </br> In case no record is found, a new one is created with that `id` and the request is responded with 201.</br> Otherwise no creation happens and the request is responded with 409 and error message that a resource with that `id` already exists.
|
|
63
|
+
*/
|
|
64
|
+
post: {
|
|
65
|
+
parameters: {
|
|
66
|
+
query?: never;
|
|
67
|
+
header?: never;
|
|
68
|
+
path: {
|
|
69
|
+
/** @description The identifier of the Organization. */
|
|
70
|
+
organizationId: components["parameters"]["OrganizationID"];
|
|
71
|
+
};
|
|
72
|
+
cookie?: never;
|
|
73
|
+
};
|
|
74
|
+
/** @description The product to add. */
|
|
75
|
+
requestBody?: {
|
|
76
|
+
content: {
|
|
77
|
+
"application/vnd.deere.axiom.v3+json": components["schemas"]["PostVariety"];
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
responses: {
|
|
81
|
+
201: {
|
|
82
|
+
headers: {
|
|
83
|
+
[name: string]: unknown;
|
|
84
|
+
};
|
|
85
|
+
content: {
|
|
86
|
+
"application/vnd.deere.axiom.v3+json": components["responses"]["Created"];
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
/** @description Schema validation error. Missing one or more of the required fields (name, companyName, cropName), name exceeds length limitation, or crop type is invalid. */
|
|
90
|
+
400: {
|
|
91
|
+
headers: {
|
|
92
|
+
[name: string]: unknown;
|
|
93
|
+
};
|
|
94
|
+
content: {
|
|
95
|
+
"application/vnd.deere.axiom.v3+json": components["schemas"]["Errors"];
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
/** @description The user has not been provided write access to the variety list for the org */
|
|
99
|
+
403: {
|
|
100
|
+
headers: {
|
|
101
|
+
[name: string]: unknown;
|
|
102
|
+
};
|
|
103
|
+
content?: never;
|
|
104
|
+
};
|
|
105
|
+
/** @description The specified organization does not exist */
|
|
106
|
+
404: {
|
|
107
|
+
headers: {
|
|
108
|
+
[name: string]: unknown;
|
|
109
|
+
};
|
|
110
|
+
content?: never;
|
|
111
|
+
};
|
|
112
|
+
/** @description A product already exists in this org with the specified reference Erid */
|
|
113
|
+
409: {
|
|
114
|
+
headers: {
|
|
115
|
+
[name: string]: unknown;
|
|
116
|
+
};
|
|
117
|
+
content?: never;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
delete?: never;
|
|
122
|
+
options?: never;
|
|
123
|
+
head?: never;
|
|
124
|
+
patch?: never;
|
|
125
|
+
trace?: never;
|
|
126
|
+
};
|
|
127
|
+
"/organizations/{organizationId}/varieties/{erid}": {
|
|
128
|
+
parameters: {
|
|
129
|
+
query?: never;
|
|
130
|
+
header?: never;
|
|
131
|
+
path?: never;
|
|
132
|
+
cookie?: never;
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* View a specific variety
|
|
136
|
+
* @description This endpoint will return the variety with the specified erid.
|
|
137
|
+
*/
|
|
138
|
+
get: {
|
|
139
|
+
parameters: {
|
|
140
|
+
query?: {
|
|
141
|
+
/** @description An embeddable list of properties which are optional by default. */
|
|
142
|
+
embed?: components["parameters"]["VarietyEmbed"];
|
|
143
|
+
};
|
|
144
|
+
header?: never;
|
|
145
|
+
path: {
|
|
146
|
+
/** @description The identifier of the Organization. */
|
|
147
|
+
organizationId: components["parameters"]["OrganizationID"];
|
|
148
|
+
/**
|
|
149
|
+
* @description A unique identifier for an entity formatted as a uuid.
|
|
150
|
+
* @example cf09acfc-9196-4dbb-9b38-1be02673c5ff
|
|
151
|
+
*/
|
|
152
|
+
erid: components["parameters"]["ERID"];
|
|
153
|
+
};
|
|
154
|
+
cookie?: never;
|
|
155
|
+
};
|
|
156
|
+
requestBody?: never;
|
|
157
|
+
responses: {
|
|
158
|
+
/** @description A variety object */
|
|
159
|
+
200: {
|
|
160
|
+
headers: {
|
|
161
|
+
[name: string]: unknown;
|
|
162
|
+
};
|
|
163
|
+
content: {
|
|
164
|
+
"application/vnd.deere.axiom.v3+json": components["schemas"]["Variety"];
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
/** @description The user does not have sufficient privileges to access varieties in this org */
|
|
168
|
+
403: {
|
|
169
|
+
headers: {
|
|
170
|
+
[name: string]: unknown;
|
|
171
|
+
};
|
|
172
|
+
content?: never;
|
|
173
|
+
};
|
|
174
|
+
/** @description There is no variety matching the specified Erid */
|
|
175
|
+
404: {
|
|
176
|
+
headers: {
|
|
177
|
+
[name: string]: unknown;
|
|
178
|
+
};
|
|
179
|
+
content?: never;
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
/**
|
|
184
|
+
* Update a single variety
|
|
185
|
+
* @description This endpoint allows the custom variety to be renamed, made active/archived, or associated to a different manufacturer or crop type.
|
|
186
|
+
*/
|
|
187
|
+
put: {
|
|
188
|
+
parameters: {
|
|
189
|
+
query?: never;
|
|
190
|
+
header?: never;
|
|
191
|
+
path: {
|
|
192
|
+
/** @description The identifier of the Organization. */
|
|
193
|
+
organizationId: components["parameters"]["OrganizationID"];
|
|
194
|
+
/**
|
|
195
|
+
* @description A unique identifier for an entity formatted as a uuid.
|
|
196
|
+
* @example cf09acfc-9196-4dbb-9b38-1be02673c5ff
|
|
197
|
+
*/
|
|
198
|
+
erid: components["parameters"]["ERID"];
|
|
199
|
+
};
|
|
200
|
+
cookie?: never;
|
|
201
|
+
};
|
|
202
|
+
/** @description The updated variety object. */
|
|
203
|
+
requestBody?: {
|
|
204
|
+
content: {
|
|
205
|
+
"application/vnd.deere.axiom.v3+json": components["schemas"]["PutVariety"];
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
responses: {
|
|
209
|
+
/** @description The update was completed successfully */
|
|
210
|
+
204: {
|
|
211
|
+
headers: {
|
|
212
|
+
[name: string]: unknown;
|
|
213
|
+
};
|
|
214
|
+
content: {
|
|
215
|
+
"application/vnd.deere.axiom.v3+json": unknown;
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
/** @description Schema validation error. Missing one or more of the required fields (name, companyName, cropName), name exceeds length limitation, or crop type is invalid */
|
|
219
|
+
400: {
|
|
220
|
+
headers: {
|
|
221
|
+
[name: string]: unknown;
|
|
222
|
+
};
|
|
223
|
+
content: {
|
|
224
|
+
"application/vnd.deere.axiom.v3+json": components["schemas"]["Errors"];
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
/** @description The user does not have sufficient privileges to update varieties in this org */
|
|
228
|
+
403: {
|
|
229
|
+
headers: {
|
|
230
|
+
[name: string]: unknown;
|
|
231
|
+
};
|
|
232
|
+
content?: never;
|
|
233
|
+
};
|
|
234
|
+
/** @description There is no variety matching the specified Erid */
|
|
235
|
+
404: {
|
|
236
|
+
headers: {
|
|
237
|
+
[name: string]: unknown;
|
|
238
|
+
};
|
|
239
|
+
content?: never;
|
|
240
|
+
};
|
|
241
|
+
};
|
|
242
|
+
};
|
|
243
|
+
post?: never;
|
|
244
|
+
delete?: never;
|
|
245
|
+
options?: never;
|
|
246
|
+
head?: never;
|
|
247
|
+
patch?: never;
|
|
248
|
+
trace?: never;
|
|
249
|
+
};
|
|
250
|
+
"/varieties/{erid}/associateToOrg/{organizationId}": {
|
|
251
|
+
parameters: {
|
|
252
|
+
query?: never;
|
|
253
|
+
header?: never;
|
|
254
|
+
path?: never;
|
|
255
|
+
cookie?: never;
|
|
256
|
+
};
|
|
257
|
+
get?: never;
|
|
258
|
+
put?: never;
|
|
259
|
+
/**
|
|
260
|
+
* Adds a single reference variety to organization
|
|
261
|
+
* @description This endpoint will associate a reference variety to your organization from the global reference list.
|
|
262
|
+
* The reference varieties are immutable, however, they can still be archived or made available.
|
|
263
|
+
* The response headers from the GET endpoints will include the attributes that can be overridden.
|
|
264
|
+
*/
|
|
265
|
+
post: {
|
|
266
|
+
parameters: {
|
|
267
|
+
query?: never;
|
|
268
|
+
header?: never;
|
|
269
|
+
path: {
|
|
270
|
+
/**
|
|
271
|
+
* @description A unique identifier for an entity formatted as a uuid.
|
|
272
|
+
* @example cf09acfc-9196-4dbb-9b38-1be02673c5ff
|
|
273
|
+
*/
|
|
274
|
+
erid: components["parameters"]["ERID"];
|
|
275
|
+
/** @description The identifier of the Organization. */
|
|
276
|
+
organizationId: components["parameters"]["OrganizationID"];
|
|
277
|
+
};
|
|
278
|
+
cookie?: never;
|
|
279
|
+
};
|
|
280
|
+
/** @description The product to add. */
|
|
281
|
+
requestBody?: {
|
|
282
|
+
content: {
|
|
283
|
+
"application/vnd.deere.axiom.v3+json": components["schemas"]["ReferenceProductPointerRequest"];
|
|
284
|
+
};
|
|
285
|
+
};
|
|
286
|
+
responses: {
|
|
287
|
+
/** @description Successful association of reference variety to org. */
|
|
288
|
+
200: {
|
|
289
|
+
headers: {
|
|
290
|
+
[name: string]: unknown;
|
|
291
|
+
};
|
|
292
|
+
content: {
|
|
293
|
+
"application/vnd.deere.axiom.v3+json": components["schemas"]["ReferenceProductOverrideStatus"][];
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
/** @description Unresolvable name conflict or other error occurred. */
|
|
297
|
+
400: {
|
|
298
|
+
headers: {
|
|
299
|
+
[name: string]: unknown;
|
|
300
|
+
};
|
|
301
|
+
content: {
|
|
302
|
+
"application/json": {
|
|
303
|
+
/**
|
|
304
|
+
* Format: int64
|
|
305
|
+
* @example 1
|
|
306
|
+
*/
|
|
307
|
+
total?: number;
|
|
308
|
+
errors?: components["schemas"]["Errors"][];
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
/** @description Invalid access to products for organization */
|
|
313
|
+
403: {
|
|
314
|
+
headers: {
|
|
315
|
+
[name: string]: unknown;
|
|
316
|
+
};
|
|
317
|
+
content?: never;
|
|
318
|
+
};
|
|
319
|
+
/** @description Organization does not exist. */
|
|
320
|
+
404: {
|
|
321
|
+
headers: {
|
|
322
|
+
[name: string]: unknown;
|
|
323
|
+
};
|
|
324
|
+
content?: never;
|
|
325
|
+
};
|
|
326
|
+
/** @description A product already exists in this org with the specified erid. */
|
|
327
|
+
409: {
|
|
328
|
+
headers: {
|
|
329
|
+
[name: string]: unknown;
|
|
330
|
+
};
|
|
331
|
+
content?: never;
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
|
+
};
|
|
335
|
+
delete?: never;
|
|
336
|
+
options?: never;
|
|
337
|
+
head?: never;
|
|
338
|
+
patch?: never;
|
|
339
|
+
trace?: never;
|
|
340
|
+
};
|
|
341
|
+
"/varieties": {
|
|
342
|
+
parameters: {
|
|
343
|
+
query?: never;
|
|
344
|
+
header?: never;
|
|
345
|
+
path?: never;
|
|
346
|
+
cookie?: never;
|
|
347
|
+
};
|
|
348
|
+
/**
|
|
349
|
+
* Search reference catalog varieties
|
|
350
|
+
* @description This endpoint searches the reference catalog for varieties that match the given search criteria. This data can be used in a subsequent request to create a variety in an organization. Results are limited to 100 items.
|
|
351
|
+
*/
|
|
352
|
+
get: {
|
|
353
|
+
parameters: {
|
|
354
|
+
query?: {
|
|
355
|
+
/** @description Performs a fuzzy search on variety and manufacturer name. The search string must be at least 3 characters long. */
|
|
356
|
+
searchString?: string;
|
|
357
|
+
/** @description Filters the results by crop id (see the /cropTypes API). */
|
|
358
|
+
cropName?: string;
|
|
359
|
+
/** @description Specifies the name of the variety from the global reference list. */
|
|
360
|
+
productName?: string;
|
|
361
|
+
/** @description Specifies the product manufacturer name of the variety based on the region being used. */
|
|
362
|
+
brandName?: string;
|
|
363
|
+
/** @description Specifies the source system product id of the variety based on the country of use. */
|
|
364
|
+
sourceSystemProductId?: string;
|
|
365
|
+
/** @description Specifies the region the variety data belongs to. Some data may not be available in certain regions and data will not be included in the response. */
|
|
366
|
+
countryCode?: string;
|
|
367
|
+
};
|
|
368
|
+
header?: never;
|
|
369
|
+
path?: never;
|
|
370
|
+
cookie?: never;
|
|
371
|
+
};
|
|
372
|
+
requestBody?: never;
|
|
373
|
+
responses: {
|
|
374
|
+
/** @description A collection of reference varieties matching the specified search criteria. */
|
|
375
|
+
200: {
|
|
376
|
+
headers: {
|
|
377
|
+
[name: string]: unknown;
|
|
378
|
+
};
|
|
379
|
+
content: {
|
|
380
|
+
"application/vnd.deere.axiom.v3+json": components["schemas"]["ReferenceVarietyCollection"];
|
|
381
|
+
};
|
|
382
|
+
};
|
|
383
|
+
/** @description The user does not have access to manage products. */
|
|
384
|
+
403: {
|
|
385
|
+
headers: {
|
|
386
|
+
[name: string]: unknown;
|
|
387
|
+
};
|
|
388
|
+
content?: never;
|
|
389
|
+
};
|
|
390
|
+
/** @description No variety found with this country code. */
|
|
391
|
+
404: {
|
|
392
|
+
headers: {
|
|
393
|
+
[name: string]: unknown;
|
|
394
|
+
};
|
|
395
|
+
content?: never;
|
|
396
|
+
};
|
|
397
|
+
};
|
|
398
|
+
};
|
|
399
|
+
put?: never;
|
|
400
|
+
post?: never;
|
|
401
|
+
delete?: never;
|
|
402
|
+
options?: never;
|
|
403
|
+
head?: never;
|
|
404
|
+
patch?: never;
|
|
405
|
+
trace?: never;
|
|
406
|
+
};
|
|
407
|
+
"/varieties/{erid}": {
|
|
408
|
+
parameters: {
|
|
409
|
+
query?: never;
|
|
410
|
+
header?: never;
|
|
411
|
+
path?: never;
|
|
412
|
+
cookie?: never;
|
|
413
|
+
};
|
|
414
|
+
/**
|
|
415
|
+
* Get a single reference variety.
|
|
416
|
+
* @description Single variety from industry data sources, such as CDMS.
|
|
417
|
+
*/
|
|
418
|
+
get: {
|
|
419
|
+
parameters: {
|
|
420
|
+
query?: never;
|
|
421
|
+
header?: never;
|
|
422
|
+
path: {
|
|
423
|
+
/**
|
|
424
|
+
* @description A unique identifier for an entity formatted as a uuid.
|
|
425
|
+
* @example cf09acfc-9196-4dbb-9b38-1be02673c5ff
|
|
426
|
+
*/
|
|
427
|
+
erid: components["parameters"]["ERID"];
|
|
428
|
+
};
|
|
429
|
+
cookie?: never;
|
|
430
|
+
};
|
|
431
|
+
requestBody?: never;
|
|
432
|
+
responses: {
|
|
433
|
+
/** @description A single variety matching the specified erid. */
|
|
434
|
+
200: {
|
|
435
|
+
headers: {
|
|
436
|
+
[name: string]: unknown;
|
|
437
|
+
};
|
|
438
|
+
content: {
|
|
439
|
+
"application/vnd.deere.axiom.v3+json": components["schemas"]["ReferenceVariety"];
|
|
440
|
+
};
|
|
441
|
+
};
|
|
442
|
+
/** @description The user does not have access to manage products. */
|
|
443
|
+
403: {
|
|
444
|
+
headers: {
|
|
445
|
+
[name: string]: unknown;
|
|
446
|
+
};
|
|
447
|
+
content?: never;
|
|
448
|
+
};
|
|
449
|
+
/** @description No variety found matching this erid. */
|
|
450
|
+
404: {
|
|
451
|
+
headers: {
|
|
452
|
+
[name: string]: unknown;
|
|
453
|
+
};
|
|
454
|
+
content?: never;
|
|
455
|
+
};
|
|
456
|
+
};
|
|
457
|
+
};
|
|
458
|
+
put?: never;
|
|
459
|
+
post?: never;
|
|
460
|
+
delete?: never;
|
|
461
|
+
options?: never;
|
|
462
|
+
head?: never;
|
|
463
|
+
patch?: never;
|
|
464
|
+
trace?: never;
|
|
465
|
+
};
|
|
466
|
+
"/varieties/{erid}/documents": {
|
|
467
|
+
parameters: {
|
|
468
|
+
query?: never;
|
|
469
|
+
header?: never;
|
|
470
|
+
path?: never;
|
|
471
|
+
cookie?: never;
|
|
472
|
+
};
|
|
473
|
+
/**
|
|
474
|
+
* Reference list of documents for an associated seed variety.
|
|
475
|
+
* @description List of all the documents for a variety from industry data sources, such as CDMS.
|
|
476
|
+
*/
|
|
477
|
+
get: {
|
|
478
|
+
parameters: {
|
|
479
|
+
query?: never;
|
|
480
|
+
header?: never;
|
|
481
|
+
path: {
|
|
482
|
+
/**
|
|
483
|
+
* @description A unique identifier for an entity formatted as a uuid.
|
|
484
|
+
* @example cf09acfc-9196-4dbb-9b38-1be02673c5ff
|
|
485
|
+
*/
|
|
486
|
+
erid: components["parameters"]["ERID"];
|
|
487
|
+
};
|
|
488
|
+
cookie?: never;
|
|
489
|
+
};
|
|
490
|
+
requestBody?: never;
|
|
491
|
+
responses: {
|
|
492
|
+
/** @description A collection of documents for the specified seed variety. */
|
|
493
|
+
200: {
|
|
494
|
+
headers: {
|
|
495
|
+
[name: string]: unknown;
|
|
496
|
+
};
|
|
497
|
+
content: {
|
|
498
|
+
"application/vnd.deere.axiom.v3+json": components["schemas"]["DocumentCollection"];
|
|
499
|
+
};
|
|
500
|
+
};
|
|
501
|
+
/** @description The user does not have access to manage products. */
|
|
502
|
+
403: {
|
|
503
|
+
headers: {
|
|
504
|
+
[name: string]: unknown;
|
|
505
|
+
};
|
|
506
|
+
content?: never;
|
|
507
|
+
};
|
|
508
|
+
};
|
|
509
|
+
};
|
|
510
|
+
put?: never;
|
|
511
|
+
post?: never;
|
|
512
|
+
delete?: never;
|
|
513
|
+
options?: never;
|
|
514
|
+
head?: never;
|
|
515
|
+
patch?: never;
|
|
516
|
+
trace?: never;
|
|
517
|
+
};
|
|
518
|
+
"/varieties/{erid}/setOverridesForOrg/{organizationId}": {
|
|
519
|
+
parameters: {
|
|
520
|
+
query?: never;
|
|
521
|
+
header?: never;
|
|
522
|
+
path?: never;
|
|
523
|
+
cookie?: never;
|
|
524
|
+
};
|
|
525
|
+
get?: never;
|
|
526
|
+
put?: never;
|
|
527
|
+
post?: never;
|
|
528
|
+
delete?: never;
|
|
529
|
+
options?: never;
|
|
530
|
+
head?: never;
|
|
531
|
+
/**
|
|
532
|
+
* Sets organizational attributes such as isCarrier, archived, registration, etc.
|
|
533
|
+
* @description This endpoint will set attribute overrides while importing a reference variety to your organization. The reference varieties are immutable, however, they can still be archived or made available. The response headers from the GET endpoints will include the attributes that can be overridden.
|
|
534
|
+
*/
|
|
535
|
+
patch: {
|
|
536
|
+
parameters: {
|
|
537
|
+
query?: never;
|
|
538
|
+
header?: never;
|
|
539
|
+
path: {
|
|
540
|
+
/**
|
|
541
|
+
* @description A unique identifier for an entity formatted as a uuid.
|
|
542
|
+
* @example cf09acfc-9196-4dbb-9b38-1be02673c5ff
|
|
543
|
+
*/
|
|
544
|
+
erid: components["parameters"]["ERID"];
|
|
545
|
+
/** @description The identifier of the Organization. */
|
|
546
|
+
organizationId: components["parameters"]["OrganizationID"];
|
|
547
|
+
};
|
|
548
|
+
cookie?: never;
|
|
549
|
+
};
|
|
550
|
+
/** @description The product to add. */
|
|
551
|
+
requestBody?: {
|
|
552
|
+
content: {
|
|
553
|
+
"application/vnd.deere.axiom.v3+json": components["schemas"]["CommonProductPointerRequest"];
|
|
554
|
+
};
|
|
555
|
+
};
|
|
556
|
+
responses: {
|
|
557
|
+
/** @description Successful update of overrides of reference variety associated to your org. */
|
|
558
|
+
200: {
|
|
559
|
+
headers: {
|
|
560
|
+
[name: string]: unknown;
|
|
561
|
+
};
|
|
562
|
+
content: {
|
|
563
|
+
"application/vnd.deere.axiom.v3+json": components["schemas"]["ReferenceProductOverrideStatus"][];
|
|
564
|
+
};
|
|
565
|
+
};
|
|
566
|
+
/** @description Unresolvable name conflict or other error occurred. */
|
|
567
|
+
400: {
|
|
568
|
+
headers: {
|
|
569
|
+
[name: string]: unknown;
|
|
570
|
+
};
|
|
571
|
+
content: {
|
|
572
|
+
"application/json": {
|
|
573
|
+
/**
|
|
574
|
+
* Format: int64
|
|
575
|
+
* @example 1
|
|
576
|
+
*/
|
|
577
|
+
total?: number;
|
|
578
|
+
errors?: components["schemas"]["Errors"][];
|
|
579
|
+
};
|
|
580
|
+
};
|
|
581
|
+
};
|
|
582
|
+
/** @description Invalid access to reference product associated to organization */
|
|
583
|
+
403: {
|
|
584
|
+
headers: {
|
|
585
|
+
[name: string]: unknown;
|
|
586
|
+
};
|
|
587
|
+
content?: never;
|
|
588
|
+
};
|
|
589
|
+
/** @description Organization does not exist */
|
|
590
|
+
404: {
|
|
591
|
+
headers: {
|
|
592
|
+
[name: string]: unknown;
|
|
593
|
+
};
|
|
594
|
+
content?: never;
|
|
595
|
+
};
|
|
596
|
+
};
|
|
597
|
+
};
|
|
598
|
+
trace?: never;
|
|
599
|
+
};
|
|
600
|
+
}
|
|
601
|
+
export type webhooks = Record<string, never>;
|
|
602
|
+
export interface components {
|
|
603
|
+
schemas: {
|
|
604
|
+
BaseResourceWithoutLink: {
|
|
605
|
+
/** @example BaseResource */
|
|
606
|
+
"@type"?: string;
|
|
607
|
+
/**
|
|
608
|
+
* Format: uuid
|
|
609
|
+
* @description Primary identifier for resource.
|
|
610
|
+
* @example 1f8c12b4-126f-11ec-82a8-0242ac130003
|
|
611
|
+
*/
|
|
612
|
+
id?: string;
|
|
613
|
+
};
|
|
614
|
+
Document: {
|
|
615
|
+
/** @example Document */
|
|
616
|
+
"@type": unknown;
|
|
617
|
+
/**
|
|
618
|
+
* @description Unique id of the document
|
|
619
|
+
* @example 08e930ee-4c31-41b6-b57e-8c0a8e1284a4
|
|
620
|
+
*/
|
|
621
|
+
erid?: string;
|
|
622
|
+
/**
|
|
623
|
+
* @description Type of document for this product.
|
|
624
|
+
* @example 24(c) Registration
|
|
625
|
+
*/
|
|
626
|
+
docType: string;
|
|
627
|
+
/**
|
|
628
|
+
* @description The Unique id of the product.
|
|
629
|
+
* @example 388ab719-277d-4032-a2c3-40a297d8f482
|
|
630
|
+
*/
|
|
631
|
+
productErid: string;
|
|
632
|
+
/**
|
|
633
|
+
* @description Information about the document.
|
|
634
|
+
* @example CO-090003 R-4310 102119 For Use on Alfalfa Grown for Seed
|
|
635
|
+
*/
|
|
636
|
+
description: string;
|
|
637
|
+
/**
|
|
638
|
+
* @description The filename of the document.
|
|
639
|
+
* @example ld7OD026.pdf
|
|
640
|
+
*/
|
|
641
|
+
fileName: string;
|
|
642
|
+
/**
|
|
643
|
+
* Format: date
|
|
644
|
+
* @example 2017-03-22
|
|
645
|
+
*/
|
|
646
|
+
readonly expirationDate?: string | null;
|
|
647
|
+
};
|
|
648
|
+
DocumentCollection: components["schemas"]["CollectionBase"] & {
|
|
649
|
+
values?: components["schemas"]["Document"][];
|
|
650
|
+
};
|
|
651
|
+
BaseResource: {
|
|
652
|
+
/** @example BaseResource */
|
|
653
|
+
"@type"?: string;
|
|
654
|
+
/**
|
|
655
|
+
* Format: uuid
|
|
656
|
+
* @description Primary identifier for resource.
|
|
657
|
+
* @example 1f8c12b4-126f-11ec-82a8-0242ac130003
|
|
658
|
+
*/
|
|
659
|
+
id?: string;
|
|
660
|
+
/** @description Provides a reference to an associated object or list. */
|
|
661
|
+
links?: components["schemas"]["Link"][];
|
|
662
|
+
};
|
|
663
|
+
ReferenceVariety: components["schemas"]["BaseResource"] & {
|
|
664
|
+
/** @example ReferenceVariety */
|
|
665
|
+
"@type"?: unknown;
|
|
666
|
+
/**
|
|
667
|
+
* Format: uuid
|
|
668
|
+
* @description Primary identifier for reference variety.
|
|
669
|
+
* @example 1f8c12b4-126f-11ec-82a8-0242ac130003
|
|
670
|
+
*/
|
|
671
|
+
id?: string;
|
|
672
|
+
/**
|
|
673
|
+
* Format: uuid
|
|
674
|
+
* @description product id of the reference variety
|
|
675
|
+
* @example 87b4a1e7-210b-482c-8a7a-19e9f644e914
|
|
676
|
+
*/
|
|
677
|
+
"referenceId<sup>DEPRECATED</sup>"?: string;
|
|
678
|
+
/**
|
|
679
|
+
* @example VARIETY
|
|
680
|
+
* @enum {string}
|
|
681
|
+
*/
|
|
682
|
+
category?: "VARIETY";
|
|
683
|
+
/**
|
|
684
|
+
* @description The common name of the reference variety.
|
|
685
|
+
* @example S73-Z5 - 50lb bag
|
|
686
|
+
*/
|
|
687
|
+
name?: string;
|
|
688
|
+
/**
|
|
689
|
+
* Format: uuid
|
|
690
|
+
* @description Optional. Denotes whether this product is from the global reference list.
|
|
691
|
+
* @example 87b4a1e7-210b-482c-8a7a-19e9f644e914
|
|
692
|
+
*/
|
|
693
|
+
referenceGuid?: string;
|
|
694
|
+
/**
|
|
695
|
+
* @description The name of the input manufacturer.
|
|
696
|
+
* @example NK
|
|
697
|
+
*/
|
|
698
|
+
companyName?: string;
|
|
699
|
+
/**
|
|
700
|
+
* @description The identifier of the crop type that this reference variety is associated with (see the Crop Types API).
|
|
701
|
+
* @example SOYBEANS
|
|
702
|
+
*/
|
|
703
|
+
cropName?: string;
|
|
704
|
+
/**
|
|
705
|
+
* @description Specifies the region the reference variety data belongs to. Some data may not be available in certain regions and data will not be included in the response.
|
|
706
|
+
* @example USA
|
|
707
|
+
*/
|
|
708
|
+
countryCode?: string;
|
|
709
|
+
/**
|
|
710
|
+
* Format: integer
|
|
711
|
+
* @description The source system for the reference variety.
|
|
712
|
+
* @example 3
|
|
713
|
+
*/
|
|
714
|
+
sourceSystem?: string;
|
|
715
|
+
/**
|
|
716
|
+
* @description The source system identifier for the reference variety.
|
|
717
|
+
* @example 905P24925
|
|
718
|
+
*/
|
|
719
|
+
sourceSystemProductId?: string;
|
|
720
|
+
/**
|
|
721
|
+
* Format: date-time
|
|
722
|
+
* @description product created time
|
|
723
|
+
* @example 2019-03-27T14:59:57.000Z
|
|
724
|
+
*/
|
|
725
|
+
"createdTime<sup>DEPRECATED</sup>"?: string;
|
|
726
|
+
/**
|
|
727
|
+
* Format: date-time
|
|
728
|
+
* @description product modified time
|
|
729
|
+
* @example 2019-03-27T14:59:57.000Z
|
|
730
|
+
*/
|
|
731
|
+
"modifiedTime<sup>DEPRECATED</sup>"?: string;
|
|
732
|
+
};
|
|
733
|
+
Link: {
|
|
734
|
+
/**
|
|
735
|
+
* @description The type of the link.
|
|
736
|
+
* @example Link
|
|
737
|
+
*/
|
|
738
|
+
"@type"?: string;
|
|
739
|
+
/**
|
|
740
|
+
* @description The identifier for the associated resource. If the resource is embeddable, this is also the "embed" value.
|
|
741
|
+
* @example self
|
|
742
|
+
*/
|
|
743
|
+
rel?: string;
|
|
744
|
+
/**
|
|
745
|
+
* Format: uri
|
|
746
|
+
* @description The location of the resource
|
|
747
|
+
* @example api_route
|
|
748
|
+
*/
|
|
749
|
+
uri?: string;
|
|
750
|
+
};
|
|
751
|
+
CollectionBase: {
|
|
752
|
+
/** @description Provides a reference to an associated object or list. */
|
|
753
|
+
links?: components["schemas"]["Link"][];
|
|
754
|
+
/**
|
|
755
|
+
* Format: int32
|
|
756
|
+
* @example 100
|
|
757
|
+
*/
|
|
758
|
+
total?: number;
|
|
759
|
+
};
|
|
760
|
+
ReferenceVarietyCollection: components["schemas"]["CollectionBase"] & {
|
|
761
|
+
values?: components["schemas"]["ReferenceVariety"][];
|
|
762
|
+
};
|
|
763
|
+
OverrideKeyValuePair: {
|
|
764
|
+
/**
|
|
765
|
+
* @description Key for override parameter when setting overrides for a reference product
|
|
766
|
+
* @example archived
|
|
767
|
+
* @enum {string}
|
|
768
|
+
*/
|
|
769
|
+
key: "archived";
|
|
770
|
+
/**
|
|
771
|
+
* @description Value for override parameter, can be string, number or boolean
|
|
772
|
+
* @example true
|
|
773
|
+
*/
|
|
774
|
+
value: Record<string, never>;
|
|
775
|
+
};
|
|
776
|
+
CommonProductPointerRequest: {
|
|
777
|
+
overrides?: components["schemas"]["OverrideKeyValuePair"][] | null;
|
|
778
|
+
};
|
|
779
|
+
ReferenceProductPointerRequest: {
|
|
780
|
+
/**
|
|
781
|
+
* @description Country of the product to which it belongs.
|
|
782
|
+
* @example USA
|
|
783
|
+
*/
|
|
784
|
+
countryCode?: string;
|
|
785
|
+
} & components["schemas"]["CommonProductPointerRequest"];
|
|
786
|
+
VarietyCollection: components["schemas"]["CollectionBase"] & {
|
|
787
|
+
values?: components["schemas"]["Variety"][];
|
|
788
|
+
};
|
|
789
|
+
ReferenceProductOverrideStatus: {
|
|
790
|
+
/**
|
|
791
|
+
* @description Key for override parameter when setting overrides for a reference product
|
|
792
|
+
* @example archived
|
|
793
|
+
* @enum {string}
|
|
794
|
+
*/
|
|
795
|
+
key?: "archived";
|
|
796
|
+
/**
|
|
797
|
+
* @description Whether or not the override was successfully applied
|
|
798
|
+
* @example true
|
|
799
|
+
*/
|
|
800
|
+
success?: boolean;
|
|
801
|
+
errors?: components["schemas"]["Errors"];
|
|
802
|
+
};
|
|
803
|
+
PutVariety: {
|
|
804
|
+
/** @example Variety */
|
|
805
|
+
"@type"?: unknown;
|
|
806
|
+
/**
|
|
807
|
+
* @description The common name of the variety.
|
|
808
|
+
* @example S73-Z5 - 50lb bag
|
|
809
|
+
*/
|
|
810
|
+
name: string;
|
|
811
|
+
/**
|
|
812
|
+
* @description The identifier of the crop type that this variety is associated with (see the Crop Types API). **NOTE:** See /cropTypes for the list of available crop types that are supported.
|
|
813
|
+
* @example SOYBEANS
|
|
814
|
+
*/
|
|
815
|
+
cropName: string;
|
|
816
|
+
/**
|
|
817
|
+
* @description The brand of the variety.
|
|
818
|
+
* @example NK
|
|
819
|
+
*/
|
|
820
|
+
companyName: string;
|
|
821
|
+
/**
|
|
822
|
+
* @example VARIETY
|
|
823
|
+
* @enum {string}
|
|
824
|
+
*/
|
|
825
|
+
category?: "VARIETY";
|
|
826
|
+
/**
|
|
827
|
+
* @description Whether or not this product is actively used in your organization. A value of true will hide the variety from display in your organization.
|
|
828
|
+
* @example false
|
|
829
|
+
*/
|
|
830
|
+
archived?: boolean;
|
|
831
|
+
/**
|
|
832
|
+
* Format: date-time
|
|
833
|
+
* @description product created time
|
|
834
|
+
* @example 2019-03-27T14:59:57.000Z
|
|
835
|
+
*/
|
|
836
|
+
"createdTime<sup>DEPRECATED</sup>"?: string;
|
|
837
|
+
/**
|
|
838
|
+
* Format: date-time
|
|
839
|
+
* @description product modified time
|
|
840
|
+
* @example 2019-03-27T14:59:57.000Z
|
|
841
|
+
*/
|
|
842
|
+
"modifiedTime<sup>DEPRECATED</sup>"?: string;
|
|
843
|
+
};
|
|
844
|
+
VarietyIdUpdate: {
|
|
845
|
+
/**
|
|
846
|
+
* @description The common name of the variety.
|
|
847
|
+
* @example RL8288HB
|
|
848
|
+
*/
|
|
849
|
+
name?: string;
|
|
850
|
+
/**
|
|
851
|
+
* @description The name of the input manufacturer.
|
|
852
|
+
* @example AgVenture
|
|
853
|
+
*/
|
|
854
|
+
companyName?: string;
|
|
855
|
+
/**
|
|
856
|
+
* @description The identifier of the crop type that this variety is associated with.
|
|
857
|
+
* @example CORN_WET
|
|
858
|
+
*/
|
|
859
|
+
cropName?: string;
|
|
860
|
+
/**
|
|
861
|
+
* @description Whether or not this product is actively used. Defaults to false.
|
|
862
|
+
* @example false
|
|
863
|
+
*/
|
|
864
|
+
archived?: boolean;
|
|
865
|
+
};
|
|
866
|
+
ChildVariety: components["schemas"]["BaseResource"] & {
|
|
867
|
+
/** @example Variety */
|
|
868
|
+
"@type"?: unknown;
|
|
869
|
+
/**
|
|
870
|
+
* Format: uuid
|
|
871
|
+
* @description The primary identifier for the variety that is unique to your organization.
|
|
872
|
+
* @example 87b4a1e7-210b-482c-8a7a-19e9f644e914
|
|
873
|
+
*/
|
|
874
|
+
id?: string;
|
|
875
|
+
/**
|
|
876
|
+
* @description The common name of the variety.
|
|
877
|
+
* @example S73-Z5 - 50lb bag
|
|
878
|
+
*/
|
|
879
|
+
name?: string;
|
|
880
|
+
/**
|
|
881
|
+
* @example VARIETY
|
|
882
|
+
* @enum {string}
|
|
883
|
+
*/
|
|
884
|
+
category?: "VARIETY";
|
|
885
|
+
/**
|
|
886
|
+
* @description The identifier of the crop type that this variety is associated with (see the Crop Types API).
|
|
887
|
+
* @example SOYBEANS
|
|
888
|
+
*/
|
|
889
|
+
cropName?: string;
|
|
890
|
+
/**
|
|
891
|
+
* @description The brand of the variety.
|
|
892
|
+
* @example NK
|
|
893
|
+
*/
|
|
894
|
+
companyName?: string;
|
|
895
|
+
/**
|
|
896
|
+
* @description Whether or not this product is actively used in your organization. A value of true will hide the variety from display in your organization.
|
|
897
|
+
* @example false
|
|
898
|
+
*/
|
|
899
|
+
archived?: boolean;
|
|
900
|
+
/**
|
|
901
|
+
* Format: date-time
|
|
902
|
+
* @description product created time
|
|
903
|
+
* @example 2017-03-21T21:12:53.865Z
|
|
904
|
+
*/
|
|
905
|
+
"createdTime<sup>DEPRECATED</sup>"?: string;
|
|
906
|
+
/**
|
|
907
|
+
* Format: date-time
|
|
908
|
+
* @description product modified time
|
|
909
|
+
* @example 2018-04-06T15:12:52.910Z
|
|
910
|
+
*/
|
|
911
|
+
readonly "modifiedTime<sup>DEPRECATED</sup>"?: string;
|
|
912
|
+
/**
|
|
913
|
+
* @description Country of the product to which it belongs
|
|
914
|
+
* @example USA
|
|
915
|
+
*/
|
|
916
|
+
countryCode?: string;
|
|
917
|
+
/**
|
|
918
|
+
* @description Parent id of the child in which the product is merged
|
|
919
|
+
* @example b0241592-c95a-4a8b-a2f9-3e58168ac291
|
|
920
|
+
*/
|
|
921
|
+
parentErid?: string;
|
|
922
|
+
/**
|
|
923
|
+
* @description Showing the status of cleanup.
|
|
924
|
+
* @example MERGED
|
|
925
|
+
*/
|
|
926
|
+
cleanupStatus?: string;
|
|
927
|
+
/**
|
|
928
|
+
* @description Clean up action time
|
|
929
|
+
* @example 2025-09-22T11:24:43.855Z
|
|
930
|
+
*/
|
|
931
|
+
cleanupActionDate?: string;
|
|
932
|
+
/** @description List of documents for the variety. For example, Tech Sheet, SDS Label. */
|
|
933
|
+
documentsList?: components["schemas"]["Document"][];
|
|
934
|
+
};
|
|
935
|
+
Variety: components["schemas"]["BaseResource"] & {
|
|
936
|
+
/** @example Variety */
|
|
937
|
+
"@type"?: unknown;
|
|
938
|
+
/**
|
|
939
|
+
* Format: uuid
|
|
940
|
+
* @description The primary identifier for the variety that is unique to your organization.
|
|
941
|
+
* @example 87b4a1e7-210b-482c-8a7a-19e9f644e914
|
|
942
|
+
*/
|
|
943
|
+
id?: string;
|
|
944
|
+
/**
|
|
945
|
+
* @description The common name of the variety.
|
|
946
|
+
* @example S73-Z5 - 50lb bag
|
|
947
|
+
*/
|
|
948
|
+
name?: string;
|
|
949
|
+
/**
|
|
950
|
+
* @example VARIETY
|
|
951
|
+
* @enum {string}
|
|
952
|
+
*/
|
|
953
|
+
category?: "VARIETY";
|
|
954
|
+
/**
|
|
955
|
+
* @description The identifier of the crop type that this variety is associated with (see the Crop Types API).
|
|
956
|
+
* @example SOYBEANS
|
|
957
|
+
*/
|
|
958
|
+
cropName?: string;
|
|
959
|
+
/**
|
|
960
|
+
* @description The brand of the variety.
|
|
961
|
+
* @example NK
|
|
962
|
+
*/
|
|
963
|
+
companyName?: string;
|
|
964
|
+
/**
|
|
965
|
+
* @description Whether or not this product is actively used in your organization. A value of true will hide the variety from display in your organization.
|
|
966
|
+
* @example false
|
|
967
|
+
*/
|
|
968
|
+
archived?: boolean;
|
|
969
|
+
/**
|
|
970
|
+
* Format: uuid
|
|
971
|
+
* @description Optional. Denotes whether this product is from the global reference list.
|
|
972
|
+
* @example 87b4a1e7-210b-482c-8a7a-19e9f644e914
|
|
973
|
+
*/
|
|
974
|
+
referenceGuid?: string;
|
|
975
|
+
/**
|
|
976
|
+
* Format: uuid
|
|
977
|
+
* @description product id of the reference variety
|
|
978
|
+
* @example 87b4a1e7-210b-482c-8a7a-19e9f644e914
|
|
979
|
+
*/
|
|
980
|
+
"referenceId<sup>DEPRECATED</sup>"?: string;
|
|
981
|
+
/**
|
|
982
|
+
* Format: date-time
|
|
983
|
+
* @description product created time
|
|
984
|
+
* @example 2017-03-21T21:12:53.865Z
|
|
985
|
+
*/
|
|
986
|
+
"createdTime<sup>DEPRECATED</sup>"?: string;
|
|
987
|
+
/**
|
|
988
|
+
* Format: date-time
|
|
989
|
+
* @description product modified time
|
|
990
|
+
* @example 2018-04-06T15:12:52.910Z
|
|
991
|
+
*/
|
|
992
|
+
readonly "modifiedTime<sup>DEPRECATED</sup>"?: string;
|
|
993
|
+
/**
|
|
994
|
+
* @description Country of the product to which it belongs
|
|
995
|
+
* @example USA
|
|
996
|
+
*/
|
|
997
|
+
countryCode?: string;
|
|
998
|
+
/**
|
|
999
|
+
* @description Parent id of the child in which the product is merged
|
|
1000
|
+
* @example b0241592-c95a-4a8b-a2f9-3e58168ac291
|
|
1001
|
+
*/
|
|
1002
|
+
parentErid?: string;
|
|
1003
|
+
/**
|
|
1004
|
+
* @description Showing the status of cleanup.
|
|
1005
|
+
* @example MERGED
|
|
1006
|
+
*/
|
|
1007
|
+
cleanupStatus?: string;
|
|
1008
|
+
/**
|
|
1009
|
+
* @description Clean up action time
|
|
1010
|
+
* @example 2025-09-22T11:24:43.855Z
|
|
1011
|
+
*/
|
|
1012
|
+
cleanupActionDate?: string;
|
|
1013
|
+
/** @description List of documents for the variety. For example, Tech Sheet, SDS Label. */
|
|
1014
|
+
documentsList?: components["schemas"]["Document"][];
|
|
1015
|
+
/** @description List of child products. */
|
|
1016
|
+
childProducts?: components["schemas"]["ChildVariety"][];
|
|
1017
|
+
};
|
|
1018
|
+
/** Format: Errors/DataValidationException */
|
|
1019
|
+
Errors: {
|
|
1020
|
+
/** @example Errors */
|
|
1021
|
+
"@type"?: string;
|
|
1022
|
+
errors?: {
|
|
1023
|
+
/** @example Error */
|
|
1024
|
+
"@type"?: string;
|
|
1025
|
+
/**
|
|
1026
|
+
* Format: uuid
|
|
1027
|
+
* @example 9b331708-10e8-4e15-8097-a9aed7455d6d
|
|
1028
|
+
*/
|
|
1029
|
+
guid?: string;
|
|
1030
|
+
/**
|
|
1031
|
+
* @description An english description of the error.
|
|
1032
|
+
* @example The given crop type does not exist
|
|
1033
|
+
*/
|
|
1034
|
+
message?: string;
|
|
1035
|
+
/**
|
|
1036
|
+
* @description A string constant representing the type of error.
|
|
1037
|
+
* @example validation_constraint_crop_type_does_not_exist
|
|
1038
|
+
*/
|
|
1039
|
+
code?: string;
|
|
1040
|
+
/**
|
|
1041
|
+
* @description The name of the property or parameter deemed invalid.
|
|
1042
|
+
* @example targetCrops
|
|
1043
|
+
*/
|
|
1044
|
+
field?: string;
|
|
1045
|
+
/**
|
|
1046
|
+
* @description The value that was supplied for this field in the request.
|
|
1047
|
+
* @example CORN_WET
|
|
1048
|
+
*/
|
|
1049
|
+
invalidValue?: string;
|
|
1050
|
+
}[];
|
|
1051
|
+
/** @example {} */
|
|
1052
|
+
otherAttributes?: Record<string, never>;
|
|
1053
|
+
};
|
|
1054
|
+
PostVariety: {
|
|
1055
|
+
/** @example Variety */
|
|
1056
|
+
"@type"?: unknown;
|
|
1057
|
+
/**
|
|
1058
|
+
* @description The common name of the variety.
|
|
1059
|
+
* @example S73-Z5 - 50lb bag
|
|
1060
|
+
*/
|
|
1061
|
+
name: string;
|
|
1062
|
+
/**
|
|
1063
|
+
* @description The identifier of the crop type that this variety is associated with (see the Crop Types API).
|
|
1064
|
+
* @example SOYBEANS
|
|
1065
|
+
*/
|
|
1066
|
+
cropName: string;
|
|
1067
|
+
/**
|
|
1068
|
+
* @description The brand of the variety.
|
|
1069
|
+
* @example NK
|
|
1070
|
+
*/
|
|
1071
|
+
companyName: string;
|
|
1072
|
+
/**
|
|
1073
|
+
* @example VARIETY
|
|
1074
|
+
* @enum {string}
|
|
1075
|
+
*/
|
|
1076
|
+
category?: "VARIETY";
|
|
1077
|
+
/**
|
|
1078
|
+
* @description Whether or not this product is actively used in your organization. A value of true will hide the variety from display in your organization.
|
|
1079
|
+
* @example false
|
|
1080
|
+
*/
|
|
1081
|
+
archived?: boolean;
|
|
1082
|
+
/**
|
|
1083
|
+
* Format: date-time
|
|
1084
|
+
* @description product created time
|
|
1085
|
+
* @example 2017-03-21T21:12:53.865Z
|
|
1086
|
+
*/
|
|
1087
|
+
"createdTime<sup>DEPRECATED</sup>"?: string;
|
|
1088
|
+
/**
|
|
1089
|
+
* Format: date-time
|
|
1090
|
+
* @description product modified time
|
|
1091
|
+
* @example 2018-04-06T15:12:52.910Z
|
|
1092
|
+
*/
|
|
1093
|
+
"modifiedTime<sup>DEPRECATED</sup>"?: string;
|
|
1094
|
+
};
|
|
1095
|
+
VarietyCreate: {
|
|
1096
|
+
/**
|
|
1097
|
+
* @description The common name of the variety.
|
|
1098
|
+
* @example 2C788A SXRA COR
|
|
1099
|
+
*/
|
|
1100
|
+
name?: string;
|
|
1101
|
+
/**
|
|
1102
|
+
* @description The name of the input manufacturer.
|
|
1103
|
+
* @example MYCOGEN SEEDS
|
|
1104
|
+
*/
|
|
1105
|
+
companyName?: string;
|
|
1106
|
+
/**
|
|
1107
|
+
* @description The identifier of the crop type that this variety is associated with.
|
|
1108
|
+
* @example CORN_WET
|
|
1109
|
+
*/
|
|
1110
|
+
cropName?: string;
|
|
1111
|
+
/**
|
|
1112
|
+
* @description Whether or not this product is actively used.
|
|
1113
|
+
* @example false
|
|
1114
|
+
*/
|
|
1115
|
+
archived?: boolean;
|
|
1116
|
+
/**
|
|
1117
|
+
* @description The identifier of the associated reference variety, if applicable. This is optional, but helps to capture product lineage and improve consistency across organizations.
|
|
1118
|
+
* @example 1a63a1fe-b00f-403f-81f7-c157e0234cc4
|
|
1119
|
+
*/
|
|
1120
|
+
referenceId?: string;
|
|
1121
|
+
};
|
|
1122
|
+
};
|
|
1123
|
+
responses: {
|
|
1124
|
+
/** @description Created */
|
|
1125
|
+
Created: {
|
|
1126
|
+
headers: {
|
|
1127
|
+
[name: string]: unknown;
|
|
1128
|
+
};
|
|
1129
|
+
content?: never;
|
|
1130
|
+
};
|
|
1131
|
+
};
|
|
1132
|
+
parameters: {
|
|
1133
|
+
/** @description An embeddable list of properties which are optional by default. */
|
|
1134
|
+
VarietyEmbed: "documents" | "showMergedProducts";
|
|
1135
|
+
/** @description Filters the list based on archive status. Accepted values are ARCHIVED, AVAILABLE, and ALL. The default behavior is to return only available (non-archived) varieties. */
|
|
1136
|
+
ArchiveStatus: "AVAILABLE" | "ARCHIVED" | "ALL";
|
|
1137
|
+
/** @description The identifier of the Organization. */
|
|
1138
|
+
OrganizationID: number;
|
|
1139
|
+
/** @description The organization owning the varieties. */
|
|
1140
|
+
OrgId: number;
|
|
1141
|
+
/** @description Filter results based on status */
|
|
1142
|
+
RecordFilter: string;
|
|
1143
|
+
/** @description Embeds extra information in the org varieties response */
|
|
1144
|
+
Embed: string;
|
|
1145
|
+
/** @description Embeds extra information in the variety response */
|
|
1146
|
+
Embed2: string;
|
|
1147
|
+
/** @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. */
|
|
1148
|
+
"X-deere-signature": string;
|
|
1149
|
+
/** @description The variety Id to find. */
|
|
1150
|
+
VarietyId: string;
|
|
1151
|
+
/** @description The variety Id */
|
|
1152
|
+
VarietyId2: string;
|
|
1153
|
+
/**
|
|
1154
|
+
* @description A unique identifier for an entity formatted as a uuid.
|
|
1155
|
+
* @example cf09acfc-9196-4dbb-9b38-1be02673c5ff
|
|
1156
|
+
*/
|
|
1157
|
+
ERID: string;
|
|
1158
|
+
};
|
|
1159
|
+
requestBodies: never;
|
|
1160
|
+
headers: never;
|
|
1161
|
+
pathItems: never;
|
|
1162
|
+
}
|
|
1163
|
+
export type $defs = Record<string, never>;
|
|
1164
|
+
export type operations = Record<string, never>;
|
|
1165
|
+
//# sourceMappingURL=products.d.ts.map
|