@deepintel-ltd/farmpro-contracts 1.36.7 → 1.36.8
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.
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/routes/care-pillar.routes.d.ts +473 -0
- package/dist/routes/care-pillar.routes.d.ts.map +1 -0
- package/dist/routes/care-pillar.routes.js +48 -0
- package/dist/routes/crop-care.routes.d.ts +4788 -0
- package/dist/routes/crop-care.routes.d.ts.map +1 -1
- package/dist/routes/field-activities.routes.d.ts +40 -40
- package/dist/routes/index.d.ts +3 -0
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/index.js +2 -0
- package/dist/routes/notifications.routes.d.ts +14 -14
- package/dist/routes/nutrient-plan.routes.d.ts +40 -40
- package/dist/schemas/care-pillar.schemas.d.ts +728 -0
- package/dist/schemas/care-pillar.schemas.d.ts.map +1 -0
- package/dist/schemas/care-pillar.schemas.js +88 -0
- package/dist/schemas/crop-care.schemas.d.ts +6664 -0
- package/dist/schemas/crop-care.schemas.d.ts.map +1 -1
- package/dist/schemas/crop-care.schemas.js +13 -0
- package/dist/schemas/field-activities.schemas.d.ts +35 -35
- package/dist/schemas/field-activities.schemas.d.ts.map +1 -1
- package/dist/schemas/field-activities.schemas.js +11 -1
- package/dist/schemas/notifications.schemas.d.ts +18 -18
- package/dist/schemas/nutrient-plan.schemas.d.ts +16 -16
- package/package.json +1 -1
|
@@ -89,15 +89,15 @@ export declare const nutrientPlanRouter: {
|
|
|
89
89
|
}, "strip", z.ZodTypeAny, {
|
|
90
90
|
id: string;
|
|
91
91
|
label: string;
|
|
92
|
-
railLabel: string;
|
|
93
92
|
dayStart: number;
|
|
94
93
|
dayEnd: number;
|
|
94
|
+
railLabel: string;
|
|
95
95
|
}, {
|
|
96
96
|
id: string;
|
|
97
97
|
label: string;
|
|
98
|
-
railLabel: string;
|
|
99
98
|
dayStart: number;
|
|
100
99
|
dayEnd: number;
|
|
100
|
+
railLabel: string;
|
|
101
101
|
}>;
|
|
102
102
|
fieldDay: z.ZodNumber;
|
|
103
103
|
yieldTargetKgPerPlant: z.ZodNumber;
|
|
@@ -364,9 +364,9 @@ export declare const nutrientPlanRouter: {
|
|
|
364
364
|
stage: {
|
|
365
365
|
id: string;
|
|
366
366
|
label: string;
|
|
367
|
-
railLabel: string;
|
|
368
367
|
dayStart: number;
|
|
369
368
|
dayEnd: number;
|
|
369
|
+
railLabel: string;
|
|
370
370
|
};
|
|
371
371
|
fertilizerSet: {
|
|
372
372
|
id: string;
|
|
@@ -489,9 +489,9 @@ export declare const nutrientPlanRouter: {
|
|
|
489
489
|
stage: {
|
|
490
490
|
id: string;
|
|
491
491
|
label: string;
|
|
492
|
-
railLabel: string;
|
|
493
492
|
dayStart: number;
|
|
494
493
|
dayEnd: number;
|
|
494
|
+
railLabel: string;
|
|
495
495
|
};
|
|
496
496
|
fertilizerSet: {
|
|
497
497
|
id: string;
|
|
@@ -902,9 +902,9 @@ export declare const nutrientPlanRouter: {
|
|
|
902
902
|
stage: {
|
|
903
903
|
id: string;
|
|
904
904
|
label: string;
|
|
905
|
-
railLabel: string;
|
|
906
905
|
dayStart: number;
|
|
907
906
|
dayEnd: number;
|
|
907
|
+
railLabel: string;
|
|
908
908
|
};
|
|
909
909
|
fertilizerSet: {
|
|
910
910
|
id: string;
|
|
@@ -1096,9 +1096,9 @@ export declare const nutrientPlanRouter: {
|
|
|
1096
1096
|
stage: {
|
|
1097
1097
|
id: string;
|
|
1098
1098
|
label: string;
|
|
1099
|
-
railLabel: string;
|
|
1100
1099
|
dayStart: number;
|
|
1101
1100
|
dayEnd: number;
|
|
1101
|
+
railLabel: string;
|
|
1102
1102
|
};
|
|
1103
1103
|
fertilizerSet: {
|
|
1104
1104
|
id: string;
|
|
@@ -1370,11 +1370,11 @@ export declare const nutrientPlanRouter: {
|
|
|
1370
1370
|
affected: z.ZodOptional<z.ZodEnum<["few", "many", "most"]>>;
|
|
1371
1371
|
lastFeed: z.ZodOptional<z.ZodEnum<["recent", "week", "late"]>>;
|
|
1372
1372
|
}, "strip", z.ZodTypeAny, {
|
|
1373
|
-
drainage?: "ok" | "
|
|
1373
|
+
drainage?: "ok" | "wet" | "dry" | "waterlogged" | undefined;
|
|
1374
1374
|
affected?: "many" | "few" | "most" | undefined;
|
|
1375
1375
|
lastFeed?: "week" | "recent" | "late" | undefined;
|
|
1376
1376
|
}, {
|
|
1377
|
-
drainage?: "ok" | "
|
|
1377
|
+
drainage?: "ok" | "wet" | "dry" | "waterlogged" | undefined;
|
|
1378
1378
|
affected?: "many" | "few" | "most" | undefined;
|
|
1379
1379
|
lastFeed?: "week" | "recent" | "late" | undefined;
|
|
1380
1380
|
}>>;
|
|
@@ -1383,7 +1383,7 @@ export declare const nutrientPlanRouter: {
|
|
|
1383
1383
|
symptomId: "yellow-old-leaves" | "yellow-new-leaves" | "yellow-between-veins" | "pale-all-over" | "purple-leaves" | "leaf-edge-burn" | "salt-crust" | "soft-fruit-tips" | "flower-drop" | "wilting-wet-soil" | "stunted-slow" | "damping-off";
|
|
1384
1384
|
notes?: string | undefined;
|
|
1385
1385
|
answers?: {
|
|
1386
|
-
drainage?: "ok" | "
|
|
1386
|
+
drainage?: "ok" | "wet" | "dry" | "waterlogged" | undefined;
|
|
1387
1387
|
affected?: "many" | "few" | "most" | undefined;
|
|
1388
1388
|
lastFeed?: "week" | "recent" | "late" | undefined;
|
|
1389
1389
|
} | undefined;
|
|
@@ -1391,7 +1391,7 @@ export declare const nutrientPlanRouter: {
|
|
|
1391
1391
|
symptomId: "yellow-old-leaves" | "yellow-new-leaves" | "yellow-between-veins" | "pale-all-over" | "purple-leaves" | "leaf-edge-burn" | "salt-crust" | "soft-fruit-tips" | "flower-drop" | "wilting-wet-soil" | "stunted-slow" | "damping-off";
|
|
1392
1392
|
notes?: string | undefined;
|
|
1393
1393
|
answers?: {
|
|
1394
|
-
drainage?: "ok" | "
|
|
1394
|
+
drainage?: "ok" | "wet" | "dry" | "waterlogged" | undefined;
|
|
1395
1395
|
affected?: "many" | "few" | "most" | undefined;
|
|
1396
1396
|
lastFeed?: "week" | "recent" | "late" | undefined;
|
|
1397
1397
|
} | undefined;
|
|
@@ -1452,15 +1452,15 @@ export declare const nutrientPlanRouter: {
|
|
|
1452
1452
|
}, "strip", z.ZodTypeAny, {
|
|
1453
1453
|
id: string;
|
|
1454
1454
|
label: string;
|
|
1455
|
-
railLabel: string;
|
|
1456
1455
|
dayStart: number;
|
|
1457
1456
|
dayEnd: number;
|
|
1457
|
+
railLabel: string;
|
|
1458
1458
|
}, {
|
|
1459
1459
|
id: string;
|
|
1460
1460
|
label: string;
|
|
1461
|
-
railLabel: string;
|
|
1462
1461
|
dayStart: number;
|
|
1463
1462
|
dayEnd: number;
|
|
1463
|
+
railLabel: string;
|
|
1464
1464
|
}>;
|
|
1465
1465
|
fieldDay: z.ZodNumber;
|
|
1466
1466
|
yieldTargetKgPerPlant: z.ZodNumber;
|
|
@@ -1727,9 +1727,9 @@ export declare const nutrientPlanRouter: {
|
|
|
1727
1727
|
stage: {
|
|
1728
1728
|
id: string;
|
|
1729
1729
|
label: string;
|
|
1730
|
-
railLabel: string;
|
|
1731
1730
|
dayStart: number;
|
|
1732
1731
|
dayEnd: number;
|
|
1732
|
+
railLabel: string;
|
|
1733
1733
|
};
|
|
1734
1734
|
fertilizerSet: {
|
|
1735
1735
|
id: string;
|
|
@@ -1852,9 +1852,9 @@ export declare const nutrientPlanRouter: {
|
|
|
1852
1852
|
stage: {
|
|
1853
1853
|
id: string;
|
|
1854
1854
|
label: string;
|
|
1855
|
-
railLabel: string;
|
|
1856
1855
|
dayStart: number;
|
|
1857
1856
|
dayEnd: number;
|
|
1857
|
+
railLabel: string;
|
|
1858
1858
|
};
|
|
1859
1859
|
fertilizerSet: {
|
|
1860
1860
|
id: string;
|
|
@@ -2265,9 +2265,9 @@ export declare const nutrientPlanRouter: {
|
|
|
2265
2265
|
stage: {
|
|
2266
2266
|
id: string;
|
|
2267
2267
|
label: string;
|
|
2268
|
-
railLabel: string;
|
|
2269
2268
|
dayStart: number;
|
|
2270
2269
|
dayEnd: number;
|
|
2270
|
+
railLabel: string;
|
|
2271
2271
|
};
|
|
2272
2272
|
fertilizerSet: {
|
|
2273
2273
|
id: string;
|
|
@@ -2459,9 +2459,9 @@ export declare const nutrientPlanRouter: {
|
|
|
2459
2459
|
stage: {
|
|
2460
2460
|
id: string;
|
|
2461
2461
|
label: string;
|
|
2462
|
-
railLabel: string;
|
|
2463
2462
|
dayStart: number;
|
|
2464
2463
|
dayEnd: number;
|
|
2464
|
+
railLabel: string;
|
|
2465
2465
|
};
|
|
2466
2466
|
fertilizerSet: {
|
|
2467
2467
|
id: string;
|
|
@@ -2697,15 +2697,15 @@ export declare const nutrientPlanRouter: {
|
|
|
2697
2697
|
}, "strip", z.ZodTypeAny, {
|
|
2698
2698
|
id: string;
|
|
2699
2699
|
label: string;
|
|
2700
|
-
railLabel: string;
|
|
2701
2700
|
dayStart: number;
|
|
2702
2701
|
dayEnd: number;
|
|
2702
|
+
railLabel: string;
|
|
2703
2703
|
}, {
|
|
2704
2704
|
id: string;
|
|
2705
2705
|
label: string;
|
|
2706
|
-
railLabel: string;
|
|
2707
2706
|
dayStart: number;
|
|
2708
2707
|
dayEnd: number;
|
|
2708
|
+
railLabel: string;
|
|
2709
2709
|
}>;
|
|
2710
2710
|
fieldDay: z.ZodNumber;
|
|
2711
2711
|
yieldTargetKgPerPlant: z.ZodNumber;
|
|
@@ -2972,9 +2972,9 @@ export declare const nutrientPlanRouter: {
|
|
|
2972
2972
|
stage: {
|
|
2973
2973
|
id: string;
|
|
2974
2974
|
label: string;
|
|
2975
|
-
railLabel: string;
|
|
2976
2975
|
dayStart: number;
|
|
2977
2976
|
dayEnd: number;
|
|
2977
|
+
railLabel: string;
|
|
2978
2978
|
};
|
|
2979
2979
|
fertilizerSet: {
|
|
2980
2980
|
id: string;
|
|
@@ -3097,9 +3097,9 @@ export declare const nutrientPlanRouter: {
|
|
|
3097
3097
|
stage: {
|
|
3098
3098
|
id: string;
|
|
3099
3099
|
label: string;
|
|
3100
|
-
railLabel: string;
|
|
3101
3100
|
dayStart: number;
|
|
3102
3101
|
dayEnd: number;
|
|
3102
|
+
railLabel: string;
|
|
3103
3103
|
};
|
|
3104
3104
|
fertilizerSet: {
|
|
3105
3105
|
id: string;
|
|
@@ -3510,9 +3510,9 @@ export declare const nutrientPlanRouter: {
|
|
|
3510
3510
|
stage: {
|
|
3511
3511
|
id: string;
|
|
3512
3512
|
label: string;
|
|
3513
|
-
railLabel: string;
|
|
3514
3513
|
dayStart: number;
|
|
3515
3514
|
dayEnd: number;
|
|
3515
|
+
railLabel: string;
|
|
3516
3516
|
};
|
|
3517
3517
|
fertilizerSet: {
|
|
3518
3518
|
id: string;
|
|
@@ -3704,9 +3704,9 @@ export declare const nutrientPlanRouter: {
|
|
|
3704
3704
|
stage: {
|
|
3705
3705
|
id: string;
|
|
3706
3706
|
label: string;
|
|
3707
|
-
railLabel: string;
|
|
3708
3707
|
dayStart: number;
|
|
3709
3708
|
dayEnd: number;
|
|
3709
|
+
railLabel: string;
|
|
3710
3710
|
};
|
|
3711
3711
|
fertilizerSet: {
|
|
3712
3712
|
id: string;
|
|
@@ -3935,15 +3935,15 @@ export declare const nutrientPlanRouter: {
|
|
|
3935
3935
|
}, "strip", z.ZodTypeAny, {
|
|
3936
3936
|
id: string;
|
|
3937
3937
|
label: string;
|
|
3938
|
-
railLabel: string;
|
|
3939
3938
|
dayStart: number;
|
|
3940
3939
|
dayEnd: number;
|
|
3940
|
+
railLabel: string;
|
|
3941
3941
|
}, {
|
|
3942
3942
|
id: string;
|
|
3943
3943
|
label: string;
|
|
3944
|
-
railLabel: string;
|
|
3945
3944
|
dayStart: number;
|
|
3946
3945
|
dayEnd: number;
|
|
3946
|
+
railLabel: string;
|
|
3947
3947
|
}>;
|
|
3948
3948
|
fieldDay: z.ZodNumber;
|
|
3949
3949
|
yieldTargetKgPerPlant: z.ZodNumber;
|
|
@@ -4210,9 +4210,9 @@ export declare const nutrientPlanRouter: {
|
|
|
4210
4210
|
stage: {
|
|
4211
4211
|
id: string;
|
|
4212
4212
|
label: string;
|
|
4213
|
-
railLabel: string;
|
|
4214
4213
|
dayStart: number;
|
|
4215
4214
|
dayEnd: number;
|
|
4215
|
+
railLabel: string;
|
|
4216
4216
|
};
|
|
4217
4217
|
fertilizerSet: {
|
|
4218
4218
|
id: string;
|
|
@@ -4335,9 +4335,9 @@ export declare const nutrientPlanRouter: {
|
|
|
4335
4335
|
stage: {
|
|
4336
4336
|
id: string;
|
|
4337
4337
|
label: string;
|
|
4338
|
-
railLabel: string;
|
|
4339
4338
|
dayStart: number;
|
|
4340
4339
|
dayEnd: number;
|
|
4340
|
+
railLabel: string;
|
|
4341
4341
|
};
|
|
4342
4342
|
fertilizerSet: {
|
|
4343
4343
|
id: string;
|
|
@@ -4748,9 +4748,9 @@ export declare const nutrientPlanRouter: {
|
|
|
4748
4748
|
stage: {
|
|
4749
4749
|
id: string;
|
|
4750
4750
|
label: string;
|
|
4751
|
-
railLabel: string;
|
|
4752
4751
|
dayStart: number;
|
|
4753
4752
|
dayEnd: number;
|
|
4753
|
+
railLabel: string;
|
|
4754
4754
|
};
|
|
4755
4755
|
fertilizerSet: {
|
|
4756
4756
|
id: string;
|
|
@@ -4942,9 +4942,9 @@ export declare const nutrientPlanRouter: {
|
|
|
4942
4942
|
stage: {
|
|
4943
4943
|
id: string;
|
|
4944
4944
|
label: string;
|
|
4945
|
-
railLabel: string;
|
|
4946
4945
|
dayStart: number;
|
|
4947
4946
|
dayEnd: number;
|
|
4947
|
+
railLabel: string;
|
|
4948
4948
|
};
|
|
4949
4949
|
fertilizerSet: {
|
|
4950
4950
|
id: string;
|
|
@@ -5360,15 +5360,15 @@ export declare const nutrientPlanRouter: {
|
|
|
5360
5360
|
}, "strip", z.ZodTypeAny, {
|
|
5361
5361
|
id: string;
|
|
5362
5362
|
label: string;
|
|
5363
|
-
railLabel: string;
|
|
5364
5363
|
dayStart: number;
|
|
5365
5364
|
dayEnd: number;
|
|
5365
|
+
railLabel: string;
|
|
5366
5366
|
}, {
|
|
5367
5367
|
id: string;
|
|
5368
5368
|
label: string;
|
|
5369
|
-
railLabel: string;
|
|
5370
5369
|
dayStart: number;
|
|
5371
5370
|
dayEnd: number;
|
|
5371
|
+
railLabel: string;
|
|
5372
5372
|
}>;
|
|
5373
5373
|
fieldDay: z.ZodNumber;
|
|
5374
5374
|
yieldTargetKgPerPlant: z.ZodNumber;
|
|
@@ -5635,9 +5635,9 @@ export declare const nutrientPlanRouter: {
|
|
|
5635
5635
|
stage: {
|
|
5636
5636
|
id: string;
|
|
5637
5637
|
label: string;
|
|
5638
|
-
railLabel: string;
|
|
5639
5638
|
dayStart: number;
|
|
5640
5639
|
dayEnd: number;
|
|
5640
|
+
railLabel: string;
|
|
5641
5641
|
};
|
|
5642
5642
|
fertilizerSet: {
|
|
5643
5643
|
id: string;
|
|
@@ -5760,9 +5760,9 @@ export declare const nutrientPlanRouter: {
|
|
|
5760
5760
|
stage: {
|
|
5761
5761
|
id: string;
|
|
5762
5762
|
label: string;
|
|
5763
|
-
railLabel: string;
|
|
5764
5763
|
dayStart: number;
|
|
5765
5764
|
dayEnd: number;
|
|
5765
|
+
railLabel: string;
|
|
5766
5766
|
};
|
|
5767
5767
|
fertilizerSet: {
|
|
5768
5768
|
id: string;
|
|
@@ -6173,9 +6173,9 @@ export declare const nutrientPlanRouter: {
|
|
|
6173
6173
|
stage: {
|
|
6174
6174
|
id: string;
|
|
6175
6175
|
label: string;
|
|
6176
|
-
railLabel: string;
|
|
6177
6176
|
dayStart: number;
|
|
6178
6177
|
dayEnd: number;
|
|
6178
|
+
railLabel: string;
|
|
6179
6179
|
};
|
|
6180
6180
|
fertilizerSet: {
|
|
6181
6181
|
id: string;
|
|
@@ -6367,9 +6367,9 @@ export declare const nutrientPlanRouter: {
|
|
|
6367
6367
|
stage: {
|
|
6368
6368
|
id: string;
|
|
6369
6369
|
label: string;
|
|
6370
|
-
railLabel: string;
|
|
6371
6370
|
dayStart: number;
|
|
6372
6371
|
dayEnd: number;
|
|
6372
|
+
railLabel: string;
|
|
6373
6373
|
};
|
|
6374
6374
|
fertilizerSet: {
|
|
6375
6375
|
id: string;
|
|
@@ -6636,15 +6636,15 @@ export declare const nutrientPlanRouter: {
|
|
|
6636
6636
|
}, "strip", z.ZodTypeAny, {
|
|
6637
6637
|
id: string;
|
|
6638
6638
|
label: string;
|
|
6639
|
-
railLabel: string;
|
|
6640
6639
|
dayStart: number;
|
|
6641
6640
|
dayEnd: number;
|
|
6641
|
+
railLabel: string;
|
|
6642
6642
|
}, {
|
|
6643
6643
|
id: string;
|
|
6644
6644
|
label: string;
|
|
6645
|
-
railLabel: string;
|
|
6646
6645
|
dayStart: number;
|
|
6647
6646
|
dayEnd: number;
|
|
6647
|
+
railLabel: string;
|
|
6648
6648
|
}>;
|
|
6649
6649
|
fieldDay: z.ZodNumber;
|
|
6650
6650
|
yieldTargetKgPerPlant: z.ZodNumber;
|
|
@@ -6911,9 +6911,9 @@ export declare const nutrientPlanRouter: {
|
|
|
6911
6911
|
stage: {
|
|
6912
6912
|
id: string;
|
|
6913
6913
|
label: string;
|
|
6914
|
-
railLabel: string;
|
|
6915
6914
|
dayStart: number;
|
|
6916
6915
|
dayEnd: number;
|
|
6916
|
+
railLabel: string;
|
|
6917
6917
|
};
|
|
6918
6918
|
fertilizerSet: {
|
|
6919
6919
|
id: string;
|
|
@@ -7036,9 +7036,9 @@ export declare const nutrientPlanRouter: {
|
|
|
7036
7036
|
stage: {
|
|
7037
7037
|
id: string;
|
|
7038
7038
|
label: string;
|
|
7039
|
-
railLabel: string;
|
|
7040
7039
|
dayStart: number;
|
|
7041
7040
|
dayEnd: number;
|
|
7041
|
+
railLabel: string;
|
|
7042
7042
|
};
|
|
7043
7043
|
fertilizerSet: {
|
|
7044
7044
|
id: string;
|
|
@@ -7449,9 +7449,9 @@ export declare const nutrientPlanRouter: {
|
|
|
7449
7449
|
stage: {
|
|
7450
7450
|
id: string;
|
|
7451
7451
|
label: string;
|
|
7452
|
-
railLabel: string;
|
|
7453
7452
|
dayStart: number;
|
|
7454
7453
|
dayEnd: number;
|
|
7454
|
+
railLabel: string;
|
|
7455
7455
|
};
|
|
7456
7456
|
fertilizerSet: {
|
|
7457
7457
|
id: string;
|
|
@@ -7643,9 +7643,9 @@ export declare const nutrientPlanRouter: {
|
|
|
7643
7643
|
stage: {
|
|
7644
7644
|
id: string;
|
|
7645
7645
|
label: string;
|
|
7646
|
-
railLabel: string;
|
|
7647
7646
|
dayStart: number;
|
|
7648
7647
|
dayEnd: number;
|
|
7648
|
+
railLabel: string;
|
|
7649
7649
|
};
|
|
7650
7650
|
fertilizerSet: {
|
|
7651
7651
|
id: string;
|