@deepintel-ltd/farmpro-contracts 1.16.1 → 1.16.3

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 (46) hide show
  1. package/dist/routes/agents.routes.d.ts +8 -8
  2. package/dist/routes/documents.routes.d.ts +78 -78
  3. package/dist/routes/fertigation.routes.d.ts +4 -4
  4. package/dist/routes/field-monitoring.routes.d.ts +40 -0
  5. package/dist/routes/field-monitoring.routes.d.ts.map +1 -1
  6. package/dist/routes/field-observations.routes.d.ts +174 -28
  7. package/dist/routes/field-observations.routes.d.ts.map +1 -1
  8. package/dist/routes/field-observations.routes.js +7 -4
  9. package/dist/routes/fields.routes.d.ts +923 -0
  10. package/dist/routes/fields.routes.d.ts.map +1 -1
  11. package/dist/routes/fields.routes.js +23 -1
  12. package/dist/routes/files.routes.d.ts +6 -6
  13. package/dist/routes/finance.routes.d.ts +30 -30
  14. package/dist/routes/inventory.routes.d.ts +6 -6
  15. package/dist/routes/irrigation.routes.d.ts +2 -2
  16. package/dist/routes/monitoring-visualization.routes.d.ts +4 -4
  17. package/dist/routes/pest-disease-risk.routes.d.ts +44 -44
  18. package/dist/routes/prescription-maps.routes.d.ts +4 -4
  19. package/dist/routes/subscriptions.routes.d.ts +4 -4
  20. package/dist/routes/tasks.routes.d.ts +108 -108
  21. package/dist/routes/team-payments.routes.d.ts +36 -36
  22. package/dist/routes/weather.routes.d.ts +42 -42
  23. package/dist/schemas/agents.schemas.d.ts +8 -8
  24. package/dist/schemas/common.schemas.d.ts +32 -0
  25. package/dist/schemas/common.schemas.d.ts.map +1 -1
  26. package/dist/schemas/common.schemas.js +14 -0
  27. package/dist/schemas/documents.schemas.d.ts +48 -48
  28. package/dist/schemas/fertigation.schemas.d.ts +2 -2
  29. package/dist/schemas/field-monitoring.schemas.d.ts +20 -0
  30. package/dist/schemas/field-monitoring.schemas.d.ts.map +1 -1
  31. package/dist/schemas/field-monitoring.schemas.js +4 -0
  32. package/dist/schemas/fields.schemas.d.ts +170 -0
  33. package/dist/schemas/fields.schemas.d.ts.map +1 -1
  34. package/dist/schemas/fields.schemas.js +14 -0
  35. package/dist/schemas/files.schemas.d.ts +12 -12
  36. package/dist/schemas/finance.schemas.d.ts +34 -34
  37. package/dist/schemas/inventory.schemas.d.ts +6 -6
  38. package/dist/schemas/irrigation.schemas.d.ts +2 -2
  39. package/dist/schemas/monitoring-visualization.schemas.d.ts +6 -6
  40. package/dist/schemas/pest-disease-risk.schemas.d.ts +36 -36
  41. package/dist/schemas/prescription-maps.schemas.d.ts +4 -4
  42. package/dist/schemas/subscriptions.schemas.d.ts +2 -2
  43. package/dist/schemas/tasks.schemas.d.ts +96 -96
  44. package/dist/schemas/team-payments.schemas.d.ts +24 -24
  45. package/dist/schemas/weather.schemas.d.ts +84 -84
  46. package/package.json +1 -1
@@ -70,6 +70,9 @@ export declare const fieldsRouter: {
70
70
  plantingDate: z.ZodNullable<z.ZodString>;
71
71
  expectedHarvestDate: z.ZodNullable<z.ZodString>;
72
72
  cropStage: z.ZodNullable<z.ZodEnum<["planted", "growing", "flowering", "mature", "harvested"]>>;
73
+ standCountPerHa: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
74
+ targetStandPerHa: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
75
+ coverImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
73
76
  historicalNdvi: z.ZodOptional<z.ZodArray<z.ZodObject<{
74
77
  date: z.ZodString;
75
78
  value: z.ZodNumber;
@@ -126,6 +129,9 @@ export declare const fieldsRouter: {
126
129
  soilType: string | null;
127
130
  expectedHarvestDate: string | null;
128
131
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
132
+ standCountPerHa?: number | null | undefined;
133
+ targetStandPerHa?: number | null | undefined;
134
+ coverImage?: string | null | undefined;
129
135
  historicalNdvi?: {
130
136
  value: number;
131
137
  date: string;
@@ -157,6 +163,9 @@ export declare const fieldsRouter: {
157
163
  soilType: string | null;
158
164
  expectedHarvestDate: string | null;
159
165
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
166
+ standCountPerHa?: number | null | undefined;
167
+ targetStandPerHa?: number | null | undefined;
168
+ coverImage?: string | null | undefined;
160
169
  historicalNdvi?: {
161
170
  value: number;
162
171
  date: string;
@@ -195,6 +204,9 @@ export declare const fieldsRouter: {
195
204
  soilType: string | null;
196
205
  expectedHarvestDate: string | null;
197
206
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
207
+ standCountPerHa?: number | null | undefined;
208
+ targetStandPerHa?: number | null | undefined;
209
+ coverImage?: string | null | undefined;
198
210
  historicalNdvi?: {
199
211
  value: number;
200
212
  date: string;
@@ -233,6 +245,9 @@ export declare const fieldsRouter: {
233
245
  soilType: string | null;
234
246
  expectedHarvestDate: string | null;
235
247
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
248
+ standCountPerHa?: number | null | undefined;
249
+ targetStandPerHa?: number | null | undefined;
250
+ coverImage?: string | null | undefined;
236
251
  historicalNdvi?: {
237
252
  value: number;
238
253
  date: string;
@@ -297,6 +312,9 @@ export declare const fieldsRouter: {
297
312
  soilType: string | null;
298
313
  expectedHarvestDate: string | null;
299
314
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
315
+ standCountPerHa?: number | null | undefined;
316
+ targetStandPerHa?: number | null | undefined;
317
+ coverImage?: string | null | undefined;
300
318
  historicalNdvi?: {
301
319
  value: number;
302
320
  date: string;
@@ -347,6 +365,9 @@ export declare const fieldsRouter: {
347
365
  soilType: string | null;
348
366
  expectedHarvestDate: string | null;
349
367
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
368
+ standCountPerHa?: number | null | undefined;
369
+ targetStandPerHa?: number | null | undefined;
370
+ coverImage?: string | null | undefined;
350
371
  historicalNdvi?: {
351
372
  value: number;
352
373
  date: string;
@@ -682,6 +703,8 @@ export declare const fieldsRouter: {
682
703
  plantingDate: z.ZodOptional<z.ZodString>;
683
704
  expectedHarvestDate: z.ZodOptional<z.ZodString>;
684
705
  cropStage: z.ZodOptional<z.ZodEnum<["planted", "growing", "flowering", "mature", "harvested"]>>;
706
+ standCountPerHa: z.ZodOptional<z.ZodNumber>;
707
+ targetStandPerHa: z.ZodOptional<z.ZodNumber>;
685
708
  }, "strip", z.ZodTypeAny, {
686
709
  name: string;
687
710
  crop?: string | undefined;
@@ -696,6 +719,8 @@ export declare const fieldsRouter: {
696
719
  soilType?: string | undefined;
697
720
  expectedHarvestDate?: string | undefined;
698
721
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
722
+ standCountPerHa?: number | undefined;
723
+ targetStandPerHa?: number | undefined;
699
724
  }, {
700
725
  name: string;
701
726
  crop?: string | undefined;
@@ -710,6 +735,8 @@ export declare const fieldsRouter: {
710
735
  soilType?: string | undefined;
711
736
  expectedHarvestDate?: string | undefined;
712
737
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
738
+ standCountPerHa?: number | undefined;
739
+ targetStandPerHa?: number | undefined;
713
740
  }>;
714
741
  relationships: z.ZodObject<{
715
742
  farm: z.ZodObject<{
@@ -765,6 +792,8 @@ export declare const fieldsRouter: {
765
792
  soilType?: string | undefined;
766
793
  expectedHarvestDate?: string | undefined;
767
794
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
795
+ standCountPerHa?: number | undefined;
796
+ targetStandPerHa?: number | undefined;
768
797
  };
769
798
  relationships: {
770
799
  farm: {
@@ -790,6 +819,8 @@ export declare const fieldsRouter: {
790
819
  soilType?: string | undefined;
791
820
  expectedHarvestDate?: string | undefined;
792
821
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
822
+ standCountPerHa?: number | undefined;
823
+ targetStandPerHa?: number | undefined;
793
824
  };
794
825
  relationships: {
795
826
  farm: {
@@ -817,6 +848,8 @@ export declare const fieldsRouter: {
817
848
  soilType?: string | undefined;
818
849
  expectedHarvestDate?: string | undefined;
819
850
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
851
+ standCountPerHa?: number | undefined;
852
+ targetStandPerHa?: number | undefined;
820
853
  };
821
854
  relationships: {
822
855
  farm: {
@@ -844,6 +877,8 @@ export declare const fieldsRouter: {
844
877
  soilType?: string | undefined;
845
878
  expectedHarvestDate?: string | undefined;
846
879
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
880
+ standCountPerHa?: number | undefined;
881
+ targetStandPerHa?: number | undefined;
847
882
  };
848
883
  relationships: {
849
884
  farm: {
@@ -883,6 +918,9 @@ export declare const fieldsRouter: {
883
918
  plantingDate: z.ZodNullable<z.ZodString>;
884
919
  expectedHarvestDate: z.ZodNullable<z.ZodString>;
885
920
  cropStage: z.ZodNullable<z.ZodEnum<["planted", "growing", "flowering", "mature", "harvested"]>>;
921
+ standCountPerHa: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
922
+ targetStandPerHa: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
923
+ coverImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
886
924
  historicalNdvi: z.ZodOptional<z.ZodArray<z.ZodObject<{
887
925
  date: z.ZodString;
888
926
  value: z.ZodNumber;
@@ -939,6 +977,9 @@ export declare const fieldsRouter: {
939
977
  soilType: string | null;
940
978
  expectedHarvestDate: string | null;
941
979
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
980
+ standCountPerHa?: number | null | undefined;
981
+ targetStandPerHa?: number | null | undefined;
982
+ coverImage?: string | null | undefined;
942
983
  historicalNdvi?: {
943
984
  value: number;
944
985
  date: string;
@@ -970,6 +1011,9 @@ export declare const fieldsRouter: {
970
1011
  soilType: string | null;
971
1012
  expectedHarvestDate: string | null;
972
1013
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
1014
+ standCountPerHa?: number | null | undefined;
1015
+ targetStandPerHa?: number | null | undefined;
1016
+ coverImage?: string | null | undefined;
973
1017
  historicalNdvi?: {
974
1018
  value: number;
975
1019
  date: string;
@@ -1008,6 +1052,9 @@ export declare const fieldsRouter: {
1008
1052
  soilType: string | null;
1009
1053
  expectedHarvestDate: string | null;
1010
1054
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
1055
+ standCountPerHa?: number | null | undefined;
1056
+ targetStandPerHa?: number | null | undefined;
1057
+ coverImage?: string | null | undefined;
1011
1058
  historicalNdvi?: {
1012
1059
  value: number;
1013
1060
  date: string;
@@ -1046,6 +1093,9 @@ export declare const fieldsRouter: {
1046
1093
  soilType: string | null;
1047
1094
  expectedHarvestDate: string | null;
1048
1095
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
1096
+ standCountPerHa?: number | null | undefined;
1097
+ targetStandPerHa?: number | null | undefined;
1098
+ coverImage?: string | null | undefined;
1049
1099
  historicalNdvi?: {
1050
1100
  value: number;
1051
1101
  date: string;
@@ -1110,6 +1160,9 @@ export declare const fieldsRouter: {
1110
1160
  soilType: string | null;
1111
1161
  expectedHarvestDate: string | null;
1112
1162
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
1163
+ standCountPerHa?: number | null | undefined;
1164
+ targetStandPerHa?: number | null | undefined;
1165
+ coverImage?: string | null | undefined;
1113
1166
  historicalNdvi?: {
1114
1167
  value: number;
1115
1168
  date: string;
@@ -1160,6 +1213,9 @@ export declare const fieldsRouter: {
1160
1213
  soilType: string | null;
1161
1214
  expectedHarvestDate: string | null;
1162
1215
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
1216
+ standCountPerHa?: number | null | undefined;
1217
+ targetStandPerHa?: number | null | undefined;
1218
+ coverImage?: string | null | undefined;
1163
1219
  historicalNdvi?: {
1164
1220
  value: number;
1165
1221
  date: string;
@@ -1279,6 +1335,126 @@ export declare const fieldsRouter: {
1279
1335
  }[];
1280
1336
  meta?: Record<string, unknown> | undefined;
1281
1337
  }>;
1338
+ 403: z.ZodUnion<[z.ZodObject<{
1339
+ message: z.ZodString;
1340
+ code: z.ZodString;
1341
+ upgradeUrl: z.ZodOptional<z.ZodString>;
1342
+ currentLimit: z.ZodOptional<z.ZodNumber>;
1343
+ currentUsage: z.ZodOptional<z.ZodNumber>;
1344
+ limit: z.ZodOptional<z.ZodNumber>;
1345
+ resetDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
1346
+ resetTime: z.ZodOptional<z.ZodString>;
1347
+ current: z.ZodOptional<z.ZodNumber>;
1348
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1349
+ message: z.ZodString;
1350
+ code: z.ZodString;
1351
+ upgradeUrl: z.ZodOptional<z.ZodString>;
1352
+ currentLimit: z.ZodOptional<z.ZodNumber>;
1353
+ currentUsage: z.ZodOptional<z.ZodNumber>;
1354
+ limit: z.ZodOptional<z.ZodNumber>;
1355
+ resetDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
1356
+ resetTime: z.ZodOptional<z.ZodString>;
1357
+ current: z.ZodOptional<z.ZodNumber>;
1358
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1359
+ message: z.ZodString;
1360
+ code: z.ZodString;
1361
+ upgradeUrl: z.ZodOptional<z.ZodString>;
1362
+ currentLimit: z.ZodOptional<z.ZodNumber>;
1363
+ currentUsage: z.ZodOptional<z.ZodNumber>;
1364
+ limit: z.ZodOptional<z.ZodNumber>;
1365
+ resetDate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
1366
+ resetTime: z.ZodOptional<z.ZodString>;
1367
+ current: z.ZodOptional<z.ZodNumber>;
1368
+ }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
1369
+ errors: z.ZodArray<z.ZodObject<{
1370
+ id: z.ZodOptional<z.ZodString>;
1371
+ links: z.ZodOptional<z.ZodObject<{
1372
+ about: z.ZodOptional<z.ZodString>;
1373
+ }, "strip", z.ZodTypeAny, {
1374
+ about?: string | undefined;
1375
+ }, {
1376
+ about?: string | undefined;
1377
+ }>>;
1378
+ status: z.ZodOptional<z.ZodString>;
1379
+ code: z.ZodOptional<z.ZodString>;
1380
+ title: z.ZodOptional<z.ZodString>;
1381
+ detail: z.ZodOptional<z.ZodString>;
1382
+ source: z.ZodOptional<z.ZodObject<{
1383
+ pointer: z.ZodOptional<z.ZodString>;
1384
+ parameter: z.ZodOptional<z.ZodString>;
1385
+ }, "strip", z.ZodTypeAny, {
1386
+ pointer?: string | undefined;
1387
+ parameter?: string | undefined;
1388
+ }, {
1389
+ pointer?: string | undefined;
1390
+ parameter?: string | undefined;
1391
+ }>>;
1392
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1393
+ }, "strip", z.ZodTypeAny, {
1394
+ status?: string | undefined;
1395
+ code?: string | undefined;
1396
+ id?: string | undefined;
1397
+ links?: {
1398
+ about?: string | undefined;
1399
+ } | undefined;
1400
+ meta?: Record<string, unknown> | undefined;
1401
+ title?: string | undefined;
1402
+ detail?: string | undefined;
1403
+ source?: {
1404
+ pointer?: string | undefined;
1405
+ parameter?: string | undefined;
1406
+ } | undefined;
1407
+ }, {
1408
+ status?: string | undefined;
1409
+ code?: string | undefined;
1410
+ id?: string | undefined;
1411
+ links?: {
1412
+ about?: string | undefined;
1413
+ } | undefined;
1414
+ meta?: Record<string, unknown> | undefined;
1415
+ title?: string | undefined;
1416
+ detail?: string | undefined;
1417
+ source?: {
1418
+ pointer?: string | undefined;
1419
+ parameter?: string | undefined;
1420
+ } | undefined;
1421
+ }>, "many">;
1422
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1423
+ }, "strip", z.ZodTypeAny, {
1424
+ errors: {
1425
+ status?: string | undefined;
1426
+ code?: string | undefined;
1427
+ id?: string | undefined;
1428
+ links?: {
1429
+ about?: string | undefined;
1430
+ } | undefined;
1431
+ meta?: Record<string, unknown> | undefined;
1432
+ title?: string | undefined;
1433
+ detail?: string | undefined;
1434
+ source?: {
1435
+ pointer?: string | undefined;
1436
+ parameter?: string | undefined;
1437
+ } | undefined;
1438
+ }[];
1439
+ meta?: Record<string, unknown> | undefined;
1440
+ }, {
1441
+ errors: {
1442
+ status?: string | undefined;
1443
+ code?: string | undefined;
1444
+ id?: string | undefined;
1445
+ links?: {
1446
+ about?: string | undefined;
1447
+ } | undefined;
1448
+ meta?: Record<string, unknown> | undefined;
1449
+ title?: string | undefined;
1450
+ detail?: string | undefined;
1451
+ source?: {
1452
+ pointer?: string | undefined;
1453
+ parameter?: string | undefined;
1454
+ } | undefined;
1455
+ }[];
1456
+ meta?: Record<string, unknown> | undefined;
1457
+ }>]>;
1282
1458
  404: z.ZodObject<{
1283
1459
  errors: z.ZodArray<z.ZodObject<{
1284
1460
  id: z.ZodOptional<z.ZodString>;
@@ -1600,6 +1776,9 @@ export declare const fieldsRouter: {
1600
1776
  plantingDate: z.ZodNullable<z.ZodString>;
1601
1777
  expectedHarvestDate: z.ZodNullable<z.ZodString>;
1602
1778
  cropStage: z.ZodNullable<z.ZodEnum<["planted", "growing", "flowering", "mature", "harvested"]>>;
1779
+ standCountPerHa: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1780
+ targetStandPerHa: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1781
+ coverImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1603
1782
  historicalNdvi: z.ZodOptional<z.ZodArray<z.ZodObject<{
1604
1783
  date: z.ZodString;
1605
1784
  value: z.ZodNumber;
@@ -1656,6 +1835,9 @@ export declare const fieldsRouter: {
1656
1835
  soilType: string | null;
1657
1836
  expectedHarvestDate: string | null;
1658
1837
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
1838
+ standCountPerHa?: number | null | undefined;
1839
+ targetStandPerHa?: number | null | undefined;
1840
+ coverImage?: string | null | undefined;
1659
1841
  historicalNdvi?: {
1660
1842
  value: number;
1661
1843
  date: string;
@@ -1687,6 +1869,9 @@ export declare const fieldsRouter: {
1687
1869
  soilType: string | null;
1688
1870
  expectedHarvestDate: string | null;
1689
1871
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
1872
+ standCountPerHa?: number | null | undefined;
1873
+ targetStandPerHa?: number | null | undefined;
1874
+ coverImage?: string | null | undefined;
1690
1875
  historicalNdvi?: {
1691
1876
  value: number;
1692
1877
  date: string;
@@ -1920,6 +2105,9 @@ export declare const fieldsRouter: {
1920
2105
  soilType: string | null;
1921
2106
  expectedHarvestDate: string | null;
1922
2107
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
2108
+ standCountPerHa?: number | null | undefined;
2109
+ targetStandPerHa?: number | null | undefined;
2110
+ coverImage?: string | null | undefined;
1923
2111
  historicalNdvi?: {
1924
2112
  value: number;
1925
2113
  date: string;
@@ -1992,6 +2180,9 @@ export declare const fieldsRouter: {
1992
2180
  soilType: string | null;
1993
2181
  expectedHarvestDate: string | null;
1994
2182
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
2183
+ standCountPerHa?: number | null | undefined;
2184
+ targetStandPerHa?: number | null | undefined;
2185
+ coverImage?: string | null | undefined;
1995
2186
  historicalNdvi?: {
1996
2187
  value: number;
1997
2188
  date: string;
@@ -2090,6 +2281,9 @@ export declare const fieldsRouter: {
2090
2281
  soilType: string | null;
2091
2282
  expectedHarvestDate: string | null;
2092
2283
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
2284
+ standCountPerHa?: number | null | undefined;
2285
+ targetStandPerHa?: number | null | undefined;
2286
+ coverImage?: string | null | undefined;
2093
2287
  historicalNdvi?: {
2094
2288
  value: number;
2095
2289
  date: string;
@@ -2174,6 +2368,9 @@ export declare const fieldsRouter: {
2174
2368
  soilType: string | null;
2175
2369
  expectedHarvestDate: string | null;
2176
2370
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
2371
+ standCountPerHa?: number | null | undefined;
2372
+ targetStandPerHa?: number | null | undefined;
2373
+ coverImage?: string | null | undefined;
2177
2374
  historicalNdvi?: {
2178
2375
  value: number;
2179
2376
  date: string;
@@ -2459,6 +2656,8 @@ export declare const fieldsRouter: {
2459
2656
  plantingDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2460
2657
  expectedHarvestDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2461
2658
  cropStage: z.ZodOptional<z.ZodNullable<z.ZodEnum<["planted", "growing", "flowering", "mature", "harvested"]>>>;
2659
+ standCountPerHa: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2660
+ targetStandPerHa: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2462
2661
  cropHistory: z.ZodOptional<z.ZodArray<z.ZodObject<{
2463
2662
  id: z.ZodString;
2464
2663
  season: z.ZodString;
@@ -2484,6 +2683,7 @@ export declare const fieldsRouter: {
2484
2683
  yield: number | null;
2485
2684
  yieldUnit: string | null;
2486
2685
  }>, "many">>;
2686
+ coverImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2487
2687
  }, "strip", z.ZodTypeAny, {
2488
2688
  name?: string | undefined;
2489
2689
  crop?: string | undefined;
@@ -2499,6 +2699,9 @@ export declare const fieldsRouter: {
2499
2699
  soilType?: string | undefined;
2500
2700
  expectedHarvestDate?: string | null | undefined;
2501
2701
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
2702
+ standCountPerHa?: number | null | undefined;
2703
+ targetStandPerHa?: number | null | undefined;
2704
+ coverImage?: string | null | undefined;
2502
2705
  cropHistory?: {
2503
2706
  id: string;
2504
2707
  crop: string;
@@ -2523,6 +2726,9 @@ export declare const fieldsRouter: {
2523
2726
  soilType?: string | undefined;
2524
2727
  expectedHarvestDate?: string | null | undefined;
2525
2728
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
2729
+ standCountPerHa?: number | null | undefined;
2730
+ targetStandPerHa?: number | null | undefined;
2731
+ coverImage?: string | null | undefined;
2526
2732
  cropHistory?: {
2527
2733
  id: string;
2528
2734
  crop: string;
@@ -2551,6 +2757,9 @@ export declare const fieldsRouter: {
2551
2757
  soilType?: string | undefined;
2552
2758
  expectedHarvestDate?: string | null | undefined;
2553
2759
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
2760
+ standCountPerHa?: number | null | undefined;
2761
+ targetStandPerHa?: number | null | undefined;
2762
+ coverImage?: string | null | undefined;
2554
2763
  cropHistory?: {
2555
2764
  id: string;
2556
2765
  crop: string;
@@ -2579,6 +2788,9 @@ export declare const fieldsRouter: {
2579
2788
  soilType?: string | undefined;
2580
2789
  expectedHarvestDate?: string | null | undefined;
2581
2790
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
2791
+ standCountPerHa?: number | null | undefined;
2792
+ targetStandPerHa?: number | null | undefined;
2793
+ coverImage?: string | null | undefined;
2582
2794
  cropHistory?: {
2583
2795
  id: string;
2584
2796
  crop: string;
@@ -2609,6 +2821,9 @@ export declare const fieldsRouter: {
2609
2821
  soilType?: string | undefined;
2610
2822
  expectedHarvestDate?: string | null | undefined;
2611
2823
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
2824
+ standCountPerHa?: number | null | undefined;
2825
+ targetStandPerHa?: number | null | undefined;
2826
+ coverImage?: string | null | undefined;
2612
2827
  cropHistory?: {
2613
2828
  id: string;
2614
2829
  crop: string;
@@ -2639,6 +2854,9 @@ export declare const fieldsRouter: {
2639
2854
  soilType?: string | undefined;
2640
2855
  expectedHarvestDate?: string | null | undefined;
2641
2856
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | null | undefined;
2857
+ standCountPerHa?: number | null | undefined;
2858
+ targetStandPerHa?: number | null | undefined;
2859
+ coverImage?: string | null | undefined;
2642
2860
  cropHistory?: {
2643
2861
  id: string;
2644
2862
  crop: string;
@@ -2679,6 +2897,9 @@ export declare const fieldsRouter: {
2679
2897
  plantingDate: z.ZodNullable<z.ZodString>;
2680
2898
  expectedHarvestDate: z.ZodNullable<z.ZodString>;
2681
2899
  cropStage: z.ZodNullable<z.ZodEnum<["planted", "growing", "flowering", "mature", "harvested"]>>;
2900
+ standCountPerHa: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2901
+ targetStandPerHa: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2902
+ coverImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2682
2903
  historicalNdvi: z.ZodOptional<z.ZodArray<z.ZodObject<{
2683
2904
  date: z.ZodString;
2684
2905
  value: z.ZodNumber;
@@ -2735,6 +2956,9 @@ export declare const fieldsRouter: {
2735
2956
  soilType: string | null;
2736
2957
  expectedHarvestDate: string | null;
2737
2958
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
2959
+ standCountPerHa?: number | null | undefined;
2960
+ targetStandPerHa?: number | null | undefined;
2961
+ coverImage?: string | null | undefined;
2738
2962
  historicalNdvi?: {
2739
2963
  value: number;
2740
2964
  date: string;
@@ -2766,6 +2990,9 @@ export declare const fieldsRouter: {
2766
2990
  soilType: string | null;
2767
2991
  expectedHarvestDate: string | null;
2768
2992
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
2993
+ standCountPerHa?: number | null | undefined;
2994
+ targetStandPerHa?: number | null | undefined;
2995
+ coverImage?: string | null | undefined;
2769
2996
  historicalNdvi?: {
2770
2997
  value: number;
2771
2998
  date: string;
@@ -2804,6 +3031,9 @@ export declare const fieldsRouter: {
2804
3031
  soilType: string | null;
2805
3032
  expectedHarvestDate: string | null;
2806
3033
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
3034
+ standCountPerHa?: number | null | undefined;
3035
+ targetStandPerHa?: number | null | undefined;
3036
+ coverImage?: string | null | undefined;
2807
3037
  historicalNdvi?: {
2808
3038
  value: number;
2809
3039
  date: string;
@@ -2842,6 +3072,9 @@ export declare const fieldsRouter: {
2842
3072
  soilType: string | null;
2843
3073
  expectedHarvestDate: string | null;
2844
3074
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
3075
+ standCountPerHa?: number | null | undefined;
3076
+ targetStandPerHa?: number | null | undefined;
3077
+ coverImage?: string | null | undefined;
2845
3078
  historicalNdvi?: {
2846
3079
  value: number;
2847
3080
  date: string;
@@ -2906,6 +3139,9 @@ export declare const fieldsRouter: {
2906
3139
  soilType: string | null;
2907
3140
  expectedHarvestDate: string | null;
2908
3141
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
3142
+ standCountPerHa?: number | null | undefined;
3143
+ targetStandPerHa?: number | null | undefined;
3144
+ coverImage?: string | null | undefined;
2909
3145
  historicalNdvi?: {
2910
3146
  value: number;
2911
3147
  date: string;
@@ -2956,6 +3192,9 @@ export declare const fieldsRouter: {
2956
3192
  soilType: string | null;
2957
3193
  expectedHarvestDate: string | null;
2958
3194
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
3195
+ standCountPerHa?: number | null | undefined;
3196
+ targetStandPerHa?: number | null | undefined;
3197
+ coverImage?: string | null | undefined;
2959
3198
  historicalNdvi?: {
2960
3199
  value: number;
2961
3200
  date: string;
@@ -3371,11 +3610,15 @@ export declare const fieldsRouter: {
3371
3610
  variety: z.ZodOptional<z.ZodString>;
3372
3611
  notes: z.ZodOptional<z.ZodString>;
3373
3612
  cropStage: z.ZodOptional<z.ZodEnum<["planted", "growing", "flowering", "mature", "harvested"]>>;
3613
+ standCountPerHa: z.ZodOptional<z.ZodNumber>;
3614
+ targetStandPerHa: z.ZodOptional<z.ZodNumber>;
3374
3615
  }, "strip", z.ZodTypeAny, {
3375
3616
  currentCrop: string;
3376
3617
  plantingDate: string;
3377
3618
  expectedHarvestDate?: string | undefined;
3378
3619
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
3620
+ standCountPerHa?: number | undefined;
3621
+ targetStandPerHa?: number | undefined;
3379
3622
  variety?: string | undefined;
3380
3623
  notes?: string | undefined;
3381
3624
  }, {
@@ -3383,6 +3626,8 @@ export declare const fieldsRouter: {
3383
3626
  plantingDate: string;
3384
3627
  expectedHarvestDate?: string | undefined;
3385
3628
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
3629
+ standCountPerHa?: number | undefined;
3630
+ targetStandPerHa?: number | undefined;
3386
3631
  variety?: string | undefined;
3387
3632
  notes?: string | undefined;
3388
3633
  }>;
@@ -3393,6 +3638,8 @@ export declare const fieldsRouter: {
3393
3638
  plantingDate: string;
3394
3639
  expectedHarvestDate?: string | undefined;
3395
3640
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
3641
+ standCountPerHa?: number | undefined;
3642
+ targetStandPerHa?: number | undefined;
3396
3643
  variety?: string | undefined;
3397
3644
  notes?: string | undefined;
3398
3645
  };
@@ -3403,6 +3650,8 @@ export declare const fieldsRouter: {
3403
3650
  plantingDate: string;
3404
3651
  expectedHarvestDate?: string | undefined;
3405
3652
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
3653
+ standCountPerHa?: number | undefined;
3654
+ targetStandPerHa?: number | undefined;
3406
3655
  variety?: string | undefined;
3407
3656
  notes?: string | undefined;
3408
3657
  };
@@ -3415,6 +3664,8 @@ export declare const fieldsRouter: {
3415
3664
  plantingDate: string;
3416
3665
  expectedHarvestDate?: string | undefined;
3417
3666
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
3667
+ standCountPerHa?: number | undefined;
3668
+ targetStandPerHa?: number | undefined;
3418
3669
  variety?: string | undefined;
3419
3670
  notes?: string | undefined;
3420
3671
  };
@@ -3427,6 +3678,8 @@ export declare const fieldsRouter: {
3427
3678
  plantingDate: string;
3428
3679
  expectedHarvestDate?: string | undefined;
3429
3680
  cropStage?: "planted" | "growing" | "flowering" | "mature" | "harvested" | undefined;
3681
+ standCountPerHa?: number | undefined;
3682
+ targetStandPerHa?: number | undefined;
3430
3683
  variety?: string | undefined;
3431
3684
  notes?: string | undefined;
3432
3685
  };
@@ -3460,6 +3713,9 @@ export declare const fieldsRouter: {
3460
3713
  plantingDate: z.ZodNullable<z.ZodString>;
3461
3714
  expectedHarvestDate: z.ZodNullable<z.ZodString>;
3462
3715
  cropStage: z.ZodNullable<z.ZodEnum<["planted", "growing", "flowering", "mature", "harvested"]>>;
3716
+ standCountPerHa: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3717
+ targetStandPerHa: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3718
+ coverImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3463
3719
  historicalNdvi: z.ZodOptional<z.ZodArray<z.ZodObject<{
3464
3720
  date: z.ZodString;
3465
3721
  value: z.ZodNumber;
@@ -3516,6 +3772,9 @@ export declare const fieldsRouter: {
3516
3772
  soilType: string | null;
3517
3773
  expectedHarvestDate: string | null;
3518
3774
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
3775
+ standCountPerHa?: number | null | undefined;
3776
+ targetStandPerHa?: number | null | undefined;
3777
+ coverImage?: string | null | undefined;
3519
3778
  historicalNdvi?: {
3520
3779
  value: number;
3521
3780
  date: string;
@@ -3547,6 +3806,9 @@ export declare const fieldsRouter: {
3547
3806
  soilType: string | null;
3548
3807
  expectedHarvestDate: string | null;
3549
3808
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
3809
+ standCountPerHa?: number | null | undefined;
3810
+ targetStandPerHa?: number | null | undefined;
3811
+ coverImage?: string | null | undefined;
3550
3812
  historicalNdvi?: {
3551
3813
  value: number;
3552
3814
  date: string;
@@ -3585,6 +3847,9 @@ export declare const fieldsRouter: {
3585
3847
  soilType: string | null;
3586
3848
  expectedHarvestDate: string | null;
3587
3849
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
3850
+ standCountPerHa?: number | null | undefined;
3851
+ targetStandPerHa?: number | null | undefined;
3852
+ coverImage?: string | null | undefined;
3588
3853
  historicalNdvi?: {
3589
3854
  value: number;
3590
3855
  date: string;
@@ -3623,6 +3888,9 @@ export declare const fieldsRouter: {
3623
3888
  soilType: string | null;
3624
3889
  expectedHarvestDate: string | null;
3625
3890
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
3891
+ standCountPerHa?: number | null | undefined;
3892
+ targetStandPerHa?: number | null | undefined;
3893
+ coverImage?: string | null | undefined;
3626
3894
  historicalNdvi?: {
3627
3895
  value: number;
3628
3896
  date: string;
@@ -3687,6 +3955,9 @@ export declare const fieldsRouter: {
3687
3955
  soilType: string | null;
3688
3956
  expectedHarvestDate: string | null;
3689
3957
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
3958
+ standCountPerHa?: number | null | undefined;
3959
+ targetStandPerHa?: number | null | undefined;
3960
+ coverImage?: string | null | undefined;
3690
3961
  historicalNdvi?: {
3691
3962
  value: number;
3692
3963
  date: string;
@@ -3737,6 +4008,9 @@ export declare const fieldsRouter: {
3737
4008
  soilType: string | null;
3738
4009
  expectedHarvestDate: string | null;
3739
4010
  cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
4011
+ standCountPerHa?: number | null | undefined;
4012
+ targetStandPerHa?: number | null | undefined;
4013
+ coverImage?: string | null | undefined;
3740
4014
  historicalNdvi?: {
3741
4015
  value: number;
3742
4016
  date: string;
@@ -4804,5 +5078,654 @@ export declare const fieldsRouter: {
4804
5078
  }>;
4805
5079
  };
4806
5080
  };
5081
+ uploadFieldCover: {
5082
+ pathParams: z.ZodObject<{
5083
+ farmId: z.ZodString;
5084
+ id: z.ZodString;
5085
+ }, "strip", z.ZodTypeAny, {
5086
+ id: string;
5087
+ farmId: string;
5088
+ }, {
5089
+ id: string;
5090
+ farmId: string;
5091
+ }>;
5092
+ summary: "Upload field cover image";
5093
+ description: "Upload a custom cover photo for a field card. Stores a proxy URL on coverImage.";
5094
+ method: "POST";
5095
+ contentType: "multipart/form-data";
5096
+ body: z.ZodUnion<[z.ZodObject<{
5097
+ file: z.ZodAny;
5098
+ }, "strip", z.ZodTypeAny, {
5099
+ file?: any;
5100
+ }, {
5101
+ file?: any;
5102
+ }>, z.ZodUndefined]>;
5103
+ path: "/farms/:farmId/fields/:id/cover";
5104
+ responses: {
5105
+ 200: z.ZodObject<{
5106
+ data: z.ZodObject<{
5107
+ type: z.ZodLiteral<string>;
5108
+ id: z.ZodString;
5109
+ attributes: z.ZodObject<{
5110
+ name: z.ZodString;
5111
+ geometry: z.ZodNullable<z.ZodObject<{
5112
+ type: z.ZodEnum<["Polygon", "MultiPolygon", "Point", "LineString"]>;
5113
+ 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">]>;
5114
+ }, "strip", z.ZodTypeAny, {
5115
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
5116
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
5117
+ }, {
5118
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
5119
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
5120
+ }>>;
5121
+ ndvi: z.ZodNullable<z.ZodNumber>;
5122
+ moisture: z.ZodNullable<z.ZodString>;
5123
+ status: z.ZodEnum<["ok", "alert", "critical"]>;
5124
+ area: z.ZodNullable<z.ZodString>;
5125
+ crop: z.ZodNullable<z.ZodString>;
5126
+ soilType: z.ZodNullable<z.ZodString>;
5127
+ currentCrop: z.ZodNullable<z.ZodString>;
5128
+ plantingDate: z.ZodNullable<z.ZodString>;
5129
+ expectedHarvestDate: z.ZodNullable<z.ZodString>;
5130
+ cropStage: z.ZodNullable<z.ZodEnum<["planted", "growing", "flowering", "mature", "harvested"]>>;
5131
+ standCountPerHa: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5132
+ targetStandPerHa: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5133
+ coverImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5134
+ historicalNdvi: z.ZodOptional<z.ZodArray<z.ZodObject<{
5135
+ date: z.ZodString;
5136
+ value: z.ZodNumber;
5137
+ }, "strip", z.ZodTypeAny, {
5138
+ value: number;
5139
+ date: string;
5140
+ }, {
5141
+ value: number;
5142
+ date: string;
5143
+ }>, "many">>;
5144
+ cropHistory: z.ZodOptional<z.ZodArray<z.ZodObject<{
5145
+ id: z.ZodString;
5146
+ season: z.ZodString;
5147
+ crop: z.ZodString;
5148
+ plantingDate: z.ZodString;
5149
+ harvestDate: z.ZodNullable<z.ZodString>;
5150
+ yield: z.ZodNullable<z.ZodNumber>;
5151
+ yieldUnit: z.ZodNullable<z.ZodString>;
5152
+ }, "strip", z.ZodTypeAny, {
5153
+ id: string;
5154
+ crop: string;
5155
+ season: string;
5156
+ plantingDate: string;
5157
+ harvestDate: string | null;
5158
+ yield: number | null;
5159
+ yieldUnit: string | null;
5160
+ }, {
5161
+ id: string;
5162
+ crop: string;
5163
+ season: string;
5164
+ plantingDate: string;
5165
+ harvestDate: string | null;
5166
+ yield: number | null;
5167
+ yieldUnit: string | null;
5168
+ }>, "many">>;
5169
+ } & {
5170
+ createdAt: z.ZodString;
5171
+ updatedAt: z.ZodString;
5172
+ }, "strip", z.ZodTypeAny, {
5173
+ status: "ok" | "alert" | "critical";
5174
+ createdAt: string;
5175
+ updatedAt: string;
5176
+ name: string;
5177
+ crop: string | null;
5178
+ geometry: {
5179
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
5180
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
5181
+ } | null;
5182
+ area: string | null;
5183
+ currentCrop: string | null;
5184
+ plantingDate: string | null;
5185
+ ndvi: number | null;
5186
+ moisture: string | null;
5187
+ soilType: string | null;
5188
+ expectedHarvestDate: string | null;
5189
+ cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
5190
+ standCountPerHa?: number | null | undefined;
5191
+ targetStandPerHa?: number | null | undefined;
5192
+ coverImage?: string | null | undefined;
5193
+ historicalNdvi?: {
5194
+ value: number;
5195
+ date: string;
5196
+ }[] | undefined;
5197
+ cropHistory?: {
5198
+ id: string;
5199
+ crop: string;
5200
+ season: string;
5201
+ plantingDate: string;
5202
+ harvestDate: string | null;
5203
+ yield: number | null;
5204
+ yieldUnit: string | null;
5205
+ }[] | undefined;
5206
+ }, {
5207
+ status: "ok" | "alert" | "critical";
5208
+ createdAt: string;
5209
+ updatedAt: string;
5210
+ name: string;
5211
+ crop: string | null;
5212
+ geometry: {
5213
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
5214
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
5215
+ } | null;
5216
+ area: string | null;
5217
+ currentCrop: string | null;
5218
+ plantingDate: string | null;
5219
+ ndvi: number | null;
5220
+ moisture: string | null;
5221
+ soilType: string | null;
5222
+ expectedHarvestDate: string | null;
5223
+ cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
5224
+ standCountPerHa?: number | null | undefined;
5225
+ targetStandPerHa?: number | null | undefined;
5226
+ coverImage?: string | null | undefined;
5227
+ historicalNdvi?: {
5228
+ value: number;
5229
+ date: string;
5230
+ }[] | undefined;
5231
+ cropHistory?: {
5232
+ id: string;
5233
+ crop: string;
5234
+ season: string;
5235
+ plantingDate: string;
5236
+ harvestDate: string | null;
5237
+ yield: number | null;
5238
+ yieldUnit: string | null;
5239
+ }[] | undefined;
5240
+ }>;
5241
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5242
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5243
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5244
+ }, "strip", z.ZodTypeAny, {
5245
+ type: string;
5246
+ id: string;
5247
+ attributes: {
5248
+ status: "ok" | "alert" | "critical";
5249
+ createdAt: string;
5250
+ updatedAt: string;
5251
+ name: string;
5252
+ crop: string | null;
5253
+ geometry: {
5254
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
5255
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
5256
+ } | null;
5257
+ area: string | null;
5258
+ currentCrop: string | null;
5259
+ plantingDate: string | null;
5260
+ ndvi: number | null;
5261
+ moisture: string | null;
5262
+ soilType: string | null;
5263
+ expectedHarvestDate: string | null;
5264
+ cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
5265
+ standCountPerHa?: number | null | undefined;
5266
+ targetStandPerHa?: number | null | undefined;
5267
+ coverImage?: string | null | undefined;
5268
+ historicalNdvi?: {
5269
+ value: number;
5270
+ date: string;
5271
+ }[] | undefined;
5272
+ cropHistory?: {
5273
+ id: string;
5274
+ crop: string;
5275
+ season: string;
5276
+ plantingDate: string;
5277
+ harvestDate: string | null;
5278
+ yield: number | null;
5279
+ yieldUnit: string | null;
5280
+ }[] | undefined;
5281
+ };
5282
+ relationships?: Record<string, unknown> | undefined;
5283
+ links?: Record<string, string> | undefined;
5284
+ meta?: Record<string, unknown> | undefined;
5285
+ }, {
5286
+ type: string;
5287
+ id: string;
5288
+ attributes: {
5289
+ status: "ok" | "alert" | "critical";
5290
+ createdAt: string;
5291
+ updatedAt: string;
5292
+ name: string;
5293
+ crop: string | null;
5294
+ geometry: {
5295
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
5296
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
5297
+ } | null;
5298
+ area: string | null;
5299
+ currentCrop: string | null;
5300
+ plantingDate: string | null;
5301
+ ndvi: number | null;
5302
+ moisture: string | null;
5303
+ soilType: string | null;
5304
+ expectedHarvestDate: string | null;
5305
+ cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
5306
+ standCountPerHa?: number | null | undefined;
5307
+ targetStandPerHa?: number | null | undefined;
5308
+ coverImage?: string | null | undefined;
5309
+ historicalNdvi?: {
5310
+ value: number;
5311
+ date: string;
5312
+ }[] | undefined;
5313
+ cropHistory?: {
5314
+ id: string;
5315
+ crop: string;
5316
+ season: string;
5317
+ plantingDate: string;
5318
+ harvestDate: string | null;
5319
+ yield: number | null;
5320
+ yieldUnit: string | null;
5321
+ }[] | undefined;
5322
+ };
5323
+ relationships?: Record<string, unknown> | undefined;
5324
+ links?: Record<string, string> | undefined;
5325
+ meta?: Record<string, unknown> | undefined;
5326
+ }>;
5327
+ included: z.ZodOptional<z.ZodArray<z.ZodObject<{
5328
+ type: z.ZodString;
5329
+ id: z.ZodString;
5330
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5331
+ relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5332
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5333
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5334
+ }, "strip", z.ZodTypeAny, {
5335
+ type: string;
5336
+ id: string;
5337
+ attributes?: Record<string, unknown> | undefined;
5338
+ relationships?: Record<string, unknown> | undefined;
5339
+ links?: Record<string, string> | undefined;
5340
+ meta?: Record<string, unknown> | undefined;
5341
+ }, {
5342
+ type: string;
5343
+ id: string;
5344
+ attributes?: Record<string, unknown> | undefined;
5345
+ relationships?: Record<string, unknown> | undefined;
5346
+ links?: Record<string, string> | undefined;
5347
+ meta?: Record<string, unknown> | undefined;
5348
+ }>, "many">>;
5349
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5350
+ links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5351
+ }, "strip", z.ZodTypeAny, {
5352
+ data: {
5353
+ type: string;
5354
+ id: string;
5355
+ attributes: {
5356
+ status: "ok" | "alert" | "critical";
5357
+ createdAt: string;
5358
+ updatedAt: string;
5359
+ name: string;
5360
+ crop: string | null;
5361
+ geometry: {
5362
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
5363
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
5364
+ } | null;
5365
+ area: string | null;
5366
+ currentCrop: string | null;
5367
+ plantingDate: string | null;
5368
+ ndvi: number | null;
5369
+ moisture: string | null;
5370
+ soilType: string | null;
5371
+ expectedHarvestDate: string | null;
5372
+ cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
5373
+ standCountPerHa?: number | null | undefined;
5374
+ targetStandPerHa?: number | null | undefined;
5375
+ coverImage?: string | null | undefined;
5376
+ historicalNdvi?: {
5377
+ value: number;
5378
+ date: string;
5379
+ }[] | undefined;
5380
+ cropHistory?: {
5381
+ id: string;
5382
+ crop: string;
5383
+ season: string;
5384
+ plantingDate: string;
5385
+ harvestDate: string | null;
5386
+ yield: number | null;
5387
+ yieldUnit: string | null;
5388
+ }[] | undefined;
5389
+ };
5390
+ relationships?: Record<string, unknown> | undefined;
5391
+ links?: Record<string, string> | undefined;
5392
+ meta?: Record<string, unknown> | undefined;
5393
+ };
5394
+ links?: Record<string, string> | undefined;
5395
+ meta?: Record<string, unknown> | undefined;
5396
+ included?: {
5397
+ type: string;
5398
+ id: string;
5399
+ attributes?: Record<string, unknown> | undefined;
5400
+ relationships?: Record<string, unknown> | undefined;
5401
+ links?: Record<string, string> | undefined;
5402
+ meta?: Record<string, unknown> | undefined;
5403
+ }[] | undefined;
5404
+ }, {
5405
+ data: {
5406
+ type: string;
5407
+ id: string;
5408
+ attributes: {
5409
+ status: "ok" | "alert" | "critical";
5410
+ createdAt: string;
5411
+ updatedAt: string;
5412
+ name: string;
5413
+ crop: string | null;
5414
+ geometry: {
5415
+ type: "Polygon" | "MultiPolygon" | "Point" | "LineString";
5416
+ coordinates: number[] | number[][] | number[][][] | number[][][][];
5417
+ } | null;
5418
+ area: string | null;
5419
+ currentCrop: string | null;
5420
+ plantingDate: string | null;
5421
+ ndvi: number | null;
5422
+ moisture: string | null;
5423
+ soilType: string | null;
5424
+ expectedHarvestDate: string | null;
5425
+ cropStage: "planted" | "growing" | "flowering" | "mature" | "harvested" | null;
5426
+ standCountPerHa?: number | null | undefined;
5427
+ targetStandPerHa?: number | null | undefined;
5428
+ coverImage?: string | null | undefined;
5429
+ historicalNdvi?: {
5430
+ value: number;
5431
+ date: string;
5432
+ }[] | undefined;
5433
+ cropHistory?: {
5434
+ id: string;
5435
+ crop: string;
5436
+ season: string;
5437
+ plantingDate: string;
5438
+ harvestDate: string | null;
5439
+ yield: number | null;
5440
+ yieldUnit: string | null;
5441
+ }[] | undefined;
5442
+ };
5443
+ relationships?: Record<string, unknown> | undefined;
5444
+ links?: Record<string, string> | undefined;
5445
+ meta?: Record<string, unknown> | undefined;
5446
+ };
5447
+ links?: Record<string, string> | undefined;
5448
+ meta?: Record<string, unknown> | undefined;
5449
+ included?: {
5450
+ type: string;
5451
+ id: string;
5452
+ attributes?: Record<string, unknown> | undefined;
5453
+ relationships?: Record<string, unknown> | undefined;
5454
+ links?: Record<string, string> | undefined;
5455
+ meta?: Record<string, unknown> | undefined;
5456
+ }[] | undefined;
5457
+ }>;
5458
+ 400: z.ZodObject<{
5459
+ errors: z.ZodArray<z.ZodObject<{
5460
+ id: z.ZodOptional<z.ZodString>;
5461
+ links: z.ZodOptional<z.ZodObject<{
5462
+ about: z.ZodOptional<z.ZodString>;
5463
+ }, "strip", z.ZodTypeAny, {
5464
+ about?: string | undefined;
5465
+ }, {
5466
+ about?: string | undefined;
5467
+ }>>;
5468
+ status: z.ZodOptional<z.ZodString>;
5469
+ code: z.ZodOptional<z.ZodString>;
5470
+ title: z.ZodOptional<z.ZodString>;
5471
+ detail: z.ZodOptional<z.ZodString>;
5472
+ source: z.ZodOptional<z.ZodObject<{
5473
+ pointer: z.ZodOptional<z.ZodString>;
5474
+ parameter: z.ZodOptional<z.ZodString>;
5475
+ }, "strip", z.ZodTypeAny, {
5476
+ pointer?: string | undefined;
5477
+ parameter?: string | undefined;
5478
+ }, {
5479
+ pointer?: string | undefined;
5480
+ parameter?: string | undefined;
5481
+ }>>;
5482
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5483
+ }, "strip", z.ZodTypeAny, {
5484
+ status?: string | undefined;
5485
+ code?: string | undefined;
5486
+ id?: string | undefined;
5487
+ links?: {
5488
+ about?: string | undefined;
5489
+ } | undefined;
5490
+ meta?: Record<string, unknown> | undefined;
5491
+ title?: string | undefined;
5492
+ detail?: string | undefined;
5493
+ source?: {
5494
+ pointer?: string | undefined;
5495
+ parameter?: string | undefined;
5496
+ } | undefined;
5497
+ }, {
5498
+ status?: string | undefined;
5499
+ code?: string | undefined;
5500
+ id?: string | undefined;
5501
+ links?: {
5502
+ about?: string | undefined;
5503
+ } | undefined;
5504
+ meta?: Record<string, unknown> | undefined;
5505
+ title?: string | undefined;
5506
+ detail?: string | undefined;
5507
+ source?: {
5508
+ pointer?: string | undefined;
5509
+ parameter?: string | undefined;
5510
+ } | undefined;
5511
+ }>, "many">;
5512
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5513
+ }, "strip", z.ZodTypeAny, {
5514
+ errors: {
5515
+ status?: string | undefined;
5516
+ code?: string | undefined;
5517
+ id?: string | undefined;
5518
+ links?: {
5519
+ about?: string | undefined;
5520
+ } | undefined;
5521
+ meta?: Record<string, unknown> | undefined;
5522
+ title?: string | undefined;
5523
+ detail?: string | undefined;
5524
+ source?: {
5525
+ pointer?: string | undefined;
5526
+ parameter?: string | undefined;
5527
+ } | undefined;
5528
+ }[];
5529
+ meta?: Record<string, unknown> | undefined;
5530
+ }, {
5531
+ errors: {
5532
+ status?: string | undefined;
5533
+ code?: string | undefined;
5534
+ id?: string | undefined;
5535
+ links?: {
5536
+ about?: string | undefined;
5537
+ } | undefined;
5538
+ meta?: Record<string, unknown> | undefined;
5539
+ title?: string | undefined;
5540
+ detail?: string | undefined;
5541
+ source?: {
5542
+ pointer?: string | undefined;
5543
+ parameter?: string | undefined;
5544
+ } | undefined;
5545
+ }[];
5546
+ meta?: Record<string, unknown> | undefined;
5547
+ }>;
5548
+ 404: z.ZodObject<{
5549
+ errors: z.ZodArray<z.ZodObject<{
5550
+ id: z.ZodOptional<z.ZodString>;
5551
+ links: z.ZodOptional<z.ZodObject<{
5552
+ about: z.ZodOptional<z.ZodString>;
5553
+ }, "strip", z.ZodTypeAny, {
5554
+ about?: string | undefined;
5555
+ }, {
5556
+ about?: string | undefined;
5557
+ }>>;
5558
+ status: z.ZodOptional<z.ZodString>;
5559
+ code: z.ZodOptional<z.ZodString>;
5560
+ title: z.ZodOptional<z.ZodString>;
5561
+ detail: z.ZodOptional<z.ZodString>;
5562
+ source: z.ZodOptional<z.ZodObject<{
5563
+ pointer: z.ZodOptional<z.ZodString>;
5564
+ parameter: z.ZodOptional<z.ZodString>;
5565
+ }, "strip", z.ZodTypeAny, {
5566
+ pointer?: string | undefined;
5567
+ parameter?: string | undefined;
5568
+ }, {
5569
+ pointer?: string | undefined;
5570
+ parameter?: string | undefined;
5571
+ }>>;
5572
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5573
+ }, "strip", z.ZodTypeAny, {
5574
+ status?: string | undefined;
5575
+ code?: string | undefined;
5576
+ id?: string | undefined;
5577
+ links?: {
5578
+ about?: string | undefined;
5579
+ } | undefined;
5580
+ meta?: Record<string, unknown> | undefined;
5581
+ title?: string | undefined;
5582
+ detail?: string | undefined;
5583
+ source?: {
5584
+ pointer?: string | undefined;
5585
+ parameter?: string | undefined;
5586
+ } | undefined;
5587
+ }, {
5588
+ status?: string | undefined;
5589
+ code?: string | undefined;
5590
+ id?: string | undefined;
5591
+ links?: {
5592
+ about?: string | undefined;
5593
+ } | undefined;
5594
+ meta?: Record<string, unknown> | undefined;
5595
+ title?: string | undefined;
5596
+ detail?: string | undefined;
5597
+ source?: {
5598
+ pointer?: string | undefined;
5599
+ parameter?: string | undefined;
5600
+ } | undefined;
5601
+ }>, "many">;
5602
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5603
+ }, "strip", z.ZodTypeAny, {
5604
+ errors: {
5605
+ status?: string | undefined;
5606
+ code?: string | undefined;
5607
+ id?: string | undefined;
5608
+ links?: {
5609
+ about?: string | undefined;
5610
+ } | undefined;
5611
+ meta?: Record<string, unknown> | undefined;
5612
+ title?: string | undefined;
5613
+ detail?: string | undefined;
5614
+ source?: {
5615
+ pointer?: string | undefined;
5616
+ parameter?: string | undefined;
5617
+ } | undefined;
5618
+ }[];
5619
+ meta?: Record<string, unknown> | undefined;
5620
+ }, {
5621
+ errors: {
5622
+ status?: string | undefined;
5623
+ code?: string | undefined;
5624
+ id?: string | undefined;
5625
+ links?: {
5626
+ about?: string | undefined;
5627
+ } | undefined;
5628
+ meta?: Record<string, unknown> | undefined;
5629
+ title?: string | undefined;
5630
+ detail?: string | undefined;
5631
+ source?: {
5632
+ pointer?: string | undefined;
5633
+ parameter?: string | undefined;
5634
+ } | undefined;
5635
+ }[];
5636
+ meta?: Record<string, unknown> | undefined;
5637
+ }>;
5638
+ 401: z.ZodObject<{
5639
+ errors: z.ZodArray<z.ZodObject<{
5640
+ id: z.ZodOptional<z.ZodString>;
5641
+ links: z.ZodOptional<z.ZodObject<{
5642
+ about: z.ZodOptional<z.ZodString>;
5643
+ }, "strip", z.ZodTypeAny, {
5644
+ about?: string | undefined;
5645
+ }, {
5646
+ about?: string | undefined;
5647
+ }>>;
5648
+ status: z.ZodOptional<z.ZodString>;
5649
+ code: z.ZodOptional<z.ZodString>;
5650
+ title: z.ZodOptional<z.ZodString>;
5651
+ detail: z.ZodOptional<z.ZodString>;
5652
+ source: z.ZodOptional<z.ZodObject<{
5653
+ pointer: z.ZodOptional<z.ZodString>;
5654
+ parameter: z.ZodOptional<z.ZodString>;
5655
+ }, "strip", z.ZodTypeAny, {
5656
+ pointer?: string | undefined;
5657
+ parameter?: string | undefined;
5658
+ }, {
5659
+ pointer?: string | undefined;
5660
+ parameter?: string | undefined;
5661
+ }>>;
5662
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5663
+ }, "strip", z.ZodTypeAny, {
5664
+ status?: string | undefined;
5665
+ code?: string | undefined;
5666
+ id?: string | undefined;
5667
+ links?: {
5668
+ about?: string | undefined;
5669
+ } | undefined;
5670
+ meta?: Record<string, unknown> | undefined;
5671
+ title?: string | undefined;
5672
+ detail?: string | undefined;
5673
+ source?: {
5674
+ pointer?: string | undefined;
5675
+ parameter?: string | undefined;
5676
+ } | undefined;
5677
+ }, {
5678
+ status?: string | undefined;
5679
+ code?: string | undefined;
5680
+ id?: string | undefined;
5681
+ links?: {
5682
+ about?: string | undefined;
5683
+ } | undefined;
5684
+ meta?: Record<string, unknown> | undefined;
5685
+ title?: string | undefined;
5686
+ detail?: string | undefined;
5687
+ source?: {
5688
+ pointer?: string | undefined;
5689
+ parameter?: string | undefined;
5690
+ } | undefined;
5691
+ }>, "many">;
5692
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5693
+ }, "strip", z.ZodTypeAny, {
5694
+ errors: {
5695
+ status?: string | undefined;
5696
+ code?: string | undefined;
5697
+ id?: string | undefined;
5698
+ links?: {
5699
+ about?: string | undefined;
5700
+ } | undefined;
5701
+ meta?: Record<string, unknown> | undefined;
5702
+ title?: string | undefined;
5703
+ detail?: string | undefined;
5704
+ source?: {
5705
+ pointer?: string | undefined;
5706
+ parameter?: string | undefined;
5707
+ } | undefined;
5708
+ }[];
5709
+ meta?: Record<string, unknown> | undefined;
5710
+ }, {
5711
+ errors: {
5712
+ status?: string | undefined;
5713
+ code?: string | undefined;
5714
+ id?: string | undefined;
5715
+ links?: {
5716
+ about?: string | undefined;
5717
+ } | undefined;
5718
+ meta?: Record<string, unknown> | undefined;
5719
+ title?: string | undefined;
5720
+ detail?: string | undefined;
5721
+ source?: {
5722
+ pointer?: string | undefined;
5723
+ parameter?: string | undefined;
5724
+ } | undefined;
5725
+ }[];
5726
+ meta?: Record<string, unknown> | undefined;
5727
+ }>;
5728
+ };
5729
+ };
4807
5730
  };
4808
5731
  //# sourceMappingURL=fields.routes.d.ts.map