@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
@@ -161,16 +161,16 @@ export declare const fieldMonitoringRouter: {
161
161
  availability: z.ZodOptional<z.ZodString>;
162
162
  }, "strip", z.ZodTypeAny, {
163
163
  name: string;
164
- unit: string;
165
164
  quantity: number;
165
+ unit: string;
166
166
  inventoryItemId?: string | undefined;
167
167
  totalCost?: number | undefined;
168
168
  costPerUnit?: number | undefined;
169
169
  availability?: string | undefined;
170
170
  }, {
171
171
  name: string;
172
- unit: string;
173
172
  quantity: number;
173
+ unit: string;
174
174
  inventoryItemId?: string | undefined;
175
175
  totalCost?: number | undefined;
176
176
  costPerUnit?: number | undefined;
@@ -190,8 +190,8 @@ export declare const fieldMonitoringRouter: {
190
190
  severity?: "critical" | "low" | "medium" | "high" | undefined;
191
191
  materials?: {
192
192
  name: string;
193
- unit: string;
194
193
  quantity: number;
194
+ unit: string;
195
195
  inventoryItemId?: string | undefined;
196
196
  totalCost?: number | undefined;
197
197
  costPerUnit?: number | undefined;
@@ -211,8 +211,8 @@ export declare const fieldMonitoringRouter: {
211
211
  severity?: "critical" | "low" | "medium" | "high" | undefined;
212
212
  materials?: {
213
213
  name: string;
214
- unit: string;
215
214
  quantity: number;
215
+ unit: string;
216
216
  inventoryItemId?: string | undefined;
217
217
  totalCost?: number | undefined;
218
218
  costPerUnit?: number | undefined;
@@ -249,8 +249,8 @@ export declare const fieldMonitoringRouter: {
249
249
  severity?: "critical" | "low" | "medium" | "high" | undefined;
250
250
  materials?: {
251
251
  name: string;
252
- unit: string;
253
252
  quantity: number;
253
+ unit: string;
254
254
  inventoryItemId?: string | undefined;
255
255
  totalCost?: number | undefined;
256
256
  costPerUnit?: number | undefined;
@@ -288,8 +288,8 @@ export declare const fieldMonitoringRouter: {
288
288
  severity?: "critical" | "low" | "medium" | "high" | undefined;
289
289
  materials?: {
290
290
  name: string;
291
- unit: string;
292
291
  quantity: number;
292
+ unit: string;
293
293
  inventoryItemId?: string | undefined;
294
294
  totalCost?: number | undefined;
295
295
  costPerUnit?: number | undefined;
@@ -351,16 +351,16 @@ export declare const fieldMonitoringRouter: {
351
351
  availability: z.ZodOptional<z.ZodString>;
352
352
  }, "strip", z.ZodTypeAny, {
353
353
  name: string;
354
- unit: string;
355
354
  quantity: number;
355
+ unit: string;
356
356
  inventoryItemId?: string | undefined;
357
357
  totalCost?: number | undefined;
358
358
  costPerUnit?: number | undefined;
359
359
  availability?: string | undefined;
360
360
  }, {
361
361
  name: string;
362
- unit: string;
363
362
  quantity: number;
363
+ unit: string;
364
364
  inventoryItemId?: string | undefined;
365
365
  totalCost?: number | undefined;
366
366
  costPerUnit?: number | undefined;
@@ -380,8 +380,8 @@ export declare const fieldMonitoringRouter: {
380
380
  severity?: "critical" | "low" | "medium" | "high" | undefined;
381
381
  materials?: {
382
382
  name: string;
383
- unit: string;
384
383
  quantity: number;
384
+ unit: string;
385
385
  inventoryItemId?: string | undefined;
386
386
  totalCost?: number | undefined;
387
387
  costPerUnit?: number | undefined;
@@ -401,8 +401,8 @@ export declare const fieldMonitoringRouter: {
401
401
  severity?: "critical" | "low" | "medium" | "high" | undefined;
402
402
  materials?: {
403
403
  name: string;
404
- unit: string;
405
404
  quantity: number;
405
+ unit: string;
406
406
  inventoryItemId?: string | undefined;
407
407
  totalCost?: number | undefined;
408
408
  costPerUnit?: number | undefined;
@@ -439,8 +439,8 @@ export declare const fieldMonitoringRouter: {
439
439
  severity?: "critical" | "low" | "medium" | "high" | undefined;
440
440
  materials?: {
441
441
  name: string;
442
- unit: string;
443
442
  quantity: number;
443
+ unit: string;
444
444
  inventoryItemId?: string | undefined;
445
445
  totalCost?: number | undefined;
446
446
  costPerUnit?: number | undefined;
@@ -478,8 +478,8 @@ export declare const fieldMonitoringRouter: {
478
478
  severity?: "critical" | "low" | "medium" | "high" | undefined;
479
479
  materials?: {
480
480
  name: string;
481
- unit: string;
482
481
  quantity: number;
482
+ unit: string;
483
483
  inventoryItemId?: string | undefined;
484
484
  totalCost?: number | undefined;
485
485
  costPerUnit?: number | undefined;
@@ -590,16 +590,16 @@ export declare const fieldMonitoringRouter: {
590
590
  availability: z.ZodOptional<z.ZodString>;
591
591
  }, "strip", z.ZodTypeAny, {
592
592
  name: string;
593
- unit: string;
594
593
  quantity: number;
594
+ unit: string;
595
595
  inventoryItemId?: string | undefined;
596
596
  totalCost?: number | undefined;
597
597
  costPerUnit?: number | undefined;
598
598
  availability?: string | undefined;
599
599
  }, {
600
600
  name: string;
601
- unit: string;
602
601
  quantity: number;
602
+ unit: string;
603
603
  inventoryItemId?: string | undefined;
604
604
  totalCost?: number | undefined;
605
605
  costPerUnit?: number | undefined;
@@ -619,8 +619,8 @@ export declare const fieldMonitoringRouter: {
619
619
  severity?: "critical" | "low" | "medium" | "high" | undefined;
620
620
  materials?: {
621
621
  name: string;
622
- unit: string;
623
622
  quantity: number;
623
+ unit: string;
624
624
  inventoryItemId?: string | undefined;
625
625
  totalCost?: number | undefined;
626
626
  costPerUnit?: number | undefined;
@@ -640,8 +640,8 @@ export declare const fieldMonitoringRouter: {
640
640
  severity?: "critical" | "low" | "medium" | "high" | undefined;
641
641
  materials?: {
642
642
  name: string;
643
- unit: string;
644
643
  quantity: number;
644
+ unit: string;
645
645
  inventoryItemId?: string | undefined;
646
646
  totalCost?: number | undefined;
647
647
  costPerUnit?: number | undefined;
@@ -678,8 +678,8 @@ export declare const fieldMonitoringRouter: {
678
678
  severity?: "critical" | "low" | "medium" | "high" | undefined;
679
679
  materials?: {
680
680
  name: string;
681
- unit: string;
682
681
  quantity: number;
682
+ unit: string;
683
683
  inventoryItemId?: string | undefined;
684
684
  totalCost?: number | undefined;
685
685
  costPerUnit?: number | undefined;
@@ -717,8 +717,8 @@ export declare const fieldMonitoringRouter: {
717
717
  severity?: "critical" | "low" | "medium" | "high" | undefined;
718
718
  materials?: {
719
719
  name: string;
720
- unit: string;
721
720
  quantity: number;
721
+ unit: string;
722
722
  inventoryItemId?: string | undefined;
723
723
  totalCost?: number | undefined;
724
724
  costPerUnit?: number | undefined;
@@ -792,16 +792,16 @@ export declare const fieldMonitoringRouter: {
792
792
  availability: z.ZodOptional<z.ZodString>;
793
793
  }, "strip", z.ZodTypeAny, {
794
794
  name: string;
795
- unit: string;
796
795
  quantity: number;
796
+ unit: string;
797
797
  inventoryItemId?: string | undefined;
798
798
  totalCost?: number | undefined;
799
799
  costPerUnit?: number | undefined;
800
800
  availability?: string | undefined;
801
801
  }, {
802
802
  name: string;
803
- unit: string;
804
803
  quantity: number;
804
+ unit: string;
805
805
  inventoryItemId?: string | undefined;
806
806
  totalCost?: number | undefined;
807
807
  costPerUnit?: number | undefined;
@@ -821,8 +821,8 @@ export declare const fieldMonitoringRouter: {
821
821
  severity?: "critical" | "low" | "medium" | "high" | undefined;
822
822
  materials?: {
823
823
  name: string;
824
- unit: string;
825
824
  quantity: number;
825
+ unit: string;
826
826
  inventoryItemId?: string | undefined;
827
827
  totalCost?: number | undefined;
828
828
  costPerUnit?: number | undefined;
@@ -842,8 +842,8 @@ export declare const fieldMonitoringRouter: {
842
842
  severity?: "critical" | "low" | "medium" | "high" | undefined;
843
843
  materials?: {
844
844
  name: string;
845
- unit: string;
846
845
  quantity: number;
846
+ unit: string;
847
847
  inventoryItemId?: string | undefined;
848
848
  totalCost?: number | undefined;
849
849
  costPerUnit?: number | undefined;
@@ -880,8 +880,8 @@ export declare const fieldMonitoringRouter: {
880
880
  severity?: "critical" | "low" | "medium" | "high" | undefined;
881
881
  materials?: {
882
882
  name: string;
883
- unit: string;
884
883
  quantity: number;
884
+ unit: string;
885
885
  inventoryItemId?: string | undefined;
886
886
  totalCost?: number | undefined;
887
887
  costPerUnit?: number | undefined;
@@ -919,8 +919,8 @@ export declare const fieldMonitoringRouter: {
919
919
  severity?: "critical" | "low" | "medium" | "high" | undefined;
920
920
  materials?: {
921
921
  name: string;
922
- unit: string;
923
922
  quantity: number;
923
+ unit: string;
924
924
  inventoryItemId?: string | undefined;
925
925
  totalCost?: number | undefined;
926
926
  costPerUnit?: number | undefined;
@@ -960,8 +960,8 @@ export declare const fieldMonitoringRouter: {
960
960
  severity?: "critical" | "low" | "medium" | "high" | undefined;
961
961
  materials?: {
962
962
  name: string;
963
- unit: string;
964
963
  quantity: number;
964
+ unit: string;
965
965
  inventoryItemId?: string | undefined;
966
966
  totalCost?: number | undefined;
967
967
  costPerUnit?: number | undefined;
@@ -1002,8 +1002,8 @@ export declare const fieldMonitoringRouter: {
1002
1002
  severity?: "critical" | "low" | "medium" | "high" | undefined;
1003
1003
  materials?: {
1004
1004
  name: string;
1005
- unit: string;
1006
1005
  quantity: number;
1006
+ unit: string;
1007
1007
  inventoryItemId?: string | undefined;
1008
1008
  totalCost?: number | undefined;
1009
1009
  costPerUnit?: number | undefined;
@@ -1071,16 +1071,16 @@ export declare const fieldMonitoringRouter: {
1071
1071
  availability: z.ZodOptional<z.ZodString>;
1072
1072
  }, "strip", z.ZodTypeAny, {
1073
1073
  name: string;
1074
- unit: string;
1075
1074
  quantity: number;
1075
+ unit: string;
1076
1076
  inventoryItemId?: string | undefined;
1077
1077
  totalCost?: number | undefined;
1078
1078
  costPerUnit?: number | undefined;
1079
1079
  availability?: string | undefined;
1080
1080
  }, {
1081
1081
  name: string;
1082
- unit: string;
1083
1082
  quantity: number;
1083
+ unit: string;
1084
1084
  inventoryItemId?: string | undefined;
1085
1085
  totalCost?: number | undefined;
1086
1086
  costPerUnit?: number | undefined;
@@ -1100,8 +1100,8 @@ export declare const fieldMonitoringRouter: {
1100
1100
  severity?: "critical" | "low" | "medium" | "high" | undefined;
1101
1101
  materials?: {
1102
1102
  name: string;
1103
- unit: string;
1104
1103
  quantity: number;
1104
+ unit: string;
1105
1105
  inventoryItemId?: string | undefined;
1106
1106
  totalCost?: number | undefined;
1107
1107
  costPerUnit?: number | undefined;
@@ -1121,8 +1121,8 @@ export declare const fieldMonitoringRouter: {
1121
1121
  severity?: "critical" | "low" | "medium" | "high" | undefined;
1122
1122
  materials?: {
1123
1123
  name: string;
1124
- unit: string;
1125
1124
  quantity: number;
1125
+ unit: string;
1126
1126
  inventoryItemId?: string | undefined;
1127
1127
  totalCost?: number | undefined;
1128
1128
  costPerUnit?: number | undefined;
@@ -1159,8 +1159,8 @@ export declare const fieldMonitoringRouter: {
1159
1159
  severity?: "critical" | "low" | "medium" | "high" | undefined;
1160
1160
  materials?: {
1161
1161
  name: string;
1162
- unit: string;
1163
1162
  quantity: number;
1163
+ unit: string;
1164
1164
  inventoryItemId?: string | undefined;
1165
1165
  totalCost?: number | undefined;
1166
1166
  costPerUnit?: number | undefined;
@@ -1198,8 +1198,8 @@ export declare const fieldMonitoringRouter: {
1198
1198
  severity?: "critical" | "low" | "medium" | "high" | undefined;
1199
1199
  materials?: {
1200
1200
  name: string;
1201
- unit: string;
1202
1201
  quantity: number;
1202
+ unit: string;
1203
1203
  inventoryItemId?: string | undefined;
1204
1204
  totalCost?: number | undefined;
1205
1205
  costPerUnit?: number | undefined;
@@ -1265,16 +1265,16 @@ export declare const fieldMonitoringRouter: {
1265
1265
  availability: z.ZodOptional<z.ZodString>;
1266
1266
  }, "strip", z.ZodTypeAny, {
1267
1267
  name: string;
1268
- unit: string;
1269
1268
  quantity: number;
1269
+ unit: string;
1270
1270
  inventoryItemId?: string | undefined;
1271
1271
  totalCost?: number | undefined;
1272
1272
  costPerUnit?: number | undefined;
1273
1273
  availability?: string | undefined;
1274
1274
  }, {
1275
1275
  name: string;
1276
- unit: string;
1277
1276
  quantity: number;
1277
+ unit: string;
1278
1278
  inventoryItemId?: string | undefined;
1279
1279
  totalCost?: number | undefined;
1280
1280
  costPerUnit?: number | undefined;
@@ -1294,8 +1294,8 @@ export declare const fieldMonitoringRouter: {
1294
1294
  severity?: "critical" | "low" | "medium" | "high" | undefined;
1295
1295
  materials?: {
1296
1296
  name: string;
1297
- unit: string;
1298
1297
  quantity: number;
1298
+ unit: string;
1299
1299
  inventoryItemId?: string | undefined;
1300
1300
  totalCost?: number | undefined;
1301
1301
  costPerUnit?: number | undefined;
@@ -1315,8 +1315,8 @@ export declare const fieldMonitoringRouter: {
1315
1315
  severity?: "critical" | "low" | "medium" | "high" | undefined;
1316
1316
  materials?: {
1317
1317
  name: string;
1318
- unit: string;
1319
1318
  quantity: number;
1319
+ unit: string;
1320
1320
  inventoryItemId?: string | undefined;
1321
1321
  totalCost?: number | undefined;
1322
1322
  costPerUnit?: number | undefined;
@@ -1353,8 +1353,8 @@ export declare const fieldMonitoringRouter: {
1353
1353
  severity?: "critical" | "low" | "medium" | "high" | undefined;
1354
1354
  materials?: {
1355
1355
  name: string;
1356
- unit: string;
1357
1356
  quantity: number;
1357
+ unit: string;
1358
1358
  inventoryItemId?: string | undefined;
1359
1359
  totalCost?: number | undefined;
1360
1360
  costPerUnit?: number | undefined;
@@ -1392,8 +1392,8 @@ export declare const fieldMonitoringRouter: {
1392
1392
  severity?: "critical" | "low" | "medium" | "high" | undefined;
1393
1393
  materials?: {
1394
1394
  name: string;
1395
- unit: string;
1396
1395
  quantity: number;
1396
+ unit: string;
1397
1397
  inventoryItemId?: string | undefined;
1398
1398
  totalCost?: number | undefined;
1399
1399
  costPerUnit?: number | undefined;
@@ -2528,22 +2528,22 @@ export declare const fieldMonitoringRouter: {
2528
2528
  applicationTiming: z.ZodOptional<z.ZodString>;
2529
2529
  confidence: z.ZodOptional<z.ZodNumber>;
2530
2530
  }, "strip", z.ZodTypeAny, {
2531
- unit: string;
2532
2531
  quantity: number;
2532
+ unit: string;
2533
2533
  reason: string;
2534
+ productName?: string | undefined;
2534
2535
  inventoryItemId?: string | undefined;
2535
2536
  confidence?: number | undefined;
2536
2537
  estimatedCost?: number | undefined;
2537
- productName?: string | undefined;
2538
2538
  applicationTiming?: string | undefined;
2539
2539
  }, {
2540
- unit: string;
2541
2540
  quantity: number;
2541
+ unit: string;
2542
2542
  reason: string;
2543
+ productName?: string | undefined;
2543
2544
  inventoryItemId?: string | undefined;
2544
2545
  confidence?: number | undefined;
2545
2546
  estimatedCost?: number | undefined;
2546
- productName?: string | undefined;
2547
2547
  applicationTiming?: string | undefined;
2548
2548
  }>, "many">;
2549
2549
  longTerm: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2571,13 +2571,13 @@ export declare const fieldMonitoringRouter: {
2571
2571
  summary: z.ZodOptional<z.ZodString>;
2572
2572
  }, "strip", z.ZodTypeAny, {
2573
2573
  fertilizer: {
2574
- unit: string;
2575
2574
  quantity: number;
2575
+ unit: string;
2576
2576
  reason: string;
2577
+ productName?: string | undefined;
2577
2578
  inventoryItemId?: string | undefined;
2578
2579
  confidence?: number | undefined;
2579
2580
  estimatedCost?: number | undefined;
2580
- productName?: string | undefined;
2581
2581
  applicationTiming?: string | undefined;
2582
2582
  }[];
2583
2583
  immediate: {
@@ -2606,13 +2606,13 @@ export declare const fieldMonitoringRouter: {
2606
2606
  }[] | undefined;
2607
2607
  }, {
2608
2608
  fertilizer: {
2609
- unit: string;
2610
2609
  quantity: number;
2610
+ unit: string;
2611
2611
  reason: string;
2612
+ productName?: string | undefined;
2612
2613
  inventoryItemId?: string | undefined;
2613
2614
  confidence?: number | undefined;
2614
2615
  estimatedCost?: number | undefined;
2615
- productName?: string | undefined;
2616
2616
  applicationTiming?: string | undefined;
2617
2617
  }[];
2618
2618
  immediate: {
@@ -2663,13 +2663,13 @@ export declare const fieldMonitoringRouter: {
2663
2663
  };
2664
2664
  recommendations: {
2665
2665
  fertilizer: {
2666
- unit: string;
2667
2666
  quantity: number;
2667
+ unit: string;
2668
2668
  reason: string;
2669
+ productName?: string | undefined;
2669
2670
  inventoryItemId?: string | undefined;
2670
2671
  confidence?: number | undefined;
2671
2672
  estimatedCost?: number | undefined;
2672
- productName?: string | undefined;
2673
2673
  applicationTiming?: string | undefined;
2674
2674
  }[];
2675
2675
  immediate: {
@@ -2849,13 +2849,13 @@ export declare const fieldMonitoringRouter: {
2849
2849
  };
2850
2850
  recommendations: {
2851
2851
  fertilizer: {
2852
- unit: string;
2853
2852
  quantity: number;
2853
+ unit: string;
2854
2854
  reason: string;
2855
+ productName?: string | undefined;
2855
2856
  inventoryItemId?: string | undefined;
2856
2857
  confidence?: number | undefined;
2857
2858
  estimatedCost?: number | undefined;
2858
- productName?: string | undefined;
2859
2859
  applicationTiming?: string | undefined;
2860
2860
  }[];
2861
2861
  immediate: {