@deepintel-ltd/farmpro-contracts 1.15.4 → 1.15.6

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 (48) hide show
  1. package/dist/routes/agent-workflows.routes.d.ts +56 -56
  2. package/dist/routes/commodity-deals.routes.d.ts +561 -6
  3. package/dist/routes/commodity-deals.routes.d.ts.map +1 -1
  4. package/dist/routes/commodity-deals.routes.js +17 -1
  5. package/dist/routes/fertigation.routes.d.ts +160 -160
  6. package/dist/routes/field-activities.routes.d.ts +172 -172
  7. package/dist/routes/field-monitoring.routes.d.ts +50 -50
  8. package/dist/routes/field-observations.routes.d.ts +40 -40
  9. package/dist/routes/fields.routes.d.ts +461 -0
  10. package/dist/routes/fields.routes.d.ts.map +1 -1
  11. package/dist/routes/fields.routes.js +19 -1
  12. package/dist/routes/finance.routes.d.ts +78 -78
  13. package/dist/routes/harvest.routes.d.ts +72 -72
  14. package/dist/routes/inventory.routes.d.ts +42 -42
  15. package/dist/routes/live-monitor.routes.d.ts +6 -6
  16. package/dist/routes/measurements.routes.d.ts +6 -6
  17. package/dist/routes/monitoring-visualization.routes.d.ts +12 -12
  18. package/dist/routes/prescription-maps.routes.d.ts +28 -28
  19. package/dist/routes/soil-tests.routes.d.ts +80 -80
  20. package/dist/routes/suppliers.routes.d.ts +80 -80
  21. package/dist/routes/waybills.routes.d.ts +56 -56
  22. package/dist/routes/weather.routes.d.ts +24 -24
  23. package/dist/routes/yield-prediction.routes.d.ts +36 -36
  24. package/dist/schemas/agent-workflows.schemas.d.ts +64 -64
  25. package/dist/schemas/commodity-deals.schemas.d.ts +728 -13
  26. package/dist/schemas/commodity-deals.schemas.d.ts.map +1 -1
  27. package/dist/schemas/commodity-deals.schemas.js +68 -1
  28. package/dist/schemas/fertigation.schemas.d.ts +72 -72
  29. package/dist/schemas/field-activities.schemas.d.ts +148 -148
  30. package/dist/schemas/field-monitoring.schemas.d.ts +30 -30
  31. package/dist/schemas/field-observations.schemas.d.ts +34 -34
  32. package/dist/schemas/fields.schemas.d.ts +286 -0
  33. package/dist/schemas/fields.schemas.d.ts.map +1 -1
  34. package/dist/schemas/fields.schemas.js +26 -0
  35. package/dist/schemas/finance.schemas.d.ts +94 -94
  36. package/dist/schemas/harvest.schemas.d.ts +80 -80
  37. package/dist/schemas/inventory.schemas.d.ts +46 -46
  38. package/dist/schemas/live-monitor.schemas.d.ts +10 -10
  39. package/dist/schemas/measurements.schemas.d.ts +6 -6
  40. package/dist/schemas/monitoring-visualization.schemas.d.ts +14 -14
  41. package/dist/schemas/prescription-maps.schemas.d.ts +22 -22
  42. package/dist/schemas/recommendations.schemas.d.ts +6 -6
  43. package/dist/schemas/soil-tests.schemas.d.ts +84 -84
  44. package/dist/schemas/suppliers.schemas.d.ts +84 -84
  45. package/dist/schemas/waybills.schemas.d.ts +48 -48
  46. package/dist/schemas/weather.schemas.d.ts +68 -68
  47. package/dist/schemas/yield-prediction.schemas.d.ts +24 -24
  48. package/package.json +1 -1
@@ -10,15 +10,15 @@ export declare const fertilizerRecommendationSchema: z.ZodObject<{
10
10
  reason: z.ZodString;
11
11
  estimatedCost: z.ZodOptional<z.ZodNumber>;
12
12
  }, "strip", z.ZodTypeAny, {
13
- inventoryItemId: string;
14
- unit: string;
15
13
  quantity: number;
14
+ unit: string;
15
+ inventoryItemId: string;
16
16
  reason: string;
17
17
  estimatedCost?: number | undefined;
18
18
  }, {
19
- inventoryItemId: string;
20
- unit: string;
21
19
  quantity: number;
20
+ unit: string;
21
+ inventoryItemId: string;
22
22
  reason: string;
23
23
  estimatedCost?: number | undefined;
24
24
  }>;
@@ -47,15 +47,15 @@ export declare const soilTestAttributesSchema: z.ZodObject<{
47
47
  reason: z.ZodString;
48
48
  estimatedCost: z.ZodOptional<z.ZodNumber>;
49
49
  }, "strip", z.ZodTypeAny, {
50
- inventoryItemId: string;
51
- unit: string;
52
50
  quantity: number;
51
+ unit: string;
52
+ inventoryItemId: string;
53
53
  reason: string;
54
54
  estimatedCost?: number | undefined;
55
55
  }, {
56
- inventoryItemId: string;
57
- unit: string;
58
56
  quantity: number;
57
+ unit: string;
58
+ inventoryItemId: string;
59
59
  reason: string;
60
60
  estimatedCost?: number | undefined;
61
61
  }>, "many">>;
@@ -87,9 +87,9 @@ export declare const soilTestAttributesSchema: z.ZodObject<{
87
87
  recommendations?: string | null | undefined;
88
88
  fieldName?: string | undefined;
89
89
  recommendedFertilizers?: {
90
- inventoryItemId: string;
91
- unit: string;
92
90
  quantity: number;
91
+ unit: string;
92
+ inventoryItemId: string;
93
93
  reason: string;
94
94
  estimatedCost?: number | undefined;
95
95
  }[] | undefined;
@@ -116,9 +116,9 @@ export declare const soilTestAttributesSchema: z.ZodObject<{
116
116
  recommendations?: string | null | undefined;
117
117
  fieldName?: string | undefined;
118
118
  recommendedFertilizers?: {
119
- inventoryItemId: string;
120
- unit: string;
121
119
  quantity: number;
120
+ unit: string;
121
+ inventoryItemId: string;
122
122
  reason: string;
123
123
  estimatedCost?: number | undefined;
124
124
  }[] | undefined;
@@ -450,15 +450,15 @@ export declare const soilTestResourceSchema: z.ZodObject<{
450
450
  reason: z.ZodString;
451
451
  estimatedCost: z.ZodOptional<z.ZodNumber>;
452
452
  }, "strip", z.ZodTypeAny, {
453
- inventoryItemId: string;
454
- unit: string;
455
453
  quantity: number;
454
+ unit: string;
455
+ inventoryItemId: string;
456
456
  reason: string;
457
457
  estimatedCost?: number | undefined;
458
458
  }, {
459
- inventoryItemId: string;
460
- unit: string;
461
459
  quantity: number;
460
+ unit: string;
461
+ inventoryItemId: string;
462
462
  reason: string;
463
463
  estimatedCost?: number | undefined;
464
464
  }>, "many">>;
@@ -490,9 +490,9 @@ export declare const soilTestResourceSchema: z.ZodObject<{
490
490
  recommendations?: string | null | undefined;
491
491
  fieldName?: string | undefined;
492
492
  recommendedFertilizers?: {
493
- inventoryItemId: string;
494
- unit: string;
495
493
  quantity: number;
494
+ unit: string;
495
+ inventoryItemId: string;
496
496
  reason: string;
497
497
  estimatedCost?: number | undefined;
498
498
  }[] | undefined;
@@ -519,9 +519,9 @@ export declare const soilTestResourceSchema: z.ZodObject<{
519
519
  recommendations?: string | null | undefined;
520
520
  fieldName?: string | undefined;
521
521
  recommendedFertilizers?: {
522
- inventoryItemId: string;
523
- unit: string;
524
522
  quantity: number;
523
+ unit: string;
524
+ inventoryItemId: string;
525
525
  reason: string;
526
526
  estimatedCost?: number | undefined;
527
527
  }[] | undefined;
@@ -555,9 +555,9 @@ export declare const soilTestResourceSchema: z.ZodObject<{
555
555
  recommendations?: string | null | undefined;
556
556
  fieldName?: string | undefined;
557
557
  recommendedFertilizers?: {
558
- inventoryItemId: string;
559
- unit: string;
560
558
  quantity: number;
559
+ unit: string;
560
+ inventoryItemId: string;
561
561
  reason: string;
562
562
  estimatedCost?: number | undefined;
563
563
  }[] | undefined;
@@ -591,9 +591,9 @@ export declare const soilTestResourceSchema: z.ZodObject<{
591
591
  recommendations?: string | null | undefined;
592
592
  fieldName?: string | undefined;
593
593
  recommendedFertilizers?: {
594
- inventoryItemId: string;
595
- unit: string;
596
594
  quantity: number;
595
+ unit: string;
596
+ inventoryItemId: string;
597
597
  reason: string;
598
598
  estimatedCost?: number | undefined;
599
599
  }[] | undefined;
@@ -630,15 +630,15 @@ export declare const soilTestDetailResourceSchema: z.ZodObject<{
630
630
  reason: z.ZodString;
631
631
  estimatedCost: z.ZodOptional<z.ZodNumber>;
632
632
  }, "strip", z.ZodTypeAny, {
633
- inventoryItemId: string;
634
- unit: string;
635
633
  quantity: number;
634
+ unit: string;
635
+ inventoryItemId: string;
636
636
  reason: string;
637
637
  estimatedCost?: number | undefined;
638
638
  }, {
639
- inventoryItemId: string;
640
- unit: string;
641
639
  quantity: number;
640
+ unit: string;
641
+ inventoryItemId: string;
642
642
  reason: string;
643
643
  estimatedCost?: number | undefined;
644
644
  }>, "many">>;
@@ -670,9 +670,9 @@ export declare const soilTestDetailResourceSchema: z.ZodObject<{
670
670
  recommendations?: string | null | undefined;
671
671
  fieldName?: string | undefined;
672
672
  recommendedFertilizers?: {
673
- inventoryItemId: string;
674
- unit: string;
675
673
  quantity: number;
674
+ unit: string;
675
+ inventoryItemId: string;
676
676
  reason: string;
677
677
  estimatedCost?: number | undefined;
678
678
  }[] | undefined;
@@ -699,9 +699,9 @@ export declare const soilTestDetailResourceSchema: z.ZodObject<{
699
699
  recommendations?: string | null | undefined;
700
700
  fieldName?: string | undefined;
701
701
  recommendedFertilizers?: {
702
- inventoryItemId: string;
703
- unit: string;
704
702
  quantity: number;
703
+ unit: string;
704
+ inventoryItemId: string;
705
705
  reason: string;
706
706
  estimatedCost?: number | undefined;
707
707
  }[] | undefined;
@@ -793,9 +793,9 @@ export declare const soilTestDetailResourceSchema: z.ZodObject<{
793
793
  recommendations?: string | null | undefined;
794
794
  fieldName?: string | undefined;
795
795
  recommendedFertilizers?: {
796
- inventoryItemId: string;
797
- unit: string;
798
796
  quantity: number;
797
+ unit: string;
798
+ inventoryItemId: string;
799
799
  reason: string;
800
800
  estimatedCost?: number | undefined;
801
801
  }[] | undefined;
@@ -840,9 +840,9 @@ export declare const soilTestDetailResourceSchema: z.ZodObject<{
840
840
  recommendations?: string | null | undefined;
841
841
  fieldName?: string | undefined;
842
842
  recommendedFertilizers?: {
843
- inventoryItemId: string;
844
- unit: string;
845
843
  quantity: number;
844
+ unit: string;
845
+ inventoryItemId: string;
846
846
  reason: string;
847
847
  estimatedCost?: number | undefined;
848
848
  }[] | undefined;
@@ -891,15 +891,15 @@ export declare const soilTestResponseSchema: z.ZodObject<{
891
891
  reason: z.ZodString;
892
892
  estimatedCost: z.ZodOptional<z.ZodNumber>;
893
893
  }, "strip", z.ZodTypeAny, {
894
- inventoryItemId: string;
895
- unit: string;
896
894
  quantity: number;
895
+ unit: string;
896
+ inventoryItemId: string;
897
897
  reason: string;
898
898
  estimatedCost?: number | undefined;
899
899
  }, {
900
- inventoryItemId: string;
901
- unit: string;
902
900
  quantity: number;
901
+ unit: string;
902
+ inventoryItemId: string;
903
903
  reason: string;
904
904
  estimatedCost?: number | undefined;
905
905
  }>, "many">>;
@@ -931,9 +931,9 @@ export declare const soilTestResponseSchema: z.ZodObject<{
931
931
  recommendations?: string | null | undefined;
932
932
  fieldName?: string | undefined;
933
933
  recommendedFertilizers?: {
934
- inventoryItemId: string;
935
- unit: string;
936
934
  quantity: number;
935
+ unit: string;
936
+ inventoryItemId: string;
937
937
  reason: string;
938
938
  estimatedCost?: number | undefined;
939
939
  }[] | undefined;
@@ -960,9 +960,9 @@ export declare const soilTestResponseSchema: z.ZodObject<{
960
960
  recommendations?: string | null | undefined;
961
961
  fieldName?: string | undefined;
962
962
  recommendedFertilizers?: {
963
- inventoryItemId: string;
964
- unit: string;
965
963
  quantity: number;
964
+ unit: string;
965
+ inventoryItemId: string;
966
966
  reason: string;
967
967
  estimatedCost?: number | undefined;
968
968
  }[] | undefined;
@@ -996,9 +996,9 @@ export declare const soilTestResponseSchema: z.ZodObject<{
996
996
  recommendations?: string | null | undefined;
997
997
  fieldName?: string | undefined;
998
998
  recommendedFertilizers?: {
999
- inventoryItemId: string;
1000
- unit: string;
1001
999
  quantity: number;
1000
+ unit: string;
1001
+ inventoryItemId: string;
1002
1002
  reason: string;
1003
1003
  estimatedCost?: number | undefined;
1004
1004
  }[] | undefined;
@@ -1032,9 +1032,9 @@ export declare const soilTestResponseSchema: z.ZodObject<{
1032
1032
  recommendations?: string | null | undefined;
1033
1033
  fieldName?: string | undefined;
1034
1034
  recommendedFertilizers?: {
1035
- inventoryItemId: string;
1036
- unit: string;
1037
1035
  quantity: number;
1036
+ unit: string;
1037
+ inventoryItemId: string;
1038
1038
  reason: string;
1039
1039
  estimatedCost?: number | undefined;
1040
1040
  }[] | undefined;
@@ -1094,9 +1094,9 @@ export declare const soilTestResponseSchema: z.ZodObject<{
1094
1094
  recommendations?: string | null | undefined;
1095
1095
  fieldName?: string | undefined;
1096
1096
  recommendedFertilizers?: {
1097
- inventoryItemId: string;
1098
- unit: string;
1099
1097
  quantity: number;
1098
+ unit: string;
1099
+ inventoryItemId: string;
1100
1100
  reason: string;
1101
1101
  estimatedCost?: number | undefined;
1102
1102
  }[] | undefined;
@@ -1142,9 +1142,9 @@ export declare const soilTestResponseSchema: z.ZodObject<{
1142
1142
  recommendations?: string | null | undefined;
1143
1143
  fieldName?: string | undefined;
1144
1144
  recommendedFertilizers?: {
1145
- inventoryItemId: string;
1146
- unit: string;
1147
1145
  quantity: number;
1146
+ unit: string;
1147
+ inventoryItemId: string;
1148
1148
  reason: string;
1149
1149
  estimatedCost?: number | undefined;
1150
1150
  }[] | undefined;
@@ -1193,15 +1193,15 @@ export declare const soilTestDetailResponseSchema: z.ZodObject<{
1193
1193
  reason: z.ZodString;
1194
1194
  estimatedCost: z.ZodOptional<z.ZodNumber>;
1195
1195
  }, "strip", z.ZodTypeAny, {
1196
- inventoryItemId: string;
1197
- unit: string;
1198
1196
  quantity: number;
1197
+ unit: string;
1198
+ inventoryItemId: string;
1199
1199
  reason: string;
1200
1200
  estimatedCost?: number | undefined;
1201
1201
  }, {
1202
- inventoryItemId: string;
1203
- unit: string;
1204
1202
  quantity: number;
1203
+ unit: string;
1204
+ inventoryItemId: string;
1205
1205
  reason: string;
1206
1206
  estimatedCost?: number | undefined;
1207
1207
  }>, "many">>;
@@ -1233,9 +1233,9 @@ export declare const soilTestDetailResponseSchema: z.ZodObject<{
1233
1233
  recommendations?: string | null | undefined;
1234
1234
  fieldName?: string | undefined;
1235
1235
  recommendedFertilizers?: {
1236
- inventoryItemId: string;
1237
- unit: string;
1238
1236
  quantity: number;
1237
+ unit: string;
1238
+ inventoryItemId: string;
1239
1239
  reason: string;
1240
1240
  estimatedCost?: number | undefined;
1241
1241
  }[] | undefined;
@@ -1262,9 +1262,9 @@ export declare const soilTestDetailResponseSchema: z.ZodObject<{
1262
1262
  recommendations?: string | null | undefined;
1263
1263
  fieldName?: string | undefined;
1264
1264
  recommendedFertilizers?: {
1265
- inventoryItemId: string;
1266
- unit: string;
1267
1265
  quantity: number;
1266
+ unit: string;
1267
+ inventoryItemId: string;
1268
1268
  reason: string;
1269
1269
  estimatedCost?: number | undefined;
1270
1270
  }[] | undefined;
@@ -1356,9 +1356,9 @@ export declare const soilTestDetailResponseSchema: z.ZodObject<{
1356
1356
  recommendations?: string | null | undefined;
1357
1357
  fieldName?: string | undefined;
1358
1358
  recommendedFertilizers?: {
1359
- inventoryItemId: string;
1360
- unit: string;
1361
1359
  quantity: number;
1360
+ unit: string;
1361
+ inventoryItemId: string;
1362
1362
  reason: string;
1363
1363
  estimatedCost?: number | undefined;
1364
1364
  }[] | undefined;
@@ -1403,9 +1403,9 @@ export declare const soilTestDetailResponseSchema: z.ZodObject<{
1403
1403
  recommendations?: string | null | undefined;
1404
1404
  fieldName?: string | undefined;
1405
1405
  recommendedFertilizers?: {
1406
- inventoryItemId: string;
1407
- unit: string;
1408
1406
  quantity: number;
1407
+ unit: string;
1408
+ inventoryItemId: string;
1409
1409
  reason: string;
1410
1410
  estimatedCost?: number | undefined;
1411
1411
  }[] | undefined;
@@ -1476,9 +1476,9 @@ export declare const soilTestDetailResponseSchema: z.ZodObject<{
1476
1476
  recommendations?: string | null | undefined;
1477
1477
  fieldName?: string | undefined;
1478
1478
  recommendedFertilizers?: {
1479
- inventoryItemId: string;
1480
- unit: string;
1481
1479
  quantity: number;
1480
+ unit: string;
1481
+ inventoryItemId: string;
1482
1482
  reason: string;
1483
1483
  estimatedCost?: number | undefined;
1484
1484
  }[] | undefined;
@@ -1535,9 +1535,9 @@ export declare const soilTestDetailResponseSchema: z.ZodObject<{
1535
1535
  recommendations?: string | null | undefined;
1536
1536
  fieldName?: string | undefined;
1537
1537
  recommendedFertilizers?: {
1538
- inventoryItemId: string;
1539
- unit: string;
1540
1538
  quantity: number;
1539
+ unit: string;
1540
+ inventoryItemId: string;
1541
1541
  reason: string;
1542
1542
  estimatedCost?: number | undefined;
1543
1543
  }[] | undefined;
@@ -1597,15 +1597,15 @@ export declare const soilTestListResponseSchema: z.ZodObject<{
1597
1597
  reason: z.ZodString;
1598
1598
  estimatedCost: z.ZodOptional<z.ZodNumber>;
1599
1599
  }, "strip", z.ZodTypeAny, {
1600
- inventoryItemId: string;
1601
- unit: string;
1602
1600
  quantity: number;
1601
+ unit: string;
1602
+ inventoryItemId: string;
1603
1603
  reason: string;
1604
1604
  estimatedCost?: number | undefined;
1605
1605
  }, {
1606
- inventoryItemId: string;
1607
- unit: string;
1608
1606
  quantity: number;
1607
+ unit: string;
1608
+ inventoryItemId: string;
1609
1609
  reason: string;
1610
1610
  estimatedCost?: number | undefined;
1611
1611
  }>, "many">>;
@@ -1637,9 +1637,9 @@ export declare const soilTestListResponseSchema: z.ZodObject<{
1637
1637
  recommendations?: string | null | undefined;
1638
1638
  fieldName?: string | undefined;
1639
1639
  recommendedFertilizers?: {
1640
- inventoryItemId: string;
1641
- unit: string;
1642
1640
  quantity: number;
1641
+ unit: string;
1642
+ inventoryItemId: string;
1643
1643
  reason: string;
1644
1644
  estimatedCost?: number | undefined;
1645
1645
  }[] | undefined;
@@ -1666,9 +1666,9 @@ export declare const soilTestListResponseSchema: z.ZodObject<{
1666
1666
  recommendations?: string | null | undefined;
1667
1667
  fieldName?: string | undefined;
1668
1668
  recommendedFertilizers?: {
1669
- inventoryItemId: string;
1670
- unit: string;
1671
1669
  quantity: number;
1670
+ unit: string;
1671
+ inventoryItemId: string;
1672
1672
  reason: string;
1673
1673
  estimatedCost?: number | undefined;
1674
1674
  }[] | undefined;
@@ -1702,9 +1702,9 @@ export declare const soilTestListResponseSchema: z.ZodObject<{
1702
1702
  recommendations?: string | null | undefined;
1703
1703
  fieldName?: string | undefined;
1704
1704
  recommendedFertilizers?: {
1705
- inventoryItemId: string;
1706
- unit: string;
1707
1705
  quantity: number;
1706
+ unit: string;
1707
+ inventoryItemId: string;
1708
1708
  reason: string;
1709
1709
  estimatedCost?: number | undefined;
1710
1710
  }[] | undefined;
@@ -1738,9 +1738,9 @@ export declare const soilTestListResponseSchema: z.ZodObject<{
1738
1738
  recommendations?: string | null | undefined;
1739
1739
  fieldName?: string | undefined;
1740
1740
  recommendedFertilizers?: {
1741
- inventoryItemId: string;
1742
- unit: string;
1743
1741
  quantity: number;
1742
+ unit: string;
1743
+ inventoryItemId: string;
1744
1744
  reason: string;
1745
1745
  estimatedCost?: number | undefined;
1746
1746
  }[] | undefined;
@@ -1800,9 +1800,9 @@ export declare const soilTestListResponseSchema: z.ZodObject<{
1800
1800
  recommendations?: string | null | undefined;
1801
1801
  fieldName?: string | undefined;
1802
1802
  recommendedFertilizers?: {
1803
- inventoryItemId: string;
1804
- unit: string;
1805
1803
  quantity: number;
1804
+ unit: string;
1805
+ inventoryItemId: string;
1806
1806
  reason: string;
1807
1807
  estimatedCost?: number | undefined;
1808
1808
  }[] | undefined;
@@ -1848,9 +1848,9 @@ export declare const soilTestListResponseSchema: z.ZodObject<{
1848
1848
  recommendations?: string | null | undefined;
1849
1849
  fieldName?: string | undefined;
1850
1850
  recommendedFertilizers?: {
1851
- inventoryItemId: string;
1852
- unit: string;
1853
1851
  quantity: number;
1852
+ unit: string;
1853
+ inventoryItemId: string;
1854
1854
  reason: string;
1855
1855
  estimatedCost?: number | undefined;
1856
1856
  }[] | undefined;