@deepintel-ltd/farmpro-contracts 1.7.19 → 1.7.21

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 (84) hide show
  1. package/dist/index.d.ts +18 -1
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +17 -0
  4. package/dist/routes/agents.routes.d.ts +6 -6
  5. package/dist/routes/commodity-deals.routes.d.ts +2702 -0
  6. package/dist/routes/commodity-deals.routes.d.ts.map +1 -0
  7. package/dist/routes/commodity-deals.routes.js +83 -0
  8. package/dist/routes/cooperative.routes.d.ts +1327 -0
  9. package/dist/routes/cooperative.routes.d.ts.map +1 -0
  10. package/dist/routes/cooperative.routes.js +47 -0
  11. package/dist/routes/extension.routes.d.ts +2431 -0
  12. package/dist/routes/extension.routes.d.ts.map +1 -0
  13. package/dist/routes/extension.routes.js +75 -0
  14. package/dist/routes/farms.routes.d.ts +775 -0
  15. package/dist/routes/farms.routes.d.ts.map +1 -1
  16. package/dist/routes/farms.routes.js +15 -1
  17. package/dist/routes/field-monitoring.routes.d.ts +505 -0
  18. package/dist/routes/field-monitoring.routes.d.ts.map +1 -1
  19. package/dist/routes/field-monitoring.routes.js +23 -1
  20. package/dist/routes/fields.routes.d.ts +156 -155
  21. package/dist/routes/fields.routes.d.ts.map +1 -1
  22. package/dist/routes/index.d.ts +18 -0
  23. package/dist/routes/index.d.ts.map +1 -1
  24. package/dist/routes/index.js +12 -0
  25. package/dist/routes/invoices.routes.d.ts +49 -0
  26. package/dist/routes/invoices.routes.d.ts.map +1 -1
  27. package/dist/routes/live-monitor.routes.d.ts +513 -0
  28. package/dist/routes/live-monitor.routes.d.ts.map +1 -0
  29. package/dist/routes/live-monitor.routes.js +81 -0
  30. package/dist/routes/livestock-map.routes.d.ts +4 -4
  31. package/dist/routes/monitoring-visualization.routes.d.ts +4 -4
  32. package/dist/routes/notifications.routes.d.ts +1350 -0
  33. package/dist/routes/notifications.routes.d.ts.map +1 -0
  34. package/dist/routes/notifications.routes.js +66 -0
  35. package/dist/routes/organizations.routes.d.ts +49 -0
  36. package/dist/routes/organizations.routes.d.ts.map +1 -1
  37. package/dist/routes/team-payments.routes.d.ts +9571 -0
  38. package/dist/routes/team-payments.routes.d.ts.map +1 -0
  39. package/dist/routes/team-payments.routes.js +262 -0
  40. package/dist/routes/waybills.routes.d.ts +42 -0
  41. package/dist/routes/waybills.routes.d.ts.map +1 -1
  42. package/dist/schemas/agents.schemas.d.ts +1 -0
  43. package/dist/schemas/agents.schemas.d.ts.map +1 -1
  44. package/dist/schemas/commodity-deals.schemas.d.ts +1109 -0
  45. package/dist/schemas/commodity-deals.schemas.d.ts.map +1 -0
  46. package/dist/schemas/commodity-deals.schemas.js +82 -0
  47. package/dist/schemas/cooperative.schemas.d.ts +560 -0
  48. package/dist/schemas/cooperative.schemas.d.ts.map +1 -0
  49. package/dist/schemas/cooperative.schemas.js +71 -0
  50. package/dist/schemas/extension.schemas.d.ts +1204 -0
  51. package/dist/schemas/extension.schemas.d.ts.map +1 -0
  52. package/dist/schemas/extension.schemas.js +68 -0
  53. package/dist/schemas/farms.schemas.d.ts +591 -0
  54. package/dist/schemas/farms.schemas.d.ts.map +1 -1
  55. package/dist/schemas/farms.schemas.js +44 -0
  56. package/dist/schemas/field-monitoring.schemas.d.ts +276 -0
  57. package/dist/schemas/field-monitoring.schemas.d.ts.map +1 -1
  58. package/dist/schemas/field-monitoring.schemas.js +9 -0
  59. package/dist/schemas/field-observations.schemas.d.ts +1 -0
  60. package/dist/schemas/field-observations.schemas.d.ts.map +1 -1
  61. package/dist/schemas/fields.schemas.d.ts +188 -186
  62. package/dist/schemas/fields.schemas.d.ts.map +1 -1
  63. package/dist/schemas/fields.schemas.js +10 -2
  64. package/dist/schemas/invoices.schemas.d.ts +38 -0
  65. package/dist/schemas/invoices.schemas.d.ts.map +1 -1
  66. package/dist/schemas/invoices.schemas.js +2 -0
  67. package/dist/schemas/live-monitor.schemas.d.ts +596 -0
  68. package/dist/schemas/live-monitor.schemas.d.ts.map +1 -0
  69. package/dist/schemas/live-monitor.schemas.js +107 -0
  70. package/dist/schemas/livestock-map.schemas.d.ts +10 -10
  71. package/dist/schemas/monitoring-visualization.schemas.d.ts +4 -4
  72. package/dist/schemas/notifications.schemas.d.ts +464 -0
  73. package/dist/schemas/notifications.schemas.d.ts.map +1 -0
  74. package/dist/schemas/notifications.schemas.js +40 -0
  75. package/dist/schemas/organizations.schemas.d.ts +38 -0
  76. package/dist/schemas/organizations.schemas.d.ts.map +1 -1
  77. package/dist/schemas/organizations.schemas.js +2 -0
  78. package/dist/schemas/team-payments.schemas.d.ts +2604 -0
  79. package/dist/schemas/team-payments.schemas.d.ts.map +1 -0
  80. package/dist/schemas/team-payments.schemas.js +151 -0
  81. package/dist/schemas/waybills.schemas.d.ts +48 -0
  82. package/dist/schemas/waybills.schemas.d.ts.map +1 -1
  83. package/dist/schemas/waybills.schemas.js +3 -0
  84. package/package.json +1 -1
@@ -24,16 +24,16 @@ export declare const cropHistoryEntrySchema: z.ZodObject<{
24
24
  yieldUnit: z.ZodNullable<z.ZodString>;
25
25
  }, "strip", z.ZodTypeAny, {
26
26
  id: string;
27
- season: string;
28
27
  crop: string;
28
+ season: string;
29
29
  plantingDate: string;
30
30
  harvestDate: string | null;
31
31
  yield: number | null;
32
32
  yieldUnit: string | null;
33
33
  }, {
34
34
  id: string;
35
- season: string;
36
35
  crop: string;
36
+ season: string;
37
37
  plantingDate: string;
38
38
  harvestDate: string | null;
39
39
  yield: number | null;
@@ -81,16 +81,16 @@ export declare const fieldAttributesSchema: z.ZodObject<{
81
81
  yieldUnit: z.ZodNullable<z.ZodString>;
82
82
  }, "strip", z.ZodTypeAny, {
83
83
  id: string;
84
- season: string;
85
84
  crop: string;
85
+ season: string;
86
86
  plantingDate: string;
87
87
  harvestDate: string | null;
88
88
  yield: number | null;
89
89
  yieldUnit: string | null;
90
90
  }, {
91
91
  id: string;
92
- season: string;
93
92
  crop: string;
93
+ season: string;
94
94
  plantingDate: string;
95
95
  harvestDate: string | null;
96
96
  yield: number | null;
@@ -105,16 +105,16 @@ export declare const fieldAttributesSchema: z.ZodObject<{
105
105
  updatedAt: string;
106
106
  name: string;
107
107
  crop: string | null;
108
- plantingDate: string | null;
109
108
  geometry: {
110
109
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
111
110
  coordinates: number[] | number[][] | number[][][] | number[][][][];
112
111
  } | null;
112
+ area: string | null;
113
+ currentCrop: string | null;
114
+ plantingDate: string | null;
113
115
  ndvi: number | null;
114
116
  moisture: string | null;
115
- area: string | null;
116
117
  soilType: string | null;
117
- currentCrop: string | null;
118
118
  expectedHarvestDate: string | null;
119
119
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
120
120
  historicalNdvi?: {
@@ -123,8 +123,8 @@ export declare const fieldAttributesSchema: z.ZodObject<{
123
123
  }[] | undefined;
124
124
  cropHistory?: {
125
125
  id: string;
126
- season: string;
127
126
  crop: string;
127
+ season: string;
128
128
  plantingDate: string;
129
129
  harvestDate: string | null;
130
130
  yield: number | null;
@@ -136,16 +136,16 @@ export declare const fieldAttributesSchema: z.ZodObject<{
136
136
  updatedAt: string;
137
137
  name: string;
138
138
  crop: string | null;
139
- plantingDate: string | null;
140
139
  geometry: {
141
140
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
142
141
  coordinates: number[] | number[][] | number[][][] | number[][][][];
143
142
  } | null;
143
+ area: string | null;
144
+ currentCrop: string | null;
145
+ plantingDate: string | null;
144
146
  ndvi: number | null;
145
147
  moisture: string | null;
146
- area: string | null;
147
148
  soilType: string | null;
148
- currentCrop: string | null;
149
149
  expectedHarvestDate: string | null;
150
150
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
151
151
  historicalNdvi?: {
@@ -154,8 +154,8 @@ export declare const fieldAttributesSchema: z.ZodObject<{
154
154
  }[] | undefined;
155
155
  cropHistory?: {
156
156
  id: string;
157
- season: string;
158
157
  crop: string;
158
+ season: string;
159
159
  plantingDate: string;
160
160
  harvestDate: string | null;
161
161
  yield: number | null;
@@ -185,35 +185,40 @@ export declare const createFieldAttributesSchema: z.ZodObject<{
185
185
  }, "strip", z.ZodTypeAny, {
186
186
  name: string;
187
187
  crop?: string | undefined;
188
- plantingDate?: string | undefined;
189
188
  geometry?: {
190
189
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
191
190
  coordinates: number[] | number[][] | number[][][] | number[][][][];
192
191
  } | undefined;
192
+ currentCrop?: string | undefined;
193
+ plantingDate?: string | undefined;
193
194
  ndvi?: number | undefined;
194
195
  moisture?: string | undefined;
195
196
  soilType?: string | undefined;
196
- currentCrop?: string | undefined;
197
197
  expectedHarvestDate?: string | undefined;
198
198
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
199
199
  }, {
200
200
  name: string;
201
201
  crop?: string | undefined;
202
- plantingDate?: string | undefined;
203
202
  geometry?: {
204
203
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
205
204
  coordinates: number[] | number[][] | number[][][] | number[][][][];
206
205
  } | undefined;
206
+ currentCrop?: string | undefined;
207
+ plantingDate?: string | undefined;
207
208
  ndvi?: number | undefined;
208
209
  moisture?: string | undefined;
209
210
  soilType?: string | undefined;
210
- currentCrop?: string | undefined;
211
211
  expectedHarvestDate?: string | undefined;
212
212
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
213
213
  }>;
214
214
  export declare const updateFieldAttributesSchema: z.ZodObject<{
215
215
  name: z.ZodOptional<z.ZodString>;
216
- geometry: z.ZodOptional<z.ZodOptional<z.ZodObject<{
216
+ ndvi: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
217
+ moisture: z.ZodOptional<z.ZodOptional<z.ZodString>>;
218
+ crop: z.ZodOptional<z.ZodOptional<z.ZodString>>;
219
+ soilType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
220
+ } & {
221
+ geometry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
217
222
  type: z.ZodEnum<["Polygon", "MultiPolygon", "Point", "LineString"]>;
218
223
  coordinates: z.ZodUnion<[z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">, z.ZodArray<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>;
219
224
  }, "strip", z.ZodTypeAny, {
@@ -223,42 +228,38 @@ export declare const updateFieldAttributesSchema: z.ZodObject<{
223
228
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
224
229
  coordinates: number[] | number[][] | number[][][] | number[][][][];
225
230
  }>>>;
226
- ndvi: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
227
- moisture: z.ZodOptional<z.ZodOptional<z.ZodString>>;
228
- crop: z.ZodOptional<z.ZodOptional<z.ZodString>>;
229
- soilType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
230
- currentCrop: z.ZodOptional<z.ZodOptional<z.ZodString>>;
231
- plantingDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
232
- expectedHarvestDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
233
- cropStage: z.ZodOptional<z.ZodOptional<z.ZodEnum<["planted", "growing", "flowering", "mature", "harvested"]>>>;
231
+ currentCrop: z.ZodOptional<z.ZodNullable<z.ZodString>>;
232
+ plantingDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
233
+ expectedHarvestDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
234
+ cropStage: z.ZodOptional<z.ZodNullable<z.ZodEnum<["planted", "growing", "flowering", "mature", "harvested"]>>>;
234
235
  }, "strip", z.ZodTypeAny, {
235
236
  name?: string | undefined;
236
237
  crop?: string | undefined;
237
- plantingDate?: string | undefined;
238
238
  geometry?: {
239
239
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
240
240
  coordinates: number[] | number[][] | number[][][] | number[][][][];
241
- } | undefined;
241
+ } | null | undefined;
242
+ currentCrop?: string | null | undefined;
243
+ plantingDate?: string | null | undefined;
242
244
  ndvi?: number | undefined;
243
245
  moisture?: string | undefined;
244
246
  soilType?: string | undefined;
245
- currentCrop?: string | undefined;
246
- expectedHarvestDate?: string | undefined;
247
- cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
247
+ expectedHarvestDate?: string | null | undefined;
248
+ cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
248
249
  }, {
249
250
  name?: string | undefined;
250
251
  crop?: string | undefined;
251
- plantingDate?: string | undefined;
252
252
  geometry?: {
253
253
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
254
254
  coordinates: number[] | number[][] | number[][][] | number[][][][];
255
- } | undefined;
255
+ } | null | undefined;
256
+ currentCrop?: string | null | undefined;
257
+ plantingDate?: string | null | undefined;
256
258
  ndvi?: number | undefined;
257
259
  moisture?: string | undefined;
258
260
  soilType?: string | undefined;
259
- currentCrop?: string | undefined;
260
- expectedHarvestDate?: string | undefined;
261
- cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
261
+ expectedHarvestDate?: string | null | undefined;
262
+ cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
262
263
  }>;
263
264
  export declare const createFieldSchema: z.ZodObject<{
264
265
  type: z.ZodLiteral<"fields">;
@@ -285,29 +286,29 @@ export declare const createFieldSchema: z.ZodObject<{
285
286
  }, "strip", z.ZodTypeAny, {
286
287
  name: string;
287
288
  crop?: string | undefined;
288
- plantingDate?: string | undefined;
289
289
  geometry?: {
290
290
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
291
291
  coordinates: number[] | number[][] | number[][][] | number[][][][];
292
292
  } | undefined;
293
+ currentCrop?: string | undefined;
294
+ plantingDate?: string | undefined;
293
295
  ndvi?: number | undefined;
294
296
  moisture?: string | undefined;
295
297
  soilType?: string | undefined;
296
- currentCrop?: string | undefined;
297
298
  expectedHarvestDate?: string | undefined;
298
299
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
299
300
  }, {
300
301
  name: string;
301
302
  crop?: string | undefined;
302
- plantingDate?: string | undefined;
303
303
  geometry?: {
304
304
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
305
305
  coordinates: number[] | number[][] | number[][][] | number[][][][];
306
306
  } | undefined;
307
+ currentCrop?: string | undefined;
308
+ plantingDate?: string | undefined;
307
309
  ndvi?: number | undefined;
308
310
  moisture?: string | undefined;
309
311
  soilType?: string | undefined;
310
- currentCrop?: string | undefined;
311
312
  expectedHarvestDate?: string | undefined;
312
313
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
313
314
  }>;
@@ -354,15 +355,15 @@ export declare const createFieldSchema: z.ZodObject<{
354
355
  attributes: {
355
356
  name: string;
356
357
  crop?: string | undefined;
357
- plantingDate?: string | undefined;
358
358
  geometry?: {
359
359
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
360
360
  coordinates: number[] | number[][] | number[][][] | number[][][][];
361
361
  } | undefined;
362
+ currentCrop?: string | undefined;
363
+ plantingDate?: string | undefined;
362
364
  ndvi?: number | undefined;
363
365
  moisture?: string | undefined;
364
366
  soilType?: string | undefined;
365
- currentCrop?: string | undefined;
366
367
  expectedHarvestDate?: string | undefined;
367
368
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
368
369
  };
@@ -379,15 +380,15 @@ export declare const createFieldSchema: z.ZodObject<{
379
380
  attributes: {
380
381
  name: string;
381
382
  crop?: string | undefined;
382
- plantingDate?: string | undefined;
383
383
  geometry?: {
384
384
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
385
385
  coordinates: number[] | number[][] | number[][][] | number[][][][];
386
386
  } | undefined;
387
+ currentCrop?: string | undefined;
388
+ plantingDate?: string | undefined;
387
389
  ndvi?: number | undefined;
388
390
  moisture?: string | undefined;
389
391
  soilType?: string | undefined;
390
- currentCrop?: string | undefined;
391
392
  expectedHarvestDate?: string | undefined;
392
393
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
393
394
  };
@@ -405,7 +406,12 @@ export declare const updateFieldSchema: z.ZodObject<{
405
406
  id: z.ZodString;
406
407
  attributes: z.ZodObject<{
407
408
  name: z.ZodOptional<z.ZodString>;
408
- geometry: z.ZodOptional<z.ZodOptional<z.ZodObject<{
409
+ ndvi: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
410
+ moisture: z.ZodOptional<z.ZodOptional<z.ZodString>>;
411
+ crop: z.ZodOptional<z.ZodOptional<z.ZodString>>;
412
+ soilType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
413
+ } & {
414
+ geometry: z.ZodOptional<z.ZodNullable<z.ZodObject<{
409
415
  type: z.ZodEnum<["Polygon", "MultiPolygon", "Point", "LineString"]>;
410
416
  coordinates: z.ZodUnion<[z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">, z.ZodArray<z.ZodArray<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">, "many">, "many">, z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">]>;
411
417
  }, "strip", z.ZodTypeAny, {
@@ -415,42 +421,38 @@ export declare const updateFieldSchema: z.ZodObject<{
415
421
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
416
422
  coordinates: number[] | number[][] | number[][][] | number[][][][];
417
423
  }>>>;
418
- ndvi: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
419
- moisture: z.ZodOptional<z.ZodOptional<z.ZodString>>;
420
- crop: z.ZodOptional<z.ZodOptional<z.ZodString>>;
421
- soilType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
422
- currentCrop: z.ZodOptional<z.ZodOptional<z.ZodString>>;
423
- plantingDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
424
- expectedHarvestDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
425
- cropStage: z.ZodOptional<z.ZodOptional<z.ZodEnum<["planted", "growing", "flowering", "mature", "harvested"]>>>;
424
+ currentCrop: z.ZodOptional<z.ZodNullable<z.ZodString>>;
425
+ plantingDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
426
+ expectedHarvestDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
427
+ cropStage: z.ZodOptional<z.ZodNullable<z.ZodEnum<["planted", "growing", "flowering", "mature", "harvested"]>>>;
426
428
  }, "strip", z.ZodTypeAny, {
427
429
  name?: string | undefined;
428
430
  crop?: string | undefined;
429
- plantingDate?: string | undefined;
430
431
  geometry?: {
431
432
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
432
433
  coordinates: number[] | number[][] | number[][][] | number[][][][];
433
- } | undefined;
434
+ } | null | undefined;
435
+ currentCrop?: string | null | undefined;
436
+ plantingDate?: string | null | undefined;
434
437
  ndvi?: number | undefined;
435
438
  moisture?: string | undefined;
436
439
  soilType?: string | undefined;
437
- currentCrop?: string | undefined;
438
- expectedHarvestDate?: string | undefined;
439
- cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
440
+ expectedHarvestDate?: string | null | undefined;
441
+ cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
440
442
  }, {
441
443
  name?: string | undefined;
442
444
  crop?: string | undefined;
443
- plantingDate?: string | undefined;
444
445
  geometry?: {
445
446
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
446
447
  coordinates: number[] | number[][] | number[][][] | number[][][][];
447
- } | undefined;
448
+ } | null | undefined;
449
+ currentCrop?: string | null | undefined;
450
+ plantingDate?: string | null | undefined;
448
451
  ndvi?: number | undefined;
449
452
  moisture?: string | undefined;
450
453
  soilType?: string | undefined;
451
- currentCrop?: string | undefined;
452
- expectedHarvestDate?: string | undefined;
453
- cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
454
+ expectedHarvestDate?: string | null | undefined;
455
+ cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
454
456
  }>;
455
457
  }, "strip", z.ZodTypeAny, {
456
458
  type: "fields";
@@ -458,17 +460,17 @@ export declare const updateFieldSchema: z.ZodObject<{
458
460
  attributes: {
459
461
  name?: string | undefined;
460
462
  crop?: string | undefined;
461
- plantingDate?: string | undefined;
462
463
  geometry?: {
463
464
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
464
465
  coordinates: number[] | number[][] | number[][][] | number[][][][];
465
- } | undefined;
466
+ } | null | undefined;
467
+ currentCrop?: string | null | undefined;
468
+ plantingDate?: string | null | undefined;
466
469
  ndvi?: number | undefined;
467
470
  moisture?: string | undefined;
468
471
  soilType?: string | undefined;
469
- currentCrop?: string | undefined;
470
- expectedHarvestDate?: string | undefined;
471
- cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
472
+ expectedHarvestDate?: string | null | undefined;
473
+ cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
472
474
  };
473
475
  }, {
474
476
  type: "fields";
@@ -476,17 +478,17 @@ export declare const updateFieldSchema: z.ZodObject<{
476
478
  attributes: {
477
479
  name?: string | undefined;
478
480
  crop?: string | undefined;
479
- plantingDate?: string | undefined;
480
481
  geometry?: {
481
482
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
482
483
  coordinates: number[] | number[][] | number[][][] | number[][][][];
483
- } | undefined;
484
+ } | null | undefined;
485
+ currentCrop?: string | null | undefined;
486
+ plantingDate?: string | null | undefined;
484
487
  ndvi?: number | undefined;
485
488
  moisture?: string | undefined;
486
489
  soilType?: string | undefined;
487
- currentCrop?: string | undefined;
488
- expectedHarvestDate?: string | undefined;
489
- cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
490
+ expectedHarvestDate?: string | null | undefined;
491
+ cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
490
492
  };
491
493
  }>;
492
494
  export declare const fieldResourceSchema: z.ZodObject<{
@@ -534,16 +536,16 @@ export declare const fieldResourceSchema: z.ZodObject<{
534
536
  yieldUnit: z.ZodNullable<z.ZodString>;
535
537
  }, "strip", z.ZodTypeAny, {
536
538
  id: string;
537
- season: string;
538
539
  crop: string;
540
+ season: string;
539
541
  plantingDate: string;
540
542
  harvestDate: string | null;
541
543
  yield: number | null;
542
544
  yieldUnit: string | null;
543
545
  }, {
544
546
  id: string;
545
- season: string;
546
547
  crop: string;
548
+ season: string;
547
549
  plantingDate: string;
548
550
  harvestDate: string | null;
549
551
  yield: number | null;
@@ -558,16 +560,16 @@ export declare const fieldResourceSchema: z.ZodObject<{
558
560
  updatedAt: string;
559
561
  name: string;
560
562
  crop: string | null;
561
- plantingDate: string | null;
562
563
  geometry: {
563
564
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
564
565
  coordinates: number[] | number[][] | number[][][] | number[][][][];
565
566
  } | null;
567
+ area: string | null;
568
+ currentCrop: string | null;
569
+ plantingDate: string | null;
566
570
  ndvi: number | null;
567
571
  moisture: string | null;
568
- area: string | null;
569
572
  soilType: string | null;
570
- currentCrop: string | null;
571
573
  expectedHarvestDate: string | null;
572
574
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
573
575
  historicalNdvi?: {
@@ -576,8 +578,8 @@ export declare const fieldResourceSchema: z.ZodObject<{
576
578
  }[] | undefined;
577
579
  cropHistory?: {
578
580
  id: string;
579
- season: string;
580
581
  crop: string;
582
+ season: string;
581
583
  plantingDate: string;
582
584
  harvestDate: string | null;
583
585
  yield: number | null;
@@ -589,16 +591,16 @@ export declare const fieldResourceSchema: z.ZodObject<{
589
591
  updatedAt: string;
590
592
  name: string;
591
593
  crop: string | null;
592
- plantingDate: string | null;
593
594
  geometry: {
594
595
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
595
596
  coordinates: number[] | number[][] | number[][][] | number[][][][];
596
597
  } | null;
598
+ area: string | null;
599
+ currentCrop: string | null;
600
+ plantingDate: string | null;
597
601
  ndvi: number | null;
598
602
  moisture: string | null;
599
- area: string | null;
600
603
  soilType: string | null;
601
- currentCrop: string | null;
602
604
  expectedHarvestDate: string | null;
603
605
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
604
606
  historicalNdvi?: {
@@ -607,8 +609,8 @@ export declare const fieldResourceSchema: z.ZodObject<{
607
609
  }[] | undefined;
608
610
  cropHistory?: {
609
611
  id: string;
610
- season: string;
611
612
  crop: string;
613
+ season: string;
612
614
  plantingDate: string;
613
615
  harvestDate: string | null;
614
616
  yield: number | null;
@@ -627,16 +629,16 @@ export declare const fieldResourceSchema: z.ZodObject<{
627
629
  updatedAt: string;
628
630
  name: string;
629
631
  crop: string | null;
630
- plantingDate: string | null;
631
632
  geometry: {
632
633
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
633
634
  coordinates: number[] | number[][] | number[][][] | number[][][][];
634
635
  } | null;
636
+ area: string | null;
637
+ currentCrop: string | null;
638
+ plantingDate: string | null;
635
639
  ndvi: number | null;
636
640
  moisture: string | null;
637
- area: string | null;
638
641
  soilType: string | null;
639
- currentCrop: string | null;
640
642
  expectedHarvestDate: string | null;
641
643
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
642
644
  historicalNdvi?: {
@@ -645,8 +647,8 @@ export declare const fieldResourceSchema: z.ZodObject<{
645
647
  }[] | undefined;
646
648
  cropHistory?: {
647
649
  id: string;
648
- season: string;
649
650
  crop: string;
651
+ season: string;
650
652
  plantingDate: string;
651
653
  harvestDate: string | null;
652
654
  yield: number | null;
@@ -665,16 +667,16 @@ export declare const fieldResourceSchema: z.ZodObject<{
665
667
  updatedAt: string;
666
668
  name: string;
667
669
  crop: string | null;
668
- plantingDate: string | null;
669
670
  geometry: {
670
671
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
671
672
  coordinates: number[] | number[][] | number[][][] | number[][][][];
672
673
  } | null;
674
+ area: string | null;
675
+ currentCrop: string | null;
676
+ plantingDate: string | null;
673
677
  ndvi: number | null;
674
678
  moisture: string | null;
675
- area: string | null;
676
679
  soilType: string | null;
677
- currentCrop: string | null;
678
680
  expectedHarvestDate: string | null;
679
681
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
680
682
  historicalNdvi?: {
@@ -683,8 +685,8 @@ export declare const fieldResourceSchema: z.ZodObject<{
683
685
  }[] | undefined;
684
686
  cropHistory?: {
685
687
  id: string;
686
- season: string;
687
688
  crop: string;
689
+ season: string;
688
690
  plantingDate: string;
689
691
  harvestDate: string | null;
690
692
  yield: number | null;
@@ -740,16 +742,16 @@ export declare const fieldDetailResourceSchema: z.ZodObject<{
740
742
  yieldUnit: z.ZodNullable<z.ZodString>;
741
743
  }, "strip", z.ZodTypeAny, {
742
744
  id: string;
743
- season: string;
744
745
  crop: string;
746
+ season: string;
745
747
  plantingDate: string;
746
748
  harvestDate: string | null;
747
749
  yield: number | null;
748
750
  yieldUnit: string | null;
749
751
  }, {
750
752
  id: string;
751
- season: string;
752
753
  crop: string;
754
+ season: string;
753
755
  plantingDate: string;
754
756
  harvestDate: string | null;
755
757
  yield: number | null;
@@ -764,16 +766,16 @@ export declare const fieldDetailResourceSchema: z.ZodObject<{
764
766
  updatedAt: string;
765
767
  name: string;
766
768
  crop: string | null;
767
- plantingDate: string | null;
768
769
  geometry: {
769
770
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
770
771
  coordinates: number[] | number[][] | number[][][] | number[][][][];
771
772
  } | null;
773
+ area: string | null;
774
+ currentCrop: string | null;
775
+ plantingDate: string | null;
772
776
  ndvi: number | null;
773
777
  moisture: string | null;
774
- area: string | null;
775
778
  soilType: string | null;
776
- currentCrop: string | null;
777
779
  expectedHarvestDate: string | null;
778
780
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
779
781
  historicalNdvi?: {
@@ -782,8 +784,8 @@ export declare const fieldDetailResourceSchema: z.ZodObject<{
782
784
  }[] | undefined;
783
785
  cropHistory?: {
784
786
  id: string;
785
- season: string;
786
787
  crop: string;
788
+ season: string;
787
789
  plantingDate: string;
788
790
  harvestDate: string | null;
789
791
  yield: number | null;
@@ -795,16 +797,16 @@ export declare const fieldDetailResourceSchema: z.ZodObject<{
795
797
  updatedAt: string;
796
798
  name: string;
797
799
  crop: string | null;
798
- plantingDate: string | null;
799
800
  geometry: {
800
801
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
801
802
  coordinates: number[] | number[][] | number[][][] | number[][][][];
802
803
  } | null;
804
+ area: string | null;
805
+ currentCrop: string | null;
806
+ plantingDate: string | null;
803
807
  ndvi: number | null;
804
808
  moisture: string | null;
805
- area: string | null;
806
809
  soilType: string | null;
807
- currentCrop: string | null;
808
810
  expectedHarvestDate: string | null;
809
811
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
810
812
  historicalNdvi?: {
@@ -813,8 +815,8 @@ export declare const fieldDetailResourceSchema: z.ZodObject<{
813
815
  }[] | undefined;
814
816
  cropHistory?: {
815
817
  id: string;
816
- season: string;
817
818
  crop: string;
819
+ season: string;
818
820
  plantingDate: string;
819
821
  harvestDate: string | null;
820
822
  yield: number | null;
@@ -1028,16 +1030,16 @@ export declare const fieldDetailResourceSchema: z.ZodObject<{
1028
1030
  updatedAt: string;
1029
1031
  name: string;
1030
1032
  crop: string | null;
1031
- plantingDate: string | null;
1032
1033
  geometry: {
1033
1034
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1034
1035
  coordinates: number[] | number[][] | number[][][] | number[][][][];
1035
1036
  } | null;
1037
+ area: string | null;
1038
+ currentCrop: string | null;
1039
+ plantingDate: string | null;
1036
1040
  ndvi: number | null;
1037
1041
  moisture: string | null;
1038
- area: string | null;
1039
1042
  soilType: string | null;
1040
- currentCrop: string | null;
1041
1043
  expectedHarvestDate: string | null;
1042
1044
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
1043
1045
  historicalNdvi?: {
@@ -1046,8 +1048,8 @@ export declare const fieldDetailResourceSchema: z.ZodObject<{
1046
1048
  }[] | undefined;
1047
1049
  cropHistory?: {
1048
1050
  id: string;
1049
- season: string;
1050
1051
  crop: string;
1052
+ season: string;
1051
1053
  plantingDate: string;
1052
1054
  harvestDate: string | null;
1053
1055
  yield: number | null;
@@ -1100,16 +1102,16 @@ export declare const fieldDetailResourceSchema: z.ZodObject<{
1100
1102
  updatedAt: string;
1101
1103
  name: string;
1102
1104
  crop: string | null;
1103
- plantingDate: string | null;
1104
1105
  geometry: {
1105
1106
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1106
1107
  coordinates: number[] | number[][] | number[][][] | number[][][][];
1107
1108
  } | null;
1109
+ area: string | null;
1110
+ currentCrop: string | null;
1111
+ plantingDate: string | null;
1108
1112
  ndvi: number | null;
1109
1113
  moisture: string | null;
1110
- area: string | null;
1111
1114
  soilType: string | null;
1112
- currentCrop: string | null;
1113
1115
  expectedHarvestDate: string | null;
1114
1116
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
1115
1117
  historicalNdvi?: {
@@ -1118,8 +1120,8 @@ export declare const fieldDetailResourceSchema: z.ZodObject<{
1118
1120
  }[] | undefined;
1119
1121
  cropHistory?: {
1120
1122
  id: string;
1121
- season: string;
1122
1123
  crop: string;
1124
+ season: string;
1123
1125
  plantingDate: string;
1124
1126
  harvestDate: string | null;
1125
1127
  yield: number | null;
@@ -1210,16 +1212,16 @@ export declare const fieldResponseSchema: z.ZodObject<{
1210
1212
  yieldUnit: z.ZodNullable<z.ZodString>;
1211
1213
  }, "strip", z.ZodTypeAny, {
1212
1214
  id: string;
1213
- season: string;
1214
1215
  crop: string;
1216
+ season: string;
1215
1217
  plantingDate: string;
1216
1218
  harvestDate: string | null;
1217
1219
  yield: number | null;
1218
1220
  yieldUnit: string | null;
1219
1221
  }, {
1220
1222
  id: string;
1221
- season: string;
1222
1223
  crop: string;
1224
+ season: string;
1223
1225
  plantingDate: string;
1224
1226
  harvestDate: string | null;
1225
1227
  yield: number | null;
@@ -1234,16 +1236,16 @@ export declare const fieldResponseSchema: z.ZodObject<{
1234
1236
  updatedAt: string;
1235
1237
  name: string;
1236
1238
  crop: string | null;
1237
- plantingDate: string | null;
1238
1239
  geometry: {
1239
1240
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1240
1241
  coordinates: number[] | number[][] | number[][][] | number[][][][];
1241
1242
  } | null;
1243
+ area: string | null;
1244
+ currentCrop: string | null;
1245
+ plantingDate: string | null;
1242
1246
  ndvi: number | null;
1243
1247
  moisture: string | null;
1244
- area: string | null;
1245
1248
  soilType: string | null;
1246
- currentCrop: string | null;
1247
1249
  expectedHarvestDate: string | null;
1248
1250
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
1249
1251
  historicalNdvi?: {
@@ -1252,8 +1254,8 @@ export declare const fieldResponseSchema: z.ZodObject<{
1252
1254
  }[] | undefined;
1253
1255
  cropHistory?: {
1254
1256
  id: string;
1255
- season: string;
1256
1257
  crop: string;
1258
+ season: string;
1257
1259
  plantingDate: string;
1258
1260
  harvestDate: string | null;
1259
1261
  yield: number | null;
@@ -1265,16 +1267,16 @@ export declare const fieldResponseSchema: z.ZodObject<{
1265
1267
  updatedAt: string;
1266
1268
  name: string;
1267
1269
  crop: string | null;
1268
- plantingDate: string | null;
1269
1270
  geometry: {
1270
1271
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1271
1272
  coordinates: number[] | number[][] | number[][][] | number[][][][];
1272
1273
  } | null;
1274
+ area: string | null;
1275
+ currentCrop: string | null;
1276
+ plantingDate: string | null;
1273
1277
  ndvi: number | null;
1274
1278
  moisture: string | null;
1275
- area: string | null;
1276
1279
  soilType: string | null;
1277
- currentCrop: string | null;
1278
1280
  expectedHarvestDate: string | null;
1279
1281
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
1280
1282
  historicalNdvi?: {
@@ -1283,8 +1285,8 @@ export declare const fieldResponseSchema: z.ZodObject<{
1283
1285
  }[] | undefined;
1284
1286
  cropHistory?: {
1285
1287
  id: string;
1286
- season: string;
1287
1288
  crop: string;
1289
+ season: string;
1288
1290
  plantingDate: string;
1289
1291
  harvestDate: string | null;
1290
1292
  yield: number | null;
@@ -1303,16 +1305,16 @@ export declare const fieldResponseSchema: z.ZodObject<{
1303
1305
  updatedAt: string;
1304
1306
  name: string;
1305
1307
  crop: string | null;
1306
- plantingDate: string | null;
1307
1308
  geometry: {
1308
1309
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1309
1310
  coordinates: number[] | number[][] | number[][][] | number[][][][];
1310
1311
  } | null;
1312
+ area: string | null;
1313
+ currentCrop: string | null;
1314
+ plantingDate: string | null;
1311
1315
  ndvi: number | null;
1312
1316
  moisture: string | null;
1313
- area: string | null;
1314
1317
  soilType: string | null;
1315
- currentCrop: string | null;
1316
1318
  expectedHarvestDate: string | null;
1317
1319
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
1318
1320
  historicalNdvi?: {
@@ -1321,8 +1323,8 @@ export declare const fieldResponseSchema: z.ZodObject<{
1321
1323
  }[] | undefined;
1322
1324
  cropHistory?: {
1323
1325
  id: string;
1324
- season: string;
1325
1326
  crop: string;
1327
+ season: string;
1326
1328
  plantingDate: string;
1327
1329
  harvestDate: string | null;
1328
1330
  yield: number | null;
@@ -1341,16 +1343,16 @@ export declare const fieldResponseSchema: z.ZodObject<{
1341
1343
  updatedAt: string;
1342
1344
  name: string;
1343
1345
  crop: string | null;
1344
- plantingDate: string | null;
1345
1346
  geometry: {
1346
1347
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1347
1348
  coordinates: number[] | number[][] | number[][][] | number[][][][];
1348
1349
  } | null;
1350
+ area: string | null;
1351
+ currentCrop: string | null;
1352
+ plantingDate: string | null;
1349
1353
  ndvi: number | null;
1350
1354
  moisture: string | null;
1351
- area: string | null;
1352
1355
  soilType: string | null;
1353
- currentCrop: string | null;
1354
1356
  expectedHarvestDate: string | null;
1355
1357
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
1356
1358
  historicalNdvi?: {
@@ -1359,8 +1361,8 @@ export declare const fieldResponseSchema: z.ZodObject<{
1359
1361
  }[] | undefined;
1360
1362
  cropHistory?: {
1361
1363
  id: string;
1362
- season: string;
1363
1364
  crop: string;
1365
+ season: string;
1364
1366
  plantingDate: string;
1365
1367
  harvestDate: string | null;
1366
1368
  yield: number | null;
@@ -1405,16 +1407,16 @@ export declare const fieldResponseSchema: z.ZodObject<{
1405
1407
  updatedAt: string;
1406
1408
  name: string;
1407
1409
  crop: string | null;
1408
- plantingDate: string | null;
1409
1410
  geometry: {
1410
1411
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1411
1412
  coordinates: number[] | number[][] | number[][][] | number[][][][];
1412
1413
  } | null;
1414
+ area: string | null;
1415
+ currentCrop: string | null;
1416
+ plantingDate: string | null;
1413
1417
  ndvi: number | null;
1414
1418
  moisture: string | null;
1415
- area: string | null;
1416
1419
  soilType: string | null;
1417
- currentCrop: string | null;
1418
1420
  expectedHarvestDate: string | null;
1419
1421
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
1420
1422
  historicalNdvi?: {
@@ -1423,8 +1425,8 @@ export declare const fieldResponseSchema: z.ZodObject<{
1423
1425
  }[] | undefined;
1424
1426
  cropHistory?: {
1425
1427
  id: string;
1426
- season: string;
1427
1428
  crop: string;
1429
+ season: string;
1428
1430
  plantingDate: string;
1429
1431
  harvestDate: string | null;
1430
1432
  yield: number | null;
@@ -1455,16 +1457,16 @@ export declare const fieldResponseSchema: z.ZodObject<{
1455
1457
  updatedAt: string;
1456
1458
  name: string;
1457
1459
  crop: string | null;
1458
- plantingDate: string | null;
1459
1460
  geometry: {
1460
1461
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1461
1462
  coordinates: number[] | number[][] | number[][][] | number[][][][];
1462
1463
  } | null;
1464
+ area: string | null;
1465
+ currentCrop: string | null;
1466
+ plantingDate: string | null;
1463
1467
  ndvi: number | null;
1464
1468
  moisture: string | null;
1465
- area: string | null;
1466
1469
  soilType: string | null;
1467
- currentCrop: string | null;
1468
1470
  expectedHarvestDate: string | null;
1469
1471
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
1470
1472
  historicalNdvi?: {
@@ -1473,8 +1475,8 @@ export declare const fieldResponseSchema: z.ZodObject<{
1473
1475
  }[] | undefined;
1474
1476
  cropHistory?: {
1475
1477
  id: string;
1476
- season: string;
1477
1478
  crop: string;
1479
+ season: string;
1478
1480
  plantingDate: string;
1479
1481
  harvestDate: string | null;
1480
1482
  yield: number | null;
@@ -1542,16 +1544,16 @@ export declare const fieldDetailResponseSchema: z.ZodObject<{
1542
1544
  yieldUnit: z.ZodNullable<z.ZodString>;
1543
1545
  }, "strip", z.ZodTypeAny, {
1544
1546
  id: string;
1545
- season: string;
1546
1547
  crop: string;
1548
+ season: string;
1547
1549
  plantingDate: string;
1548
1550
  harvestDate: string | null;
1549
1551
  yield: number | null;
1550
1552
  yieldUnit: string | null;
1551
1553
  }, {
1552
1554
  id: string;
1553
- season: string;
1554
1555
  crop: string;
1556
+ season: string;
1555
1557
  plantingDate: string;
1556
1558
  harvestDate: string | null;
1557
1559
  yield: number | null;
@@ -1566,16 +1568,16 @@ export declare const fieldDetailResponseSchema: z.ZodObject<{
1566
1568
  updatedAt: string;
1567
1569
  name: string;
1568
1570
  crop: string | null;
1569
- plantingDate: string | null;
1570
1571
  geometry: {
1571
1572
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1572
1573
  coordinates: number[] | number[][] | number[][][] | number[][][][];
1573
1574
  } | null;
1575
+ area: string | null;
1576
+ currentCrop: string | null;
1577
+ plantingDate: string | null;
1574
1578
  ndvi: number | null;
1575
1579
  moisture: string | null;
1576
- area: string | null;
1577
1580
  soilType: string | null;
1578
- currentCrop: string | null;
1579
1581
  expectedHarvestDate: string | null;
1580
1582
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
1581
1583
  historicalNdvi?: {
@@ -1584,8 +1586,8 @@ export declare const fieldDetailResponseSchema: z.ZodObject<{
1584
1586
  }[] | undefined;
1585
1587
  cropHistory?: {
1586
1588
  id: string;
1587
- season: string;
1588
1589
  crop: string;
1590
+ season: string;
1589
1591
  plantingDate: string;
1590
1592
  harvestDate: string | null;
1591
1593
  yield: number | null;
@@ -1597,16 +1599,16 @@ export declare const fieldDetailResponseSchema: z.ZodObject<{
1597
1599
  updatedAt: string;
1598
1600
  name: string;
1599
1601
  crop: string | null;
1600
- plantingDate: string | null;
1601
1602
  geometry: {
1602
1603
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1603
1604
  coordinates: number[] | number[][] | number[][][] | number[][][][];
1604
1605
  } | null;
1606
+ area: string | null;
1607
+ currentCrop: string | null;
1608
+ plantingDate: string | null;
1605
1609
  ndvi: number | null;
1606
1610
  moisture: string | null;
1607
- area: string | null;
1608
1611
  soilType: string | null;
1609
- currentCrop: string | null;
1610
1612
  expectedHarvestDate: string | null;
1611
1613
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
1612
1614
  historicalNdvi?: {
@@ -1615,8 +1617,8 @@ export declare const fieldDetailResponseSchema: z.ZodObject<{
1615
1617
  }[] | undefined;
1616
1618
  cropHistory?: {
1617
1619
  id: string;
1618
- season: string;
1619
1620
  crop: string;
1621
+ season: string;
1620
1622
  plantingDate: string;
1621
1623
  harvestDate: string | null;
1622
1624
  yield: number | null;
@@ -1830,16 +1832,16 @@ export declare const fieldDetailResponseSchema: z.ZodObject<{
1830
1832
  updatedAt: string;
1831
1833
  name: string;
1832
1834
  crop: string | null;
1833
- plantingDate: string | null;
1834
1835
  geometry: {
1835
1836
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1836
1837
  coordinates: number[] | number[][] | number[][][] | number[][][][];
1837
1838
  } | null;
1839
+ area: string | null;
1840
+ currentCrop: string | null;
1841
+ plantingDate: string | null;
1838
1842
  ndvi: number | null;
1839
1843
  moisture: string | null;
1840
- area: string | null;
1841
1844
  soilType: string | null;
1842
- currentCrop: string | null;
1843
1845
  expectedHarvestDate: string | null;
1844
1846
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
1845
1847
  historicalNdvi?: {
@@ -1848,8 +1850,8 @@ export declare const fieldDetailResponseSchema: z.ZodObject<{
1848
1850
  }[] | undefined;
1849
1851
  cropHistory?: {
1850
1852
  id: string;
1851
- season: string;
1852
1853
  crop: string;
1854
+ season: string;
1853
1855
  plantingDate: string;
1854
1856
  harvestDate: string | null;
1855
1857
  yield: number | null;
@@ -1902,16 +1904,16 @@ export declare const fieldDetailResponseSchema: z.ZodObject<{
1902
1904
  updatedAt: string;
1903
1905
  name: string;
1904
1906
  crop: string | null;
1905
- plantingDate: string | null;
1906
1907
  geometry: {
1907
1908
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
1908
1909
  coordinates: number[] | number[][] | number[][][] | number[][][][];
1909
1910
  } | null;
1911
+ area: string | null;
1912
+ currentCrop: string | null;
1913
+ plantingDate: string | null;
1910
1914
  ndvi: number | null;
1911
1915
  moisture: string | null;
1912
- area: string | null;
1913
1916
  soilType: string | null;
1914
- currentCrop: string | null;
1915
1917
  expectedHarvestDate: string | null;
1916
1918
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
1917
1919
  historicalNdvi?: {
@@ -1920,8 +1922,8 @@ export declare const fieldDetailResponseSchema: z.ZodObject<{
1920
1922
  }[] | undefined;
1921
1923
  cropHistory?: {
1922
1924
  id: string;
1923
- season: string;
1924
1925
  crop: string;
1926
+ season: string;
1925
1927
  plantingDate: string;
1926
1928
  harvestDate: string | null;
1927
1929
  yield: number | null;
@@ -2000,16 +2002,16 @@ export declare const fieldDetailResponseSchema: z.ZodObject<{
2000
2002
  updatedAt: string;
2001
2003
  name: string;
2002
2004
  crop: string | null;
2003
- plantingDate: string | null;
2004
2005
  geometry: {
2005
2006
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
2006
2007
  coordinates: number[] | number[][] | number[][][] | number[][][][];
2007
2008
  } | null;
2009
+ area: string | null;
2010
+ currentCrop: string | null;
2011
+ plantingDate: string | null;
2008
2012
  ndvi: number | null;
2009
2013
  moisture: string | null;
2010
- area: string | null;
2011
2014
  soilType: string | null;
2012
- currentCrop: string | null;
2013
2015
  expectedHarvestDate: string | null;
2014
2016
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
2015
2017
  historicalNdvi?: {
@@ -2018,8 +2020,8 @@ export declare const fieldDetailResponseSchema: z.ZodObject<{
2018
2020
  }[] | undefined;
2019
2021
  cropHistory?: {
2020
2022
  id: string;
2021
- season: string;
2022
2023
  crop: string;
2024
+ season: string;
2023
2025
  plantingDate: string;
2024
2026
  harvestDate: string | null;
2025
2027
  yield: number | null;
@@ -2084,16 +2086,16 @@ export declare const fieldDetailResponseSchema: z.ZodObject<{
2084
2086
  updatedAt: string;
2085
2087
  name: string;
2086
2088
  crop: string | null;
2087
- plantingDate: string | null;
2088
2089
  geometry: {
2089
2090
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
2090
2091
  coordinates: number[] | number[][] | number[][][] | number[][][][];
2091
2092
  } | null;
2093
+ area: string | null;
2094
+ currentCrop: string | null;
2095
+ plantingDate: string | null;
2092
2096
  ndvi: number | null;
2093
2097
  moisture: string | null;
2094
- area: string | null;
2095
2098
  soilType: string | null;
2096
- currentCrop: string | null;
2097
2099
  expectedHarvestDate: string | null;
2098
2100
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
2099
2101
  historicalNdvi?: {
@@ -2102,8 +2104,8 @@ export declare const fieldDetailResponseSchema: z.ZodObject<{
2102
2104
  }[] | undefined;
2103
2105
  cropHistory?: {
2104
2106
  id: string;
2105
- season: string;
2106
2107
  crop: string;
2108
+ season: string;
2107
2109
  plantingDate: string;
2108
2110
  harvestDate: string | null;
2109
2111
  yield: number | null;
@@ -2205,16 +2207,16 @@ export declare const fieldListResponseSchema: z.ZodObject<{
2205
2207
  yieldUnit: z.ZodNullable<z.ZodString>;
2206
2208
  }, "strip", z.ZodTypeAny, {
2207
2209
  id: string;
2208
- season: string;
2209
2210
  crop: string;
2211
+ season: string;
2210
2212
  plantingDate: string;
2211
2213
  harvestDate: string | null;
2212
2214
  yield: number | null;
2213
2215
  yieldUnit: string | null;
2214
2216
  }, {
2215
2217
  id: string;
2216
- season: string;
2217
2218
  crop: string;
2219
+ season: string;
2218
2220
  plantingDate: string;
2219
2221
  harvestDate: string | null;
2220
2222
  yield: number | null;
@@ -2229,16 +2231,16 @@ export declare const fieldListResponseSchema: z.ZodObject<{
2229
2231
  updatedAt: string;
2230
2232
  name: string;
2231
2233
  crop: string | null;
2232
- plantingDate: string | null;
2233
2234
  geometry: {
2234
2235
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
2235
2236
  coordinates: number[] | number[][] | number[][][] | number[][][][];
2236
2237
  } | null;
2238
+ area: string | null;
2239
+ currentCrop: string | null;
2240
+ plantingDate: string | null;
2237
2241
  ndvi: number | null;
2238
2242
  moisture: string | null;
2239
- area: string | null;
2240
2243
  soilType: string | null;
2241
- currentCrop: string | null;
2242
2244
  expectedHarvestDate: string | null;
2243
2245
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
2244
2246
  historicalNdvi?: {
@@ -2247,8 +2249,8 @@ export declare const fieldListResponseSchema: z.ZodObject<{
2247
2249
  }[] | undefined;
2248
2250
  cropHistory?: {
2249
2251
  id: string;
2250
- season: string;
2251
2252
  crop: string;
2253
+ season: string;
2252
2254
  plantingDate: string;
2253
2255
  harvestDate: string | null;
2254
2256
  yield: number | null;
@@ -2260,16 +2262,16 @@ export declare const fieldListResponseSchema: z.ZodObject<{
2260
2262
  updatedAt: string;
2261
2263
  name: string;
2262
2264
  crop: string | null;
2263
- plantingDate: string | null;
2264
2265
  geometry: {
2265
2266
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
2266
2267
  coordinates: number[] | number[][] | number[][][] | number[][][][];
2267
2268
  } | null;
2269
+ area: string | null;
2270
+ currentCrop: string | null;
2271
+ plantingDate: string | null;
2268
2272
  ndvi: number | null;
2269
2273
  moisture: string | null;
2270
- area: string | null;
2271
2274
  soilType: string | null;
2272
- currentCrop: string | null;
2273
2275
  expectedHarvestDate: string | null;
2274
2276
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
2275
2277
  historicalNdvi?: {
@@ -2278,8 +2280,8 @@ export declare const fieldListResponseSchema: z.ZodObject<{
2278
2280
  }[] | undefined;
2279
2281
  cropHistory?: {
2280
2282
  id: string;
2281
- season: string;
2282
2283
  crop: string;
2284
+ season: string;
2283
2285
  plantingDate: string;
2284
2286
  harvestDate: string | null;
2285
2287
  yield: number | null;
@@ -2298,16 +2300,16 @@ export declare const fieldListResponseSchema: z.ZodObject<{
2298
2300
  updatedAt: string;
2299
2301
  name: string;
2300
2302
  crop: string | null;
2301
- plantingDate: string | null;
2302
2303
  geometry: {
2303
2304
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
2304
2305
  coordinates: number[] | number[][] | number[][][] | number[][][][];
2305
2306
  } | null;
2307
+ area: string | null;
2308
+ currentCrop: string | null;
2309
+ plantingDate: string | null;
2306
2310
  ndvi: number | null;
2307
2311
  moisture: string | null;
2308
- area: string | null;
2309
2312
  soilType: string | null;
2310
- currentCrop: string | null;
2311
2313
  expectedHarvestDate: string | null;
2312
2314
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
2313
2315
  historicalNdvi?: {
@@ -2316,8 +2318,8 @@ export declare const fieldListResponseSchema: z.ZodObject<{
2316
2318
  }[] | undefined;
2317
2319
  cropHistory?: {
2318
2320
  id: string;
2319
- season: string;
2320
2321
  crop: string;
2322
+ season: string;
2321
2323
  plantingDate: string;
2322
2324
  harvestDate: string | null;
2323
2325
  yield: number | null;
@@ -2336,16 +2338,16 @@ export declare const fieldListResponseSchema: z.ZodObject<{
2336
2338
  updatedAt: string;
2337
2339
  name: string;
2338
2340
  crop: string | null;
2339
- plantingDate: string | null;
2340
2341
  geometry: {
2341
2342
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
2342
2343
  coordinates: number[] | number[][] | number[][][] | number[][][][];
2343
2344
  } | null;
2345
+ area: string | null;
2346
+ currentCrop: string | null;
2347
+ plantingDate: string | null;
2344
2348
  ndvi: number | null;
2345
2349
  moisture: string | null;
2346
- area: string | null;
2347
2350
  soilType: string | null;
2348
- currentCrop: string | null;
2349
2351
  expectedHarvestDate: string | null;
2350
2352
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
2351
2353
  historicalNdvi?: {
@@ -2354,8 +2356,8 @@ export declare const fieldListResponseSchema: z.ZodObject<{
2354
2356
  }[] | undefined;
2355
2357
  cropHistory?: {
2356
2358
  id: string;
2357
- season: string;
2358
2359
  crop: string;
2360
+ season: string;
2359
2361
  plantingDate: string;
2360
2362
  harvestDate: string | null;
2361
2363
  yield: number | null;
@@ -2400,16 +2402,16 @@ export declare const fieldListResponseSchema: z.ZodObject<{
2400
2402
  updatedAt: string;
2401
2403
  name: string;
2402
2404
  crop: string | null;
2403
- plantingDate: string | null;
2404
2405
  geometry: {
2405
2406
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
2406
2407
  coordinates: number[] | number[][] | number[][][] | number[][][][];
2407
2408
  } | null;
2409
+ area: string | null;
2410
+ currentCrop: string | null;
2411
+ plantingDate: string | null;
2408
2412
  ndvi: number | null;
2409
2413
  moisture: string | null;
2410
- area: string | null;
2411
2414
  soilType: string | null;
2412
- currentCrop: string | null;
2413
2415
  expectedHarvestDate: string | null;
2414
2416
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
2415
2417
  historicalNdvi?: {
@@ -2418,8 +2420,8 @@ export declare const fieldListResponseSchema: z.ZodObject<{
2418
2420
  }[] | undefined;
2419
2421
  cropHistory?: {
2420
2422
  id: string;
2421
- season: string;
2422
2423
  crop: string;
2424
+ season: string;
2423
2425
  plantingDate: string;
2424
2426
  harvestDate: string | null;
2425
2427
  yield: number | null;
@@ -2450,16 +2452,16 @@ export declare const fieldListResponseSchema: z.ZodObject<{
2450
2452
  updatedAt: string;
2451
2453
  name: string;
2452
2454
  crop: string | null;
2453
- plantingDate: string | null;
2454
2455
  geometry: {
2455
2456
  type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
2456
2457
  coordinates: number[] | number[][] | number[][][] | number[][][][];
2457
2458
  } | null;
2459
+ area: string | null;
2460
+ currentCrop: string | null;
2461
+ plantingDate: string | null;
2458
2462
  ndvi: number | null;
2459
2463
  moisture: string | null;
2460
- area: string | null;
2461
2464
  soilType: string | null;
2462
- currentCrop: string | null;
2463
2465
  expectedHarvestDate: string | null;
2464
2466
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
2465
2467
  historicalNdvi?: {
@@ -2468,8 +2470,8 @@ export declare const fieldListResponseSchema: z.ZodObject<{
2468
2470
  }[] | undefined;
2469
2471
  cropHistory?: {
2470
2472
  id: string;
2471
- season: string;
2472
2473
  crop: string;
2474
+ season: string;
2473
2475
  plantingDate: string;
2474
2476
  harvestDate: string | null;
2475
2477
  yield: number | null;