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.
Files changed (176) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/LICENSE +21 -0
  3. package/README.md +253 -0
  4. package/dist/api/assets.d.ts +78 -0
  5. package/dist/api/assets.d.ts.map +1 -0
  6. package/dist/api/assets.js +115 -0
  7. package/dist/api/assets.js.map +1 -0
  8. package/dist/api/boundaries.d.ts +69 -0
  9. package/dist/api/boundaries.d.ts.map +1 -0
  10. package/dist/api/boundaries.js +102 -0
  11. package/dist/api/boundaries.js.map +1 -0
  12. package/dist/api/clients.d.ts +71 -0
  13. package/dist/api/clients.d.ts.map +1 -0
  14. package/dist/api/clients.js +104 -0
  15. package/dist/api/clients.js.map +1 -0
  16. package/dist/api/connection-management.d.ts +41 -0
  17. package/dist/api/connection-management.d.ts.map +1 -0
  18. package/dist/api/connection-management.js +56 -0
  19. package/dist/api/connection-management.js.map +1 -0
  20. package/dist/api/crop-types.d.ts +48 -0
  21. package/dist/api/crop-types.d.ts.map +1 -0
  22. package/dist/api/crop-types.js +69 -0
  23. package/dist/api/crop-types.js.map +1 -0
  24. package/dist/api/equipment.d.ts +138 -0
  25. package/dist/api/equipment.d.ts.map +1 -0
  26. package/dist/api/equipment.js +214 -0
  27. package/dist/api/equipment.js.map +1 -0
  28. package/dist/api/farms.d.ts +69 -0
  29. package/dist/api/farms.d.ts.map +1 -0
  30. package/dist/api/farms.js +100 -0
  31. package/dist/api/farms.js.map +1 -0
  32. package/dist/api/field-operations-api.d.ts +56 -0
  33. package/dist/api/field-operations-api.d.ts.map +1 -0
  34. package/dist/api/field-operations-api.js +88 -0
  35. package/dist/api/field-operations-api.js.map +1 -0
  36. package/dist/api/field-operations.d.ts +83 -0
  37. package/dist/api/field-operations.d.ts.map +1 -0
  38. package/dist/api/field-operations.js +134 -0
  39. package/dist/api/field-operations.js.map +1 -0
  40. package/dist/api/fields.d.ts +73 -0
  41. package/dist/api/fields.d.ts.map +1 -0
  42. package/dist/api/fields.js +113 -0
  43. package/dist/api/fields.js.map +1 -0
  44. package/dist/api/files.d.ts +63 -0
  45. package/dist/api/files.d.ts.map +1 -0
  46. package/dist/api/files.js +96 -0
  47. package/dist/api/files.js.map +1 -0
  48. package/dist/api/flags.d.ts +96 -0
  49. package/dist/api/flags.d.ts.map +1 -0
  50. package/dist/api/flags.js +159 -0
  51. package/dist/api/flags.js.map +1 -0
  52. package/dist/api/guidance-lines.d.ts +52 -0
  53. package/dist/api/guidance-lines.d.ts.map +1 -0
  54. package/dist/api/guidance-lines.js +77 -0
  55. package/dist/api/guidance-lines.js.map +1 -0
  56. package/dist/api/index.d.ts +43 -0
  57. package/dist/api/index.d.ts.map +1 -0
  58. package/dist/api/index.js +25 -0
  59. package/dist/api/index.js.map +1 -0
  60. package/dist/api/map-layers.d.ts +49 -0
  61. package/dist/api/map-layers.d.ts.map +1 -0
  62. package/dist/api/map-layers.js +69 -0
  63. package/dist/api/map-layers.js.map +1 -0
  64. package/dist/api/operators.d.ts +67 -0
  65. package/dist/api/operators.d.ts.map +1 -0
  66. package/dist/api/operators.js +99 -0
  67. package/dist/api/operators.js.map +1 -0
  68. package/dist/api/organizations.d.ts +45 -0
  69. package/dist/api/organizations.d.ts.map +1 -0
  70. package/dist/api/organizations.js +64 -0
  71. package/dist/api/organizations.js.map +1 -0
  72. package/dist/api/products.d.ts +88 -0
  73. package/dist/api/products.d.ts.map +1 -0
  74. package/dist/api/products.js +132 -0
  75. package/dist/api/products.js.map +1 -0
  76. package/dist/api/users.d.ts +22 -0
  77. package/dist/api/users.d.ts.map +1 -0
  78. package/dist/api/users.js +26 -0
  79. package/dist/api/users.js.map +1 -0
  80. package/dist/api/webhook.d.ts +42 -0
  81. package/dist/api/webhook.d.ts.map +1 -0
  82. package/dist/api/webhook.js +57 -0
  83. package/dist/api/webhook.js.map +1 -0
  84. package/dist/client.d.ts +114 -0
  85. package/dist/client.d.ts.map +1 -0
  86. package/dist/client.js +224 -0
  87. package/dist/client.js.map +1 -0
  88. package/dist/deere.d.ts +98 -0
  89. package/dist/deere.d.ts.map +1 -0
  90. package/dist/deere.js +120 -0
  91. package/dist/deere.js.map +1 -0
  92. package/dist/index.d.ts +36 -0
  93. package/dist/index.d.ts.map +1 -0
  94. package/dist/index.js +39 -0
  95. package/dist/index.js.map +1 -0
  96. package/dist/types/generated/assets.d.ts +839 -0
  97. package/dist/types/generated/assets.d.ts.map +1 -0
  98. package/dist/types/generated/assets.js +6 -0
  99. package/dist/types/generated/assets.js.map +1 -0
  100. package/dist/types/generated/boundaries.d.ts +734 -0
  101. package/dist/types/generated/boundaries.d.ts.map +1 -0
  102. package/dist/types/generated/boundaries.js +6 -0
  103. package/dist/types/generated/boundaries.js.map +1 -0
  104. package/dist/types/generated/clients.d.ts +602 -0
  105. package/dist/types/generated/clients.d.ts.map +1 -0
  106. package/dist/types/generated/clients.js +6 -0
  107. package/dist/types/generated/clients.js.map +1 -0
  108. package/dist/types/generated/connection-management.d.ts +210 -0
  109. package/dist/types/generated/connection-management.d.ts.map +1 -0
  110. package/dist/types/generated/connection-management.js +6 -0
  111. package/dist/types/generated/connection-management.js.map +1 -0
  112. package/dist/types/generated/crop-types.d.ts +541 -0
  113. package/dist/types/generated/crop-types.d.ts.map +1 -0
  114. package/dist/types/generated/crop-types.js +6 -0
  115. package/dist/types/generated/crop-types.js.map +1 -0
  116. package/dist/types/generated/equipment.d.ts +2599 -0
  117. package/dist/types/generated/equipment.d.ts.map +1 -0
  118. package/dist/types/generated/equipment.js +6 -0
  119. package/dist/types/generated/equipment.js.map +1 -0
  120. package/dist/types/generated/farms.d.ts +520 -0
  121. package/dist/types/generated/farms.d.ts.map +1 -0
  122. package/dist/types/generated/farms.js +6 -0
  123. package/dist/types/generated/farms.js.map +1 -0
  124. package/dist/types/generated/field-operations-api.d.ts +1724 -0
  125. package/dist/types/generated/field-operations-api.d.ts.map +1 -0
  126. package/dist/types/generated/field-operations-api.js +6 -0
  127. package/dist/types/generated/field-operations-api.js.map +1 -0
  128. package/dist/types/generated/fields.d.ts +904 -0
  129. package/dist/types/generated/fields.d.ts.map +1 -0
  130. package/dist/types/generated/fields.js +6 -0
  131. package/dist/types/generated/fields.js.map +1 -0
  132. package/dist/types/generated/files.d.ts +598 -0
  133. package/dist/types/generated/files.d.ts.map +1 -0
  134. package/dist/types/generated/files.js +6 -0
  135. package/dist/types/generated/files.js.map +1 -0
  136. package/dist/types/generated/flags.d.ts +593 -0
  137. package/dist/types/generated/flags.d.ts.map +1 -0
  138. package/dist/types/generated/flags.js +6 -0
  139. package/dist/types/generated/flags.js.map +1 -0
  140. package/dist/types/generated/guidance-lines.d.ts +405 -0
  141. package/dist/types/generated/guidance-lines.d.ts.map +1 -0
  142. package/dist/types/generated/guidance-lines.js +6 -0
  143. package/dist/types/generated/guidance-lines.js.map +1 -0
  144. package/dist/types/generated/index.d.ts +44 -0
  145. package/dist/types/generated/index.d.ts.map +1 -0
  146. package/dist/types/generated/index.js +26 -0
  147. package/dist/types/generated/index.js.map +1 -0
  148. package/dist/types/generated/map-layers.d.ts +696 -0
  149. package/dist/types/generated/map-layers.d.ts.map +1 -0
  150. package/dist/types/generated/map-layers.js +6 -0
  151. package/dist/types/generated/map-layers.js.map +1 -0
  152. package/dist/types/generated/operators.d.ts +361 -0
  153. package/dist/types/generated/operators.d.ts.map +1 -0
  154. package/dist/types/generated/operators.js +6 -0
  155. package/dist/types/generated/operators.js.map +1 -0
  156. package/dist/types/generated/organizations.d.ts +308 -0
  157. package/dist/types/generated/organizations.d.ts.map +1 -0
  158. package/dist/types/generated/organizations.js +6 -0
  159. package/dist/types/generated/organizations.js.map +1 -0
  160. package/dist/types/generated/products.d.ts +1165 -0
  161. package/dist/types/generated/products.d.ts.map +1 -0
  162. package/dist/types/generated/products.js +6 -0
  163. package/dist/types/generated/products.js.map +1 -0
  164. package/dist/types/generated/users.d.ts +96 -0
  165. package/dist/types/generated/users.d.ts.map +1 -0
  166. package/dist/types/generated/users.js +6 -0
  167. package/dist/types/generated/users.js.map +1 -0
  168. package/dist/types/generated/webhook.d.ts +475 -0
  169. package/dist/types/generated/webhook.d.ts.map +1 -0
  170. package/dist/types/generated/webhook.js +6 -0
  171. package/dist/types/generated/webhook.js.map +1 -0
  172. package/dist/types/index.d.ts +25 -0
  173. package/dist/types/index.d.ts.map +1 -0
  174. package/dist/types/index.js +25 -0
  175. package/dist/types/index.js.map +1 -0
  176. package/package.json +70 -0
@@ -0,0 +1,1724 @@
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/{orgId}/fields/{fieldId}/fieldOperations": {
7
+ parameters: {
8
+ query?: never;
9
+ header?: never;
10
+ path?: never;
11
+ cookie?: never;
12
+ };
13
+ /**
14
+ * List Field Operations
15
+ * @description This resource returns logical data structures representing the agronomic operations performed in a field. Supported field operation types include Seeding, Application, and Harvest. A single field operation may potentially span consecutive days depending on the type of operation. Each field operation may have one or more measurements, listed as links from the field operation itself. Each field operation will include links to: <br/> <ul> <li><b>organization:</b> The organization which owns this data.</li> <li><b>field:</b> The field in which this operation was performed.</li> <li><b>self:</b> The field operation.</li> </ul>
16
+ */
17
+ get: {
18
+ parameters: {
19
+ query?: {
20
+ /** @description Retrieve operations for a specific crop season (year). */
21
+ cropSeason?: components["parameters"]["CropSeason"];
22
+ /** @description Filter results by field operation type. Takes the values "APPLICATION", "HARVEST", "SEEDING", and "TILLAGE". */
23
+ fieldOperationType?: components["parameters"]["FieldOperationType"];
24
+ /** @description Specify the starting date of the seven-day period in ISO-8601 format. Query Filter is inclusive. */
25
+ startDate?: components["parameters"]["StartDate"];
26
+ /** @description Specify the ending date of the seven-day period in ISO-8601 format. Query Filter is inclusive. */
27
+ endDate?: components["parameters"]["EndDate"];
28
+ /** @description List available operation measurement types and totals. */
29
+ embed?: components["parameters"]["FieldEmbed"];
30
+ /** @description Query by one or more workPlanIds(comma separated) */
31
+ workPlanIds?: components["parameters"]["WorkPlanIds"];
32
+ };
33
+ header?: {
34
+ /** @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. */
35
+ "x-deere-signature"?: components["parameters"]["X-deere-signature"];
36
+ };
37
+ path: {
38
+ /** @description Owning Organization ID */
39
+ orgId: components["parameters"]["OrgId"];
40
+ /** @description Field ID */
41
+ fieldId: components["parameters"]["FieldId"];
42
+ };
43
+ cookie?: never;
44
+ };
45
+ requestBody?: never;
46
+ responses: {
47
+ 200: components["responses"]["FieldOperations"];
48
+ 403: components["responses"]["DoesNotHaveAccessToFieldOperations"];
49
+ 404: components["responses"]["RequestedResourceNotFound"];
50
+ };
51
+ };
52
+ put?: never;
53
+ post?: never;
54
+ delete?: never;
55
+ options?: never;
56
+ head?: never;
57
+ patch?: never;
58
+ trace?: never;
59
+ };
60
+ "/fieldOperations/{operationId}": {
61
+ parameters: {
62
+ query?: never;
63
+ header?: never;
64
+ path?: never;
65
+ cookie?: never;
66
+ };
67
+ /**
68
+ * View a Field Operation
69
+ * @description View a single field operation. The response will include links to: <br/> <ul> <li><b>organization:</b> The organization which owns this data.</li> <li><b>field:</b> The field in which this operation was performed.</li> <li><b>self:</b> The field operation.</li> <ul>
70
+ */
71
+ get: {
72
+ parameters: {
73
+ query?: {
74
+ /** @description List available operation measurement types and totals. */
75
+ embed?: components["parameters"]["FieldEmbed"];
76
+ };
77
+ header?: never;
78
+ path: {
79
+ /** @description Operation ID */
80
+ operationId: components["parameters"]["OperationId"];
81
+ };
82
+ cookie?: never;
83
+ };
84
+ requestBody?: never;
85
+ responses: {
86
+ 200: components["responses"]["FieldOperationId"];
87
+ 403: components["responses"]["DoesNotHaveAccessToFieldOperations"];
88
+ 404: components["responses"]["InputFieldOperationValueIsInvalid"];
89
+ };
90
+ };
91
+ put?: never;
92
+ post?: never;
93
+ delete?: never;
94
+ options?: never;
95
+ head?: never;
96
+ patch?: never;
97
+ trace?: never;
98
+ };
99
+ "/fieldOps/{operationId}": {
100
+ parameters: {
101
+ query?: never;
102
+ header?: never;
103
+ path?: never;
104
+ cookie?: never;
105
+ };
106
+ /**
107
+ * Asynchronous Shapefile Download
108
+ * @description An ESRI Shapefile is available for each Field Operation. <b>Please see the <a href=/dev-docs/field-operations#shapefile-overview>shapefiles overview</a> for details</b> on the shapefile format and how to consume it.<p>The expected response codes are:</p> <ul> <li><b>202 Accepted – </b>The request was received and is being processed. Call back later to check for completion. <ul> <li>This API does not currently support webhooks. To check for completion, repeat the same API call until you get an HTTP 307.</li> <li>Processing may take up to 30 minutes, depending on the size of data. Applications should poll the API using a backoff loop. Polling intervals should start at 5 seconds and double with each attempt: <mark>secondsToWait = 5 * 2 ^ (numberOfAttempts - 1)</mark></li> </ul> </li> <li><b>307 Temporary Redirect – </b>The shapefile is ready to download. This response contains a location header. The location is a pre-signed URL that is valid for no less than one hour. To download the file, perform a GET request to the URL in the location header. Do not apply OAuth signing or other authorization to this request - it will cause the call to fail. </li> <li><b>406 Not Acceptable - </b>A shapefile cannot be generated. </li> </ul> Note the initial call for a shapefile may receive either a 202 or a 307 response, depending upon whether an up-to-date file already exists for the specified field operation. <br/><br/>For a sample integration, see our <a href=https://github.com/JohnDeere/MyJohnDeereAPI-OAuth2-Java-Example>Java sample code</a>.
109
+ */
110
+ get: {
111
+ parameters: {
112
+ query?: {
113
+ /** @description If true, this will download the shapefile in small 20MB pieces */
114
+ splitShapeFile?: components["parameters"]["SplitShapeFile"];
115
+ /** @description Choose between point-based and polygon-based shapefiles. Accepted values are "Point" and "Polygon". */
116
+ shapeType?: components["parameters"]["ShapeType"];
117
+ /** @description Choose a data resolution for the shapefile. Accepted values are "EachSection", "EachSensor", and "OneHertz". */
118
+ resolution?: components["parameters"]["Resolution"];
119
+ };
120
+ header?: {
121
+ /** @description Unit of measure system to use for numeric values in the shapefiles. Accepted values are "METRIC", "ENGLISH", and "MIXED".If this header is not specified, the unit system will be determined by the organization preference of the owning organization.For all unit systems, the units are consistent with <a href=https://github.com/ADAPT/ADAPT/blob/master/source/Representation/Resources/UnitSystem.xml target="_blank">ADAPT's unit system</a>. */
122
+ "Accept-UOM-System"?: components["parameters"]["Accept-UOM-System"];
123
+ /** @description Desired yield representation (unit) type. Accepted values are VOLUME or MASS. */
124
+ "Accept-Yield-Preference"?: components["parameters"]["Accept-Yield-Preference"];
125
+ };
126
+ path: {
127
+ /** @description Operation ID */
128
+ operationId: components["parameters"]["OperationId"];
129
+ };
130
+ cookie?: never;
131
+ };
132
+ requestBody?: never;
133
+ responses: {
134
+ 202: components["responses"]["RequestHasBeenAccepted"];
135
+ 307: components["responses"]["RedirectToPreSignedURL"];
136
+ 403: components["responses"]["DoesNotHaveAccessToFieldOperations"];
137
+ 404: components["responses"]["InputFieldOperationValueIsInvalid"];
138
+ 406: components["responses"]["RequestHasNotBeenAccepted"];
139
+ };
140
+ };
141
+ put?: never;
142
+ post?: never;
143
+ delete?: never;
144
+ options?: never;
145
+ head?: never;
146
+ patch?: never;
147
+ trace?: never;
148
+ };
149
+ }
150
+ export type webhooks = Record<string, never>;
151
+ export interface components {
152
+ schemas: {
153
+ /** @description Operators that performed work using this machine */
154
+ Operators: {
155
+ /**
156
+ * @description Unique identifier for this operator
157
+ * @example 657b4391-79b3-4012-a617-7ceba7111ad0
158
+ */
159
+ operatorId?: string;
160
+ /**
161
+ * @description Name of the operator
162
+ * @example John Doe
163
+ */
164
+ name?: string;
165
+ /**
166
+ * @description Operator license number
167
+ * @example ABC123
168
+ */
169
+ license?: string;
170
+ };
171
+ /** @description Machines utilized during this operation */
172
+ FieldOperationMachines: {
173
+ /**
174
+ * @description Doc File based Field Operation Machine erid.
175
+ * @example t48a7dd0-as35-44e1-81b4-435d494f7cd5
176
+ */
177
+ erid?: string;
178
+ Operators?: components["schemas"]["Operators"];
179
+ /**
180
+ * Format: int64
181
+ * @description PrincipalId of the machine
182
+ * @example 637795
183
+ */
184
+ machineId?: number | null;
185
+ /**
186
+ * @description VIN of the machine
187
+ * @example WXYEJKB73894JE3
188
+ */
189
+ vin?: string;
190
+ };
191
+ LinkGETFieldOperations: {
192
+ /**
193
+ * @description Organizations Link.
194
+ * @example https://sandboxapi.deere.com/platform/organizations/123456
195
+ */
196
+ organization?: unknown;
197
+ /**
198
+ * @description Fields Link.
199
+ * @example https://sandboxapi.deere.com/platform/organizations/123456/fields/d61b83f4-3a12-431e-8010-596f2466dc27
200
+ */
201
+ field?: unknown;
202
+ /**
203
+ * @description Field Operation Measurements Link.
204
+ * @example https://sandboxapi.deere.com/platform/fieldOperations/MjIzMDMxXzU4NDFkMDM2YTA2ZDkwMDk3MGYyNDJkMw/measurementTypes
205
+ */
206
+ measurementTypes?: unknown;
207
+ /**
208
+ * @description zero or more field operation measurements links. These will vary by the type of operation
209
+ * @example https://sandboxapi.deere.com/platform/fieldOperations/MjIzMDMxXzU4NDFkMDM2YTA2ZDkwMDk3MGYyNDJkMw/measurementTypes/TillagePressureResult
210
+ */
211
+ measurement?: unknown;
212
+ /**
213
+ * @description Clients Link.
214
+ * @example https://sandboxapi.deere.com/platform/organizations/123456/clients/46234f43-0000-1000-4014-e1e1e11124e0
215
+ */
216
+ client?: unknown;
217
+ /**
218
+ * @description Farms Link.
219
+ * @example https://sandboxapi.deere.com/platform/organizations/123456/farms/4641d448-0000-1000-4033-e1e1e11124e0
220
+ */
221
+ farm?: unknown;
222
+ /**
223
+ * @description Asynchronous Shapefiles Link.
224
+ * @example https://sandboxapi.deere.com/platform/fieldOps/MjIzMDMxXzU4NDFkMDM2YTA2ZDkwMDk3MGYyNDJkNg
225
+ */
226
+ shapeFileAsync?: unknown;
227
+ /**
228
+ * @description Link to work plan associated to the operation.
229
+ * @example https://sandboxapi.deere.com/platform/organizations/123456/workPlans/2fac815e-5696-4ff6-86a0-39093b7dbf7e
230
+ */
231
+ workPlans?: unknown;
232
+ };
233
+ LinkGETFieldOperationsId: {
234
+ /**
235
+ * @description Organizations Link.
236
+ * @example https://sandboxapi.deere.com/platform/organizations/123456
237
+ */
238
+ organization?: unknown;
239
+ /**
240
+ * @description Fields Link.
241
+ * @example https://sandboxapi.deere.com/platform/organizations/123456/fields/d61b83f4-3a12-431e-8010-596f2466dc27
242
+ */
243
+ field?: unknown;
244
+ /**
245
+ * @description Field Operation Measurements Link.
246
+ * @example https://sandboxapi.deere.com/platform/fieldOperations/MjIzMDMxXzU4NDFkMDM2YTA2ZDkwMDk3MGYyNDJkMw/measurementTypes
247
+ */
248
+ measurementTypes?: unknown;
249
+ /**
250
+ * @description zero or more field operation measurements links. These will vary by the type of operation
251
+ * @example https://sandboxapi.deere.com/platform/fieldOperations/MjIzMDMxXzU4NDFkMDM2YTA2ZDkwMDk3MGYyNDJkMw/measurementTypes/TillagePressureResult
252
+ */
253
+ measurement?: unknown;
254
+ /**
255
+ * @description Clients Link.
256
+ * @example https://sandboxapi.deere.com/platform/organizations/123456/clients/46234f43-0000-1000-4014-e1e1e11124e0
257
+ */
258
+ client?: unknown;
259
+ /**
260
+ * @description Farms Link.
261
+ * @example https://sandboxapi.deere.com/platform/organizations/123456/farms/4641d448-0000-1000-4033-e1e1e11124e0
262
+ */
263
+ farm?: unknown;
264
+ };
265
+ Link: string;
266
+ /** @description A link provides a URI to access resources that are related to the response. */
267
+ FieldLink: {
268
+ /**
269
+ * @description The relation of the object to the linked resource.
270
+ * @example field
271
+ */
272
+ rel?: string;
273
+ /**
274
+ * Format: uri
275
+ * @description The URI to the related resource.
276
+ * @example https://sandboxapi.deere.com/platform/organizations/1234/fields/e48a7dd0-9af2-44e1-81b4-435d494f7cd5
277
+ */
278
+ uri?: string;
279
+ };
280
+ /**
281
+ * @description The type of operation
282
+ * @example HARVEST
283
+ */
284
+ FieldOperationTypesEnum: string;
285
+ /** @description The client associated with this FieldOperation. Populated only when the associated embed is requested. */
286
+ Client: {
287
+ /**
288
+ * @description Globally unique identifier for this client.
289
+ * @example 66dd9c64-71d7-4904-86f8-e04d40ccf59d
290
+ */
291
+ id?: string;
292
+ links?: components["schemas"]["Link"][];
293
+ /**
294
+ * @description The name of the client.
295
+ * @example My Custom Client Name
296
+ */
297
+ name?: string;
298
+ /** @example false */
299
+ archived?: boolean;
300
+ };
301
+ /** @description The farm associated with this FieldOperation. Populated only when the associated embed is requested. */
302
+ Farm: {
303
+ /**
304
+ * @description Globally unique identifier for this farm.
305
+ * @example 4b781329-2f8c-4a68-98ce-8d5213fc8588
306
+ */
307
+ id?: string;
308
+ links?: components["schemas"]["Link"][];
309
+ /**
310
+ * @description The name of the farm.
311
+ * @example My Custom Farm Name
312
+ */
313
+ name?: string;
314
+ /** @example false */
315
+ archived?: boolean;
316
+ };
317
+ /** @description The field associated with this FieldOperation. Populated only when the associated embed is requested. */
318
+ Field: {
319
+ /**
320
+ * @description Globally unique identifier for this field.
321
+ * @example 5ef3b56c-c01d-4ce5-b630-bd1850e39c29
322
+ */
323
+ id?: string;
324
+ links?: components["schemas"]["Link"][];
325
+ /**
326
+ * @description The name of the field.
327
+ * @example My Custom Field Name
328
+ */
329
+ name?: string;
330
+ /** @example false */
331
+ archived?: boolean;
332
+ /**
333
+ * Format: date-time
334
+ * @example 2020-09-21T15:41:15.205Z
335
+ */
336
+ lastModifiedTime?: string;
337
+ };
338
+ /**
339
+ * Format: int64
340
+ * @description The organization owning the fields and associated operations
341
+ * @example 123456
342
+ */
343
+ OrgId: number;
344
+ TankMixProduct: {
345
+ guid?: components["schemas"]["ProductErid"];
346
+ /**
347
+ * @description Flag indicating whether the product is a tank mix (true) or a single component (false).
348
+ * @example true
349
+ */
350
+ tankMix?: boolean;
351
+ rate?: components["schemas"]["EventMeasurement"];
352
+ carrier?: components["schemas"]["Component"];
353
+ components?: components["schemas"]["Component"][];
354
+ };
355
+ NonTankMixProduct: {
356
+ /** @example Product */
357
+ "@type"?: string;
358
+ guid?: components["schemas"]["ProductErid"];
359
+ productType?: components["schemas"]["FieldOperationProductTypesEnum"];
360
+ /**
361
+ * @description The general name of the product, or 'Tank Mix' for a product consisting of multiple components in a carrier,
362
+ * for APPLICATION operations.
363
+ * @example Priaxor
364
+ */
365
+ name?: string;
366
+ /**
367
+ * @description The brand name of product.
368
+ * @example BrandForProducts
369
+ */
370
+ brand?: string;
371
+ agencyRegistrationNumber?: components["schemas"]["AgencyRegistrationNumber"];
372
+ /**
373
+ * @description Flag indicating whether the product is a tank mix (true) or a single component (false).
374
+ * @example false
375
+ */
376
+ tankMix?: boolean;
377
+ };
378
+ /** @description An individual product combined with others in a tank mix. */
379
+ Component: {
380
+ /** @example Component */
381
+ "@type"?: string;
382
+ /**
383
+ * @description Display recorded Component GUID.
384
+ * @example fa14f029-831c-456b-a76e-2d3c26207c19
385
+ */
386
+ guid?: string;
387
+ /**
388
+ * @description The general name of the product.
389
+ * @example Water
390
+ */
391
+ name?: string;
392
+ agencyRegistrationNumber?: components["schemas"]["AgencyRegistrationNumber"];
393
+ rate?: components["schemas"]["EventMeasurement"];
394
+ };
395
+ /**
396
+ * @description The product identifier managed by regulatory agency. e.g. EPA registration number of product issued by the US Environmental Protection Agency
397
+ * @example 0084229-00011-AA-0000000
398
+ */
399
+ AgencyRegistrationNumber: string;
400
+ /**
401
+ * @description The type of display
402
+ * @enum {string}
403
+ */
404
+ JohnDeereDisplayTypeEnum: "GS4_4600" | "GS3_2630" | "GS2_2600" | "GS2_1800" | "GS2_CommandCenter";
405
+ /**
406
+ * @description The type of display
407
+ * @enum {string}
408
+ */
409
+ ConnectMobileEnum: "OneAppMobile";
410
+ /**
411
+ * @description The type of display
412
+ * @enum {string}
413
+ */
414
+ ThirdPartyDisplayTypeEnum: "IntegraVersa" | "ProtobufV36" | "ProtobufV41" | "TrimbleFMX" | "Unknown";
415
+ DisplayTypeEnum: components["schemas"]["JohnDeereDisplayTypeEnum"] & components["schemas"]["ConnectMobileEnum"] & components["schemas"]["ThirdPartyDisplayTypeEnum"];
416
+ /**
417
+ * @description - A unique textual identifier for a type of Crop
418
+ * - EnumList is based on ISG_Shared/blob/master/crops/crops.xml
419
+ * - You may use com.deere.ads.utility.CropTokenLookup in platform to retrieve crop ids.
420
+ * @example ALFALFA
421
+ */
422
+ CropToken: string;
423
+ /**
424
+ * @description Filter results by crop season.
425
+ * @example 2016
426
+ */
427
+ CropSeason: number;
428
+ /**
429
+ * @description The crop seasons (year) of the recent operation
430
+ * @example [
431
+ * "2016",
432
+ * "2015"
433
+ * ]
434
+ */
435
+ CropSeasons: components["schemas"]["CropSeason"][];
436
+ CropSeasonSummary: {
437
+ links?: components["schemas"]["FieldLink"][];
438
+ fieldOperationType?: components["schemas"]["FieldOperationTypesEnum"];
439
+ cropSeasons?: components["schemas"]["CropSeasons"];
440
+ };
441
+ /**
442
+ * @description FieldOperation Product Types TODO Enum
443
+ * @enum {string}
444
+ */
445
+ FieldOperationProductTypesEnum: "OTHER" | "CHEMICAL" | "SEED" | "FEED" | "FERTILIZER";
446
+ FieldOperationMeasurementTypesEnum: string & components["schemas"]["FieldOperationMeasurementTypesInFullRelease"] & components["schemas"]["FieldOperationMeasurementTypesInAgreportsApi"];
447
+ /**
448
+ * @description FieldOperation Measurement Types supported in the HDP versions of the endpoints and therefore fully released.
449
+ * @enum {string}
450
+ */
451
+ FieldOperationMeasurementTypesInFullRelease: "SeedingRateTarget" | "SeedingRateResult" | "SeedingSpeedResult" | "SeedingVarietiesTarget" | "SeedingVarietiesResult" | "ApplicationRateTarget" | "ApplicationRateResult" | "ApplicationSpeedResult" | "HarvestYieldResult" | "HarvestYieldContourResult" | "HarvestSpecialtyGrossYieldResult" | "HarvestWetMassResult" | "HarvestMoistureResult" | "HarvestTrashResult" | "HarvestSpeedResult" | "HarvestAdfResult" | "HarvestNdfResult" | "HarvestCrudeProteinResult" | "HarvestStarchResult" | "HarvestSugarResult" | "TillageDepthResult" | "TillagePressureResult" | "TillageSpeedResult" | "TillageDepthTarget" | "TillagePressureTarget";
452
+ /**
453
+ * @description FieldOperation Measurement Types supported in the Agreports/DataLake versions of the endpoints. These are released to some clients but, *will never* be released to all clients. Similar data will be available from layer and statistics endpoints.
454
+ * @enum {string}
455
+ */
456
+ FieldOperationMeasurementTypesInAgreportsApi: "ElevationResult" | "ApplicationHeightTarget" | "FuelRateResult" | "WindSpeed" | "AirTemperature" | "TemperatureDifference" | "RelativeHumidity" | "SoilTemperature" | "RatePrescription" | "PressurePrescription" | "DepthPrescription" | "SeedDepthTarget" | "SprayPressure" | "InoculantDosing" | "LengthOfCut" | "GaugeWheelMargin" | "DownforceResult" | "RideQuality" | "SeedSpacingVariation" | "GroundContact" | "Singulation" | "SkyCondition" | "SoilMoisture" | "TargetQuality" | "PrescriptionQuality";
457
+ /**
458
+ * @description FieldOperation Measurement Category
459
+ * @enum {string}
460
+ */
461
+ FieldOperationMeasurementCategoryEnum: "Target" | "Result" | "Prescription";
462
+ FieldOperationLayersEnum: string & components["schemas"]["FieldOperationMeasurementLayersEnum"] & components["schemas"]["FieldOperationIndexLayersEnum"] & components["schemas"]["FieldOperationCompositeLayersEnum"];
463
+ /**
464
+ * @description Layers based on variable rate measurements recorded during the field operation. They will use EventMeasurementStats for statistics.
465
+ * @enum {string}
466
+ */
467
+ FieldOperationMeasurementLayersEnum: "AreaWorked" | "Speed" | "Elevation" | "FuelRate" | "FuelConsumption" | "DieselExhaustFluid" | "EngineHours" | "YieldByVolume" | "YieldByMass" | "WetMass" | "Moisture" | "Trash" | "AcidDetergentFiber" | "NeutralDetergentFiber" | "CrudeProtein" | "Starch" | "Sugar" | "RateResult" | "RateTarget" | "RatePrescription" | "InoculantDosing" | "LengthOfCut" | "GaugeWheelMargin" | "DownforceResult" | "GroundContact" | "RideQuality" | "SeedSpacingVariation" | "Singulation" | "ApplicationHeight" | "SprayPressure" | "PressureTarget" | "PressureResult" | "PressurePrescription" | "DepthResult" | "DepthTarget" | "DepthPrescription" | "WindSpeed" | "AirTemperature" | "TemperatureDifference" | "RelativeHumidity" | "SoilTemperature";
468
+ /**
469
+ * @description Layers based on defined types recorded or entered during the field operation. They will use EventObservationStats for statistics.
470
+ * @enum {string}
471
+ */
472
+ FieldOperationIndexLayersEnum: "RateResultByProduct" | "RateTargetByProduct" | "WindDirection" | "SkyCondition" | "SoilMoisture" | "Varieties";
473
+ /**
474
+ * @description Layers based on defined comparisons of other layers
475
+ * @enum {string}
476
+ */
477
+ FieldOperationCompositeLayersEnum: "QualityTarget" | "QualityPrescription";
478
+ FieldOperation: {
479
+ /**
480
+ * @description Field Operation ID
481
+ * @example MjkyMDdfNT
482
+ */
483
+ id?: string;
484
+ /**
485
+ * @description A new x-deere-signature response header will be included if the response has changed since last api call.
486
+ * @example 520122365ebb4870a344784570d202c7
487
+ */
488
+ "x-deere-signature"?: string;
489
+ /**
490
+ * @description Field Operation type.
491
+ * @example application
492
+ */
493
+ "fieldOperationType<sup><a href='#field-operation-additional'>1</a></sup>"?: string;
494
+ /**
495
+ * @description Crop season year.
496
+ * @example 2015
497
+ */
498
+ cropSeason?: string;
499
+ /**
500
+ * @description The type of machine that generated the field operation. This may be "unknown".
501
+ * @example unknown
502
+ */
503
+ adaptMachineType?: string;
504
+ /**
505
+ * Format: date-time
506
+ * @description Starting date and time of this field operation..
507
+ * @example 2015-05-29T22:00:19.200Z
508
+ */
509
+ startDate?: string;
510
+ /**
511
+ * Format: date-time
512
+ * @description Ending date and time of this field operation.
513
+ * @example 2015-05-29T22:23:53.746Z
514
+ */
515
+ endDate?: string;
516
+ /**
517
+ * Format: date-time
518
+ * @description Last time that anything was modified on this field operation.
519
+ * @example 2016-04-29T22:12:53.446Z
520
+ */
521
+ modifiedTime?: string;
522
+ /**
523
+ * Format: string
524
+ * @description Crop Name.
525
+ * @example CORN_WET
526
+ */
527
+ cropName?: string;
528
+ /**
529
+ * @description List of seed varieties. Only available on harvest and seeding operation types. May contain guid, productType, name, brand, agencyRegistrationNumber, and tankMix
530
+ * @example [ { "@type": "Product", "productType": "SEED", "name": "aa1", "tankMix": false } ]
531
+ */
532
+ varieties?: unknown[];
533
+ /**
534
+ * @description Details of the product applied during this field operation. Includes name, tankmix, rate, carrier, and components data.
535
+ * @example See sample response below.
536
+ */
537
+ products?: unknown;
538
+ /**
539
+ * @description Name of the tank mix
540
+ * @example Tank Mix Use 1
541
+ */
542
+ name?: string;
543
+ /**
544
+ * @description Boolean flag as to whether the application operation was for a tank mix or not.
545
+ * @example true
546
+ */
547
+ tankMix?: boolean;
548
+ /**
549
+ * @description Rate of the application. Includes value and unitId<sup><a href='#field-operation-additional'>2</a></sup> data.
550
+ * @example See sample response below.
551
+ */
552
+ rate?: unknown;
553
+ /**
554
+ * @description Numeric value.
555
+ * @example 10
556
+ */
557
+ value?: number;
558
+ /**
559
+ * @description Unit of value.
560
+ * @example gal1ac-1
561
+ */
562
+ "unitId<sup><a href='#field-operation-additional'>2</a></sup>"?: string;
563
+ /**
564
+ * @description Data on the product carrier. Includes name and rate.
565
+ * @example See sample response below.
566
+ */
567
+ carrier?: unknown;
568
+ /**
569
+ * @description Data on the product component. Includes name and rate.
570
+ * @example See sample response below.
571
+ */
572
+ components?: unknown;
573
+ fieldOperationMachines?: components["schemas"]["FieldOperationMachines"];
574
+ };
575
+ FieldOperationId: {
576
+ /**
577
+ * @description The organization ID.
578
+ * @example 1234
579
+ */
580
+ orgId?: string;
581
+ /**
582
+ * @description The year in which the grower logically assigned this operation. Note that operational activity may occur outside this calendar year.
583
+ * @example 2015
584
+ */
585
+ cropSeason?: string;
586
+ /**
587
+ * @description A string indicating the type of operation (valid values include: seeding, application, harvest, or tillage).
588
+ * @example Harvest
589
+ */
590
+ "fieldOperationType<sup><a href='#field-operation-additional'>1</a></sup>"?: string;
591
+ /**
592
+ * Format: string
593
+ * @description A string indicating the type of crop used during this operation. Can be omitted based on operation type and original data source. Only available on harvest and seeding operation types.
594
+ * @example CORN_WET
595
+ */
596
+ cropName?: string;
597
+ /**
598
+ * Format: date-time
599
+ * @description Last time that anything was modified on this field operation.
600
+ * @example 2018-11-17T11:53:00.000Z
601
+ */
602
+ modifiedTime?: string;
603
+ /**
604
+ * @description List of seed varieties. Only available on harvest and seeding operation types. May contain guid, productType, name, brand, agencyRegistrationNumber, and tankMix
605
+ * @example [ { "@type": "Product", "productType": "SEED", "name": "aa1", "tankMix": false } ]
606
+ */
607
+ varieties?: unknown[];
608
+ /**
609
+ * @description The type of machine that generated the field operation. This may be "unknown".
610
+ * @example unknown
611
+ */
612
+ adaptMachineType?: string;
613
+ fieldOperationMachines?: components["schemas"]["FieldOperationMachines"];
614
+ };
615
+ UpdateFieldOperation: {
616
+ cropSeason?: components["schemas"]["CropSeason"];
617
+ cropName?: components["schemas"]["CropToken"];
618
+ varieties?: (components["schemas"]["NameToEridEdit"] | components["schemas"]["EridToEridEdit"])[];
619
+ product?: {
620
+ guid?: components["schemas"]["ProductErid"];
621
+ };
622
+ };
623
+ FieldOperationMachine: {
624
+ /** @example FieldOperationMachine */
625
+ "@type"?: string;
626
+ /**
627
+ * @description Doc File based Field Operation Machine erid.
628
+ * @example t48a7dd0-as35-44e1-81b4-435d494f7cd5
629
+ */
630
+ erid?: string;
631
+ /**
632
+ * Format: guid
633
+ * @description Doc File based Field Operation Machine GUID. Deprecated, use erid instead.
634
+ * @example t48a7dd0-as35-44e1-81b4-435d494f7cd5
635
+ */
636
+ GUID?: string;
637
+ /** @example JOHN DEERE */
638
+ make?: string;
639
+ /**
640
+ * Format: int64
641
+ * @example 2016
642
+ */
643
+ modelYear?: number;
644
+ /** @example 824K */
645
+ model?: string;
646
+ /** @example Machine1 */
647
+ name?: string;
648
+ /** @example WXYEJKB73894JE3 */
649
+ vin?: string;
650
+ /** @example combine */
651
+ adaptMachineType?: string;
652
+ /**
653
+ * Format: int64
654
+ * @description The earliest engine hour measurement for a machine participating in the field operation.
655
+ * @example 300
656
+ */
657
+ beginEngineHours?: number;
658
+ /**
659
+ * Format: int64
660
+ * @description The earliest engine hour measurement for a machine participating in the field operation.
661
+ * @example 300
662
+ */
663
+ endEngineHours?: number;
664
+ /**
665
+ * Format: date-time
666
+ * @description The starting date of the field operation by machine in ISO-8601 format.
667
+ * @example 2016-11-17T11:53:00.000Z
668
+ */
669
+ beginTime?: string;
670
+ /**
671
+ * Format: date-time
672
+ * @description The ending date of the field operation by machine in ISO-8601 format.
673
+ * @example 2016-11-17T11:53:00.000Z
674
+ */
675
+ endTime?: string;
676
+ /**
677
+ * Format: date-time
678
+ * @description The most recent time the operational data was updated in ISO-8601 format.
679
+ * @example 2018-11-17T11:53:00.000Z
680
+ */
681
+ modifiedTime?: string;
682
+ cropName?: components["schemas"]["CropToken"];
683
+ products?: components["schemas"]["TankMixProduct"] & components["schemas"]["NonTankMixProduct"];
684
+ /**
685
+ * Format: double
686
+ * @description The calibration factor for this machine
687
+ * @example 1.25
688
+ */
689
+ calibrationFactor?: number;
690
+ /**
691
+ * @description JDLink machine that is only populated when the 'machine' embed is specified
692
+ * @example {
693
+ * "id": "someId",
694
+ * "serialNumber": "1234567890123"
695
+ * }
696
+ */
697
+ machine?: Record<string, never>;
698
+ operators?: components["schemas"]["Operator"][];
699
+ links?: components["schemas"]["Link"][];
700
+ };
701
+ UpdateFieldOperationMachine: {
702
+ /**
703
+ * @description Doc File based Field Operation Machine erid.
704
+ * @example t48a7dd0-as35-44e1-81b4-435d494f7cd5
705
+ */
706
+ erid?: string;
707
+ /**
708
+ * Format: double
709
+ * @description The calibration factor for this machine
710
+ * @example 1.25
711
+ */
712
+ calibrationFactor?: number;
713
+ };
714
+ FieldOperationWorkNote: {
715
+ /** @example FieldOperationWorkNote */
716
+ "@type"?: string;
717
+ /**
718
+ * Format: guid
719
+ * @description eventId of the work note.
720
+ * @example 3df13267-c5ee-4cc3-ab79-7cf013dc1e98
721
+ */
722
+ id: string;
723
+ /** @example note1 */
724
+ note: string;
725
+ /**
726
+ * Format: date-time
727
+ * @description Timestamp of the work note.
728
+ * @example 2018-08-27T08:08:08.000Z
729
+ */
730
+ timestamp?: string;
731
+ /** @description GPS location where the the work note was taken. */
732
+ gpsLocation?: components["schemas"]["Point"];
733
+ };
734
+ MapRangeForIndex: {
735
+ /** @example MapLegendItem */
736
+ "@type"?: string;
737
+ /**
738
+ * @description The string label for this range. Used for images that are not based on numerical values
739
+ * @example Variety 1
740
+ */
741
+ label?: string;
742
+ /**
743
+ * @description The color used in the image for this rage
744
+ * @example #cc0000
745
+ */
746
+ hexColor?: string;
747
+ /**
748
+ * Format: double
749
+ * @description The proportion of the field operation matching this range (not actually a percentage).
750
+ * @example 0.15
751
+ */
752
+ percent?: number;
753
+ /**
754
+ * Format: int64
755
+ * @description This is a placeholder for various index key
756
+ * @example 55
757
+ */
758
+ key?: number;
759
+ };
760
+ MapRangeForMeasurement: {
761
+ /** @example MapLegendItem */
762
+ "@type"?: string;
763
+ /**
764
+ * Format: double
765
+ * @description The inclusive minimum value included in this range
766
+ * @example 13.15
767
+ */
768
+ minimum?: number;
769
+ /**
770
+ * Format: double
771
+ * @description The exclusive maximum value included in this range
772
+ * @example 17.95
773
+ */
774
+ maximum?: number;
775
+ /**
776
+ * @description The color used in the image for this rage
777
+ * @example #cc0000
778
+ */
779
+ hexColor?: string;
780
+ /**
781
+ * Format: double
782
+ * @description The proportion of the field operation matching this range (not actually a percentage).
783
+ * @example 0.15
784
+ */
785
+ percent?: number;
786
+ };
787
+ MapRangeForGeoTiff: {
788
+ /** @example MapLegendItem */
789
+ "@type"?: string;
790
+ /**
791
+ * @description The string label for this range. Used for images that are not based on numerical values
792
+ * @example Variety 1
793
+ */
794
+ label?: string;
795
+ /**
796
+ * Format: int64
797
+ * @description This is a placeholder for GeoTiff based Index Key
798
+ * @example 1
799
+ */
800
+ key?: number;
801
+ };
802
+ MapRange: components["schemas"]["MapRangeForGeoTiff"] & components["schemas"]["MapRangeForIndex"] & components["schemas"]["MapRangeForMeasurement"];
803
+ MapRangeWithLayerStatistics: Record<string, never> & components["schemas"]["MapRange"] & {
804
+ /** @example MapRangeWithLayerStatistics */
805
+ "@type"?: string;
806
+ statistics?: components["schemas"]["LayerStatistics"];
807
+ };
808
+ /** @description Describes the breaks and their colors for an image */
809
+ MapLegend: {
810
+ /** @example MapLegend */
811
+ "@type"?: string;
812
+ layerName?: components["schemas"]["FieldOperationLayersEnum"];
813
+ /**
814
+ * @description Units for the legend
815
+ * @example lb1ac-1
816
+ */
817
+ unitId?: string;
818
+ ranges?: components["schemas"]["MapRange"][];
819
+ };
820
+ /** @description The GPS extents of a map image */
821
+ MapExtent: {
822
+ /**
823
+ * Format: double
824
+ * @example 41.66470503009207
825
+ */
826
+ minimumLatitude?: number;
827
+ /**
828
+ * Format: double
829
+ * @example 41.67086022030498
830
+ */
831
+ maximumLatitude?: number;
832
+ /**
833
+ * Format: double
834
+ * @example -93.15582275390625
835
+ */
836
+ minimumLongitude?: number;
837
+ /**
838
+ * Format: double
839
+ * @example -93.1475830078125
840
+ */
841
+ maximumLongitude?: number;
842
+ };
843
+ FieldOperationPNGImage: {
844
+ /**
845
+ * @description Base64 encoded PNG image
846
+ * @example data:image/png;base64,{base64EncodedContent}
847
+ */
848
+ image?: string;
849
+ mapLegend?: components["schemas"]["MapLegend"];
850
+ extent?: components["schemas"]["MapExtent"];
851
+ };
852
+ FieldOperationGeoTIFFLocation: {
853
+ /**
854
+ * Format: uri
855
+ * @description AWS S3 Presigned URL of Resource. Use gzip for best compression.
856
+ * @example https://s3.us-east-2.amazonaws.com/s3-bucket-path/49f35d8a-ff54-4b83-81c4-0f45b7b47eba
857
+ */
858
+ location?: string;
859
+ mapLegend?: components["schemas"]["MapLegend"];
860
+ extent?: components["schemas"]["MapExtent"];
861
+ };
862
+ /** @description Includes the summarized values for all layers on a field operation */
863
+ FieldOperationLayerStatistics: {
864
+ /** @example FieldOperationLayerStatistics */
865
+ "@type"?: string;
866
+ /** @description Links to associated data. */
867
+ links?: components["schemas"]["Link"][];
868
+ layerName?: components["schemas"]["FieldOperationLayersEnum"];
869
+ statistics?: components["schemas"]["LayerStatistics"];
870
+ }[];
871
+ /** @description The statistics for a given layer context. */
872
+ LayerStatistics: {
873
+ /** @example LayerStatistics */
874
+ "@type"?: string;
875
+ } & (components["schemas"]["EventMeasurementStats"] | components["schemas"]["EventObservationStats"]);
876
+ FieldOperationLayerImageRequest: {
877
+ ranges?: components["schemas"]["MapRange"][];
878
+ };
879
+ FieldOperationCompareStatisticsRequest: {
880
+ /** @description The field operation ids that we are comparing so for Yield By Variety the target is the Seeding field operation(s) */
881
+ compareOperationIds: string[];
882
+ baseLayer: components["schemas"]["FieldOperationLayersEnum"];
883
+ compareLayer: components["schemas"]["FieldOperationLayersEnum"];
884
+ boundary?: components["schemas"]["Polygon"];
885
+ };
886
+ FieldOperationMeasurement: unknown & components["schemas"]["FieldOperationMeasurementInFullRelease"] & components["schemas"]["FieldOperationMeasurementFromAgreportsApi"];
887
+ /** @description The fully released portion of the FieldOperationMeasurement. */
888
+ FieldOperationMeasurementInFullRelease: {
889
+ links?: components["schemas"]["Link"][];
890
+ /** @example FieldOperationMeasurement */
891
+ "@type"?: string;
892
+ measurementName?: components["schemas"]["FieldOperationMeasurementTypesEnum"];
893
+ measurementCategory?: components["schemas"]["FieldOperationMeasurementCategoryEnum"];
894
+ area?: components["schemas"]["EventMeasurement"];
895
+ yield?: components["schemas"]["EventMeasurement"];
896
+ averageYield?: components["schemas"]["EventMeasurement"];
897
+ averageMoisture?: components["schemas"]["EventMeasurement"];
898
+ wetMass?: components["schemas"]["EventMeasurement"];
899
+ averageWetMass?: components["schemas"]["EventMeasurement"];
900
+ harvestLabAccumulatedWetMass?: components["schemas"]["EventMeasurement"];
901
+ averageSpeed?: components["schemas"]["EventMeasurement"];
902
+ totalMaterial?: components["schemas"]["EventMeasurement"];
903
+ averageMaterial?: components["schemas"]["EventMeasurement"];
904
+ averageDepth?: components["schemas"]["EventMeasurement"];
905
+ averagePressure?: components["schemas"]["EventMeasurement"];
906
+ averageTrash?: components["schemas"]["EventMeasurement"];
907
+ averageAcidDetergentFiber?: components["schemas"]["EventMeasurement"];
908
+ averageNeutralDetergentFiber?: components["schemas"]["EventMeasurement"];
909
+ averageStarch?: components["schemas"]["EventMeasurement"];
910
+ averageCrudeProtein?: components["schemas"]["EventMeasurement"];
911
+ averageSugar?: components["schemas"]["EventMeasurement"];
912
+ maxAcidDetergentFiber?: components["schemas"]["EventMeasurement"];
913
+ maxNeutralDetergentFiber?: components["schemas"]["EventMeasurement"];
914
+ maxStarch?: components["schemas"]["EventMeasurement"];
915
+ maxCrudeProtein?: components["schemas"]["EventMeasurement"];
916
+ maxSugar?: components["schemas"]["EventMeasurement"];
917
+ varietyTotals?: components["schemas"]["VarietyTotal"][];
918
+ productTotals?: components["schemas"]["ProductTotal"][];
919
+ };
920
+ /** @description Properties added to FieldOperationMeasurement when trying to add the measurementTypes in FieldOperationMeasurementTypesInAgreportsApi via agreports-api. These are released to some clients but, *will never* be released to all clients. Similar data will be available from layer and statistics endpoints. */
921
+ FieldOperationMeasurementFromAgreportsApi: {
922
+ elevation?: components["schemas"]["EventMeasurementStats"];
923
+ fuelRate?: components["schemas"]["EventMeasurementStats"];
924
+ applicationHeight?: components["schemas"]["EventMeasurementStats"];
925
+ windSpeed?: components["schemas"]["EventMeasurementStats"];
926
+ temperature?: components["schemas"]["EventMeasurementStats"];
927
+ temperatureDifference?: components["schemas"]["EventMeasurementStats"];
928
+ humidity?: components["schemas"]["EventMeasurementStats"];
929
+ windDirection?: components["schemas"]["EventObservationStats"];
930
+ skyCondition?: components["schemas"]["EventObservationStats"];
931
+ soilMoisture?: components["schemas"]["EventObservationStats"];
932
+ rate?: components["schemas"]["EventMeasurementStats"];
933
+ pressure?: components["schemas"]["EventMeasurementStats"];
934
+ depth?: components["schemas"]["EventMeasurementStats"];
935
+ dosing?: components["schemas"]["EventMeasurementStats"];
936
+ cutLength?: components["schemas"]["EventMeasurementStats"];
937
+ gaugeWheelMargin?: components["schemas"]["EventMeasurementStats"];
938
+ downforce?: components["schemas"]["EventMeasurementStats"];
939
+ groundContact?: components["schemas"]["EventMeasurementStats"];
940
+ rideQuality?: components["schemas"]["EventMeasurementStats"];
941
+ seedSpacingVariation?: components["schemas"]["EventMeasurementStats"];
942
+ singulation?: components["schemas"]["EventMeasurementStats"];
943
+ doubles?: components["schemas"]["EventMeasurementStats"];
944
+ skips?: components["schemas"]["EventMeasurementStats"];
945
+ yieldVolume?: components["schemas"]["EventMeasurementStats"];
946
+ quality?: components["schemas"]["EventMeasurementStats"];
947
+ };
948
+ /**
949
+ * @description A general representation of quantity and unit.
950
+ * @example {
951
+ * "@type": "EventMeasurement",
952
+ * "value": 17.13,
953
+ * "unitId": "gal1ac-1"
954
+ * }
955
+ */
956
+ EventMeasurement: {
957
+ /** @example EventMeasurement */
958
+ "@type"?: string;
959
+ /**
960
+ * Format: double
961
+ * @description The quantity represented by this measurement.
962
+ */
963
+ value?: number;
964
+ /**
965
+ * @description The unit associated to the quantity measured
966
+ * @example gal1ac-1.
967
+ */
968
+ unitId?: string;
969
+ /** @example vrSolutionRateLiquid */
970
+ variableRepresentation?: string;
971
+ /**
972
+ * @description Indicates whether a manual data edit was directly applied to this value. If a data edit for a different layer affected this value, it *will not be set*. May not be serialized if false.
973
+ * @example false
974
+ */
975
+ edited?: boolean;
976
+ };
977
+ /** @description Relevant stats for a measurement recorded during the operation. */
978
+ EventMeasurementStats: {
979
+ /** @example EventMeasurementStats */
980
+ "@type"?: string;
981
+ areaRecorded?: components["schemas"]["EventMeasurement"];
982
+ averageValue?: components["schemas"]["EventMeasurement"];
983
+ totalValue?: components["schemas"]["EventMeasurement"];
984
+ minValue?: components["schemas"]["EventMeasurement"];
985
+ maxValue?: components["schemas"]["EventMeasurement"];
986
+ firstValue?: components["schemas"]["EventMeasurement"];
987
+ lastValue?: components["schemas"]["EventMeasurement"];
988
+ };
989
+ /** @description A general representation of an observed value. */
990
+ EventObservation: {
991
+ /** @example EventObservation */
992
+ "@type"?: string;
993
+ /**
994
+ * @description The observed value, e.g. NW wind direction.
995
+ * @example NW
996
+ */
997
+ value?: string;
998
+ };
999
+ /** @description Relevant stats for the values for an observation during the operation. */
1000
+ EventObservationStats: {
1001
+ areaRecorded?: components["schemas"]["EventMeasurement"];
1002
+ firstObservation?: components["schemas"]["EventObservation"];
1003
+ lastObservation?: components["schemas"]["EventObservation"];
1004
+ predominantObservation?: components["schemas"]["EventObservation"];
1005
+ };
1006
+ Operator: {
1007
+ /**
1008
+ * @description Identifies the class Operator
1009
+ * @example Operator
1010
+ */
1011
+ "@type"?: string;
1012
+ /** @example OPERATOR_GUID */
1013
+ guid?: string;
1014
+ /** @example OPERATOR_NAME */
1015
+ name?: string;
1016
+ /** @example OPERATOR_LICENSE */
1017
+ license?: string;
1018
+ };
1019
+ Point: {
1020
+ /**
1021
+ * @description Identifies the class Point
1022
+ * @example Point
1023
+ */
1024
+ "@type"?: string;
1025
+ /**
1026
+ * Format: double
1027
+ * @description The latitude of the point
1028
+ * @example 54.14
1029
+ */
1030
+ lat?: number;
1031
+ /**
1032
+ * Format: double
1033
+ * @description The longitude of the point
1034
+ * @example -88.786
1035
+ */
1036
+ lon?: number;
1037
+ };
1038
+ /** @description GeoJSon Polygon. Positions all 2D. */
1039
+ Polygon: {
1040
+ /**
1041
+ * @description The type of Geometry. In this case, must be 'Polygon' per GeoJSON
1042
+ * spec. Note that the "coordinates" member is validated to be be an
1043
+ * array of size one. This implies there are no interior rings allowed
1044
+ * currently.
1045
+ * @enum {string}
1046
+ */
1047
+ type: "Polygon";
1048
+ /**
1049
+ * @description The number of polygons allowed. Currently 1, implying no interior rings. If this number is changes, the maxItems should be considered.
1050
+ * From RFC7946: o For type "Polygon", the "coordinates" member MUST be an array of linear ring coordinate arrays.
1051
+ * o For Polygons with more than one of these rings, the first MUST be the exterior ring, and any others MUST be interior rings. The exterior ring bounds the surface, and the interior rings (if present) bound holes within the surface.
1052
+ * Again, note we only allow a single set of coordinates, implying no interior rings.
1053
+ */
1054
+ coordinates: number[][][];
1055
+ };
1056
+ /** @description The ProductTotal associated with this FieldOperation. */
1057
+ ProductTotal: {
1058
+ /** @example ProductTotal */
1059
+ "@type"?: string;
1060
+ /**
1061
+ * Format: guid
1062
+ * @example 3df13267-c5ee-4cc3-ab79-7cf013dc1e98
1063
+ */
1064
+ productId?: string;
1065
+ /** @example Water */
1066
+ name?: string;
1067
+ /** @example --- */
1068
+ brand?: string;
1069
+ /** @example true */
1070
+ carrier?: boolean;
1071
+ area?: components["schemas"]["EventMeasurement"];
1072
+ yield?: components["schemas"]["EventMeasurement"];
1073
+ averageYield?: components["schemas"]["EventMeasurement"];
1074
+ averageMoisture?: components["schemas"]["EventMeasurement"];
1075
+ wetMass?: components["schemas"]["EventMeasurement"];
1076
+ averageWetMass?: components["schemas"]["EventMeasurement"];
1077
+ harvestLabAccumulatedWetMass?: components["schemas"]["EventMeasurement"];
1078
+ totalMaterial?: components["schemas"]["EventMeasurement"];
1079
+ averageMaterial?: components["schemas"]["EventMeasurement"];
1080
+ averageTrash?: components["schemas"]["EventMeasurement"];
1081
+ averageAcidDetergentFiber?: components["schemas"]["EventMeasurement"];
1082
+ averageNeutralDetergentFiber?: components["schemas"]["EventMeasurement"];
1083
+ averageStarch?: components["schemas"]["EventMeasurement"];
1084
+ averageCrudeProtein?: components["schemas"]["EventMeasurement"];
1085
+ averageSugar?: components["schemas"]["EventMeasurement"];
1086
+ maxAcidDetergentFiber?: components["schemas"]["EventMeasurement"];
1087
+ maxNeutralDetergentFiber?: components["schemas"]["EventMeasurement"];
1088
+ maxStarch?: components["schemas"]["EventMeasurement"];
1089
+ maxCrudeProtein?: components["schemas"]["EventMeasurement"];
1090
+ maxSugar?: components["schemas"]["EventMeasurement"];
1091
+ };
1092
+ /** @description The VarietyTotal associated with this FieldOperation. */
1093
+ VarietyTotal: {
1094
+ /** @example VarietyTotal */
1095
+ "@type"?: string;
1096
+ /**
1097
+ * Format: guid
1098
+ * @example 3df13267-c5ee-4cc3-ab79-7cf013dc1e98
1099
+ */
1100
+ varietyId?: string;
1101
+ /** @example 2D351 */
1102
+ name?: string;
1103
+ /** @example Mycogen Corp. */
1104
+ brand?: string;
1105
+ area?: components["schemas"]["EventMeasurement"];
1106
+ yield?: components["schemas"]["EventMeasurement"];
1107
+ averageYield?: components["schemas"]["EventMeasurement"];
1108
+ averageMoisture?: components["schemas"]["EventMeasurement"];
1109
+ wetMass?: components["schemas"]["EventMeasurement"];
1110
+ averageWetMass?: components["schemas"]["EventMeasurement"];
1111
+ harvestLabAccumulatedWetMass?: components["schemas"]["EventMeasurement"];
1112
+ totalMaterial?: components["schemas"]["EventMeasurement"];
1113
+ averageMaterial?: components["schemas"]["EventMeasurement"];
1114
+ averageTrash?: components["schemas"]["EventMeasurement"];
1115
+ averageAcidDetergentFiber?: components["schemas"]["EventMeasurement"];
1116
+ averageNeutralDetergentFiber?: components["schemas"]["EventMeasurement"];
1117
+ averageStarch?: components["schemas"]["EventMeasurement"];
1118
+ averageCrudeProtein?: components["schemas"]["EventMeasurement"];
1119
+ averageSugar?: components["schemas"]["EventMeasurement"];
1120
+ maxAcidDetergentFiber?: components["schemas"]["EventMeasurement"];
1121
+ maxNeutralDetergentFiber?: components["schemas"]["EventMeasurement"];
1122
+ maxStarch?: components["schemas"]["EventMeasurement"];
1123
+ maxCrudeProtein?: components["schemas"]["EventMeasurement"];
1124
+ maxSugar?: components["schemas"]["EventMeasurement"];
1125
+ };
1126
+ Errors: components["schemas"]["Error"][];
1127
+ Error: {
1128
+ /**
1129
+ * Format: guid
1130
+ * @example 11111111-2222-3333-4444-555555555555
1131
+ */
1132
+ guid?: string;
1133
+ /**
1134
+ * @description An english description of the error
1135
+ * @example <parameter> was invalid because <reason>
1136
+ */
1137
+ message?: string;
1138
+ /**
1139
+ * @description A string constant representing the type of error
1140
+ * @example 400
1141
+ */
1142
+ code?: string;
1143
+ /**
1144
+ * @description The name of the property or parameter deemed invalid
1145
+ * @example example-field
1146
+ */
1147
+ field?: string;
1148
+ /**
1149
+ * @description The value that was supplied for this field in the request
1150
+ * @example Bad value
1151
+ */
1152
+ invalidValue?: string;
1153
+ };
1154
+ /** Format: Errors/FieldOperationContextException */
1155
+ FieldOperationSearchErrors: {
1156
+ /**
1157
+ * Format: guid
1158
+ * @example 17826sd23-e5e1-4921-8841-3c5f582e3a2e
1159
+ */
1160
+ guid?: string;
1161
+ /**
1162
+ * @description The value that was supplied for this field in the request
1163
+ * @example invalid/unsupported geojson
1164
+ */
1165
+ message?: string;
1166
+ errors?: Record<string, never>[];
1167
+ };
1168
+ FieldOperationsSearch: {
1169
+ fieldIds?: string[];
1170
+ fieldOperationTypes?: components["schemas"]["FieldOperationTypesEnum"][];
1171
+ cropTypes?: components["schemas"]["CropToken"][];
1172
+ displayTypes?: components["schemas"]["DisplayTypeEnum"][];
1173
+ /**
1174
+ * Format: date-time
1175
+ * @description The starting date of the operation in ISO-8601 format.
1176
+ * @example 2018-08-27T08:08:08.000Z
1177
+ */
1178
+ startDate?: string;
1179
+ /**
1180
+ * Format: date-time
1181
+ * @description The ending date of the operation in ISO-8601 format.
1182
+ * @example 2019-08-27T08:08:08.000Z
1183
+ */
1184
+ endDate?: string;
1185
+ embed?: ("client" | "farm" | "field" | "fieldOperationMachines" | "measurementTypes")[];
1186
+ };
1187
+ /**
1188
+ * @description Recorded Product Erid.
1189
+ * @example fa14f029-831c-456b-a76e-2d3c26207c19
1190
+ */
1191
+ ProductErid: string;
1192
+ /** @description Describes an edit that should change the id of any object that matches the name */
1193
+ NameToEridEdit: {
1194
+ /**
1195
+ * @description The name to match against
1196
+ * @example Variety A
1197
+ */
1198
+ fromName?: string;
1199
+ toGuid?: components["schemas"]["ProductErid"];
1200
+ };
1201
+ /** @description Describes an edit that should change the id of any object that matches the fromGuid */
1202
+ EridToEridEdit: {
1203
+ fromGuid?: components["schemas"]["ProductErid"];
1204
+ toGuid?: components["schemas"]["ProductErid"];
1205
+ };
1206
+ /** @description Describe an reponse of operaton layers */
1207
+ FieldOperationLayers: components["schemas"]["FieldOperationLayer"][];
1208
+ FieldOperationLayer: {
1209
+ /** @example FieldOperationLayer */
1210
+ "@type"?: string;
1211
+ id: components["schemas"]["FieldOperationLayersEnum"];
1212
+ links?: components["schemas"]["Link"][];
1213
+ };
1214
+ };
1215
+ responses: {
1216
+ /** @description A collection of field with crop season and FieldOprationType */
1217
+ CropSeasonSummaries: {
1218
+ headers: {
1219
+ [name: string]: unknown;
1220
+ };
1221
+ content: {
1222
+ "application/vnd.deere.axiom.v3+json": {
1223
+ links?: components["schemas"]["Link"][];
1224
+ /**
1225
+ * Format: int64
1226
+ * @description Number of results in the list
1227
+ * @example 70
1228
+ */
1229
+ total?: number;
1230
+ values?: components["schemas"]["CropSeasonSummary"][];
1231
+ };
1232
+ };
1233
+ };
1234
+ /** @description A collection of field operations */
1235
+ FieldOperations: {
1236
+ headers: {
1237
+ [name: string]: unknown;
1238
+ };
1239
+ content: {
1240
+ "application/vnd.deere.axiom.v3+json": {
1241
+ links?: components["schemas"]["LinkGETFieldOperations"][];
1242
+ /**
1243
+ * Format: int64
1244
+ * @description Number of results in the list
1245
+ * @example 70
1246
+ */
1247
+ total?: number;
1248
+ values?: components["schemas"]["FieldOperation"][];
1249
+ };
1250
+ };
1251
+ };
1252
+ /** @description A field operation object */
1253
+ FieldOperation: {
1254
+ headers: {
1255
+ [name: string]: unknown;
1256
+ };
1257
+ content: {
1258
+ "application/vnd.deere.axiom.v3+json": {
1259
+ links?: components["schemas"]["LinkGETFieldOperations"][];
1260
+ /**
1261
+ * Format: int64
1262
+ * @description Number of results in the list
1263
+ * @example 70
1264
+ */
1265
+ total?: number;
1266
+ values?: components["schemas"]["FieldOperation"][];
1267
+ };
1268
+ };
1269
+ };
1270
+ /** @description A field operation object */
1271
+ FieldOperationId: {
1272
+ headers: {
1273
+ [name: string]: unknown;
1274
+ };
1275
+ content: {
1276
+ "application/vnd.deere.axiom.v3+json": {
1277
+ links?: components["schemas"]["LinkGETFieldOperationsId"][];
1278
+ /**
1279
+ * Format: int64
1280
+ * @description Number of results in the list
1281
+ * @example 70
1282
+ */
1283
+ total?: number;
1284
+ values?: components["schemas"]["FieldOperationId"][];
1285
+ };
1286
+ };
1287
+ };
1288
+ /** @description A collection of field operation machines */
1289
+ FieldOperationMachines: {
1290
+ headers: {
1291
+ [name: string]: unknown;
1292
+ };
1293
+ content: {
1294
+ "application/vnd.deere.axiom.v3+json": {
1295
+ links?: components["schemas"]["Link"][];
1296
+ /**
1297
+ * Format: int64
1298
+ * @description Number of results in the list
1299
+ * @example 70
1300
+ */
1301
+ total?: number;
1302
+ values?: components["schemas"]["FieldOperationMachine"][];
1303
+ };
1304
+ };
1305
+ };
1306
+ /** @description A collection of field operation work notes */
1307
+ FieldOperationWorkNotes: {
1308
+ headers: {
1309
+ [name: string]: unknown;
1310
+ };
1311
+ content: {
1312
+ "application/vnd.deere.axiom.v3+json": {
1313
+ links?: components["schemas"]["Link"][];
1314
+ /**
1315
+ * Format: int64
1316
+ * @description Number of results in the list
1317
+ * @example 10
1318
+ */
1319
+ total?: number;
1320
+ values?: components["schemas"]["FieldOperationWorkNote"][];
1321
+ };
1322
+ };
1323
+ };
1324
+ /** @description A field operation work note object */
1325
+ FieldOperationWorkNote: {
1326
+ headers: {
1327
+ [name: string]: unknown;
1328
+ };
1329
+ content: {
1330
+ "application/vnd.deere.axiom.v3+json": components["schemas"]["FieldOperationWorkNote"];
1331
+ };
1332
+ };
1333
+ /** @description A collection of Field Operation Measurements */
1334
+ FieldOperationMeasurements: {
1335
+ headers: {
1336
+ [name: string]: unknown;
1337
+ };
1338
+ content: {
1339
+ "application/vnd.deere.axiom.v3+json": {
1340
+ links?: components["schemas"]["Link"][];
1341
+ /**
1342
+ * Format: int64
1343
+ * @description Number of results in the list
1344
+ * @example 70
1345
+ */
1346
+ total?: number;
1347
+ values?: components["schemas"]["FieldOperationMeasurement"][];
1348
+ };
1349
+ };
1350
+ };
1351
+ /** @description An object of Field Operation Measurements or image */
1352
+ FieldOperationMeasurementOrImage: {
1353
+ headers: {
1354
+ [name: string]: unknown;
1355
+ };
1356
+ content: {
1357
+ "application/vnd.deere.axiom.v3+json": components["schemas"]["FieldOperationMeasurement"];
1358
+ "application/vnd.deere.axiom.v3.image+json": components["schemas"]["FieldOperationPNGImage"];
1359
+ "application/vnd.deere.axiom.v3.location+tif+json": components["schemas"]["FieldOperationGeoTIFFLocation"];
1360
+ };
1361
+ };
1362
+ /** @description An Object of Field Operation Statistics */
1363
+ FieldOperationLayerStatistics: {
1364
+ headers: {
1365
+ [name: string]: unknown;
1366
+ };
1367
+ content: {
1368
+ "application/vnd.deere.axiom.v3+json": {
1369
+ links?: components["schemas"]["Link"][];
1370
+ /**
1371
+ * Format: int64
1372
+ * @description Number of results in the list
1373
+ * @example 70
1374
+ */
1375
+ total?: number;
1376
+ values?: components["schemas"]["FieldOperationLayerStatistics"];
1377
+ };
1378
+ };
1379
+ };
1380
+ /** @description Field Operation Statistics broken down according to the legend for another context. */
1381
+ FieldOperationDataAnalysisStatistics: {
1382
+ headers: {
1383
+ [name: string]: unknown;
1384
+ };
1385
+ content: {
1386
+ "application/vnd.deere.axiom.v3+json": {
1387
+ links?: components["schemas"]["Link"][];
1388
+ /**
1389
+ * Format: int64
1390
+ * @description Number of results in the list
1391
+ * @example 70
1392
+ */
1393
+ total?: number;
1394
+ values?: components["schemas"]["MapRangeWithLayerStatistics"][];
1395
+ };
1396
+ };
1397
+ };
1398
+ /** @description An Object of Field Operation Layers */
1399
+ FieldOperationLayers: {
1400
+ headers: {
1401
+ [name: string]: unknown;
1402
+ };
1403
+ content: {
1404
+ "application/vnd.deere.axiom.v3+json": {
1405
+ links?: components["schemas"]["Link"][];
1406
+ /**
1407
+ * Format: int64
1408
+ * @description Number of results in the list
1409
+ * @example 70
1410
+ */
1411
+ total?: number;
1412
+ values?: components["schemas"]["FieldOperationLayers"];
1413
+ };
1414
+ };
1415
+ };
1416
+ /** @description An Object of Field Operation layer legend */
1417
+ FieldOperationLayerLegend: {
1418
+ headers: {
1419
+ [name: string]: unknown;
1420
+ };
1421
+ content: {
1422
+ "application/vnd.deere.axiom.v3+json": {
1423
+ id?: components["schemas"]["FieldOperationLayersEnum"];
1424
+ /**
1425
+ * @description The unit associated to the quantity measured
1426
+ * @example gal1ac-1.
1427
+ */
1428
+ unitId?: string;
1429
+ /** @example vrSolutionRateLiquid */
1430
+ variableRepresentation?: string;
1431
+ ranges?: components["schemas"]["MapRange"][];
1432
+ /** @description embedable base64 encoded PNG image */
1433
+ image?: {
1434
+ /** @example data:image/png;base64,{base64EncodedContent} */
1435
+ data?: string;
1436
+ extent?: components["schemas"]["MapExtent"];
1437
+ };
1438
+ };
1439
+ };
1440
+ };
1441
+ /** @description An Object of Field Operation layer image */
1442
+ FieldOperationLayerImage: {
1443
+ headers: {
1444
+ /**
1445
+ * @description The minimum longitude represented in the image
1446
+ * @example -96.776622
1447
+ */
1448
+ "x-minimum-longitude"?: number;
1449
+ /**
1450
+ * @description The minimum latitude represented in the image
1451
+ * @example 40.282002
1452
+ */
1453
+ "x-minimum-latitude"?: number;
1454
+ /**
1455
+ * @description The maximum longitude represented in the image
1456
+ * @example -90.047496
1457
+ */
1458
+ "x-maximum-longitude"?: number;
1459
+ /**
1460
+ * @description The maximum latitude represented in the image
1461
+ * @example 43.542938
1462
+ */
1463
+ "x-maximum-latitude"?: number;
1464
+ [name: string]: unknown;
1465
+ };
1466
+ content: {
1467
+ "image/png": string;
1468
+ };
1469
+ };
1470
+ /** @description Accepted */
1471
+ RequestHasBeenAccepted: {
1472
+ headers: {
1473
+ [name: string]: unknown;
1474
+ };
1475
+ content: {
1476
+ "application/vnd.deere.axiom.v3+json": Record<string, never>;
1477
+ };
1478
+ };
1479
+ /** @description Updated successfully */
1480
+ UpdatedResponse: {
1481
+ headers: {
1482
+ [name: string]: unknown;
1483
+ };
1484
+ content?: never;
1485
+ };
1486
+ /** @description Not Acceptable. Expected in case of TILLAGE operation. */
1487
+ RequestHasNotBeenAccepted: {
1488
+ headers: {
1489
+ [name: string]: unknown;
1490
+ };
1491
+ content?: never;
1492
+ };
1493
+ /** @description Temporary Redirect. The location will be a pre-signed URL that is valid for no less than one hour. To download the file, perform a GET request to that URL. Do not include an Authorization header in this request, as the authorization is provided via the pre-signed nature of the URL. */
1494
+ RedirectToPreSignedURL: {
1495
+ headers: {
1496
+ [name: string]: unknown;
1497
+ };
1498
+ content?: never;
1499
+ };
1500
+ /** @description The user has not been provided access to the field operations for this organization. */
1501
+ DoesNotHaveAccessToFieldOperations: {
1502
+ headers: {
1503
+ [name: string]: unknown;
1504
+ };
1505
+ content?: never;
1506
+ };
1507
+ /** @description The user has not been provided access to the field operation specified by id. */
1508
+ DoesNotHaveAccessToFieldOperation: {
1509
+ headers: {
1510
+ [name: string]: unknown;
1511
+ };
1512
+ content?: never;
1513
+ };
1514
+ /** @description The user has not been provided access to the Field Operation Measurements for this organization. */
1515
+ DoesNotHaveAccessToFieldOperationMeasurements: {
1516
+ headers: {
1517
+ [name: string]: unknown;
1518
+ };
1519
+ content?: never;
1520
+ };
1521
+ /** @description The user has not been provided access to the Field Operation Layers for this organization. */
1522
+ DoesNotHaveAccessToFieldOperationLayers: {
1523
+ headers: {
1524
+ [name: string]: unknown;
1525
+ };
1526
+ content?: never;
1527
+ };
1528
+ /** @description The specified organization does not exist. */
1529
+ InputOrgValueIsInvalid: {
1530
+ headers: {
1531
+ [name: string]: unknown;
1532
+ };
1533
+ content?: never;
1534
+ };
1535
+ /** @description The specified field operation does not exist. */
1536
+ InputFieldOperationValueIsInvalid: {
1537
+ headers: {
1538
+ [name: string]: unknown;
1539
+ };
1540
+ content?: never;
1541
+ };
1542
+ /** @description The layer you are trying to edit cannot be edited. */
1543
+ RequestedOperationNotSupported: {
1544
+ headers: {
1545
+ [name: string]: unknown;
1546
+ };
1547
+ content: {
1548
+ "application/vnd.deere.axiom.v3+json": components["schemas"]["Errors"];
1549
+ };
1550
+ };
1551
+ /** @description The specified organization or field operation does not exist. */
1552
+ InputOrganizationOrFieldOperationIsInvalid: {
1553
+ headers: {
1554
+ [name: string]: unknown;
1555
+ };
1556
+ content?: never;
1557
+ };
1558
+ /** @description The specified organization or measurement Type does not exist. */
1559
+ InputOrganizationOrMeasurementTypeIsInvalid: {
1560
+ headers: {
1561
+ [name: string]: unknown;
1562
+ };
1563
+ content?: never;
1564
+ };
1565
+ /** @description The specified organization, field operation, or layer does not exist. */
1566
+ InputOrganizationOrFieldOperationOrLayerIsInvalid: {
1567
+ headers: {
1568
+ [name: string]: unknown;
1569
+ };
1570
+ content?: never;
1571
+ };
1572
+ /** @description The specified organization, field operation, or measurement name does not exist. */
1573
+ InputOrganizationOrFieldOperationOrMeasurementIsInvalid: {
1574
+ headers: {
1575
+ [name: string]: unknown;
1576
+ };
1577
+ content?: never;
1578
+ };
1579
+ /** @description The requested resource was not found. */
1580
+ RequestedResourceNotFound: {
1581
+ headers: {
1582
+ [name: string]: unknown;
1583
+ };
1584
+ content?: never;
1585
+ };
1586
+ /** @description Created work note */
1587
+ CreatedWorkNote: {
1588
+ headers: {
1589
+ /** @description The uri of the newly created resource */
1590
+ Location?: string;
1591
+ [name: string]: unknown;
1592
+ };
1593
+ content?: never;
1594
+ };
1595
+ };
1596
+ parameters: {
1597
+ /** @description Owning Organization ID */
1598
+ OrgId: string;
1599
+ /** @description Field ID */
1600
+ FieldId: string;
1601
+ /** @description Operation ID */
1602
+ OperationId: string;
1603
+ /** @description The identifier for a work note. The work note id will be used to identify unique work notes. */
1604
+ WorkNoteId: string;
1605
+ /** @description The measurementType within field operation by machine */
1606
+ MeasurementType: components["schemas"]["FieldOperationMeasurementTypesEnum"];
1607
+ /** @description The operation layer name for a given field operation */
1608
+ OperationLayerName: components["schemas"]["FieldOperationLayersEnum"];
1609
+ /**
1610
+ * @description The type of comparison to apply to the current Field Operation Layer. Rules:
1611
+ * * `dataAnalysis` - Build the statistics for the `baseLayer` broken down by the land area for each of the legend values for the `compareLayer`.
1612
+ */
1613
+ CompareType: "dataAnalysis";
1614
+ /** @description Filter results by field operation type. Takes the values "APPLICATION", "HARVEST", "SEEDING", and "TILLAGE". */
1615
+ FieldOperationType: components["schemas"]["FieldOperationTypesEnum"];
1616
+ /** @description The type of operations. If the request param is not supplied, no filtering by fieldOperationType will happen */
1617
+ FieldOperationTypes: components["schemas"]["FieldOperationTypesEnum"][];
1618
+ /** @description List available operation measurement types and totals. */
1619
+ FieldEmbed: "measurementTypes";
1620
+ /** @description Query by one or more workPlanIds(comma separated) */
1621
+ WorkPlanIds: Record<string, never>;
1622
+ /** @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. */
1623
+ "X-deere-signature": string;
1624
+ /** @description Set to true for standard Deere rounded measurements. Set to false for not rounded measurements. */
1625
+ RoundMeasurements: true | false;
1626
+ /** @description Retrieve operations for a specific crop season (year). */
1627
+ CropSeason: components["schemas"]["CropSeason"];
1628
+ /** @description Retrieve operations for a specific crop seasons (years). */
1629
+ CropSeasons: components["schemas"]["CropSeasons"];
1630
+ /** @description If true, this will download the shapefile in small 20MB pieces */
1631
+ SplitShapeFile: boolean;
1632
+ /** @description Choose between point-based and polygon-based shapefiles. Accepted values are "Point" and "Polygon". */
1633
+ ShapeType: "Point" | "Polygon";
1634
+ /** @description Choose a data resolution for the shapefile. Accepted values are "EachSection", "EachSensor", and "OneHertz". */
1635
+ Resolution: "EachSection" | "EachSensor" | "OneHertz";
1636
+ /** @description Unit of measure system to use for numeric values in the shapefiles. Accepted values are "METRIC", "ENGLISH", and "MIXED".If this header is not specified, the unit system will be determined by the organization preference of the owning organization.For all unit systems, the units are consistent with <a href=https://github.com/ADAPT/ADAPT/blob/master/source/Representation/Resources/UnitSystem.xml target="_blank">ADAPT's unit system</a>. */
1637
+ "Accept-UOM-System": string;
1638
+ /** @description Desired yield representation (unit) type. Accepted values are VOLUME or MASS. */
1639
+ "Accept-Yield-Preference": string;
1640
+ /** @description Specify the starting date of the seven-day period in ISO-8601 format. Query Filter is inclusive. */
1641
+ StartDate: string;
1642
+ /** @description Specify the ending date of the seven-day period in ISO-8601 format. Query Filter is inclusive. */
1643
+ EndDate: string;
1644
+ /** @description A percentage value representing how much smoothing/contouring will be applied to the image. Higher numbers mean more contouring. */
1645
+ Contour: number;
1646
+ /** @description Include additional subelements in response. */
1647
+ FieldOperationsEmbed: ("measurementTypes" | "client" | "farm" | "field" | "fieldOperationMachines" | "workNotes" | "crops" | "refreshInProgress" | "fieldOperationWorkNotes" | "operationLayers")[];
1648
+ /** @description Include additional subelements in response. */
1649
+ FieldOperationMachineEmbed: "machine"[];
1650
+ /** @description Include additional subelements in response. */
1651
+ FieldOperationLayerLegendEmbed: "image"[];
1652
+ /** @description The identifier(s) for Field Operation(s). Used when there is the potential for more than one Field Operation to be passed. The identifier(s) will have a different format for HDP vs. IMET Field Operations but, clients should treat this as a generic string and not parse it in any way. */
1653
+ OperationIds: string[];
1654
+ };
1655
+ requestBodies: {
1656
+ /** @description Request body for generating an image for a field operation layer. */
1657
+ FieldOperationLayerImageRequest: {
1658
+ content: {
1659
+ "application/vnd.deere.axiom.v3+json": components["schemas"]["FieldOperationLayerImageRequest"];
1660
+ };
1661
+ };
1662
+ /** @description Request to get comparison stats for field operations */
1663
+ FieldOperationCompareStatisticsRequest: {
1664
+ content: {
1665
+ "application/vnd.deere.axiom.v3+json": components["schemas"]["FieldOperationCompareStatisticsRequest"];
1666
+ };
1667
+ };
1668
+ /** @description See the examples for valid manual data edits. Data edits cannot be combined. Data edits may have cascading effects on layers and measurements not specified in the request. For synchronous edits, clients may fetch the Field Operation totals immediately to see the full impact. For asynchronous edits, clients may poll the Field Operation totals to wait for the specified value to be reflected. A status API may be added in the future. */
1669
+ UpdateFieldOperationLayerStatisticsRequest: {
1670
+ content: {
1671
+ "application/vnd.deere.axiom.v3+json": components["schemas"]["FieldOperationLayerStatistics"];
1672
+ };
1673
+ };
1674
+ /** @description Update a field operation. */
1675
+ UpdateFieldOperationRequest: {
1676
+ content: {
1677
+ "application/vnd.deere.axiom.v3+json": components["schemas"]["UpdateFieldOperation"];
1678
+ };
1679
+ };
1680
+ /** @description Update field operation machines. */
1681
+ UpdateFieldOperationMachinesRequest: {
1682
+ content: {
1683
+ "application/vnd.deere.axiom.v3+json": components["schemas"]["UpdateFieldOperationMachine"][];
1684
+ };
1685
+ };
1686
+ /** @description Payload for the FieldOperationSearch to retrive field operations for provided organization, field ids and duration. */
1687
+ SearchFieldOperations: {
1688
+ content: {
1689
+ "application/vnd.deere.axiom.v3+json": components["schemas"]["FieldOperationsSearch"];
1690
+ };
1691
+ };
1692
+ /** @description Payload for the FieldOperationWorkNote to create field operation work note. */
1693
+ FieldOperationWorkNote: {
1694
+ content: {
1695
+ "application/vnd.deere.axiom.v3+json": {
1696
+ /** @example note1 */
1697
+ note?: string;
1698
+ /**
1699
+ * Format: date-time
1700
+ * @description Timestamp of the work note.
1701
+ * @example 2018-08-27T08:08:08.000Z
1702
+ */
1703
+ timestamp?: string;
1704
+ /** @description GPS location where the the work note was taken. */
1705
+ gpsLocation?: components["schemas"]["Point"];
1706
+ };
1707
+ };
1708
+ };
1709
+ /** @description Payload for FieldOperationWorkNote to update field operation work note. */
1710
+ FieldOperationWorkNoteUpdate: {
1711
+ content: {
1712
+ "application/vnd.deere.axiom.v3+json": {
1713
+ /** @example note1 */
1714
+ note?: string;
1715
+ };
1716
+ };
1717
+ };
1718
+ };
1719
+ headers: never;
1720
+ pathItems: never;
1721
+ }
1722
+ export type $defs = Record<string, never>;
1723
+ export type operations = Record<string, never>;
1724
+ //# sourceMappingURL=field-operations-api.d.ts.map