@deepintel-ltd/farmpro-contracts 1.34.3 → 1.36.0

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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nutrient-plan.schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/nutrient-plan.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,eAAO,MAAM,uBAAuB;;;IAGlC,4FAA4F;;;IAG5F,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;EAMtF,CAAC;AAEH,eAAO,MAAM,eAAe,sOAa1B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;EAI/B,CAAC;AAEH,wFAAwF;AACxF,eAAO,MAAM,oBAAoB;;;;;;;IAO/B,gDAAgD;;;;;IAKhD,wDAAwD;;IAExD,yEAAyE;;IAEzE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEjF,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAb5B,gDAAgD;;;;;QAKhD,wDAAwD;;QAExD,yEAAyE;;QAEzE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkBjF,CAAC;AAEH,eAAO,MAAM,sBAAsB;;IAEjC,uFAAuF;;;;;;;;;;;;;;;;;;;;IAEvF,0DAA0D;;;;;;;;;;;;;;;;;;;;;;EAE1D,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;QANpC,uFAAuF;;;;;;;;;;;;;;;;;;;;QAEvF,0DAA0D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW1D,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;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CAAC,OAAO,oBAAoB,CAAC,CAAC;AAC1E,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAC1E,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAClE,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
@@ -0,0 +1,235 @@
1
+ import { z } from 'zod';
2
+ const nutrientAmountsSchema = z.object({
3
+ N: z.number(),
4
+ P2O5: z.number(),
5
+ K2O: z.number(),
6
+ CaO: z.number(),
7
+ MgO: z.number(),
8
+ });
9
+ const drumSchema = z.enum(['A', 'B']);
10
+ export const nutrientPlanWaterSchema = z.object({
11
+ kc: z.number(),
12
+ etoMmPerDay: z.number(),
13
+ /** True when the evapotranspiration is a typical value rather than measured or forecast. */
14
+ etoAssumed: z.boolean(),
15
+ plantsPerHectare: z.number(),
16
+ /** True when the plant population is the crop default rather than the field's own. */
17
+ plantsAssumed: z.boolean(),
18
+ etcMm: z.number(),
19
+ litresPerPlantPerDay: z.number(),
20
+ fieldLitresPerDay: z.number().nullable(),
21
+ notes: z.array(z.string()),
22
+ });
23
+ export const symptomIdSchema = z.enum([
24
+ 'yellow-old-leaves',
25
+ 'yellow-new-leaves',
26
+ 'yellow-between-veins',
27
+ 'pale-all-over',
28
+ 'purple-leaves',
29
+ 'leaf-edge-burn',
30
+ 'salt-crust',
31
+ 'soft-fruit-tips',
32
+ 'flower-drop',
33
+ 'wilting-wet-soil',
34
+ 'stunted-slow',
35
+ 'damping-off',
36
+ ]);
37
+ export const symptomAnswersSchema = z.object({
38
+ drainage: z.enum(['waterlogged', 'wet', 'ok', 'dry']).optional(),
39
+ affected: z.enum(['few', 'many', 'most']).optional(),
40
+ lastFeed: z.enum(['recent', 'week', 'late']).optional(),
41
+ });
42
+ /** One change to a plan, with why, how sure we are, what to check, and when it ends. */
43
+ export const planAdjustmentSchema = z.object({
44
+ id: z.string().optional(),
45
+ ruleId: z.string(),
46
+ kind: z.enum(['urgent', 'weekly']),
47
+ title: z.string(),
48
+ reason: z.string(),
49
+ evidence: z.enum(['measured', 'observed', 'estimated']),
50
+ /** For example "Nitrogen +20%, flush first". */
51
+ effectSummary: z.string(),
52
+ actions: z.array(z.string()),
53
+ expiresAt: z.string().optional(),
54
+ trigger: z.string().optional(),
55
+ /** A preview: shown, but it did not change the plan. */
56
+ shadow: z.boolean(),
57
+ /** False when set aside (a preview, or settled by a measured result). */
58
+ applied: z.boolean(),
59
+ /** proposed: waiting for the farmer to apply it (automatic adjusting is off). */
60
+ status: z.enum(['active', 'proposed']),
61
+ });
62
+ export const nurseryPlanSchema = z.object({
63
+ stage: z.object({ id: z.string(), label: z.string(), dayStart: z.number(), dayEnd: z.number() }),
64
+ sowDay: z.number(),
65
+ product: z.string(),
66
+ gPerLitre: z.number(),
67
+ ppmNitrogen: z.number(),
68
+ maxGPerLitre: z.number(),
69
+ maxEcMsPerCm: z.number(),
70
+ feedsPerWeek: z.number(),
71
+ feedHold: z.boolean(),
72
+ flush: z.boolean(),
73
+ noFeedStage: z.boolean(),
74
+ adjustments: z.array(planAdjustmentSchema),
75
+ notes: z.array(z.string()),
76
+ });
77
+ export const confirmedProductSchema = z.object({
78
+ productId: z.string().min(1).max(60),
79
+ /** Percent of product mass printed on the bag. Omit to keep the catalogue analysis. */
80
+ analysis: nutrientAmountsSchema.optional(),
81
+ /** The bag says it can go through drip or fertigation. */
82
+ dripSafe: z.boolean(),
83
+ });
84
+ export const fertigationSettingsSchema = z.object({
85
+ yieldTargetKgPerPlant: z.number().nullable(),
86
+ fertilizerSetId: z.string().nullable(),
87
+ mulched: z.boolean().nullable(),
88
+ feedIntensity: z.number().nullable(),
89
+ autoAdjust: z.boolean(),
90
+ confirmedProducts: z.array(confirmedProductSchema),
91
+ });
92
+ export const yieldToDateSchema = z.object({
93
+ kgTotal: z.number(),
94
+ kgPerPlant: z.number().nullable(),
95
+ targetKgPerPlant: z.number(),
96
+ percentOfTarget: z.number().nullable(),
97
+ harvestCount: z.number(),
98
+ /** True when some harvests used units we cannot convert to kilograms and were left out. */
99
+ skippedUnits: z.boolean(),
100
+ });
101
+ export const nutrientPlanSchema = z.object({
102
+ sheet: z.object({
103
+ id: z.string(),
104
+ version: z.number(),
105
+ label: z.string(),
106
+ evidenceLevel: z.enum(['A', 'B', 'C']),
107
+ approvedBy: z.string(),
108
+ approvedAt: z.string(),
109
+ summary: z.string(),
110
+ yieldBasis: z.string(),
111
+ }),
112
+ stage: z.object({
113
+ id: z.string(),
114
+ label: z.string(),
115
+ railLabel: z.string(),
116
+ dayStart: z.number(),
117
+ dayEnd: z.number(),
118
+ }),
119
+ fieldDay: z.number(),
120
+ yieldTargetKgPerPlant: z.number(),
121
+ feedIntensity: z.number(),
122
+ plantCount: z.number().nullable(),
123
+ /** Grams of each nutrient per plant per week (fertilizer-label oxide basis). */
124
+ weeklyPerPlantG: nutrientAmountsSchema,
125
+ weeklyFieldKg: nutrientAmountsSchema.nullable(),
126
+ /** What the chosen products actually deliver, and how far that is from the target (fraction). */
127
+ deliveredPerPlantG: nutrientAmountsSchema,
128
+ deviation: nutrientAmountsSchema,
129
+ fertilizerSet: z.object({ id: z.string(), name: z.string() }),
130
+ /** Product grams per plant for the whole week. */
131
+ weeklyProducts: z.array(z.object({
132
+ productId: z.string(),
133
+ name: z.string(),
134
+ drum: drumSchema,
135
+ gramsPerPlantPerWeek: z.number(),
136
+ fieldKgPerWeek: z.number().nullable(),
137
+ })),
138
+ drumFeedsPerWeek: z.object({ A: z.number(), B: z.number() }),
139
+ /** Product grams per plant for one feed. Potassium is one weekly amount split over the tank B feeds. */
140
+ feeds: z.array(z.object({
141
+ productId: z.string(),
142
+ name: z.string(),
143
+ drum: drumSchema,
144
+ gramsPerPlantPerFeed: z.number(),
145
+ fieldKgPerFeed: z.number().nullable(),
146
+ })),
147
+ water: nutrientPlanWaterSchema,
148
+ /** Grams per plant per week before any adjustment, and the multipliers applied on top. */
149
+ baselinePerPlantG: nutrientAmountsSchema,
150
+ nutrientFactors: nutrientAmountsSchema,
151
+ adjustments: z.array(planAdjustmentSchema),
152
+ /** Do not feed until the cause is fixed. */
153
+ feedHold: z.boolean(),
154
+ /** Add a plain-water flush before the next feed. */
155
+ flush: z.boolean(),
156
+ /** Add a soluble micronutrient mix to the next K-day feed. */
157
+ micros: z.boolean(),
158
+ adjustmentNotes: z.array(z.string()),
159
+ /** Plain-language problems the farmer must not ignore. */
160
+ blockers: z.array(z.string()),
161
+ warnings: z.array(z.string()),
162
+ /** Gaps the owner has accepted, with the reason. */
163
+ notices: z.array(z.string()),
164
+ /** Checks to do before using a product (e.g. confirm the bag says it can go through drip). */
165
+ cautions: z.array(z.string()),
166
+ notes: z.array(z.string()),
167
+ });
168
+ export const nutrientPlanResponseSchema = z.object({
169
+ fieldId: z.string(),
170
+ crop: z.string().nullable(),
171
+ status: z.enum(['ok', 'unsupported-crop', 'not-transplanted']),
172
+ /** Which plan applies: seedlings in the nursery, or plants in the field. Null when there is none. */
173
+ phase: z.enum(['nursery', 'field']).nullable(),
174
+ /** Why there is no plan, in words the farmer can act on. Null when status is ok. */
175
+ message: z.string().nullable(),
176
+ plan: nutrientPlanSchema.nullable(),
177
+ nursery: nurseryPlanSchema.nullable(),
178
+ /** The id of the stage a symptom report should be filed against. */
179
+ stageId: z.string().nullable(),
180
+ settings: fertigationSettingsSchema,
181
+ yieldToDate: yieldToDateSchema.nullable(),
182
+ generatedAt: z.string(),
183
+ });
184
+ export const symptomCatalogSchema = z.object({
185
+ symptoms: z.array(z.object({
186
+ id: symptomIdSchema,
187
+ label: z.string(),
188
+ phases: z.array(z.enum(['nursery', 'field'])),
189
+ questions: z.array(z.enum(['drainage', 'affected', 'lastFeed'])),
190
+ })),
191
+ questions: z.array(z.object({
192
+ id: z.enum(['drainage', 'affected', 'lastFeed']),
193
+ prompt: z.string(),
194
+ options: z.array(z.object({ value: z.string(), label: z.string() })),
195
+ })),
196
+ });
197
+ export const reportSymptomBodySchema = z.object({
198
+ symptomId: symptomIdSchema,
199
+ answers: symptomAnswersSchema.optional(),
200
+ notes: z.string().max(1000).optional(),
201
+ });
202
+ export const sapReadingBodySchema = z
203
+ .object({
204
+ /** Day the sap was tested (YYYY-MM-DD). Defaults to today. */
205
+ testedAt: z
206
+ .string()
207
+ .regex(/^\d{4}-\d{2}-\d{2}/)
208
+ .optional(),
209
+ /** Nitrate nitrogen in ppm. Use nitratePpm instead if the kit reads NO3. */
210
+ no3nPpm: z.number().positive().max(10000).optional(),
211
+ /** Nitrate (NO3) in ppm, as most kits read it; converted to nitrate nitrogen (divide by 4.43). */
212
+ nitratePpm: z.number().positive().max(40000).optional(),
213
+ kPpm: z.number().positive().max(10000).optional(),
214
+ method: z.string().max(80).optional(),
215
+ notes: z.string().max(500).optional(),
216
+ })
217
+ .refine((v) => v.no3nPpm != null || v.nitratePpm != null || v.kPpm != null, {
218
+ message: 'Enter a nitrate or potassium reading',
219
+ });
220
+ export const sapReadingSchema = z.object({
221
+ id: z.string(),
222
+ testedAt: z.string(),
223
+ no3nPpm: z.number().nullable(),
224
+ kPpm: z.number().nullable(),
225
+ method: z.string().nullable(),
226
+ notes: z.string().nullable(),
227
+ });
228
+ export const updateSettingsBodySchema = z.object({
229
+ yieldTargetKgPerPlant: z.number().min(0.5).max(4).nullable().optional(),
230
+ fertilizerSetId: z.string().min(1).max(60).nullable().optional(),
231
+ mulched: z.boolean().nullable().optional(),
232
+ feedIntensity: z.number().min(0.8).max(1.5).nullable().optional(),
233
+ autoAdjust: z.boolean().optional(),
234
+ confirmedProducts: z.array(confirmedProductSchema).max(20).optional(),
235
+ });
@@ -57,10 +57,10 @@ export declare const environmentalFactorsSchema: z.ZodObject<{
57
57
  current: z.ZodNullable<z.ZodNumber>;
58
58
  status: z.ZodNullable<z.ZodEnum<["dry", "optimal", "wet", "saturated"]>>;
59
59
  }, "strip", z.ZodTypeAny, {
60
- status: "optimal" | "saturated" | "dry" | "wet" | null;
60
+ status: "optimal" | "wet" | "dry" | "saturated" | null;
61
61
  current: number | null;
62
62
  }, {
63
- status: "optimal" | "saturated" | "dry" | "wet" | null;
63
+ status: "optimal" | "wet" | "dry" | "saturated" | null;
64
64
  current: number | null;
65
65
  }>>;
66
66
  windSpeed: z.ZodNullable<z.ZodObject<{
@@ -103,7 +103,7 @@ export declare const environmentalFactorsSchema: z.ZodObject<{
103
103
  avg7d: number | null;
104
104
  };
105
105
  soilMoisture: {
106
- status: "optimal" | "saturated" | "dry" | "wet" | null;
106
+ status: "optimal" | "wet" | "dry" | "saturated" | null;
107
107
  current: number | null;
108
108
  } | null;
109
109
  temperature: {
@@ -135,7 +135,7 @@ export declare const environmentalFactorsSchema: z.ZodObject<{
135
135
  avg7d: number | null;
136
136
  };
137
137
  soilMoisture: {
138
- status: "optimal" | "saturated" | "dry" | "wet" | null;
138
+ status: "optimal" | "wet" | "dry" | "saturated" | null;
139
139
  current: number | null;
140
140
  } | null;
141
141
  temperature: {
@@ -374,10 +374,10 @@ export declare const riskHeatmapResponseSchema: z.ZodObject<{
374
374
  current: z.ZodNullable<z.ZodNumber>;
375
375
  status: z.ZodNullable<z.ZodEnum<["dry", "optimal", "wet", "saturated"]>>;
376
376
  }, "strip", z.ZodTypeAny, {
377
- status: "optimal" | "saturated" | "dry" | "wet" | null;
377
+ status: "optimal" | "wet" | "dry" | "saturated" | null;
378
378
  current: number | null;
379
379
  }, {
380
- status: "optimal" | "saturated" | "dry" | "wet" | null;
380
+ status: "optimal" | "wet" | "dry" | "saturated" | null;
381
381
  current: number | null;
382
382
  }>>;
383
383
  windSpeed: z.ZodNullable<z.ZodObject<{
@@ -420,7 +420,7 @@ export declare const riskHeatmapResponseSchema: z.ZodObject<{
420
420
  avg7d: number | null;
421
421
  };
422
422
  soilMoisture: {
423
- status: "optimal" | "saturated" | "dry" | "wet" | null;
423
+ status: "optimal" | "wet" | "dry" | "saturated" | null;
424
424
  current: number | null;
425
425
  } | null;
426
426
  temperature: {
@@ -452,7 +452,7 @@ export declare const riskHeatmapResponseSchema: z.ZodObject<{
452
452
  avg7d: number | null;
453
453
  };
454
454
  soilMoisture: {
455
- status: "optimal" | "saturated" | "dry" | "wet" | null;
455
+ status: "optimal" | "wet" | "dry" | "saturated" | null;
456
456
  current: number | null;
457
457
  } | null;
458
458
  temperature: {
@@ -689,7 +689,7 @@ export declare const riskHeatmapResponseSchema: z.ZodObject<{
689
689
  avg7d: number | null;
690
690
  };
691
691
  soilMoisture: {
692
- status: "optimal" | "saturated" | "dry" | "wet" | null;
692
+ status: "optimal" | "wet" | "dry" | "saturated" | null;
693
693
  current: number | null;
694
694
  } | null;
695
695
  temperature: {
@@ -786,7 +786,7 @@ export declare const riskHeatmapResponseSchema: z.ZodObject<{
786
786
  avg7d: number | null;
787
787
  };
788
788
  soilMoisture: {
789
- status: "optimal" | "saturated" | "dry" | "wet" | null;
789
+ status: "optimal" | "wet" | "dry" | "saturated" | null;
790
790
  current: number | null;
791
791
  } | null;
792
792
  temperature: {
@@ -1191,10 +1191,10 @@ export declare const triggerAnalysisResponseSchema: z.ZodObject<{
1191
1191
  current: z.ZodNullable<z.ZodNumber>;
1192
1192
  status: z.ZodNullable<z.ZodEnum<["dry", "optimal", "wet", "saturated"]>>;
1193
1193
  }, "strip", z.ZodTypeAny, {
1194
- status: "optimal" | "saturated" | "dry" | "wet" | null;
1194
+ status: "optimal" | "wet" | "dry" | "saturated" | null;
1195
1195
  current: number | null;
1196
1196
  }, {
1197
- status: "optimal" | "saturated" | "dry" | "wet" | null;
1197
+ status: "optimal" | "wet" | "dry" | "saturated" | null;
1198
1198
  current: number | null;
1199
1199
  }>>;
1200
1200
  windSpeed: z.ZodNullable<z.ZodObject<{
@@ -1237,7 +1237,7 @@ export declare const triggerAnalysisResponseSchema: z.ZodObject<{
1237
1237
  avg7d: number | null;
1238
1238
  };
1239
1239
  soilMoisture: {
1240
- status: "optimal" | "saturated" | "dry" | "wet" | null;
1240
+ status: "optimal" | "wet" | "dry" | "saturated" | null;
1241
1241
  current: number | null;
1242
1242
  } | null;
1243
1243
  temperature: {
@@ -1269,7 +1269,7 @@ export declare const triggerAnalysisResponseSchema: z.ZodObject<{
1269
1269
  avg7d: number | null;
1270
1270
  };
1271
1271
  soilMoisture: {
1272
- status: "optimal" | "saturated" | "dry" | "wet" | null;
1272
+ status: "optimal" | "wet" | "dry" | "saturated" | null;
1273
1273
  current: number | null;
1274
1274
  } | null;
1275
1275
  temperature: {
@@ -1506,7 +1506,7 @@ export declare const triggerAnalysisResponseSchema: z.ZodObject<{
1506
1506
  avg7d: number | null;
1507
1507
  };
1508
1508
  soilMoisture: {
1509
- status: "optimal" | "saturated" | "dry" | "wet" | null;
1509
+ status: "optimal" | "wet" | "dry" | "saturated" | null;
1510
1510
  current: number | null;
1511
1511
  } | null;
1512
1512
  temperature: {
@@ -1603,7 +1603,7 @@ export declare const triggerAnalysisResponseSchema: z.ZodObject<{
1603
1603
  avg7d: number | null;
1604
1604
  };
1605
1605
  soilMoisture: {
1606
- status: "optimal" | "saturated" | "dry" | "wet" | null;
1606
+ status: "optimal" | "wet" | "dry" | "saturated" | null;
1607
1607
  current: number | null;
1608
1608
  } | null;
1609
1609
  temperature: {
@@ -1707,7 +1707,7 @@ export declare const triggerAnalysisResponseSchema: z.ZodObject<{
1707
1707
  avg7d: number | null;
1708
1708
  };
1709
1709
  soilMoisture: {
1710
- status: "optimal" | "saturated" | "dry" | "wet" | null;
1710
+ status: "optimal" | "wet" | "dry" | "saturated" | null;
1711
1711
  current: number | null;
1712
1712
  } | null;
1713
1713
  temperature: {
@@ -1811,7 +1811,7 @@ export declare const triggerAnalysisResponseSchema: z.ZodObject<{
1811
1811
  avg7d: number | null;
1812
1812
  };
1813
1813
  soilMoisture: {
1814
- status: "optimal" | "saturated" | "dry" | "wet" | null;
1814
+ status: "optimal" | "wet" | "dry" | "saturated" | null;
1815
1815
  current: number | null;
1816
1816
  } | null;
1817
1817
  temperature: {