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,904 @@
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": {
7
+ parameters: {
8
+ query?: never;
9
+ header?: never;
10
+ path: {
11
+ /** @description The ID of the organization */
12
+ orgId: components["parameters"]["OrgId"];
13
+ };
14
+ cookie?: never;
15
+ };
16
+ /**
17
+ * Retrieve all of the Fields for an Organization
18
+ * @description Retrieve all of the Fields for an Organization
19
+ */
20
+ get: {
21
+ parameters: {
22
+ query?: {
23
+ /** @description client name */
24
+ clientName?: components["parameters"]["ClientName"];
25
+ /** @description farm name */
26
+ farmName?: components["parameters"]["FarmName"];
27
+ /** @description field name */
28
+ fieldName?: components["parameters"]["FieldName"];
29
+ /** @description list of objects to include */
30
+ embed?: components["parameters"]["FieldsEmbed"];
31
+ /** @description Filters by resource state (whether or not the resource is archived) */
32
+ recordFilter?: components["parameters"]["recordFilter"];
33
+ };
34
+ header?: {
35
+ /** @description Indicates a preference for returned measurements to be in English vs Metric */
36
+ "Accept-UOM-System"?: components["parameters"]["UnitOfMeasureHeader"];
37
+ };
38
+ path: {
39
+ /** @description The ID of the organization */
40
+ orgId: components["parameters"]["OrgId"];
41
+ };
42
+ cookie?: never;
43
+ };
44
+ requestBody?: never;
45
+ responses: {
46
+ 200: components["responses"]["FieldsReturned"];
47
+ 403: components["responses"]["DoesNotHaveAccessToOrg"];
48
+ 404: components["responses"]["OrgNotFound"];
49
+ };
50
+ };
51
+ put?: never;
52
+ /**
53
+ * Create field for an Organization
54
+ * @description This API is used to create a new field resource within the target organization. In order to do this, the authenticated user must have Locations Level 3 permission within the target organization. The client and farm names in the request body may be either new or existing names.
55
+ * This is to support the following scenarios:
56
+ * * adding a new field to an existing client/farm
57
+ * * adding a new farm and field to an existing client
58
+ * * adding a brand new client/farm/field
59
+ *
60
+ * Client-specified identifiers:
61
+ * * An identifier may be specified for the new field
62
+ * * An identifier may be specified for new clients/farms
63
+ * * If associating to an existing client/farm, the existing guids may be specified in place of the name
64
+ *
65
+ * Note: All fields are created with an 'available' status.
66
+ */
67
+ post: {
68
+ parameters: {
69
+ query?: never;
70
+ header?: never;
71
+ path: {
72
+ /** @description The ID of the organization */
73
+ orgId: components["parameters"]["OrgId"];
74
+ };
75
+ cookie?: never;
76
+ };
77
+ requestBody?: components["requestBodies"]["ASingleField"];
78
+ responses: {
79
+ 201: components["responses"]["Created"];
80
+ 400: components["responses"]["ValidationErrorForCreate"];
81
+ 403: components["responses"]["DoesNotHaveAccessToOrg"];
82
+ 404: components["responses"]["OrgNotFound"];
83
+ };
84
+ };
85
+ delete?: never;
86
+ options?: never;
87
+ head?: never;
88
+ patch?: never;
89
+ trace?: never;
90
+ };
91
+ "/organizations/{orgId}/fields/{fieldId}": {
92
+ parameters: {
93
+ query?: never;
94
+ header?: never;
95
+ path: {
96
+ /** @description The ID of the organization */
97
+ orgId: components["parameters"]["OrgId"];
98
+ /** @description field guid */
99
+ fieldId: components["parameters"]["FieldId"];
100
+ };
101
+ cookie?: never;
102
+ };
103
+ /**
104
+ * Get field by organization and fieldId
105
+ * @description Get field by organization and fieldId
106
+ */
107
+ get: {
108
+ parameters: {
109
+ query?: {
110
+ /** @description list of objects to include */
111
+ embed?: components["parameters"]["FieldEmbed"];
112
+ };
113
+ header?: {
114
+ /** @description Indicates a preference for returned measurements to be in English vs Metric */
115
+ "Accept-UOM-System"?: components["parameters"]["UnitOfMeasureHeader"];
116
+ };
117
+ path: {
118
+ /** @description The ID of the organization */
119
+ orgId: components["parameters"]["OrgId"];
120
+ /** @description field guid */
121
+ fieldId: components["parameters"]["FieldId"];
122
+ };
123
+ cookie?: never;
124
+ };
125
+ requestBody?: never;
126
+ responses: {
127
+ 200: components["responses"]["FieldReturned"];
128
+ 403: components["responses"]["DoesNotHaveAccessToOrg"];
129
+ 404: components["responses"]["OrgOrFieldNotFound"];
130
+ };
131
+ };
132
+ /**
133
+ * Update field
134
+ * @description Update the field name, the archived status, or the associated client or farm. If the client and/or farm does not exist, it will be created.
135
+ */
136
+ put: {
137
+ parameters: {
138
+ query?: never;
139
+ header?: never;
140
+ path: {
141
+ /** @description The ID of the organization */
142
+ orgId: components["parameters"]["OrgId"];
143
+ /** @description field guid */
144
+ fieldId: components["parameters"]["FieldId"];
145
+ };
146
+ cookie?: never;
147
+ };
148
+ requestBody?: components["requestBodies"]["ASingleField"];
149
+ responses: {
150
+ 204: components["responses"]["Updated"];
151
+ 400: components["responses"]["ValidationErrorForUpdate"];
152
+ 403: components["responses"]["DoesNotHaveAccessToOrg"];
153
+ 404: components["responses"]["OrgOrFieldNotFound"];
154
+ };
155
+ };
156
+ post?: never;
157
+ /**
158
+ * Delete Field by organization and fieldId
159
+ * @description Delete Field by organization and fieldId
160
+ */
161
+ delete: {
162
+ parameters: {
163
+ query?: never;
164
+ header?: never;
165
+ path: {
166
+ /** @description The ID of the organization */
167
+ orgId: components["parameters"]["OrgId"];
168
+ /** @description field guid */
169
+ fieldId: components["parameters"]["FieldId"];
170
+ };
171
+ cookie?: never;
172
+ };
173
+ requestBody?: never;
174
+ responses: {
175
+ 204: components["responses"]["Deleted"];
176
+ 403: components["responses"]["DoesNotHaveAccessToOrg"];
177
+ 404: components["responses"]["OrgOrFieldNotFound"];
178
+ };
179
+ };
180
+ options?: never;
181
+ head?: never;
182
+ patch?: never;
183
+ trace?: never;
184
+ };
185
+ "/organizations/{orgId}/fields/{fieldId}/farms": {
186
+ parameters: {
187
+ query?: never;
188
+ header?: never;
189
+ path: {
190
+ /** @description The ID of the organization */
191
+ orgId: components["parameters"]["OrgId"];
192
+ /** @description field guid */
193
+ fieldId: components["parameters"]["FieldId"];
194
+ };
195
+ cookie?: never;
196
+ };
197
+ /**
198
+ * Get Farm by organization and fieldId
199
+ * @description This api is designed to get farms within an organization and for provided fieldId
200
+ */
201
+ get: {
202
+ parameters: {
203
+ query?: {
204
+ /** @description list of objects to include */
205
+ embed?: components["parameters"]["FieldEmbed"];
206
+ };
207
+ header?: never;
208
+ path: {
209
+ /** @description The ID of the organization */
210
+ orgId: components["parameters"]["OrgId"];
211
+ /** @description field guid */
212
+ fieldId: components["parameters"]["FieldId"];
213
+ };
214
+ cookie?: never;
215
+ };
216
+ requestBody?: never;
217
+ responses: {
218
+ 200: components["responses"]["FarmsReturned"];
219
+ 403: components["responses"]["DoesNotHaveAccessToOrg"];
220
+ 404: components["responses"]["OrgOrFieldNotFound"];
221
+ };
222
+ };
223
+ put?: never;
224
+ post?: never;
225
+ delete?: never;
226
+ options?: never;
227
+ head?: never;
228
+ patch?: never;
229
+ trace?: never;
230
+ };
231
+ "/organizations/{orgID}/fields/{id}/clients": {
232
+ parameters: {
233
+ query?: never;
234
+ header?: never;
235
+ path?: never;
236
+ cookie?: never;
237
+ };
238
+ /**
239
+ * View Clients that Own a Field
240
+ * @description View details about the client that owns the field. The response will link to the following resources:<br/> <ul><li><b>fields:</b> View the field the client belongs to.</li> <li><b>farms:</b> View the farms belonging to the client.</li> <li><b>owningOrganization:</b> View the org that owns the field.</li></ul>
241
+ */
242
+ get: {
243
+ parameters: {
244
+ query?: never;
245
+ header?: {
246
+ /** @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. */
247
+ "x-deere-signature"?: components["parameters"]["X-deere-signature"];
248
+ };
249
+ path: {
250
+ /** @description The ID of the organization */
251
+ orgId: components["parameters"]["OrgId"];
252
+ /** @description field guid */
253
+ fieldId: components["parameters"]["FieldId"];
254
+ };
255
+ cookie?: never;
256
+ };
257
+ requestBody?: never;
258
+ responses: {
259
+ 200: components["responses"]["getFieldResponse"];
260
+ };
261
+ };
262
+ put?: never;
263
+ post?: never;
264
+ delete?: never;
265
+ options?: never;
266
+ head?: never;
267
+ patch?: never;
268
+ trace?: never;
269
+ };
270
+ }
271
+ export type webhooks = Record<string, never>;
272
+ export interface components {
273
+ schemas: {
274
+ FieldsResponse: {
275
+ links?: components["schemas"]["Link"][];
276
+ totals?: number;
277
+ values?: components["schemas"]["FieldResponse"][];
278
+ };
279
+ FieldResponse: {
280
+ /** @example Field */
281
+ "@Type"?: string;
282
+ /** @example --- */
283
+ name?: string;
284
+ farms?: components["schemas"]["Farms"];
285
+ clients?: components["schemas"]["Clients"];
286
+ boundaries?: components["schemas"]["Boundary"][];
287
+ accessPoints?: components["schemas"]["AccessPoint"][];
288
+ guidanceLines?: components["schemas"]["GuidanceLines"][];
289
+ /** @example true */
290
+ archived?: boolean;
291
+ flags?: components["schemas"]["Flag"][];
292
+ /**
293
+ * Format: uuid
294
+ * @example 9369f3f6-2428-4bba-bf64-0a19cdaf007d
295
+ */
296
+ id?: string;
297
+ links?: components["schemas"]["Link"][];
298
+ };
299
+ Farms: {
300
+ /** @example Farms */
301
+ "@Type"?: string;
302
+ farms?: components["schemas"]["Farm"][];
303
+ };
304
+ Farm: {
305
+ /** @example Farm */
306
+ "@Type"?: string;
307
+ /** @example --- */
308
+ name?: string;
309
+ /**
310
+ * Format: uri
311
+ * @example 1efb4de1-fe41-42bc-bbb3-d128a432cafd
312
+ */
313
+ id?: string;
314
+ links?: components["schemas"]["Link"][];
315
+ };
316
+ CreateUpdateFarm: {
317
+ /** @example Farm */
318
+ "@Type"?: string;
319
+ /** @example SouthEast End */
320
+ name?: string;
321
+ };
322
+ Clients: {
323
+ /** @example Clients */
324
+ "@Type"?: string;
325
+ clients?: components["schemas"]["Client"][];
326
+ };
327
+ Client: {
328
+ /** @example Client */
329
+ "@Type"?: string;
330
+ /** @example --- */
331
+ name?: string;
332
+ /**
333
+ * Format: uri
334
+ * @example 68b887c7-1ac2-40a4-b70b-117a8ec34abf
335
+ */
336
+ id?: string;
337
+ links?: components["schemas"]["Link"][];
338
+ };
339
+ /** @description Link to another resource */
340
+ GroupLink: {
341
+ /**
342
+ * @description Boundaries Link.
343
+ * @example https://sandboxapi.deere.com/platform/organizations/123456/fields/e61b83f4-3a12-431e-8010-596f2466dc27/boundaries
344
+ */
345
+ boundaries?: unknown;
346
+ /**
347
+ * @description Clients Link.
348
+ * @example https://sandboxapi.deere.com/platform/organizations/123456/fields/e61b83f4-3a12-431e-8010-596f2466dc27/clients
349
+ */
350
+ clients?: unknown;
351
+ /**
352
+ * @description Farms Link.
353
+ * @example https://sandboxapi.deere.com/platform/organizations/123456/fields/e61b83f4-3a12-431e-8010-596f2466dc27/farms
354
+ */
355
+ farms?: unknown;
356
+ /**
357
+ * @description Organizations Link.
358
+ * @example https://sandboxapi.deere.com/platform/organizations/123456
359
+ */
360
+ owningOrganization?: unknown;
361
+ /**
362
+ * @description Notes Link.
363
+ * @example https://sandboxapi.deere.com/platform/organizations/123456/fields/d61b83f4-3a12-431e-8010-596f2466dc27/notes
364
+ */
365
+ notes?: unknown;
366
+ /**
367
+ * @description Boundaries Link.
368
+ * @example https://sandboxapi.deere.com/platform/organizations/123456/fields/d61b83f4-3a12-431e-8010-596f2466dc27/boundaries?simple=true
369
+ */
370
+ simplifiedBoundaries?: unknown;
371
+ /**
372
+ * @description Field Operations Link.
373
+ * @example https://sandboxapi.deere.com/platform/organizations/123456/fields/d61b83f4-3a12-431e-8010-596f2466dc27/fieldOperations
374
+ */
375
+ fieldOperation?: unknown;
376
+ /**
377
+ * @description Map Layer Summaries Link.
378
+ * @example https://sandboxapi.deere.com/platform/organizations/123456/fields/d61b83f4-3a12-431e-8010-596f2466dc27/mapLayerSummaries
379
+ */
380
+ mapLayerSummaries?: unknown;
381
+ /**
382
+ * @description Contribution Definition Link
383
+ * @example https://sandboxapi.deere.com/platform/contributionDefinitions/32a256ea-0000-4756-b000-b6dabda856ef
384
+ */
385
+ contributionDefinition?: unknown;
386
+ };
387
+ FieldsPost: {
388
+ /**
389
+ * @description New Field Name
390
+ * @example UniqueFieldName
391
+ */
392
+ name?: string;
393
+ /**
394
+ * @description Archived status (false = active)
395
+ * @example false
396
+ */
397
+ archived?: string;
398
+ /**
399
+ * @description Existing or Unique (new) farm name
400
+ * @example FarmName
401
+ */
402
+ "farms.name"?: string;
403
+ /**
404
+ * Format: uuid
405
+ * @description Farm ID
406
+ * @example e61b83f4-3a12-431e-8010-596f2466dc27
407
+ */
408
+ "farms.id"?: string;
409
+ /**
410
+ * @description Existing or Unique (new) client name
411
+ * @example ClientName
412
+ */
413
+ "clients.name"?: string;
414
+ /**
415
+ * Format: uuid
416
+ * @description Client ID
417
+ * @example e61b83f4-3a12-431e-8010-596f2466dc27
418
+ */
419
+ "clients.id"?: string;
420
+ };
421
+ GetFarms: {
422
+ /**
423
+ * Format: int32
424
+ * @example 1
425
+ */
426
+ total?: number;
427
+ links?: {
428
+ /** @example self */
429
+ rel?: string;
430
+ /**
431
+ * @description Platform uri to fetch farm details
432
+ * @example https://sandboxapi.deere.com/platform/organizations/5555/fields/222/farms
433
+ */
434
+ uri?: string;
435
+ }[];
436
+ values?: components["schemas"]["GetFarm"][];
437
+ };
438
+ CreateUpdateClient: {
439
+ /** @example Client */
440
+ "@Type"?: string;
441
+ /** @example SouthEast End_Client */
442
+ name?: string;
443
+ };
444
+ Boundary: {
445
+ /** @example Boundary */
446
+ "@Type"?: string;
447
+ /** @example Auto-Generated 2014 Harvest */
448
+ name?: string;
449
+ /** @example Auto */
450
+ sourceType?: string;
451
+ /**
452
+ * Format: date-time
453
+ * @example 2016-11-17T11:53:00.000Z
454
+ */
455
+ modifiedTime?: string;
456
+ area?: components["schemas"]["MeasurementAsDouble"];
457
+ workableArea?: components["schemas"]["MeasurementAsDouble"];
458
+ multipolygons?: components["schemas"]["Polygon"][];
459
+ extent?: components["schemas"]["Extent"];
460
+ /**
461
+ * Format: uuid
462
+ * @example 9369f3f6-2428-4bba-bf64-0a19cdaf007d
463
+ */
464
+ id?: string;
465
+ links?: components["schemas"]["Link"][];
466
+ /** @description Whether or not this boundary is currently in use. A field with associated boundaries will have exactly one active boundary; however, a field may also exist with no boundaries. */
467
+ active?: boolean;
468
+ /** @description Indicates whether the contained area is irrigated */
469
+ irrigated?: boolean;
470
+ };
471
+ AccessPoint: {
472
+ /** Format: uri */
473
+ id?: string;
474
+ description?: string;
475
+ direction?: string;
476
+ isEntry?: boolean;
477
+ isExit?: boolean;
478
+ location?: components["schemas"]["Point"];
479
+ name?: string;
480
+ links?: components["schemas"]["Link"][];
481
+ };
482
+ GuidanceLines: components["schemas"]["ABLine"] & {
483
+ bPoint?: components["schemas"]["Point"];
484
+ eastShift?: components["schemas"]["MeasurementAsDouble"];
485
+ northShift?: components["schemas"]["MeasurementAsDouble"];
486
+ /** @example 0 */
487
+ tramOffset?: number;
488
+ /** @example 0 */
489
+ tramSpacing?: number;
490
+ /** @example dtiABLineMethodBPoint */
491
+ savedMethod?: string;
492
+ /**
493
+ * Format: uri
494
+ * @example 5a62177b33df3c0e2cc85dc2
495
+ */
496
+ id?: string;
497
+ /**
498
+ * Format: uri
499
+ * @example c2878a14-f9f4-4eaf-b7ef-24f3da95d337
500
+ */
501
+ guid?: string;
502
+ /** @example Fleece */
503
+ name?: string;
504
+ /**
505
+ * Format: date-time
506
+ * @example 2018-03-05T14:56:57.295Z
507
+ */
508
+ lastModifiedTime?: string;
509
+ /** @example ACTIVE */
510
+ status?: string;
511
+ locked?: boolean;
512
+ links?: components["schemas"]["Link"][];
513
+ };
514
+ Flag: {
515
+ /** @example GenericNote */
516
+ "@Type"?: string;
517
+ /**
518
+ * Format: date-time
519
+ * @example 2016-08-19T18:48:48.886Z
520
+ */
521
+ createdDate?: string;
522
+ /**
523
+ * Format: date-time
524
+ * @example 2016-08-19T18:48:48.886Z
525
+ */
526
+ lastModifiedDate?: string;
527
+ /** @example some text */
528
+ text?: string;
529
+ metadata?: components["schemas"]["MetaData"][];
530
+ author?: components["schemas"]["Author"][];
531
+ geometry?: components["schemas"]["Geometry"];
532
+ /** @example SCOUT */
533
+ noteType?: string;
534
+ /**
535
+ * Format: uri
536
+ * @example 4e7a1fa7-9db9-45ea-94d3-e45b2fa43c2a
537
+ */
538
+ id?: string;
539
+ links?: components["schemas"]["Link"][];
540
+ };
541
+ MetaData: {
542
+ /** @example Metadata */
543
+ "@Type"?: string;
544
+ /** @example EARLY_GROWTH_EMERGENCE */
545
+ name?: string;
546
+ /** @example 9 */
547
+ value?: number;
548
+ };
549
+ Author: {
550
+ /** @example User */
551
+ "@Type"?: string;
552
+ /** @example scoutcarla1 */
553
+ accountName?: string;
554
+ /** @example scoutcarla1 */
555
+ givenName?: string;
556
+ /** @example scoutcarla1 */
557
+ familyName?: string;
558
+ };
559
+ Geometry: {
560
+ coordinates?: string[];
561
+ /** @example Point */
562
+ type?: string;
563
+ };
564
+ ABLine: {
565
+ /** @example AbLine */
566
+ "@Type"?: string;
567
+ /** @example 356.5847091769351 */
568
+ heading?: number;
569
+ aPoint?: components["schemas"]["Point"];
570
+ };
571
+ Polygon: {
572
+ /** @example Polygon */
573
+ "@Type"?: string;
574
+ rings?: components["schemas"]["Ring"][];
575
+ };
576
+ Ring: {
577
+ /** @example Ring */
578
+ "@Type"?: string;
579
+ points?: components["schemas"]["Point"][];
580
+ /** @example exterior */
581
+ type?: string;
582
+ passable?: boolean;
583
+ };
584
+ Point: {
585
+ /** @example Point */
586
+ "@Type"?: string;
587
+ /**
588
+ * Format: double
589
+ * @description The latitude of the point
590
+ * @example 43.6187
591
+ */
592
+ lat?: number;
593
+ /**
594
+ * Format: double
595
+ * @description The longitude of the point
596
+ * @example 116.2146
597
+ */
598
+ lon?: number;
599
+ };
600
+ Extent: {
601
+ /** @example Extent */
602
+ "@Type"?: string;
603
+ topLeft?: components["schemas"]["Point"];
604
+ bottomRight?: components["schemas"]["Point"];
605
+ };
606
+ MeasurementAsDouble: {
607
+ /** @example MeasurementAsDouble */
608
+ "@Type"?: string;
609
+ /**
610
+ * Format: double
611
+ * @example 7.502938
612
+ */
613
+ valueAsDouble?: number;
614
+ /** @example vrEastShiftComponent */
615
+ vrDomainId?: string;
616
+ /**
617
+ * @description The unit of measure for this value
618
+ * @example ha
619
+ */
620
+ unit?: string;
621
+ };
622
+ /** @description Link to another resource */
623
+ Link: {
624
+ /** @example self */
625
+ rel: string;
626
+ /** @example https://apiqa.tal.deere.com/platform/users/grumpybear */
627
+ uri: string;
628
+ };
629
+ FieldGuidSearches: {
630
+ /** @example FieldGuidSearches */
631
+ "@Type"?: string;
632
+ fieldIds?: string[];
633
+ /** @example client */
634
+ clientName?: string;
635
+ /** @example farm */
636
+ farmName?: string;
637
+ /** @example field */
638
+ fieldName?: string;
639
+ embeds?: ("farms" | "clients" | "boundaries" | "activeBoundary" | "simplifiedBoundaries" | "metadataOnlyBoundaries" | "guidanceLines" | "shapes" | "accessPoints" | "notes")[];
640
+ /** @enum {string} */
641
+ status?: "AVAILABLE" | "ARCHIVED" | "ALL";
642
+ };
643
+ GetFarm: {
644
+ /** @example Farm */
645
+ "@type"?: string;
646
+ /** @example John Doe */
647
+ name?: string;
648
+ /**
649
+ * Format: uuid
650
+ * @example 9369f3f6-2428-4bba-bf64-0a19cdaf007d
651
+ */
652
+ readonly id?: string;
653
+ /** @example false */
654
+ archived?: boolean;
655
+ /** @example https://apiqa.tal.deere.com/platform/organizations/5555/clients/22b84b4c-b651-d554-a02b-89829cd5239c */
656
+ clientUri?: string;
657
+ readonly links?: {
658
+ /** @example Link */
659
+ "@type"?: string;
660
+ /** @example self */
661
+ rel?: string;
662
+ /** @example https://apiqa.tal.deere.com/platform/organizations/5555/farms/9369f3f6-2428-4bba-bf64-0a19cdaf007d */
663
+ uri?: string;
664
+ }[];
665
+ };
666
+ /** @description Place holder for Matt to create the field object to be created or updated. */
667
+ CreateUpdateField: {
668
+ /** @example Field */
669
+ "@Type"?: string;
670
+ /** @example Land_Demo_1 */
671
+ name?: string;
672
+ /** @example true */
673
+ archived?: boolean;
674
+ Farms?: {
675
+ /** @example Farms */
676
+ "@Type"?: string;
677
+ farms?: components["schemas"]["CreateUpdateFarm"][];
678
+ };
679
+ Clients?: {
680
+ /** @example Clients */
681
+ "@Type"?: string;
682
+ clients?: components["schemas"]["CreateUpdateClient"][];
683
+ };
684
+ };
685
+ };
686
+ responses: {
687
+ /** @description Array of farms */
688
+ FarmsReturned: {
689
+ headers: {
690
+ [name: string]: unknown;
691
+ };
692
+ content: {
693
+ "application/vnd.deere.axiom.v3+json": components["schemas"]["GetFarms"];
694
+ };
695
+ };
696
+ /** @description Array of fields containing links related to fields */
697
+ FieldsReturned: {
698
+ headers: {
699
+ [name: string]: unknown;
700
+ };
701
+ content: {
702
+ "application/vnd.deere.axiom.v3+json": components["schemas"]["FieldsResponse"];
703
+ };
704
+ };
705
+ /** @description Get Field by client Id */
706
+ getFieldResponse: {
707
+ headers: {
708
+ [name: string]: unknown;
709
+ };
710
+ content: {
711
+ "application/vnd.deere.axiom.v3+json": {
712
+ links?: components["schemas"]["GroupLink"][];
713
+ /**
714
+ * Format: int32
715
+ * @example 1
716
+ */
717
+ total?: number;
718
+ values?: components["schemas"]["FieldResponse"][];
719
+ };
720
+ };
721
+ };
722
+ /** @description Array of fields with header for partial success. */
723
+ FieldsReturnedWithPartialSuccessHeader: {
724
+ headers: {
725
+ /** @description A string list of fieldIds requested which were not returned */
726
+ "FIELDS-NOT-FOUND"?: string;
727
+ [name: string]: unknown;
728
+ };
729
+ content: {
730
+ "application/vnd.deere.axiom.v3+json": components["schemas"]["FieldsResponse"];
731
+ };
732
+ };
733
+ /** @description Success */
734
+ FieldReturned: {
735
+ headers: {
736
+ [name: string]: unknown;
737
+ };
738
+ content: {
739
+ "application/vnd.deere.axiom.v3+json": components["schemas"]["FieldResponse"];
740
+ };
741
+ };
742
+ /** @description Invalid access to organization */
743
+ DoesNotHaveAccessToOrg: {
744
+ headers: {
745
+ [name: string]: unknown;
746
+ };
747
+ content?: never;
748
+ };
749
+ /** @description Organization not found */
750
+ OrgNotFound: {
751
+ headers: {
752
+ [name: string]: unknown;
753
+ };
754
+ content?: never;
755
+ };
756
+ /** @description Organization or Field not found */
757
+ OrgOrFieldNotFound: {
758
+ headers: {
759
+ [name: string]: unknown;
760
+ };
761
+ content?: never;
762
+ };
763
+ /** @description Field successfully created */
764
+ Created: {
765
+ headers: {
766
+ /** @description The uri of the newly created resource */
767
+ Location?: string;
768
+ [name: string]: unknown;
769
+ };
770
+ content?: never;
771
+ };
772
+ /** @description Field successfully updated */
773
+ Updated: {
774
+ headers: {
775
+ [name: string]: unknown;
776
+ };
777
+ content: {
778
+ "application/vnd.deere.axiom.v3+json": components["schemas"]["FieldsPost"];
779
+ };
780
+ };
781
+ /** @description Field deleted. If the client and farm has only this field the client and farm will be deleted */
782
+ Deleted: {
783
+ headers: {
784
+ [name: string]: unknown;
785
+ };
786
+ content: {
787
+ "application/vnd:deere:axiom:v3+json": unknown;
788
+ };
789
+ };
790
+ /**
791
+ * @description The possible errors are:
792
+ * * CFF_CLIENT_ID_ALREADY_EXISTS
793
+ * * CFF_BAD_CLIENT_ID
794
+ * * CFF_CLIENT_ID_NAME_CONFLICT
795
+ * * CFF_CLIENT_ID_NOT_FOUND
796
+ * * CFF_CLIENT_NAME_ALREADY_EXISTS
797
+ * * CFF_EMPTY_CLIENT_NAME
798
+ * * CFF_CLIENT_NAME_EXCEEDS_255_CHARS
799
+ * * CFF_DUPLICATE_GUID_WITHIN_DOCUMENT
800
+ * * CFF_FARM_EXISTS_UNDER_DIFFERENT_CLIENT
801
+ * * CFF_FARM_ID_ALREADY_EXISTS
802
+ * * CFF_BAD_FARM_ID
803
+ * * CFF_FARM_ID_NAME_CONFLICT
804
+ * * CFF_FARM_ID_NOT_FOUND
805
+ * * CFF_FARM_NAME_ALREADY_EXISTS
806
+ * * CFF_EMPTY_FARM_NAME
807
+ * * CFF_FARM_NAME_EXCEEDS_255_CHARS
808
+ * * CFF_ALREADY_EXISTS_ACTIVE
809
+ * * CFF_ALREADY_EXISTS_ARCHIVED
810
+ * * CFF_ALREADY_EXISTS_MERGED
811
+ * * CFF_FIELD_ID_ALREADY_EXISTS
812
+ * * CFF_BAD_FIELD_ID
813
+ * * CFF_FIELD_NAME_ALREADY_EXISTS
814
+ * * CFF_EMPTY_FIELD_NAME
815
+ * * CFF_FIELD_NAME_EXCEEDS_255_CHARS
816
+ * * CFF_MISSING_REQUEST_BODY
817
+ * * CFF_OUTDATED_REQUEST
818
+ * * CFF_USER_LAST_MODIFIED_CLIPPED
819
+ */
820
+ ValidationErrorForUpdate: {
821
+ headers: {
822
+ [name: string]: unknown;
823
+ };
824
+ content?: never;
825
+ };
826
+ /**
827
+ * @description The possible errors are:
828
+ * * CFF_CLIENT_ID_ALREADY_EXISTS
829
+ * * CFF_BAD_CLIENT_ID
830
+ * * CFF_CLIENT_ID_NAME_CONFLICT
831
+ * * CFF_CLIENT_ID_NOT_FOUND
832
+ * * CFF_CLIENT_NAME_ALREADY_EXISTS
833
+ * * CFF_EMPTY_CLIENT_NAME
834
+ * * CFF_CLIENT_NAME_EXCEEDS_255_CHARS
835
+ * * CFF_DUPLICATE_GUID_WITHIN_DOCUMENT
836
+ * * CFF_FARM_EXISTS_UNDER_DIFFERENT_CLIENT
837
+ * * CFF_FARM_ID_ALREADY_EXISTS
838
+ * * CFF_BAD_FARM_ID
839
+ * * CFF_FARM_ID_NAME_CONFLICT
840
+ * * CFF_FARM_ID_NOT_FOUND
841
+ * * CFF_FARM_NAME_ALREADY_EXISTS
842
+ * * CFF_EMPTY_FARM_NAME
843
+ * * CFF_FARM_NAME_EXCEEDS_255_CHARS
844
+ * * CFF_ALREADY_EXISTS_ACTIVE
845
+ * * CFF_ALREADY_EXISTS_ARCHIVED
846
+ * * CFF_ALREADY_EXISTS_MERGED
847
+ * * CFF_FIELD_ID_ALREADY_EXISTS
848
+ * * CFF_BAD_FIELD_ID
849
+ * * CFF_FIELD_NAME_ALREADY_EXISTS
850
+ * * CFF_EMPTY_FIELD_NAME
851
+ * * CFF_FIELD_NAME_EXCEEDS_255_CHARS
852
+ * * CFF_MISSING_REQUEST_BODY
853
+ * * CFF_OUTDATED_REQUEST
854
+ * * CFF_USER_LAST_MODIFIED_CLIPPED
855
+ */
856
+ ValidationErrorForCreate: {
857
+ headers: {
858
+ [name: string]: unknown;
859
+ };
860
+ content?: never;
861
+ };
862
+ };
863
+ parameters: {
864
+ /** @description The ID of the organization */
865
+ OrgId: number;
866
+ /** @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. */
867
+ "X-deere-signature": string;
868
+ /** @description client name */
869
+ ClientName: string;
870
+ /** @description farm name */
871
+ FarmName: string;
872
+ /** @description field name */
873
+ FieldName: string;
874
+ /** @description Filters by resource state (whether or not the resource is archived) */
875
+ recordFilter: "AVAILABLE" | "ARCHIVED" | "ALL";
876
+ /** @description list of objects to include */
877
+ FieldsEmbed: ("farms" | "clients" | "boundaries" | "activeBoundary" | "simplifiedBoundaries" | "guidanceLines" | "accessPoints" | "notes")[];
878
+ /** @description list of objects to include */
879
+ FieldEmbed: ("farms" | "clients" | "guidanceLines" | "accessPoints")[];
880
+ /** @description Context Organization ID */
881
+ ContextOrganizationId: string;
882
+ /** @description field guid */
883
+ FieldId: string;
884
+ /** @description Indicates a preference for returned measurements to be in English vs Metric */
885
+ UnitOfMeasureHeader: "METRIC" | "ENGLISH";
886
+ };
887
+ requestBodies: {
888
+ ASingleField: {
889
+ content: {
890
+ "application/vnd.deere.axiom.v3+json": components["schemas"]["CreateUpdateField"];
891
+ };
892
+ };
893
+ FieldGuidSearches: {
894
+ content: {
895
+ "application/vnd.deere.axiom.v3+json": components["schemas"]["FieldGuidSearches"];
896
+ };
897
+ };
898
+ };
899
+ headers: never;
900
+ pathItems: never;
901
+ }
902
+ export type $defs = Record<string, never>;
903
+ export type operations = Record<string, never>;
904
+ //# sourceMappingURL=fields.d.ts.map