@deepintel-ltd/farmpro-contracts 1.16.11 → 1.16.12
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/routes/fertigation.routes.d.ts +256 -256
- package/dist/routes/field-observations.routes.d.ts +28 -28
- package/dist/routes/fields.routes.d.ts +63 -63
- package/dist/schemas/fertigation.schemas.d.ts +92 -92
- package/dist/schemas/field-observations.schemas.d.ts +26 -26
- package/dist/schemas/fields.schemas.d.ts +59 -59
- package/dist/schemas/fields.schemas.d.ts.map +1 -1
- package/dist/schemas/fields.schemas.js +8 -1
- package/package.json +1 -1
|
@@ -266,7 +266,7 @@ export declare const observationAttributesSchema: z.ZodObject<{
|
|
|
266
266
|
capturedAt: Date;
|
|
267
267
|
observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
|
|
268
268
|
userNotes: string | null;
|
|
269
|
-
cropStageAtTime: "planted" | "flowering" | "
|
|
269
|
+
cropStageAtTime: "planted" | "flowering" | "fruiting" | "mature" | "harvested" | "germination" | "vegetative" | null;
|
|
270
270
|
analysisStatus: "pending" | "failed" | "processing" | "completed";
|
|
271
271
|
analysisCompletedAt: Date | null;
|
|
272
272
|
identifiedCrop: string | null;
|
|
@@ -349,7 +349,7 @@ export declare const observationAttributesSchema: z.ZodObject<{
|
|
|
349
349
|
capturedAt: Date;
|
|
350
350
|
observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
|
|
351
351
|
userNotes: string | null;
|
|
352
|
-
cropStageAtTime: "planted" | "flowering" | "
|
|
352
|
+
cropStageAtTime: "planted" | "flowering" | "fruiting" | "mature" | "harvested" | "germination" | "vegetative" | null;
|
|
353
353
|
analysisStatus: "pending" | "failed" | "processing" | "completed";
|
|
354
354
|
analysisCompletedAt: Date | null;
|
|
355
355
|
identifiedCrop: string | null;
|
|
@@ -435,7 +435,7 @@ export declare const createObservationAttributesSchema: z.ZodObject<{
|
|
|
435
435
|
fieldId?: string | undefined;
|
|
436
436
|
capturedAt?: string | undefined;
|
|
437
437
|
userNotes?: string | undefined;
|
|
438
|
-
cropStageAtTime?: "planted" | "flowering" | "
|
|
438
|
+
cropStageAtTime?: "planted" | "flowering" | "fruiting" | "mature" | "harvested" | "germination" | "vegetative" | undefined;
|
|
439
439
|
}, {
|
|
440
440
|
observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
|
|
441
441
|
location?: {
|
|
@@ -446,7 +446,7 @@ export declare const createObservationAttributesSchema: z.ZodObject<{
|
|
|
446
446
|
fieldId?: string | undefined;
|
|
447
447
|
capturedAt?: string | undefined;
|
|
448
448
|
userNotes?: string | undefined;
|
|
449
|
-
cropStageAtTime?: "planted" | "flowering" | "
|
|
449
|
+
cropStageAtTime?: "planted" | "flowering" | "fruiting" | "mature" | "harvested" | "germination" | "vegetative" | undefined;
|
|
450
450
|
}>;
|
|
451
451
|
export declare const updateObservationActionAttributesSchema: z.ZodObject<{
|
|
452
452
|
actionStatus: z.ZodEnum<["in_progress", "completed", "dismissed"]>;
|
|
@@ -728,7 +728,7 @@ export declare const observationResourceSchema: z.ZodObject<{
|
|
|
728
728
|
capturedAt: Date;
|
|
729
729
|
observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
|
|
730
730
|
userNotes: string | null;
|
|
731
|
-
cropStageAtTime: "planted" | "flowering" | "
|
|
731
|
+
cropStageAtTime: "planted" | "flowering" | "fruiting" | "mature" | "harvested" | "germination" | "vegetative" | null;
|
|
732
732
|
analysisStatus: "pending" | "failed" | "processing" | "completed";
|
|
733
733
|
analysisCompletedAt: Date | null;
|
|
734
734
|
identifiedCrop: string | null;
|
|
@@ -811,7 +811,7 @@ export declare const observationResourceSchema: z.ZodObject<{
|
|
|
811
811
|
capturedAt: Date;
|
|
812
812
|
observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
|
|
813
813
|
userNotes: string | null;
|
|
814
|
-
cropStageAtTime: "planted" | "flowering" | "
|
|
814
|
+
cropStageAtTime: "planted" | "flowering" | "fruiting" | "mature" | "harvested" | "germination" | "vegetative" | null;
|
|
815
815
|
analysisStatus: "pending" | "failed" | "processing" | "completed";
|
|
816
816
|
analysisCompletedAt: Date | null;
|
|
817
817
|
identifiedCrop: string | null;
|
|
@@ -901,7 +901,7 @@ export declare const observationResourceSchema: z.ZodObject<{
|
|
|
901
901
|
capturedAt: Date;
|
|
902
902
|
observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
|
|
903
903
|
userNotes: string | null;
|
|
904
|
-
cropStageAtTime: "planted" | "flowering" | "
|
|
904
|
+
cropStageAtTime: "planted" | "flowering" | "fruiting" | "mature" | "harvested" | "germination" | "vegetative" | null;
|
|
905
905
|
analysisStatus: "pending" | "failed" | "processing" | "completed";
|
|
906
906
|
analysisCompletedAt: Date | null;
|
|
907
907
|
identifiedCrop: string | null;
|
|
@@ -991,7 +991,7 @@ export declare const observationResourceSchema: z.ZodObject<{
|
|
|
991
991
|
capturedAt: Date;
|
|
992
992
|
observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
|
|
993
993
|
userNotes: string | null;
|
|
994
|
-
cropStageAtTime: "planted" | "flowering" | "
|
|
994
|
+
cropStageAtTime: "planted" | "flowering" | "fruiting" | "mature" | "harvested" | "germination" | "vegetative" | null;
|
|
995
995
|
analysisStatus: "pending" | "failed" | "processing" | "completed";
|
|
996
996
|
analysisCompletedAt: Date | null;
|
|
997
997
|
identifiedCrop: string | null;
|
|
@@ -1071,7 +1071,7 @@ export declare const createObservationInputSchema: z.ZodObject<{
|
|
|
1071
1071
|
fieldId?: string | undefined;
|
|
1072
1072
|
capturedAt?: string | undefined;
|
|
1073
1073
|
userNotes?: string | undefined;
|
|
1074
|
-
cropStageAtTime?: "planted" | "flowering" | "
|
|
1074
|
+
cropStageAtTime?: "planted" | "flowering" | "fruiting" | "mature" | "harvested" | "germination" | "vegetative" | undefined;
|
|
1075
1075
|
}, {
|
|
1076
1076
|
observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
|
|
1077
1077
|
location?: {
|
|
@@ -1082,7 +1082,7 @@ export declare const createObservationInputSchema: z.ZodObject<{
|
|
|
1082
1082
|
fieldId?: string | undefined;
|
|
1083
1083
|
capturedAt?: string | undefined;
|
|
1084
1084
|
userNotes?: string | undefined;
|
|
1085
|
-
cropStageAtTime?: "planted" | "flowering" | "
|
|
1085
|
+
cropStageAtTime?: "planted" | "flowering" | "fruiting" | "mature" | "harvested" | "germination" | "vegetative" | undefined;
|
|
1086
1086
|
}>;
|
|
1087
1087
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1088
1088
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -1100,7 +1100,7 @@ export declare const createObservationInputSchema: z.ZodObject<{
|
|
|
1100
1100
|
fieldId?: string | undefined;
|
|
1101
1101
|
capturedAt?: string | undefined;
|
|
1102
1102
|
userNotes?: string | undefined;
|
|
1103
|
-
cropStageAtTime?: "planted" | "flowering" | "
|
|
1103
|
+
cropStageAtTime?: "planted" | "flowering" | "fruiting" | "mature" | "harvested" | "germination" | "vegetative" | undefined;
|
|
1104
1104
|
};
|
|
1105
1105
|
relationships?: Record<string, unknown> | undefined;
|
|
1106
1106
|
links?: Record<string, string> | undefined;
|
|
@@ -1118,7 +1118,7 @@ export declare const createObservationInputSchema: z.ZodObject<{
|
|
|
1118
1118
|
fieldId?: string | undefined;
|
|
1119
1119
|
capturedAt?: string | undefined;
|
|
1120
1120
|
userNotes?: string | undefined;
|
|
1121
|
-
cropStageAtTime?: "planted" | "flowering" | "
|
|
1121
|
+
cropStageAtTime?: "planted" | "flowering" | "fruiting" | "mature" | "harvested" | "germination" | "vegetative" | undefined;
|
|
1122
1122
|
};
|
|
1123
1123
|
relationships?: Record<string, unknown> | undefined;
|
|
1124
1124
|
links?: Record<string, string> | undefined;
|
|
@@ -1172,7 +1172,7 @@ export declare const uploadObservationBodySchema: z.ZodObject<Omit<{
|
|
|
1172
1172
|
fieldId?: string | undefined;
|
|
1173
1173
|
capturedAt?: string | undefined;
|
|
1174
1174
|
userNotes?: string | undefined;
|
|
1175
|
-
cropStageAtTime?: "planted" | "flowering" | "
|
|
1175
|
+
cropStageAtTime?: "planted" | "flowering" | "fruiting" | "mature" | "harvested" | "germination" | "vegetative" | undefined;
|
|
1176
1176
|
photo?: any;
|
|
1177
1177
|
}, {
|
|
1178
1178
|
observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
|
|
@@ -1180,7 +1180,7 @@ export declare const uploadObservationBodySchema: z.ZodObject<Omit<{
|
|
|
1180
1180
|
fieldId?: string | undefined;
|
|
1181
1181
|
capturedAt?: string | undefined;
|
|
1182
1182
|
userNotes?: string | undefined;
|
|
1183
|
-
cropStageAtTime?: "planted" | "flowering" | "
|
|
1183
|
+
cropStageAtTime?: "planted" | "flowering" | "fruiting" | "mature" | "harvested" | "germination" | "vegetative" | undefined;
|
|
1184
1184
|
photo?: any;
|
|
1185
1185
|
}>;
|
|
1186
1186
|
export declare const updateObservationActionInputSchema: z.ZodObject<{
|
|
@@ -1493,7 +1493,7 @@ export declare const observationResponseSchema: z.ZodObject<{
|
|
|
1493
1493
|
capturedAt: Date;
|
|
1494
1494
|
observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
|
|
1495
1495
|
userNotes: string | null;
|
|
1496
|
-
cropStageAtTime: "planted" | "flowering" | "
|
|
1496
|
+
cropStageAtTime: "planted" | "flowering" | "fruiting" | "mature" | "harvested" | "germination" | "vegetative" | null;
|
|
1497
1497
|
analysisStatus: "pending" | "failed" | "processing" | "completed";
|
|
1498
1498
|
analysisCompletedAt: Date | null;
|
|
1499
1499
|
identifiedCrop: string | null;
|
|
@@ -1576,7 +1576,7 @@ export declare const observationResponseSchema: z.ZodObject<{
|
|
|
1576
1576
|
capturedAt: Date;
|
|
1577
1577
|
observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
|
|
1578
1578
|
userNotes: string | null;
|
|
1579
|
-
cropStageAtTime: "planted" | "flowering" | "
|
|
1579
|
+
cropStageAtTime: "planted" | "flowering" | "fruiting" | "mature" | "harvested" | "germination" | "vegetative" | null;
|
|
1580
1580
|
analysisStatus: "pending" | "failed" | "processing" | "completed";
|
|
1581
1581
|
analysisCompletedAt: Date | null;
|
|
1582
1582
|
identifiedCrop: string | null;
|
|
@@ -1666,7 +1666,7 @@ export declare const observationResponseSchema: z.ZodObject<{
|
|
|
1666
1666
|
capturedAt: Date;
|
|
1667
1667
|
observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
|
|
1668
1668
|
userNotes: string | null;
|
|
1669
|
-
cropStageAtTime: "planted" | "flowering" | "
|
|
1669
|
+
cropStageAtTime: "planted" | "flowering" | "fruiting" | "mature" | "harvested" | "germination" | "vegetative" | null;
|
|
1670
1670
|
analysisStatus: "pending" | "failed" | "processing" | "completed";
|
|
1671
1671
|
analysisCompletedAt: Date | null;
|
|
1672
1672
|
identifiedCrop: string | null;
|
|
@@ -1756,7 +1756,7 @@ export declare const observationResponseSchema: z.ZodObject<{
|
|
|
1756
1756
|
capturedAt: Date;
|
|
1757
1757
|
observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
|
|
1758
1758
|
userNotes: string | null;
|
|
1759
|
-
cropStageAtTime: "planted" | "flowering" | "
|
|
1759
|
+
cropStageAtTime: "planted" | "flowering" | "fruiting" | "mature" | "harvested" | "germination" | "vegetative" | null;
|
|
1760
1760
|
analysisStatus: "pending" | "failed" | "processing" | "completed";
|
|
1761
1761
|
analysisCompletedAt: Date | null;
|
|
1762
1762
|
identifiedCrop: string | null;
|
|
@@ -1872,7 +1872,7 @@ export declare const observationResponseSchema: z.ZodObject<{
|
|
|
1872
1872
|
capturedAt: Date;
|
|
1873
1873
|
observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
|
|
1874
1874
|
userNotes: string | null;
|
|
1875
|
-
cropStageAtTime: "planted" | "flowering" | "
|
|
1875
|
+
cropStageAtTime: "planted" | "flowering" | "fruiting" | "mature" | "harvested" | "germination" | "vegetative" | null;
|
|
1876
1876
|
analysisStatus: "pending" | "failed" | "processing" | "completed";
|
|
1877
1877
|
analysisCompletedAt: Date | null;
|
|
1878
1878
|
identifiedCrop: string | null;
|
|
@@ -1974,7 +1974,7 @@ export declare const observationResponseSchema: z.ZodObject<{
|
|
|
1974
1974
|
capturedAt: Date;
|
|
1975
1975
|
observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
|
|
1976
1976
|
userNotes: string | null;
|
|
1977
|
-
cropStageAtTime: "planted" | "flowering" | "
|
|
1977
|
+
cropStageAtTime: "planted" | "flowering" | "fruiting" | "mature" | "harvested" | "germination" | "vegetative" | null;
|
|
1978
1978
|
analysisStatus: "pending" | "failed" | "processing" | "completed";
|
|
1979
1979
|
analysisCompletedAt: Date | null;
|
|
1980
1980
|
identifiedCrop: string | null;
|
|
@@ -2301,7 +2301,7 @@ export declare const observationListResponseSchema: z.ZodObject<{
|
|
|
2301
2301
|
capturedAt: Date;
|
|
2302
2302
|
observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
|
|
2303
2303
|
userNotes: string | null;
|
|
2304
|
-
cropStageAtTime: "planted" | "flowering" | "
|
|
2304
|
+
cropStageAtTime: "planted" | "flowering" | "fruiting" | "mature" | "harvested" | "germination" | "vegetative" | null;
|
|
2305
2305
|
analysisStatus: "pending" | "failed" | "processing" | "completed";
|
|
2306
2306
|
analysisCompletedAt: Date | null;
|
|
2307
2307
|
identifiedCrop: string | null;
|
|
@@ -2384,7 +2384,7 @@ export declare const observationListResponseSchema: z.ZodObject<{
|
|
|
2384
2384
|
capturedAt: Date;
|
|
2385
2385
|
observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
|
|
2386
2386
|
userNotes: string | null;
|
|
2387
|
-
cropStageAtTime: "planted" | "flowering" | "
|
|
2387
|
+
cropStageAtTime: "planted" | "flowering" | "fruiting" | "mature" | "harvested" | "germination" | "vegetative" | null;
|
|
2388
2388
|
analysisStatus: "pending" | "failed" | "processing" | "completed";
|
|
2389
2389
|
analysisCompletedAt: Date | null;
|
|
2390
2390
|
identifiedCrop: string | null;
|
|
@@ -2474,7 +2474,7 @@ export declare const observationListResponseSchema: z.ZodObject<{
|
|
|
2474
2474
|
capturedAt: Date;
|
|
2475
2475
|
observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
|
|
2476
2476
|
userNotes: string | null;
|
|
2477
|
-
cropStageAtTime: "planted" | "flowering" | "
|
|
2477
|
+
cropStageAtTime: "planted" | "flowering" | "fruiting" | "mature" | "harvested" | "germination" | "vegetative" | null;
|
|
2478
2478
|
analysisStatus: "pending" | "failed" | "processing" | "completed";
|
|
2479
2479
|
analysisCompletedAt: Date | null;
|
|
2480
2480
|
identifiedCrop: string | null;
|
|
@@ -2564,7 +2564,7 @@ export declare const observationListResponseSchema: z.ZodObject<{
|
|
|
2564
2564
|
capturedAt: Date;
|
|
2565
2565
|
observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
|
|
2566
2566
|
userNotes: string | null;
|
|
2567
|
-
cropStageAtTime: "planted" | "flowering" | "
|
|
2567
|
+
cropStageAtTime: "planted" | "flowering" | "fruiting" | "mature" | "harvested" | "germination" | "vegetative" | null;
|
|
2568
2568
|
analysisStatus: "pending" | "failed" | "processing" | "completed";
|
|
2569
2569
|
analysisCompletedAt: Date | null;
|
|
2570
2570
|
identifiedCrop: string | null;
|
|
@@ -2680,7 +2680,7 @@ export declare const observationListResponseSchema: z.ZodObject<{
|
|
|
2680
2680
|
capturedAt: Date;
|
|
2681
2681
|
observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
|
|
2682
2682
|
userNotes: string | null;
|
|
2683
|
-
cropStageAtTime: "planted" | "flowering" | "
|
|
2683
|
+
cropStageAtTime: "planted" | "flowering" | "fruiting" | "mature" | "harvested" | "germination" | "vegetative" | null;
|
|
2684
2684
|
analysisStatus: "pending" | "failed" | "processing" | "completed";
|
|
2685
2685
|
analysisCompletedAt: Date | null;
|
|
2686
2686
|
identifiedCrop: string | null;
|
|
@@ -2782,7 +2782,7 @@ export declare const observationListResponseSchema: z.ZodObject<{
|
|
|
2782
2782
|
capturedAt: Date;
|
|
2783
2783
|
observationType: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check";
|
|
2784
2784
|
userNotes: string | null;
|
|
2785
|
-
cropStageAtTime: "planted" | "flowering" | "
|
|
2785
|
+
cropStageAtTime: "planted" | "flowering" | "fruiting" | "mature" | "harvested" | "germination" | "vegetative" | null;
|
|
2786
2786
|
analysisStatus: "pending" | "failed" | "processing" | "completed";
|
|
2787
2787
|
analysisCompletedAt: Date | null;
|
|
2788
2788
|
identifiedCrop: string | null;
|