@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
|
@@ -38,11 +38,11 @@ export declare const symptomAnswersSchema: z.ZodObject<{
|
|
|
38
38
|
affected: z.ZodOptional<z.ZodEnum<["few", "many", "most"]>>;
|
|
39
39
|
lastFeed: z.ZodOptional<z.ZodEnum<["recent", "week", "late"]>>;
|
|
40
40
|
}, "strip", z.ZodTypeAny, {
|
|
41
|
-
drainage?: "ok" | "
|
|
41
|
+
drainage?: "ok" | "wet" | "dry" | "waterlogged" | undefined;
|
|
42
42
|
affected?: "many" | "few" | "most" | undefined;
|
|
43
43
|
lastFeed?: "week" | "recent" | "late" | undefined;
|
|
44
44
|
}, {
|
|
45
|
-
drainage?: "ok" | "
|
|
45
|
+
drainage?: "ok" | "wet" | "dry" | "waterlogged" | undefined;
|
|
46
46
|
affected?: "many" | "few" | "most" | undefined;
|
|
47
47
|
lastFeed?: "week" | "recent" | "late" | undefined;
|
|
48
48
|
}>;
|
|
@@ -439,15 +439,15 @@ export declare const nutrientPlanSchema: z.ZodObject<{
|
|
|
439
439
|
}, "strip", z.ZodTypeAny, {
|
|
440
440
|
id: string;
|
|
441
441
|
label: string;
|
|
442
|
-
railLabel: string;
|
|
443
442
|
dayStart: number;
|
|
444
443
|
dayEnd: number;
|
|
444
|
+
railLabel: string;
|
|
445
445
|
}, {
|
|
446
446
|
id: string;
|
|
447
447
|
label: string;
|
|
448
|
-
railLabel: string;
|
|
449
448
|
dayStart: number;
|
|
450
449
|
dayEnd: number;
|
|
450
|
+
railLabel: string;
|
|
451
451
|
}>;
|
|
452
452
|
fieldDay: z.ZodNumber;
|
|
453
453
|
yieldTargetKgPerPlant: z.ZodNumber;
|
|
@@ -731,9 +731,9 @@ export declare const nutrientPlanSchema: z.ZodObject<{
|
|
|
731
731
|
stage: {
|
|
732
732
|
id: string;
|
|
733
733
|
label: string;
|
|
734
|
-
railLabel: string;
|
|
735
734
|
dayStart: number;
|
|
736
735
|
dayEnd: number;
|
|
736
|
+
railLabel: string;
|
|
737
737
|
};
|
|
738
738
|
fertilizerSet: {
|
|
739
739
|
id: string;
|
|
@@ -856,9 +856,9 @@ export declare const nutrientPlanSchema: z.ZodObject<{
|
|
|
856
856
|
stage: {
|
|
857
857
|
id: string;
|
|
858
858
|
label: string;
|
|
859
|
-
railLabel: string;
|
|
860
859
|
dayStart: number;
|
|
861
860
|
dayEnd: number;
|
|
861
|
+
railLabel: string;
|
|
862
862
|
};
|
|
863
863
|
fertilizerSet: {
|
|
864
864
|
id: string;
|
|
@@ -1033,15 +1033,15 @@ export declare const nutrientPlanResponseSchema: z.ZodObject<{
|
|
|
1033
1033
|
}, "strip", z.ZodTypeAny, {
|
|
1034
1034
|
id: string;
|
|
1035
1035
|
label: string;
|
|
1036
|
-
railLabel: string;
|
|
1037
1036
|
dayStart: number;
|
|
1038
1037
|
dayEnd: number;
|
|
1038
|
+
railLabel: string;
|
|
1039
1039
|
}, {
|
|
1040
1040
|
id: string;
|
|
1041
1041
|
label: string;
|
|
1042
|
-
railLabel: string;
|
|
1043
1042
|
dayStart: number;
|
|
1044
1043
|
dayEnd: number;
|
|
1044
|
+
railLabel: string;
|
|
1045
1045
|
}>;
|
|
1046
1046
|
fieldDay: z.ZodNumber;
|
|
1047
1047
|
yieldTargetKgPerPlant: z.ZodNumber;
|
|
@@ -1325,9 +1325,9 @@ export declare const nutrientPlanResponseSchema: z.ZodObject<{
|
|
|
1325
1325
|
stage: {
|
|
1326
1326
|
id: string;
|
|
1327
1327
|
label: string;
|
|
1328
|
-
railLabel: string;
|
|
1329
1328
|
dayStart: number;
|
|
1330
1329
|
dayEnd: number;
|
|
1330
|
+
railLabel: string;
|
|
1331
1331
|
};
|
|
1332
1332
|
fertilizerSet: {
|
|
1333
1333
|
id: string;
|
|
@@ -1450,9 +1450,9 @@ export declare const nutrientPlanResponseSchema: z.ZodObject<{
|
|
|
1450
1450
|
stage: {
|
|
1451
1451
|
id: string;
|
|
1452
1452
|
label: string;
|
|
1453
|
-
railLabel: string;
|
|
1454
1453
|
dayStart: number;
|
|
1455
1454
|
dayEnd: number;
|
|
1455
|
+
railLabel: string;
|
|
1456
1456
|
};
|
|
1457
1457
|
fertilizerSet: {
|
|
1458
1458
|
id: string;
|
|
@@ -1871,9 +1871,9 @@ export declare const nutrientPlanResponseSchema: z.ZodObject<{
|
|
|
1871
1871
|
stage: {
|
|
1872
1872
|
id: string;
|
|
1873
1873
|
label: string;
|
|
1874
|
-
railLabel: string;
|
|
1875
1874
|
dayStart: number;
|
|
1876
1875
|
dayEnd: number;
|
|
1876
|
+
railLabel: string;
|
|
1877
1877
|
};
|
|
1878
1878
|
fertilizerSet: {
|
|
1879
1879
|
id: string;
|
|
@@ -2065,9 +2065,9 @@ export declare const nutrientPlanResponseSchema: z.ZodObject<{
|
|
|
2065
2065
|
stage: {
|
|
2066
2066
|
id: string;
|
|
2067
2067
|
label: string;
|
|
2068
|
-
railLabel: string;
|
|
2069
2068
|
dayStart: number;
|
|
2070
2069
|
dayEnd: number;
|
|
2070
|
+
railLabel: string;
|
|
2071
2071
|
};
|
|
2072
2072
|
fertilizerSet: {
|
|
2073
2073
|
id: string;
|
|
@@ -2296,11 +2296,11 @@ export declare const reportSymptomBodySchema: z.ZodObject<{
|
|
|
2296
2296
|
affected: z.ZodOptional<z.ZodEnum<["few", "many", "most"]>>;
|
|
2297
2297
|
lastFeed: z.ZodOptional<z.ZodEnum<["recent", "week", "late"]>>;
|
|
2298
2298
|
}, "strip", z.ZodTypeAny, {
|
|
2299
|
-
drainage?: "ok" | "
|
|
2299
|
+
drainage?: "ok" | "wet" | "dry" | "waterlogged" | undefined;
|
|
2300
2300
|
affected?: "many" | "few" | "most" | undefined;
|
|
2301
2301
|
lastFeed?: "week" | "recent" | "late" | undefined;
|
|
2302
2302
|
}, {
|
|
2303
|
-
drainage?: "ok" | "
|
|
2303
|
+
drainage?: "ok" | "wet" | "dry" | "waterlogged" | undefined;
|
|
2304
2304
|
affected?: "many" | "few" | "most" | undefined;
|
|
2305
2305
|
lastFeed?: "week" | "recent" | "late" | undefined;
|
|
2306
2306
|
}>>;
|
|
@@ -2309,7 +2309,7 @@ export declare const reportSymptomBodySchema: z.ZodObject<{
|
|
|
2309
2309
|
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";
|
|
2310
2310
|
notes?: string | undefined;
|
|
2311
2311
|
answers?: {
|
|
2312
|
-
drainage?: "ok" | "
|
|
2312
|
+
drainage?: "ok" | "wet" | "dry" | "waterlogged" | undefined;
|
|
2313
2313
|
affected?: "many" | "few" | "most" | undefined;
|
|
2314
2314
|
lastFeed?: "week" | "recent" | "late" | undefined;
|
|
2315
2315
|
} | undefined;
|
|
@@ -2317,7 +2317,7 @@ export declare const reportSymptomBodySchema: z.ZodObject<{
|
|
|
2317
2317
|
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";
|
|
2318
2318
|
notes?: string | undefined;
|
|
2319
2319
|
answers?: {
|
|
2320
|
-
drainage?: "ok" | "
|
|
2320
|
+
drainage?: "ok" | "wet" | "dry" | "waterlogged" | undefined;
|
|
2321
2321
|
affected?: "many" | "few" | "most" | undefined;
|
|
2322
2322
|
lastFeed?: "week" | "recent" | "late" | undefined;
|
|
2323
2323
|
} | undefined;
|