@deepintel-ltd/farmpro-contracts 1.11.3 → 1.11.5

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 (73) hide show
  1. package/dist/routes/admin.routes.d.ts +2591 -59
  2. package/dist/routes/admin.routes.d.ts.map +1 -1
  3. package/dist/routes/admin.routes.js +68 -6
  4. package/dist/routes/agent-workflows.routes.d.ts +140 -140
  5. package/dist/routes/agents.routes.d.ts +6 -6
  6. package/dist/routes/analytics.routes.d.ts +6 -6
  7. package/dist/routes/auth.routes.d.ts +503 -0
  8. package/dist/routes/auth.routes.d.ts.map +1 -1
  9. package/dist/routes/auth.routes.js +15 -0
  10. package/dist/routes/crop-profile.routes.d.ts +18 -18
  11. package/dist/routes/documents.routes.d.ts +58 -58
  12. package/dist/routes/equipment.routes.d.ts +62 -62
  13. package/dist/routes/extension.routes.d.ts +6 -6
  14. package/dist/routes/farm-status.routes.d.ts +6 -6
  15. package/dist/routes/farms.routes.d.ts +35 -0
  16. package/dist/routes/farms.routes.d.ts.map +1 -1
  17. package/dist/routes/fertigation.routes.d.ts +76 -76
  18. package/dist/routes/field-monitoring.routes.d.ts +34 -34
  19. package/dist/routes/field-observations.routes.d.ts +170 -170
  20. package/dist/routes/finance.routes.d.ts +6 -6
  21. package/dist/routes/geofences.routes.d.ts +8 -8
  22. package/dist/routes/irrigation.routes.d.ts +22 -22
  23. package/dist/routes/live-monitor.routes.d.ts +2 -2
  24. package/dist/routes/livestock-groups.routes.d.ts +30 -30
  25. package/dist/routes/livestock.routes.d.ts +24 -24
  26. package/dist/routes/monitoring-visualization.routes.d.ts +4 -4
  27. package/dist/routes/pest-disease-risk.routes.d.ts +48 -48
  28. package/dist/routes/prescription-maps.routes.d.ts +2 -2
  29. package/dist/routes/seasonal-plans.routes.d.ts +6 -6
  30. package/dist/routes/soil-tests.routes.d.ts +30 -30
  31. package/dist/routes/subscriptions.routes.d.ts +2 -2
  32. package/dist/routes/team-payments.routes.d.ts +36 -36
  33. package/dist/routes/team.routes.d.ts +24 -24
  34. package/dist/routes/users.routes.d.ts +14 -0
  35. package/dist/routes/users.routes.d.ts.map +1 -1
  36. package/dist/routes/weather.routes.d.ts +14 -14
  37. package/dist/routes/yield-prediction.routes.d.ts +48 -48
  38. package/dist/schemas/admin.schemas.d.ts +470 -84
  39. package/dist/schemas/admin.schemas.d.ts.map +1 -1
  40. package/dist/schemas/admin.schemas.js +46 -0
  41. package/dist/schemas/agent-workflows.schemas.d.ts +111 -111
  42. package/dist/schemas/agents.schemas.d.ts +6 -6
  43. package/dist/schemas/analytics.schemas.d.ts +12 -12
  44. package/dist/schemas/crop-profile.schemas.d.ts +26 -26
  45. package/dist/schemas/documents.schemas.d.ts +48 -48
  46. package/dist/schemas/equipment.schemas.d.ts +48 -48
  47. package/dist/schemas/extension.schemas.d.ts +12 -12
  48. package/dist/schemas/farm-status.schemas.d.ts +8 -8
  49. package/dist/schemas/farms.schemas.d.ts +48 -0
  50. package/dist/schemas/farms.schemas.d.ts.map +1 -1
  51. package/dist/schemas/farms.schemas.js +3 -0
  52. package/dist/schemas/fertigation.schemas.d.ts +20 -20
  53. package/dist/schemas/field-monitoring.schemas.d.ts +26 -26
  54. package/dist/schemas/field-observations.schemas.d.ts +126 -126
  55. package/dist/schemas/finance.schemas.d.ts +6 -6
  56. package/dist/schemas/geofences.schemas.d.ts +6 -6
  57. package/dist/schemas/irrigation.schemas.d.ts +12 -12
  58. package/dist/schemas/live-monitor.schemas.d.ts +2 -2
  59. package/dist/schemas/livestock-groups.schemas.d.ts +18 -18
  60. package/dist/schemas/livestock.schemas.d.ts +18 -18
  61. package/dist/schemas/monitoring-visualization.schemas.d.ts +4 -4
  62. package/dist/schemas/pest-disease-risk.schemas.d.ts +32 -32
  63. package/dist/schemas/prescription-maps.schemas.d.ts +2 -2
  64. package/dist/schemas/seasonal-plans.schemas.d.ts +12 -12
  65. package/dist/schemas/soil-tests.schemas.d.ts +28 -28
  66. package/dist/schemas/team-payments.schemas.d.ts +24 -24
  67. package/dist/schemas/team.schemas.d.ts +18 -18
  68. package/dist/schemas/users.schemas.d.ts +15 -0
  69. package/dist/schemas/users.schemas.d.ts.map +1 -1
  70. package/dist/schemas/users.schemas.js +1 -0
  71. package/dist/schemas/weather.schemas.d.ts +28 -28
  72. package/dist/schemas/yield-prediction.schemas.d.ts +8 -8
  73. package/package.json +1 -1
@@ -240,7 +240,6 @@ export declare const fieldMonitoringRouter: {
240
240
  id: string;
241
241
  title: string;
242
242
  createdAt: string;
243
- fieldId: string;
244
243
  recommendations: {
245
244
  priority: number;
246
245
  action: string;
@@ -263,6 +262,7 @@ export declare const fieldMonitoringRouter: {
263
262
  estimatedTime?: string | undefined;
264
263
  riskLevel?: string | undefined;
265
264
  }[] | null;
265
+ fieldId: string;
266
266
  confidence: number | null;
267
267
  severity: "critical" | "low" | "medium" | "high";
268
268
  acknowledgedAt: string | null;
@@ -279,7 +279,6 @@ export declare const fieldMonitoringRouter: {
279
279
  id: string;
280
280
  title: string;
281
281
  createdAt: string;
282
- fieldId: string;
283
282
  recommendations: {
284
283
  priority: number;
285
284
  action: string;
@@ -302,6 +301,7 @@ export declare const fieldMonitoringRouter: {
302
301
  estimatedTime?: string | undefined;
303
302
  riskLevel?: string | undefined;
304
303
  }[] | null;
304
+ fieldId: string;
305
305
  confidence: number | null;
306
306
  severity: "critical" | "low" | "medium" | "high";
307
307
  acknowledgedAt: string | null;
@@ -430,7 +430,6 @@ export declare const fieldMonitoringRouter: {
430
430
  id: string;
431
431
  title: string;
432
432
  createdAt: string;
433
- fieldId: string;
434
433
  recommendations: {
435
434
  priority: number;
436
435
  action: string;
@@ -453,6 +452,7 @@ export declare const fieldMonitoringRouter: {
453
452
  estimatedTime?: string | undefined;
454
453
  riskLevel?: string | undefined;
455
454
  }[] | null;
455
+ fieldId: string;
456
456
  confidence: number | null;
457
457
  severity: "critical" | "low" | "medium" | "high";
458
458
  acknowledgedAt: string | null;
@@ -469,7 +469,6 @@ export declare const fieldMonitoringRouter: {
469
469
  id: string;
470
470
  title: string;
471
471
  createdAt: string;
472
- fieldId: string;
473
472
  recommendations: {
474
473
  priority: number;
475
474
  action: string;
@@ -492,6 +491,7 @@ export declare const fieldMonitoringRouter: {
492
491
  estimatedTime?: string | undefined;
493
492
  riskLevel?: string | undefined;
494
493
  }[] | null;
494
+ fieldId: string;
495
495
  confidence: number | null;
496
496
  severity: "critical" | "low" | "medium" | "high";
497
497
  acknowledgedAt: string | null;
@@ -669,7 +669,6 @@ export declare const fieldMonitoringRouter: {
669
669
  id: string;
670
670
  title: string;
671
671
  createdAt: string;
672
- fieldId: string;
673
672
  recommendations: {
674
673
  priority: number;
675
674
  action: string;
@@ -692,6 +691,7 @@ export declare const fieldMonitoringRouter: {
692
691
  estimatedTime?: string | undefined;
693
692
  riskLevel?: string | undefined;
694
693
  }[] | null;
694
+ fieldId: string;
695
695
  confidence: number | null;
696
696
  severity: "critical" | "low" | "medium" | "high";
697
697
  acknowledgedAt: string | null;
@@ -708,7 +708,6 @@ export declare const fieldMonitoringRouter: {
708
708
  id: string;
709
709
  title: string;
710
710
  createdAt: string;
711
- fieldId: string;
712
711
  recommendations: {
713
712
  priority: number;
714
713
  action: string;
@@ -731,6 +730,7 @@ export declare const fieldMonitoringRouter: {
731
730
  estimatedTime?: string | undefined;
732
731
  riskLevel?: string | undefined;
733
732
  }[] | null;
733
+ fieldId: string;
734
734
  confidence: number | null;
735
735
  severity: "critical" | "low" | "medium" | "high";
736
736
  acknowledgedAt: string | null;
@@ -871,7 +871,6 @@ export declare const fieldMonitoringRouter: {
871
871
  id: string;
872
872
  title: string;
873
873
  createdAt: string;
874
- fieldId: string;
875
874
  recommendations: {
876
875
  priority: number;
877
876
  action: string;
@@ -894,6 +893,7 @@ export declare const fieldMonitoringRouter: {
894
893
  estimatedTime?: string | undefined;
895
894
  riskLevel?: string | undefined;
896
895
  }[] | null;
896
+ fieldId: string;
897
897
  confidence: number | null;
898
898
  severity: "critical" | "low" | "medium" | "high";
899
899
  acknowledgedAt: string | null;
@@ -910,7 +910,6 @@ export declare const fieldMonitoringRouter: {
910
910
  id: string;
911
911
  title: string;
912
912
  createdAt: string;
913
- fieldId: string;
914
913
  recommendations: {
915
914
  priority: number;
916
915
  action: string;
@@ -933,6 +932,7 @@ export declare const fieldMonitoringRouter: {
933
932
  estimatedTime?: string | undefined;
934
933
  riskLevel?: string | undefined;
935
934
  }[] | null;
935
+ fieldId: string;
936
936
  confidence: number | null;
937
937
  severity: "critical" | "low" | "medium" | "high";
938
938
  acknowledgedAt: string | null;
@@ -951,7 +951,6 @@ export declare const fieldMonitoringRouter: {
951
951
  id: string;
952
952
  title: string;
953
953
  createdAt: string;
954
- fieldId: string;
955
954
  recommendations: {
956
955
  priority: number;
957
956
  action: string;
@@ -974,6 +973,7 @@ export declare const fieldMonitoringRouter: {
974
973
  estimatedTime?: string | undefined;
975
974
  riskLevel?: string | undefined;
976
975
  }[] | null;
976
+ fieldId: string;
977
977
  confidence: number | null;
978
978
  severity: "critical" | "low" | "medium" | "high";
979
979
  acknowledgedAt: string | null;
@@ -993,7 +993,6 @@ export declare const fieldMonitoringRouter: {
993
993
  id: string;
994
994
  title: string;
995
995
  createdAt: string;
996
- fieldId: string;
997
996
  recommendations: {
998
997
  priority: number;
999
998
  action: string;
@@ -1016,6 +1015,7 @@ export declare const fieldMonitoringRouter: {
1016
1015
  estimatedTime?: string | undefined;
1017
1016
  riskLevel?: string | undefined;
1018
1017
  }[] | null;
1018
+ fieldId: string;
1019
1019
  confidence: number | null;
1020
1020
  severity: "critical" | "low" | "medium" | "high";
1021
1021
  acknowledgedAt: string | null;
@@ -1150,7 +1150,6 @@ export declare const fieldMonitoringRouter: {
1150
1150
  id: string;
1151
1151
  title: string;
1152
1152
  createdAt: string;
1153
- fieldId: string;
1154
1153
  recommendations: {
1155
1154
  priority: number;
1156
1155
  action: string;
@@ -1173,6 +1172,7 @@ export declare const fieldMonitoringRouter: {
1173
1172
  estimatedTime?: string | undefined;
1174
1173
  riskLevel?: string | undefined;
1175
1174
  }[] | null;
1175
+ fieldId: string;
1176
1176
  confidence: number | null;
1177
1177
  severity: "critical" | "low" | "medium" | "high";
1178
1178
  acknowledgedAt: string | null;
@@ -1189,7 +1189,6 @@ export declare const fieldMonitoringRouter: {
1189
1189
  id: string;
1190
1190
  title: string;
1191
1191
  createdAt: string;
1192
- fieldId: string;
1193
1192
  recommendations: {
1194
1193
  priority: number;
1195
1194
  action: string;
@@ -1212,6 +1211,7 @@ export declare const fieldMonitoringRouter: {
1212
1211
  estimatedTime?: string | undefined;
1213
1212
  riskLevel?: string | undefined;
1214
1213
  }[] | null;
1214
+ fieldId: string;
1215
1215
  confidence: number | null;
1216
1216
  severity: "critical" | "low" | "medium" | "high";
1217
1217
  acknowledgedAt: string | null;
@@ -1344,7 +1344,6 @@ export declare const fieldMonitoringRouter: {
1344
1344
  id: string;
1345
1345
  title: string;
1346
1346
  createdAt: string;
1347
- fieldId: string;
1348
1347
  recommendations: {
1349
1348
  priority: number;
1350
1349
  action: string;
@@ -1367,6 +1366,7 @@ export declare const fieldMonitoringRouter: {
1367
1366
  estimatedTime?: string | undefined;
1368
1367
  riskLevel?: string | undefined;
1369
1368
  }[] | null;
1369
+ fieldId: string;
1370
1370
  confidence: number | null;
1371
1371
  severity: "critical" | "low" | "medium" | "high";
1372
1372
  acknowledgedAt: string | null;
@@ -1383,7 +1383,6 @@ export declare const fieldMonitoringRouter: {
1383
1383
  id: string;
1384
1384
  title: string;
1385
1385
  createdAt: string;
1386
- fieldId: string;
1387
1386
  recommendations: {
1388
1387
  priority: number;
1389
1388
  action: string;
@@ -1406,6 +1405,7 @@ export declare const fieldMonitoringRouter: {
1406
1405
  estimatedTime?: string | undefined;
1407
1406
  riskLevel?: string | undefined;
1408
1407
  }[] | null;
1408
+ fieldId: string;
1409
1409
  confidence: number | null;
1410
1410
  severity: "critical" | "low" | "medium" | "high";
1411
1411
  acknowledgedAt: string | null;
@@ -2237,8 +2237,8 @@ export declare const fieldMonitoringRouter: {
2237
2237
  };
2238
2238
  }>;
2239
2239
  }, "strip", z.ZodTypeAny, {
2240
- score: number;
2241
2240
  overall: "critical" | "poor" | "fair" | "good" | "excellent";
2241
+ score: number;
2242
2242
  assessments: {
2243
2243
  pH: {
2244
2244
  recommendation: string;
@@ -2265,8 +2265,8 @@ export declare const fieldMonitoringRouter: {
2265
2265
  };
2266
2266
  };
2267
2267
  }, {
2268
- score: number;
2269
2268
  overall: "critical" | "poor" | "fair" | "good" | "excellent";
2269
+ score: number;
2270
2270
  assessments: {
2271
2271
  pH: {
2272
2272
  recommendation: string;
@@ -2661,14 +2661,6 @@ export declare const fieldMonitoringRouter: {
2661
2661
  latitude: number;
2662
2662
  longitude: number;
2663
2663
  };
2664
- metadata: {
2665
- confidence: number;
2666
- completeness: number;
2667
- lastValidated: string;
2668
- nextRecommendedTest?: string | undefined;
2669
- };
2670
- fieldId: string;
2671
- fieldName: string;
2672
2664
  recommendations: {
2673
2665
  fertilizer: {
2674
2666
  unit: string;
@@ -2705,6 +2697,14 @@ export declare const fieldMonitoringRouter: {
2705
2697
  confidence?: number | undefined;
2706
2698
  }[] | undefined;
2707
2699
  };
2700
+ metadata: {
2701
+ confidence: number;
2702
+ completeness: number;
2703
+ lastValidated: string;
2704
+ nextRecommendedTest?: string | undefined;
2705
+ };
2706
+ fieldId: string;
2707
+ fieldName: string;
2708
2708
  properties: {
2709
2709
  texture: {
2710
2710
  sand: number;
@@ -2715,8 +2715,8 @@ export declare const fieldMonitoringRouter: {
2715
2715
  bulkDensity: number;
2716
2716
  };
2717
2717
  quality: {
2718
- score: number;
2719
2718
  overall: "critical" | "poor" | "fair" | "good" | "excellent";
2719
+ score: number;
2720
2720
  assessments: {
2721
2721
  pH: {
2722
2722
  recommendation: string;
@@ -2847,14 +2847,6 @@ export declare const fieldMonitoringRouter: {
2847
2847
  latitude: number;
2848
2848
  longitude: number;
2849
2849
  };
2850
- metadata: {
2851
- confidence: number;
2852
- completeness: number;
2853
- lastValidated: string;
2854
- nextRecommendedTest?: string | undefined;
2855
- };
2856
- fieldId: string;
2857
- fieldName: string;
2858
2850
  recommendations: {
2859
2851
  fertilizer: {
2860
2852
  unit: string;
@@ -2891,6 +2883,14 @@ export declare const fieldMonitoringRouter: {
2891
2883
  confidence?: number | undefined;
2892
2884
  }[] | undefined;
2893
2885
  };
2886
+ metadata: {
2887
+ confidence: number;
2888
+ completeness: number;
2889
+ lastValidated: string;
2890
+ nextRecommendedTest?: string | undefined;
2891
+ };
2892
+ fieldId: string;
2893
+ fieldName: string;
2894
2894
  properties: {
2895
2895
  texture: {
2896
2896
  sand: number;
@@ -2901,8 +2901,8 @@ export declare const fieldMonitoringRouter: {
2901
2901
  bulkDensity: number;
2902
2902
  };
2903
2903
  quality: {
2904
- score: number;
2905
2904
  overall: "critical" | "poor" | "fair" | "good" | "excellent";
2905
+ score: number;
2906
2906
  assessments: {
2907
2907
  pH: {
2908
2908
  recommendation: string;