@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
@@ -63,16 +63,16 @@ export declare const historicalYieldSchema: z.ZodObject<{
63
63
  }, "strip", z.ZodTypeAny, {
64
64
  crop: string;
65
65
  harvestDate: string;
66
- unit: string;
67
66
  quantity: number;
67
+ unit: string;
68
68
  qualityGrade: string | null;
69
69
  yieldPerHectare: number | null;
70
70
  year: number;
71
71
  }, {
72
72
  crop: string;
73
73
  harvestDate: string;
74
- unit: string;
75
74
  quantity: number;
75
+ unit: string;
76
76
  qualityGrade: string | null;
77
77
  yieldPerHectare: number | null;
78
78
  year: number;
@@ -96,16 +96,16 @@ export declare const historicalComparisonSchema: z.ZodObject<{
96
96
  }, "strip", z.ZodTypeAny, {
97
97
  crop: string;
98
98
  harvestDate: string;
99
- unit: string;
100
99
  quantity: number;
100
+ unit: string;
101
101
  qualityGrade: string | null;
102
102
  yieldPerHectare: number | null;
103
103
  year: number;
104
104
  }, {
105
105
  crop: string;
106
106
  harvestDate: string;
107
- unit: string;
108
107
  quantity: number;
108
+ unit: string;
109
109
  qualityGrade: string | null;
110
110
  yieldPerHectare: number | null;
111
111
  year: number;
@@ -121,8 +121,8 @@ export declare const historicalComparisonSchema: z.ZodObject<{
121
121
  historicalYields: {
122
122
  crop: string;
123
123
  harvestDate: string;
124
- unit: string;
125
124
  quantity: number;
125
+ unit: string;
126
126
  qualityGrade: string | null;
127
127
  yieldPerHectare: number | null;
128
128
  year: number;
@@ -138,8 +138,8 @@ export declare const historicalComparisonSchema: z.ZodObject<{
138
138
  historicalYields: {
139
139
  crop: string;
140
140
  harvestDate: string;
141
- unit: string;
142
141
  quantity: number;
142
+ unit: string;
143
143
  qualityGrade: string | null;
144
144
  yieldPerHectare: number | null;
145
145
  year: number;
@@ -307,16 +307,16 @@ export declare const yieldPredictionSchema: z.ZodObject<{
307
307
  }, "strip", z.ZodTypeAny, {
308
308
  crop: string;
309
309
  harvestDate: string;
310
- unit: string;
311
310
  quantity: number;
311
+ unit: string;
312
312
  qualityGrade: string | null;
313
313
  yieldPerHectare: number | null;
314
314
  year: number;
315
315
  }, {
316
316
  crop: string;
317
317
  harvestDate: string;
318
- unit: string;
319
318
  quantity: number;
319
+ unit: string;
320
320
  qualityGrade: string | null;
321
321
  yieldPerHectare: number | null;
322
322
  year: number;
@@ -332,8 +332,8 @@ export declare const yieldPredictionSchema: z.ZodObject<{
332
332
  historicalYields: {
333
333
  crop: string;
334
334
  harvestDate: string;
335
- unit: string;
336
335
  quantity: number;
336
+ unit: string;
337
337
  qualityGrade: string | null;
338
338
  yieldPerHectare: number | null;
339
339
  year: number;
@@ -349,8 +349,8 @@ export declare const yieldPredictionSchema: z.ZodObject<{
349
349
  historicalYields: {
350
350
  crop: string;
351
351
  harvestDate: string;
352
- unit: string;
353
352
  quantity: number;
353
+ unit: string;
354
354
  qualityGrade: string | null;
355
355
  yieldPerHectare: number | null;
356
356
  year: number;
@@ -486,8 +486,8 @@ export declare const yieldPredictionSchema: z.ZodObject<{
486
486
  historicalYields: {
487
487
  crop: string;
488
488
  harvestDate: string;
489
- unit: string;
490
489
  quantity: number;
490
+ unit: string;
491
491
  qualityGrade: string | null;
492
492
  yieldPerHectare: number | null;
493
493
  year: number;
@@ -568,8 +568,8 @@ export declare const yieldPredictionSchema: z.ZodObject<{
568
568
  historicalYields: {
569
569
  crop: string;
570
570
  harvestDate: string;
571
- unit: string;
572
571
  quantity: number;
572
+ unit: string;
573
573
  qualityGrade: string | null;
574
574
  yieldPerHectare: number | null;
575
575
  year: number;
@@ -598,9 +598,9 @@ export declare const fieldYieldSummarySchema: z.ZodObject<{
598
598
  healthStatus: z.ZodEnum<["excellent", "good", "fair", "poor", "critical"]>;
599
599
  daysToHarvest: z.ZodNullable<z.ZodNumber>;
600
600
  }, "strip", z.ZodTypeAny, {
601
+ unit: string;
601
602
  fieldId: string;
602
603
  fieldName: string;
603
- unit: string;
604
604
  confidence: "low" | "medium" | "high" | "very_high" | "very_low";
605
605
  yieldPerHectare: number;
606
606
  cropType: string;
@@ -610,9 +610,9 @@ export declare const fieldYieldSummarySchema: z.ZodObject<{
610
610
  confidenceScore: number;
611
611
  daysToHarvest: number | null;
612
612
  }, {
613
+ unit: string;
613
614
  fieldId: string;
614
615
  fieldName: string;
615
- unit: string;
616
616
  confidence: "low" | "medium" | "high" | "very_high" | "very_low";
617
617
  yieldPerHectare: number;
618
618
  cropType: string;
@@ -641,9 +641,9 @@ export declare const cashCropStandSchema: z.ZodObject<{
641
641
  includedInSeasonRevenue: z.ZodBoolean;
642
642
  }, "strip", z.ZodTypeAny, {
643
643
  plantingDate: string | null;
644
+ unit: string;
644
645
  fieldId: string;
645
646
  fieldName: string;
646
- unit: string;
647
647
  stage: "bearing" | "establishing" | "unknown_age";
648
648
  cropType: string;
649
649
  fieldArea: number;
@@ -655,9 +655,9 @@ export declare const cashCropStandSchema: z.ZodObject<{
655
655
  includedInSeasonRevenue: boolean;
656
656
  }, {
657
657
  plantingDate: string | null;
658
+ unit: string;
658
659
  fieldId: string;
659
660
  fieldName: string;
660
- unit: string;
661
661
  stage: "bearing" | "establishing" | "unknown_age";
662
662
  cropType: string;
663
663
  fieldArea: number;
@@ -744,9 +744,9 @@ export declare const farmYieldSummarySchema: z.ZodObject<{
744
744
  healthStatus: z.ZodEnum<["excellent", "good", "fair", "poor", "critical"]>;
745
745
  daysToHarvest: z.ZodNullable<z.ZodNumber>;
746
746
  }, "strip", z.ZodTypeAny, {
747
+ unit: string;
747
748
  fieldId: string;
748
749
  fieldName: string;
749
- unit: string;
750
750
  confidence: "low" | "medium" | "high" | "very_high" | "very_low";
751
751
  yieldPerHectare: number;
752
752
  cropType: string;
@@ -756,9 +756,9 @@ export declare const farmYieldSummarySchema: z.ZodObject<{
756
756
  confidenceScore: number;
757
757
  daysToHarvest: number | null;
758
758
  }, {
759
+ unit: string;
759
760
  fieldId: string;
760
761
  fieldName: string;
761
- unit: string;
762
762
  confidence: "low" | "medium" | "high" | "very_high" | "very_low";
763
763
  yieldPerHectare: number;
764
764
  cropType: string;
@@ -787,9 +787,9 @@ export declare const farmYieldSummarySchema: z.ZodObject<{
787
787
  includedInSeasonRevenue: z.ZodBoolean;
788
788
  }, "strip", z.ZodTypeAny, {
789
789
  plantingDate: string | null;
790
+ unit: string;
790
791
  fieldId: string;
791
792
  fieldName: string;
792
- unit: string;
793
793
  stage: "bearing" | "establishing" | "unknown_age";
794
794
  cropType: string;
795
795
  fieldArea: number;
@@ -801,9 +801,9 @@ export declare const farmYieldSummarySchema: z.ZodObject<{
801
801
  includedInSeasonRevenue: boolean;
802
802
  }, {
803
803
  plantingDate: string | null;
804
+ unit: string;
804
805
  fieldId: string;
805
806
  fieldName: string;
806
- unit: string;
807
807
  stage: "bearing" | "establishing" | "unknown_age";
808
808
  cropType: string;
809
809
  fieldArea: number;
@@ -851,9 +851,9 @@ export declare const farmYieldSummarySchema: z.ZodObject<{
851
851
  };
852
852
  }[];
853
853
  fieldSummaries: {
854
+ unit: string;
854
855
  fieldId: string;
855
856
  fieldName: string;
856
- unit: string;
857
857
  confidence: "low" | "medium" | "high" | "very_high" | "very_low";
858
858
  yieldPerHectare: number;
859
859
  cropType: string;
@@ -865,9 +865,9 @@ export declare const farmYieldSummarySchema: z.ZodObject<{
865
865
  }[];
866
866
  cashCropStands: {
867
867
  plantingDate: string | null;
868
+ unit: string;
868
869
  fieldId: string;
869
870
  fieldName: string;
870
- unit: string;
871
871
  stage: "bearing" | "establishing" | "unknown_age";
872
872
  cropType: string;
873
873
  fieldArea: number;
@@ -906,9 +906,9 @@ export declare const farmYieldSummarySchema: z.ZodObject<{
906
906
  };
907
907
  }[];
908
908
  fieldSummaries: {
909
+ unit: string;
909
910
  fieldId: string;
910
911
  fieldName: string;
911
- unit: string;
912
912
  confidence: "low" | "medium" | "high" | "very_high" | "very_low";
913
913
  yieldPerHectare: number;
914
914
  cropType: string;
@@ -925,9 +925,9 @@ export declare const farmYieldSummarySchema: z.ZodObject<{
925
925
  };
926
926
  cashCropStands?: {
927
927
  plantingDate: string | null;
928
+ unit: string;
928
929
  fieldId: string;
929
930
  fieldName: string;
930
- unit: string;
931
931
  stage: "bearing" | "establishing" | "unknown_age";
932
932
  cropType: string;
933
933
  fieldArea: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepintel-ltd/farmpro-contracts",
3
- "version": "1.15.4",
3
+ "version": "1.15.6",
4
4
  "description": "Type-safe API contracts for FarmPro API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",