@deepintel-ltd/farmpro-contracts 1.15.5 → 1.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/dist/routes/agent-workflows.routes.d.ts +56 -56
  2. package/dist/routes/farm-updates.routes.d.ts +456 -16
  3. package/dist/routes/farm-updates.routes.d.ts.map +1 -1
  4. package/dist/routes/farm-updates.routes.js +27 -11
  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 +18 -5
  26. package/dist/schemas/commodity-deals.schemas.d.ts.map +1 -1
  27. package/dist/schemas/commodity-deals.schemas.js +5 -1
  28. package/dist/schemas/farm-updates.schemas.d.ts +249 -0
  29. package/dist/schemas/farm-updates.schemas.d.ts.map +1 -1
  30. package/dist/schemas/farm-updates.schemas.js +18 -0
  31. package/dist/schemas/fertigation.schemas.d.ts +72 -72
  32. package/dist/schemas/field-activities.schemas.d.ts +148 -148
  33. package/dist/schemas/field-monitoring.schemas.d.ts +30 -30
  34. package/dist/schemas/field-observations.schemas.d.ts +34 -34
  35. package/dist/schemas/fields.schemas.d.ts +286 -0
  36. package/dist/schemas/fields.schemas.d.ts.map +1 -1
  37. package/dist/schemas/fields.schemas.js +26 -0
  38. package/dist/schemas/finance.schemas.d.ts +94 -94
  39. package/dist/schemas/harvest.schemas.d.ts +80 -80
  40. package/dist/schemas/inventory.schemas.d.ts +46 -46
  41. package/dist/schemas/live-monitor.schemas.d.ts +10 -10
  42. package/dist/schemas/measurements.schemas.d.ts +6 -6
  43. package/dist/schemas/monitoring-visualization.schemas.d.ts +14 -14
  44. package/dist/schemas/prescription-maps.schemas.d.ts +22 -22
  45. package/dist/schemas/recommendations.schemas.d.ts +6 -6
  46. package/dist/schemas/soil-tests.schemas.d.ts +84 -84
  47. package/dist/schemas/suppliers.schemas.d.ts +84 -84
  48. package/dist/schemas/waybills.schemas.d.ts +48 -48
  49. package/dist/schemas/weather.schemas.d.ts +68 -68
  50. package/dist/schemas/yield-prediction.schemas.d.ts +24 -24
  51. package/package.json +1 -1
@@ -67,10 +67,10 @@ export declare const harvestRouter: {
67
67
  createdAt: string;
68
68
  updatedAt: string;
69
69
  crop: string;
70
- fieldId: string;
71
- unit: string;
72
70
  quantity: number;
71
+ unit: string;
73
72
  qualityGrade: string | null;
73
+ fieldId: string;
74
74
  fieldName?: string | undefined;
75
75
  yieldPerHectare?: number | null | undefined;
76
76
  linkedRevenueId?: string | null | undefined;
@@ -79,10 +79,10 @@ export declare const harvestRouter: {
79
79
  createdAt: string;
80
80
  updatedAt: string;
81
81
  crop: string;
82
- fieldId: string;
83
- unit: string;
84
82
  quantity: number;
83
+ unit: string;
85
84
  qualityGrade: string | null;
85
+ fieldId: string;
86
86
  fieldName?: string | undefined;
87
87
  yieldPerHectare?: number | null | undefined;
88
88
  linkedRevenueId?: string | null | undefined;
@@ -98,10 +98,10 @@ export declare const harvestRouter: {
98
98
  createdAt: string;
99
99
  updatedAt: string;
100
100
  crop: string;
101
- fieldId: string;
102
- unit: string;
103
101
  quantity: number;
102
+ unit: string;
104
103
  qualityGrade: string | null;
104
+ fieldId: string;
105
105
  fieldName?: string | undefined;
106
106
  yieldPerHectare?: number | null | undefined;
107
107
  linkedRevenueId?: string | null | undefined;
@@ -117,10 +117,10 @@ export declare const harvestRouter: {
117
117
  createdAt: string;
118
118
  updatedAt: string;
119
119
  crop: string;
120
- fieldId: string;
121
- unit: string;
122
120
  quantity: number;
121
+ unit: string;
123
122
  qualityGrade: string | null;
123
+ fieldId: string;
124
124
  fieldName?: string | undefined;
125
125
  yieldPerHectare?: number | null | undefined;
126
126
  linkedRevenueId?: string | null | undefined;
@@ -162,10 +162,10 @@ export declare const harvestRouter: {
162
162
  createdAt: string;
163
163
  updatedAt: string;
164
164
  crop: string;
165
- fieldId: string;
166
- unit: string;
167
165
  quantity: number;
166
+ unit: string;
168
167
  qualityGrade: string | null;
168
+ fieldId: string;
169
169
  fieldName?: string | undefined;
170
170
  yieldPerHectare?: number | null | undefined;
171
171
  linkedRevenueId?: string | null | undefined;
@@ -193,10 +193,10 @@ export declare const harvestRouter: {
193
193
  createdAt: string;
194
194
  updatedAt: string;
195
195
  crop: string;
196
- fieldId: string;
197
- unit: string;
198
196
  quantity: number;
197
+ unit: string;
199
198
  qualityGrade: string | null;
199
+ fieldId: string;
200
200
  fieldName?: string | undefined;
201
201
  yieldPerHectare?: number | null | undefined;
202
202
  linkedRevenueId?: string | null | undefined;
@@ -422,16 +422,16 @@ export declare const harvestRouter: {
422
422
  }, "strip", z.ZodTypeAny, {
423
423
  date: string;
424
424
  crop: string;
425
- fieldId: string;
426
- unit: string;
427
425
  quantity: number;
426
+ unit: string;
427
+ fieldId: string;
428
428
  qualityGrade?: string | undefined;
429
429
  }, {
430
430
  date: string;
431
431
  crop: string;
432
- fieldId: string;
433
- unit: string;
434
432
  quantity: number;
433
+ unit: string;
434
+ fieldId: string;
435
435
  qualityGrade?: string | undefined;
436
436
  }>;
437
437
  }, "strip", z.ZodTypeAny, {
@@ -439,9 +439,9 @@ export declare const harvestRouter: {
439
439
  attributes: {
440
440
  date: string;
441
441
  crop: string;
442
- fieldId: string;
443
- unit: string;
444
442
  quantity: number;
443
+ unit: string;
444
+ fieldId: string;
445
445
  qualityGrade?: string | undefined;
446
446
  };
447
447
  }, {
@@ -449,9 +449,9 @@ export declare const harvestRouter: {
449
449
  attributes: {
450
450
  date: string;
451
451
  crop: string;
452
- fieldId: string;
453
- unit: string;
454
452
  quantity: number;
453
+ unit: string;
454
+ fieldId: string;
455
455
  qualityGrade?: string | undefined;
456
456
  };
457
457
  }>;
@@ -461,9 +461,9 @@ export declare const harvestRouter: {
461
461
  attributes: {
462
462
  date: string;
463
463
  crop: string;
464
- fieldId: string;
465
- unit: string;
466
464
  quantity: number;
465
+ unit: string;
466
+ fieldId: string;
467
467
  qualityGrade?: string | undefined;
468
468
  };
469
469
  };
@@ -473,9 +473,9 @@ export declare const harvestRouter: {
473
473
  attributes: {
474
474
  date: string;
475
475
  crop: string;
476
- fieldId: string;
477
- unit: string;
478
476
  quantity: number;
477
+ unit: string;
478
+ fieldId: string;
479
479
  qualityGrade?: string | undefined;
480
480
  };
481
481
  };
@@ -504,10 +504,10 @@ export declare const harvestRouter: {
504
504
  createdAt: string;
505
505
  updatedAt: string;
506
506
  crop: string;
507
- fieldId: string;
508
- unit: string;
509
507
  quantity: number;
508
+ unit: string;
510
509
  qualityGrade: string | null;
510
+ fieldId: string;
511
511
  fieldName?: string | undefined;
512
512
  yieldPerHectare?: number | null | undefined;
513
513
  linkedRevenueId?: string | null | undefined;
@@ -516,10 +516,10 @@ export declare const harvestRouter: {
516
516
  createdAt: string;
517
517
  updatedAt: string;
518
518
  crop: string;
519
- fieldId: string;
520
- unit: string;
521
519
  quantity: number;
520
+ unit: string;
522
521
  qualityGrade: string | null;
522
+ fieldId: string;
523
523
  fieldName?: string | undefined;
524
524
  yieldPerHectare?: number | null | undefined;
525
525
  linkedRevenueId?: string | null | undefined;
@@ -535,10 +535,10 @@ export declare const harvestRouter: {
535
535
  createdAt: string;
536
536
  updatedAt: string;
537
537
  crop: string;
538
- fieldId: string;
539
- unit: string;
540
538
  quantity: number;
539
+ unit: string;
541
540
  qualityGrade: string | null;
541
+ fieldId: string;
542
542
  fieldName?: string | undefined;
543
543
  yieldPerHectare?: number | null | undefined;
544
544
  linkedRevenueId?: string | null | undefined;
@@ -554,10 +554,10 @@ export declare const harvestRouter: {
554
554
  createdAt: string;
555
555
  updatedAt: string;
556
556
  crop: string;
557
- fieldId: string;
558
- unit: string;
559
557
  quantity: number;
558
+ unit: string;
560
559
  qualityGrade: string | null;
560
+ fieldId: string;
561
561
  fieldName?: string | undefined;
562
562
  yieldPerHectare?: number | null | undefined;
563
563
  linkedRevenueId?: string | null | undefined;
@@ -599,10 +599,10 @@ export declare const harvestRouter: {
599
599
  createdAt: string;
600
600
  updatedAt: string;
601
601
  crop: string;
602
- fieldId: string;
603
- unit: string;
604
602
  quantity: number;
603
+ unit: string;
605
604
  qualityGrade: string | null;
605
+ fieldId: string;
606
606
  fieldName?: string | undefined;
607
607
  yieldPerHectare?: number | null | undefined;
608
608
  linkedRevenueId?: string | null | undefined;
@@ -630,10 +630,10 @@ export declare const harvestRouter: {
630
630
  createdAt: string;
631
631
  updatedAt: string;
632
632
  crop: string;
633
- fieldId: string;
634
- unit: string;
635
633
  quantity: number;
634
+ unit: string;
636
635
  qualityGrade: string | null;
636
+ fieldId: string;
637
637
  fieldName?: string | undefined;
638
638
  yieldPerHectare?: number | null | undefined;
639
639
  linkedRevenueId?: string | null | undefined;
@@ -1060,10 +1060,10 @@ export declare const harvestRouter: {
1060
1060
  createdAt: string;
1061
1061
  updatedAt: string;
1062
1062
  crop: string;
1063
- fieldId: string;
1064
- unit: string;
1065
1063
  quantity: number;
1064
+ unit: string;
1066
1065
  qualityGrade: string | null;
1066
+ fieldId: string;
1067
1067
  fieldName?: string | undefined;
1068
1068
  yieldPerHectare?: number | null | undefined;
1069
1069
  linkedRevenueId?: string | null | undefined;
@@ -1072,10 +1072,10 @@ export declare const harvestRouter: {
1072
1072
  createdAt: string;
1073
1073
  updatedAt: string;
1074
1074
  crop: string;
1075
- fieldId: string;
1076
- unit: string;
1077
1075
  quantity: number;
1076
+ unit: string;
1078
1077
  qualityGrade: string | null;
1078
+ fieldId: string;
1079
1079
  fieldName?: string | undefined;
1080
1080
  yieldPerHectare?: number | null | undefined;
1081
1081
  linkedRevenueId?: string | null | undefined;
@@ -1149,10 +1149,10 @@ export declare const harvestRouter: {
1149
1149
  createdAt: string;
1150
1150
  updatedAt: string;
1151
1151
  crop: string;
1152
- fieldId: string;
1153
- unit: string;
1154
1152
  quantity: number;
1153
+ unit: string;
1155
1154
  qualityGrade: string | null;
1155
+ fieldId: string;
1156
1156
  fieldName?: string | undefined;
1157
1157
  yieldPerHectare?: number | null | undefined;
1158
1158
  linkedRevenueId?: string | null | undefined;
@@ -1179,10 +1179,10 @@ export declare const harvestRouter: {
1179
1179
  createdAt: string;
1180
1180
  updatedAt: string;
1181
1181
  crop: string;
1182
- fieldId: string;
1183
- unit: string;
1184
1182
  quantity: number;
1183
+ unit: string;
1185
1184
  qualityGrade: string | null;
1185
+ fieldId: string;
1186
1186
  fieldName?: string | undefined;
1187
1187
  yieldPerHectare?: number | null | undefined;
1188
1188
  linkedRevenueId?: string | null | undefined;
@@ -1235,10 +1235,10 @@ export declare const harvestRouter: {
1235
1235
  createdAt: string;
1236
1236
  updatedAt: string;
1237
1237
  crop: string;
1238
- fieldId: string;
1239
- unit: string;
1240
1238
  quantity: number;
1239
+ unit: string;
1241
1240
  qualityGrade: string | null;
1241
+ fieldId: string;
1242
1242
  fieldName?: string | undefined;
1243
1243
  yieldPerHectare?: number | null | undefined;
1244
1244
  linkedRevenueId?: string | null | undefined;
@@ -1277,10 +1277,10 @@ export declare const harvestRouter: {
1277
1277
  createdAt: string;
1278
1278
  updatedAt: string;
1279
1279
  crop: string;
1280
- fieldId: string;
1281
- unit: string;
1282
1280
  quantity: number;
1281
+ unit: string;
1283
1282
  qualityGrade: string | null;
1283
+ fieldId: string;
1284
1284
  fieldName?: string | undefined;
1285
1285
  yieldPerHectare?: number | null | undefined;
1286
1286
  linkedRevenueId?: string | null | undefined;
@@ -1521,17 +1521,17 @@ export declare const harvestRouter: {
1521
1521
  }, "strip", z.ZodTypeAny, {
1522
1522
  date?: string | undefined;
1523
1523
  crop?: string | undefined;
1524
- fieldId?: string | undefined;
1525
- unit?: string | undefined;
1526
1524
  quantity?: number | undefined;
1525
+ unit?: string | undefined;
1527
1526
  qualityGrade?: string | null | undefined;
1527
+ fieldId?: string | undefined;
1528
1528
  }, {
1529
1529
  date?: string | undefined;
1530
1530
  crop?: string | undefined;
1531
- fieldId?: string | undefined;
1532
- unit?: string | undefined;
1533
1531
  quantity?: number | undefined;
1532
+ unit?: string | undefined;
1534
1533
  qualityGrade?: string | null | undefined;
1534
+ fieldId?: string | undefined;
1535
1535
  }>;
1536
1536
  }, "strip", z.ZodTypeAny, {
1537
1537
  type: "harvests";
@@ -1539,10 +1539,10 @@ export declare const harvestRouter: {
1539
1539
  attributes: {
1540
1540
  date?: string | undefined;
1541
1541
  crop?: string | undefined;
1542
- fieldId?: string | undefined;
1543
- unit?: string | undefined;
1544
1542
  quantity?: number | undefined;
1543
+ unit?: string | undefined;
1545
1544
  qualityGrade?: string | null | undefined;
1545
+ fieldId?: string | undefined;
1546
1546
  };
1547
1547
  }, {
1548
1548
  type: "harvests";
@@ -1550,10 +1550,10 @@ export declare const harvestRouter: {
1550
1550
  attributes: {
1551
1551
  date?: string | undefined;
1552
1552
  crop?: string | undefined;
1553
- fieldId?: string | undefined;
1554
- unit?: string | undefined;
1555
1553
  quantity?: number | undefined;
1554
+ unit?: string | undefined;
1556
1555
  qualityGrade?: string | null | undefined;
1556
+ fieldId?: string | undefined;
1557
1557
  };
1558
1558
  }>;
1559
1559
  }, "strip", z.ZodTypeAny, {
@@ -1563,10 +1563,10 @@ export declare const harvestRouter: {
1563
1563
  attributes: {
1564
1564
  date?: string | undefined;
1565
1565
  crop?: string | undefined;
1566
- fieldId?: string | undefined;
1567
- unit?: string | undefined;
1568
1566
  quantity?: number | undefined;
1567
+ unit?: string | undefined;
1569
1568
  qualityGrade?: string | null | undefined;
1569
+ fieldId?: string | undefined;
1570
1570
  };
1571
1571
  };
1572
1572
  }, {
@@ -1576,10 +1576,10 @@ export declare const harvestRouter: {
1576
1576
  attributes: {
1577
1577
  date?: string | undefined;
1578
1578
  crop?: string | undefined;
1579
- fieldId?: string | undefined;
1580
- unit?: string | undefined;
1581
1579
  quantity?: number | undefined;
1580
+ unit?: string | undefined;
1582
1581
  qualityGrade?: string | null | undefined;
1582
+ fieldId?: string | undefined;
1583
1583
  };
1584
1584
  };
1585
1585
  }>;
@@ -1607,10 +1607,10 @@ export declare const harvestRouter: {
1607
1607
  createdAt: string;
1608
1608
  updatedAt: string;
1609
1609
  crop: string;
1610
- fieldId: string;
1611
- unit: string;
1612
1610
  quantity: number;
1611
+ unit: string;
1613
1612
  qualityGrade: string | null;
1613
+ fieldId: string;
1614
1614
  fieldName?: string | undefined;
1615
1615
  yieldPerHectare?: number | null | undefined;
1616
1616
  linkedRevenueId?: string | null | undefined;
@@ -1619,10 +1619,10 @@ export declare const harvestRouter: {
1619
1619
  createdAt: string;
1620
1620
  updatedAt: string;
1621
1621
  crop: string;
1622
- fieldId: string;
1623
- unit: string;
1624
1622
  quantity: number;
1623
+ unit: string;
1625
1624
  qualityGrade: string | null;
1625
+ fieldId: string;
1626
1626
  fieldName?: string | undefined;
1627
1627
  yieldPerHectare?: number | null | undefined;
1628
1628
  linkedRevenueId?: string | null | undefined;
@@ -1638,10 +1638,10 @@ export declare const harvestRouter: {
1638
1638
  createdAt: string;
1639
1639
  updatedAt: string;
1640
1640
  crop: string;
1641
- fieldId: string;
1642
- unit: string;
1643
1641
  quantity: number;
1642
+ unit: string;
1644
1643
  qualityGrade: string | null;
1644
+ fieldId: string;
1645
1645
  fieldName?: string | undefined;
1646
1646
  yieldPerHectare?: number | null | undefined;
1647
1647
  linkedRevenueId?: string | null | undefined;
@@ -1657,10 +1657,10 @@ export declare const harvestRouter: {
1657
1657
  createdAt: string;
1658
1658
  updatedAt: string;
1659
1659
  crop: string;
1660
- fieldId: string;
1661
- unit: string;
1662
1660
  quantity: number;
1661
+ unit: string;
1663
1662
  qualityGrade: string | null;
1663
+ fieldId: string;
1664
1664
  fieldName?: string | undefined;
1665
1665
  yieldPerHectare?: number | null | undefined;
1666
1666
  linkedRevenueId?: string | null | undefined;
@@ -1702,10 +1702,10 @@ export declare const harvestRouter: {
1702
1702
  createdAt: string;
1703
1703
  updatedAt: string;
1704
1704
  crop: string;
1705
- fieldId: string;
1706
- unit: string;
1707
1705
  quantity: number;
1706
+ unit: string;
1708
1707
  qualityGrade: string | null;
1708
+ fieldId: string;
1709
1709
  fieldName?: string | undefined;
1710
1710
  yieldPerHectare?: number | null | undefined;
1711
1711
  linkedRevenueId?: string | null | undefined;
@@ -1733,10 +1733,10 @@ export declare const harvestRouter: {
1733
1733
  createdAt: string;
1734
1734
  updatedAt: string;
1735
1735
  crop: string;
1736
- fieldId: string;
1737
- unit: string;
1738
1736
  quantity: number;
1737
+ unit: string;
1739
1738
  qualityGrade: string | null;
1739
+ fieldId: string;
1740
1740
  fieldName?: string | undefined;
1741
1741
  yieldPerHectare?: number | null | undefined;
1742
1742
  linkedRevenueId?: string | null | undefined;