@deepintel-ltd/farmpro-contracts 1.36.4 → 1.36.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.
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/routes/accounting.routes.d.ts +18 -18
- package/dist/routes/agent-workflows.routes.d.ts +56 -56
- package/dist/routes/cooperative.routes.d.ts +6 -6
- package/dist/routes/crop-care.routes.d.ts +2 -2
- package/dist/routes/extension.routes.d.ts +18 -18
- package/dist/routes/farm-status.routes.d.ts +8 -8
- package/dist/routes/fertigation.routes.d.ts +556 -556
- package/dist/routes/field-monitoring.routes.d.ts +89 -89
- package/dist/routes/field-observations.routes.d.ts +50 -50
- package/dist/routes/index.d.ts +0 -3
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/index.js +0 -2
- package/dist/routes/integrations.routes.d.ts +4 -4
- package/dist/routes/inventory.routes.d.ts +966 -0
- package/dist/routes/inventory.routes.d.ts.map +1 -1
- package/dist/routes/invoices.routes.d.ts +30 -30
- package/dist/routes/irrigation.routes.d.ts +20 -20
- package/dist/routes/measurements.routes.d.ts +6 -6
- package/dist/routes/monitoring-visualization.routes.d.ts +16 -16
- package/dist/routes/nutrient-plan.routes.d.ts +1847 -350
- package/dist/routes/nutrient-plan.routes.d.ts.map +1 -1
- package/dist/routes/nutrient-plan.routes.js +46 -0
- package/dist/routes/orchard-plan.routes.d.ts +10 -10
- package/dist/routes/purchase-orders.routes.d.ts +6 -6
- package/dist/routes/session.routes.d.ts +36 -36
- package/dist/routes/soil-tests.routes.d.ts +126 -126
- package/dist/routes/team-payments.routes.d.ts +36 -36
- package/dist/routes/waybills.routes.d.ts +12 -12
- package/dist/routes/weather.routes.d.ts +12 -12
- package/dist/routes/yield-prediction.routes.d.ts +8 -8
- package/dist/schemas/accounting.schemas.d.ts +20 -20
- package/dist/schemas/agent-workflows.schemas.d.ts +64 -64
- package/dist/schemas/cooperative.schemas.d.ts +8 -8
- package/dist/schemas/crop-care.schemas.d.ts +2 -2
- package/dist/schemas/extension.schemas.d.ts +18 -18
- package/dist/schemas/farm-fertilizers.schemas.d.ts +289 -162
- package/dist/schemas/farm-fertilizers.schemas.d.ts.map +1 -1
- package/dist/schemas/farm-fertilizers.schemas.js +31 -5
- package/dist/schemas/farm-status.schemas.d.ts +14 -14
- package/dist/schemas/fertigation-board.schemas.d.ts +889 -0
- package/dist/schemas/fertigation-board.schemas.d.ts.map +1 -0
- package/dist/schemas/fertigation-board.schemas.js +107 -0
- package/dist/schemas/fertigation.schemas.d.ts +214 -214
- package/dist/schemas/field-monitoring.schemas.d.ts +69 -69
- package/dist/schemas/field-observations.schemas.d.ts +34 -34
- package/dist/schemas/integrations.schemas.d.ts +6 -6
- package/dist/schemas/inventory.schemas.d.ts +1298 -0
- package/dist/schemas/inventory.schemas.d.ts.map +1 -1
- package/dist/schemas/inventory.schemas.js +7 -0
- package/dist/schemas/invoices.schemas.d.ts +18 -18
- package/dist/schemas/irrigation.schemas.d.ts +12 -12
- package/dist/schemas/measurements.schemas.d.ts +6 -6
- package/dist/schemas/monitoring-visualization.schemas.d.ts +16 -16
- package/dist/schemas/nutrient-plan.schemas.d.ts +98 -98
- package/dist/schemas/orchard-plan.schemas.d.ts +26 -26
- package/dist/schemas/purchase-orders.schemas.d.ts +6 -6
- package/dist/schemas/recommendations.schemas.d.ts +6 -6
- package/dist/schemas/session.schemas.d.ts +36 -36
- package/dist/schemas/soil-tests.schemas.d.ts +120 -120
- package/dist/schemas/team-payments.schemas.d.ts +30 -30
- package/dist/schemas/waybills.schemas.d.ts +12 -12
- package/dist/schemas/weather.schemas.d.ts +36 -36
- package/dist/schemas/yield-prediction.schemas.d.ts +4 -4
- package/package.json +1 -1
- package/dist/routes/farm-fertilizers.routes.d.ts +0 -1139
- package/dist/routes/farm-fertilizers.routes.d.ts.map +0 -1
- package/dist/routes/farm-fertilizers.routes.js +0 -63
|
@@ -1,6 +1,79 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const applicationMethodSchema: z.ZodEnum<["fertigation", "foliar", "soil"]>;
|
|
3
3
|
export declare const fertilizerFormSchema: z.ZodEnum<["soluble", "granular", "liquid"]>;
|
|
4
|
+
/** Bag analysis stored on a fertilizer supply item. Stock stays on the inventory item, in kilograms. */
|
|
5
|
+
export declare const fertilizerProfileInputSchema: z.ZodEffects<z.ZodObject<{
|
|
6
|
+
brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
+
nitrogen: z.ZodNumber;
|
|
8
|
+
phosphorus: z.ZodNumber;
|
|
9
|
+
potassium: z.ZodNumber;
|
|
10
|
+
calcium: z.ZodNumber;
|
|
11
|
+
magnesium: z.ZodNumber;
|
|
12
|
+
sulfate: z.ZodDefault<z.ZodBoolean>;
|
|
13
|
+
micronutrients: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodNumber>>>;
|
|
14
|
+
form: z.ZodDefault<z.ZodEnum<["soluble", "granular", "liquid"]>>;
|
|
15
|
+
applicationMethods: z.ZodArray<z.ZodEnum<["fertigation", "foliar", "soil"]>, "many">;
|
|
16
|
+
labelDirections: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
bagSizeKg: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
catalogueProductId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
nitrogen: number;
|
|
21
|
+
phosphorus: number;
|
|
22
|
+
potassium: number;
|
|
23
|
+
calcium: number;
|
|
24
|
+
magnesium: number;
|
|
25
|
+
sulfate: boolean;
|
|
26
|
+
form: "soluble" | "granular" | "liquid";
|
|
27
|
+
applicationMethods: ("fertigation" | "foliar" | "soil")[];
|
|
28
|
+
brand?: string | null | undefined;
|
|
29
|
+
micronutrients?: Record<string, number> | null | undefined;
|
|
30
|
+
labelDirections?: string | null | undefined;
|
|
31
|
+
bagSizeKg?: number | null | undefined;
|
|
32
|
+
catalogueProductId?: string | null | undefined;
|
|
33
|
+
}, {
|
|
34
|
+
nitrogen: number;
|
|
35
|
+
phosphorus: number;
|
|
36
|
+
potassium: number;
|
|
37
|
+
calcium: number;
|
|
38
|
+
magnesium: number;
|
|
39
|
+
applicationMethods: ("fertigation" | "foliar" | "soil")[];
|
|
40
|
+
brand?: string | null | undefined;
|
|
41
|
+
sulfate?: boolean | undefined;
|
|
42
|
+
micronutrients?: Record<string, number> | null | undefined;
|
|
43
|
+
form?: "soluble" | "granular" | "liquid" | undefined;
|
|
44
|
+
labelDirections?: string | null | undefined;
|
|
45
|
+
bagSizeKg?: number | null | undefined;
|
|
46
|
+
catalogueProductId?: string | null | undefined;
|
|
47
|
+
}>, {
|
|
48
|
+
nitrogen: number;
|
|
49
|
+
phosphorus: number;
|
|
50
|
+
potassium: number;
|
|
51
|
+
calcium: number;
|
|
52
|
+
magnesium: number;
|
|
53
|
+
sulfate: boolean;
|
|
54
|
+
form: "soluble" | "granular" | "liquid";
|
|
55
|
+
applicationMethods: ("fertigation" | "foliar" | "soil")[];
|
|
56
|
+
brand?: string | null | undefined;
|
|
57
|
+
micronutrients?: Record<string, number> | null | undefined;
|
|
58
|
+
labelDirections?: string | null | undefined;
|
|
59
|
+
bagSizeKg?: number | null | undefined;
|
|
60
|
+
catalogueProductId?: string | null | undefined;
|
|
61
|
+
}, {
|
|
62
|
+
nitrogen: number;
|
|
63
|
+
phosphorus: number;
|
|
64
|
+
potassium: number;
|
|
65
|
+
calcium: number;
|
|
66
|
+
magnesium: number;
|
|
67
|
+
applicationMethods: ("fertigation" | "foliar" | "soil")[];
|
|
68
|
+
brand?: string | null | undefined;
|
|
69
|
+
sulfate?: boolean | undefined;
|
|
70
|
+
micronutrients?: Record<string, number> | null | undefined;
|
|
71
|
+
form?: "soluble" | "granular" | "liquid" | undefined;
|
|
72
|
+
labelDirections?: string | null | undefined;
|
|
73
|
+
bagSizeKg?: number | null | undefined;
|
|
74
|
+
catalogueProductId?: string | null | undefined;
|
|
75
|
+
}>;
|
|
76
|
+
export type FertilizerProfileInput = z.infer<typeof fertilizerProfileInputSchema>;
|
|
4
77
|
/** What reading a bag photo returns. Nothing in it reaches a plan until the farmer confirms it. */
|
|
5
78
|
export declare const fertilizerLabelDraftSchema: z.ZodObject<{
|
|
6
79
|
name: z.ZodString;
|
|
@@ -25,10 +98,10 @@ export declare const fertilizerLabelDraftSchema: z.ZodObject<{
|
|
|
25
98
|
id: z.ZodEnum<["use-unclear", "analysis-missing", "stock"]>;
|
|
26
99
|
text: z.ZodString;
|
|
27
100
|
}, "strip", z.ZodTypeAny, {
|
|
28
|
-
id: "
|
|
101
|
+
id: "use-unclear" | "analysis-missing" | "stock";
|
|
29
102
|
text: string;
|
|
30
103
|
}, {
|
|
31
|
-
id: "
|
|
104
|
+
id: "use-unclear" | "analysis-missing" | "stock";
|
|
32
105
|
text: string;
|
|
33
106
|
}>, "many">;
|
|
34
107
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -39,20 +112,20 @@ export declare const fertilizerLabelDraftSchema: z.ZodObject<{
|
|
|
39
112
|
potassium: number;
|
|
40
113
|
calcium: number;
|
|
41
114
|
magnesium: number;
|
|
42
|
-
micronutrients: Record<string, number> | null;
|
|
43
|
-
applicationMethods: ("soil" | "fertigation" | "foliar")[];
|
|
44
|
-
questions: {
|
|
45
|
-
id: "stock" | "use-unclear" | "analysis-missing";
|
|
46
|
-
text: string;
|
|
47
|
-
}[];
|
|
48
115
|
sulfate: boolean;
|
|
116
|
+
micronutrients: Record<string, number> | null;
|
|
49
117
|
form: "soluble" | "granular" | "liquid";
|
|
118
|
+
applicationMethods: ("fertigation" | "foliar" | "soil")[];
|
|
50
119
|
labelDirections: string | null;
|
|
51
120
|
bagSizeKg: number | null;
|
|
52
121
|
catalogueProductId: string | null;
|
|
53
122
|
analysisFrom: "bag" | "catalogue";
|
|
54
|
-
legibility: "partial" | "
|
|
123
|
+
legibility: "partial" | "clear" | "poor";
|
|
55
124
|
roles: string[];
|
|
125
|
+
questions: {
|
|
126
|
+
id: "use-unclear" | "analysis-missing" | "stock";
|
|
127
|
+
text: string;
|
|
128
|
+
}[];
|
|
56
129
|
}, {
|
|
57
130
|
name: string;
|
|
58
131
|
brand: string | null;
|
|
@@ -61,20 +134,20 @@ export declare const fertilizerLabelDraftSchema: z.ZodObject<{
|
|
|
61
134
|
potassium: number;
|
|
62
135
|
calcium: number;
|
|
63
136
|
magnesium: number;
|
|
64
|
-
micronutrients: Record<string, number> | null;
|
|
65
|
-
applicationMethods: ("soil" | "fertigation" | "foliar")[];
|
|
66
|
-
questions: {
|
|
67
|
-
id: "stock" | "use-unclear" | "analysis-missing";
|
|
68
|
-
text: string;
|
|
69
|
-
}[];
|
|
70
137
|
sulfate: boolean;
|
|
138
|
+
micronutrients: Record<string, number> | null;
|
|
71
139
|
form: "soluble" | "granular" | "liquid";
|
|
140
|
+
applicationMethods: ("fertigation" | "foliar" | "soil")[];
|
|
72
141
|
labelDirections: string | null;
|
|
73
142
|
bagSizeKg: number | null;
|
|
74
143
|
catalogueProductId: string | null;
|
|
75
144
|
analysisFrom: "bag" | "catalogue";
|
|
76
|
-
legibility: "partial" | "
|
|
145
|
+
legibility: "partial" | "clear" | "poor";
|
|
77
146
|
roles: string[];
|
|
147
|
+
questions: {
|
|
148
|
+
id: "use-unclear" | "analysis-missing" | "stock";
|
|
149
|
+
text: string;
|
|
150
|
+
}[];
|
|
78
151
|
}>;
|
|
79
152
|
export type FertilizerLabelDraftContract = z.infer<typeof fertilizerLabelDraftSchema>;
|
|
80
153
|
export declare const farmFertilizerSchema: z.ZodObject<{
|
|
@@ -107,10 +180,10 @@ export declare const farmFertilizerSchema: z.ZodObject<{
|
|
|
107
180
|
potassium: number;
|
|
108
181
|
calcium: number;
|
|
109
182
|
magnesium: number;
|
|
110
|
-
micronutrients: Record<string, number> | null;
|
|
111
|
-
applicationMethods: ("soil" | "fertigation" | "foliar")[];
|
|
112
183
|
sulfate: boolean;
|
|
184
|
+
micronutrients: Record<string, number> | null;
|
|
113
185
|
form: "soluble" | "granular" | "liquid";
|
|
186
|
+
applicationMethods: ("fertigation" | "foliar" | "soil")[];
|
|
114
187
|
labelDirections: string | null;
|
|
115
188
|
bagSizeKg: number | null;
|
|
116
189
|
catalogueProductId: string | null;
|
|
@@ -126,10 +199,10 @@ export declare const farmFertilizerSchema: z.ZodObject<{
|
|
|
126
199
|
potassium: number;
|
|
127
200
|
calcium: number;
|
|
128
201
|
magnesium: number;
|
|
129
|
-
micronutrients: Record<string, number> | null;
|
|
130
|
-
applicationMethods: ("soil" | "fertigation" | "foliar")[];
|
|
131
202
|
sulfate: boolean;
|
|
203
|
+
micronutrients: Record<string, number> | null;
|
|
132
204
|
form: "soluble" | "granular" | "liquid";
|
|
205
|
+
applicationMethods: ("fertigation" | "foliar" | "soil")[];
|
|
133
206
|
labelDirections: string | null;
|
|
134
207
|
bagSizeKg: number | null;
|
|
135
208
|
catalogueProductId: string | null;
|
|
@@ -138,6 +211,60 @@ export declare const farmFertilizerSchema: z.ZodObject<{
|
|
|
138
211
|
fertigationSafe: boolean;
|
|
139
212
|
}>;
|
|
140
213
|
export type FarmFertilizerContract = z.infer<typeof farmFertilizerSchema>;
|
|
214
|
+
export declare const fertilizerProfileViewSchema: z.ZodObject<Omit<{
|
|
215
|
+
id: z.ZodString;
|
|
216
|
+
name: z.ZodString;
|
|
217
|
+
brand: z.ZodNullable<z.ZodString>;
|
|
218
|
+
catalogueProductId: z.ZodNullable<z.ZodString>;
|
|
219
|
+
nitrogen: z.ZodNumber;
|
|
220
|
+
phosphorus: z.ZodNumber;
|
|
221
|
+
potassium: z.ZodNumber;
|
|
222
|
+
calcium: z.ZodNumber;
|
|
223
|
+
magnesium: z.ZodNumber;
|
|
224
|
+
sulfate: z.ZodBoolean;
|
|
225
|
+
micronutrients: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodNumber>>;
|
|
226
|
+
form: z.ZodEnum<["soluble", "granular", "liquid"]>;
|
|
227
|
+
applicationMethods: z.ZodArray<z.ZodEnum<["fertigation", "foliar", "soil"]>, "many">;
|
|
228
|
+
roles: z.ZodArray<z.ZodString, "many">;
|
|
229
|
+
labelDirections: z.ZodNullable<z.ZodString>;
|
|
230
|
+
bagSizeKg: z.ZodNullable<z.ZodNumber>;
|
|
231
|
+
/** Kilograms on hand, or null when stock is not tracked. */
|
|
232
|
+
stockKg: z.ZodNullable<z.ZodNumber>;
|
|
233
|
+
/** The plan may put it through the drip. */
|
|
234
|
+
fertigationSafe: z.ZodBoolean;
|
|
235
|
+
}, "id" | "name" | "stockKg">, "strip", z.ZodTypeAny, {
|
|
236
|
+
brand: string | null;
|
|
237
|
+
nitrogen: number;
|
|
238
|
+
phosphorus: number;
|
|
239
|
+
potassium: number;
|
|
240
|
+
calcium: number;
|
|
241
|
+
magnesium: number;
|
|
242
|
+
sulfate: boolean;
|
|
243
|
+
micronutrients: Record<string, number> | null;
|
|
244
|
+
form: "soluble" | "granular" | "liquid";
|
|
245
|
+
applicationMethods: ("fertigation" | "foliar" | "soil")[];
|
|
246
|
+
labelDirections: string | null;
|
|
247
|
+
bagSizeKg: number | null;
|
|
248
|
+
catalogueProductId: string | null;
|
|
249
|
+
roles: string[];
|
|
250
|
+
fertigationSafe: boolean;
|
|
251
|
+
}, {
|
|
252
|
+
brand: string | null;
|
|
253
|
+
nitrogen: number;
|
|
254
|
+
phosphorus: number;
|
|
255
|
+
potassium: number;
|
|
256
|
+
calcium: number;
|
|
257
|
+
magnesium: number;
|
|
258
|
+
sulfate: boolean;
|
|
259
|
+
micronutrients: Record<string, number> | null;
|
|
260
|
+
form: "soluble" | "granular" | "liquid";
|
|
261
|
+
applicationMethods: ("fertigation" | "foliar" | "soil")[];
|
|
262
|
+
labelDirections: string | null;
|
|
263
|
+
bagSizeKg: number | null;
|
|
264
|
+
catalogueProductId: string | null;
|
|
265
|
+
roles: string[];
|
|
266
|
+
fertigationSafe: boolean;
|
|
267
|
+
}>;
|
|
141
268
|
export declare const farmFertilizerListSchema: z.ZodObject<{
|
|
142
269
|
items: z.ZodArray<z.ZodObject<{
|
|
143
270
|
id: z.ZodString;
|
|
@@ -169,10 +296,10 @@ export declare const farmFertilizerListSchema: z.ZodObject<{
|
|
|
169
296
|
potassium: number;
|
|
170
297
|
calcium: number;
|
|
171
298
|
magnesium: number;
|
|
172
|
-
micronutrients: Record<string, number> | null;
|
|
173
|
-
applicationMethods: ("soil" | "fertigation" | "foliar")[];
|
|
174
299
|
sulfate: boolean;
|
|
300
|
+
micronutrients: Record<string, number> | null;
|
|
175
301
|
form: "soluble" | "granular" | "liquid";
|
|
302
|
+
applicationMethods: ("fertigation" | "foliar" | "soil")[];
|
|
176
303
|
labelDirections: string | null;
|
|
177
304
|
bagSizeKg: number | null;
|
|
178
305
|
catalogueProductId: string | null;
|
|
@@ -188,10 +315,10 @@ export declare const farmFertilizerListSchema: z.ZodObject<{
|
|
|
188
315
|
potassium: number;
|
|
189
316
|
calcium: number;
|
|
190
317
|
magnesium: number;
|
|
191
|
-
micronutrients: Record<string, number> | null;
|
|
192
|
-
applicationMethods: ("soil" | "fertigation" | "foliar")[];
|
|
193
318
|
sulfate: boolean;
|
|
319
|
+
micronutrients: Record<string, number> | null;
|
|
194
320
|
form: "soluble" | "granular" | "liquid";
|
|
321
|
+
applicationMethods: ("fertigation" | "foliar" | "soil")[];
|
|
195
322
|
labelDirections: string | null;
|
|
196
323
|
bagSizeKg: number | null;
|
|
197
324
|
catalogueProductId: string | null;
|
|
@@ -209,10 +336,10 @@ export declare const farmFertilizerListSchema: z.ZodObject<{
|
|
|
209
336
|
potassium: number;
|
|
210
337
|
calcium: number;
|
|
211
338
|
magnesium: number;
|
|
212
|
-
micronutrients: Record<string, number> | null;
|
|
213
|
-
applicationMethods: ("soil" | "fertigation" | "foliar")[];
|
|
214
339
|
sulfate: boolean;
|
|
340
|
+
micronutrients: Record<string, number> | null;
|
|
215
341
|
form: "soluble" | "granular" | "liquid";
|
|
342
|
+
applicationMethods: ("fertigation" | "foliar" | "soil")[];
|
|
216
343
|
labelDirections: string | null;
|
|
217
344
|
bagSizeKg: number | null;
|
|
218
345
|
catalogueProductId: string | null;
|
|
@@ -230,10 +357,10 @@ export declare const farmFertilizerListSchema: z.ZodObject<{
|
|
|
230
357
|
potassium: number;
|
|
231
358
|
calcium: number;
|
|
232
359
|
magnesium: number;
|
|
233
|
-
micronutrients: Record<string, number> | null;
|
|
234
|
-
applicationMethods: ("soil" | "fertigation" | "foliar")[];
|
|
235
360
|
sulfate: boolean;
|
|
361
|
+
micronutrients: Record<string, number> | null;
|
|
236
362
|
form: "soluble" | "granular" | "liquid";
|
|
363
|
+
applicationMethods: ("fertigation" | "foliar" | "soil")[];
|
|
237
364
|
labelDirections: string | null;
|
|
238
365
|
bagSizeKg: number | null;
|
|
239
366
|
catalogueProductId: string | null;
|
|
@@ -266,9 +393,9 @@ export declare const createFarmFertilizerBodySchema: z.ZodEffects<z.ZodObject<{
|
|
|
266
393
|
potassium: number;
|
|
267
394
|
calcium: number;
|
|
268
395
|
magnesium: number;
|
|
269
|
-
applicationMethods: ("soil" | "fertigation" | "foliar")[];
|
|
270
396
|
sulfate: boolean;
|
|
271
397
|
form: "soluble" | "granular" | "liquid";
|
|
398
|
+
applicationMethods: ("fertigation" | "foliar" | "soil")[];
|
|
272
399
|
brand?: string | null | undefined;
|
|
273
400
|
micronutrients?: Record<string, number> | null | undefined;
|
|
274
401
|
labelDirections?: string | null | undefined;
|
|
@@ -282,10 +409,10 @@ export declare const createFarmFertilizerBodySchema: z.ZodEffects<z.ZodObject<{
|
|
|
282
409
|
potassium: number;
|
|
283
410
|
calcium: number;
|
|
284
411
|
magnesium: number;
|
|
285
|
-
applicationMethods: ("
|
|
412
|
+
applicationMethods: ("fertigation" | "foliar" | "soil")[];
|
|
286
413
|
brand?: string | null | undefined;
|
|
287
|
-
micronutrients?: Record<string, number> | null | undefined;
|
|
288
414
|
sulfate?: boolean | undefined;
|
|
415
|
+
micronutrients?: Record<string, number> | null | undefined;
|
|
289
416
|
form?: "soluble" | "granular" | "liquid" | undefined;
|
|
290
417
|
labelDirections?: string | null | undefined;
|
|
291
418
|
bagSizeKg?: number | null | undefined;
|
|
@@ -298,9 +425,9 @@ export declare const createFarmFertilizerBodySchema: z.ZodEffects<z.ZodObject<{
|
|
|
298
425
|
potassium: number;
|
|
299
426
|
calcium: number;
|
|
300
427
|
magnesium: number;
|
|
301
|
-
applicationMethods: ("soil" | "fertigation" | "foliar")[];
|
|
302
428
|
sulfate: boolean;
|
|
303
429
|
form: "soluble" | "granular" | "liquid";
|
|
430
|
+
applicationMethods: ("fertigation" | "foliar" | "soil")[];
|
|
304
431
|
brand?: string | null | undefined;
|
|
305
432
|
micronutrients?: Record<string, number> | null | undefined;
|
|
306
433
|
labelDirections?: string | null | undefined;
|
|
@@ -314,10 +441,10 @@ export declare const createFarmFertilizerBodySchema: z.ZodEffects<z.ZodObject<{
|
|
|
314
441
|
potassium: number;
|
|
315
442
|
calcium: number;
|
|
316
443
|
magnesium: number;
|
|
317
|
-
applicationMethods: ("
|
|
444
|
+
applicationMethods: ("fertigation" | "foliar" | "soil")[];
|
|
318
445
|
brand?: string | null | undefined;
|
|
319
|
-
micronutrients?: Record<string, number> | null | undefined;
|
|
320
446
|
sulfate?: boolean | undefined;
|
|
447
|
+
micronutrients?: Record<string, number> | null | undefined;
|
|
321
448
|
form?: "soluble" | "granular" | "liquid" | undefined;
|
|
322
449
|
labelDirections?: string | null | undefined;
|
|
323
450
|
bagSizeKg?: number | null | undefined;
|
|
@@ -331,12 +458,12 @@ export declare const updateFarmFertilizerBodySchema: z.ZodObject<{
|
|
|
331
458
|
stockKg: z.ZodOptional<z.ZodNumber>;
|
|
332
459
|
}, "strip", z.ZodTypeAny, {
|
|
333
460
|
name?: string | undefined;
|
|
334
|
-
applicationMethods?: ("
|
|
461
|
+
applicationMethods?: ("fertigation" | "foliar" | "soil")[] | undefined;
|
|
335
462
|
bagSizeKg?: number | null | undefined;
|
|
336
463
|
stockKg?: number | undefined;
|
|
337
464
|
}, {
|
|
338
465
|
name?: string | undefined;
|
|
339
|
-
applicationMethods?: ("
|
|
466
|
+
applicationMethods?: ("fertigation" | "foliar" | "soil")[] | undefined;
|
|
340
467
|
bagSizeKg?: number | null | undefined;
|
|
341
468
|
stockKg?: number | undefined;
|
|
342
469
|
}>;
|
|
@@ -379,30 +506,30 @@ export declare const fertilizerRequirementSchema: z.ZodObject<{
|
|
|
379
506
|
how: z.ZodArray<z.ZodString, "many">;
|
|
380
507
|
warning: z.ZodNullable<z.ZodString>;
|
|
381
508
|
}, "strip", z.ZodTypeAny, {
|
|
382
|
-
warning: string | null;
|
|
383
509
|
why: string;
|
|
384
510
|
when: string;
|
|
385
511
|
how: string[];
|
|
386
|
-
}, {
|
|
387
512
|
warning: string | null;
|
|
513
|
+
}, {
|
|
388
514
|
why: string;
|
|
389
515
|
when: string;
|
|
390
516
|
how: string[];
|
|
517
|
+
warning: string | null;
|
|
391
518
|
}>;
|
|
392
519
|
}, "strip", z.ZodTypeAny, {
|
|
393
520
|
id: string;
|
|
394
521
|
name: string;
|
|
395
522
|
brand: string | null;
|
|
396
523
|
role: string | null;
|
|
397
|
-
availability: "on-farm" | "not-recorded";
|
|
398
|
-
gramsPerPlantPerWeek: number | null;
|
|
399
|
-
fieldKgPerWeek: number | null;
|
|
400
|
-
gramsPerPlantPerFeed: number | null;
|
|
401
|
-
fieldKgPerFeed: number | null;
|
|
402
524
|
labelDirections: string | null;
|
|
403
525
|
bagSizeKg: number | null;
|
|
404
526
|
stockKg: number | null;
|
|
405
527
|
tank: "A" | "B" | null;
|
|
528
|
+
availability: "on-farm" | "not-recorded";
|
|
529
|
+
gramsPerPlantPerFeed: number | null;
|
|
530
|
+
fieldKgPerFeed: number | null;
|
|
531
|
+
gramsPerPlantPerWeek: number | null;
|
|
532
|
+
fieldKgPerWeek: number | null;
|
|
406
533
|
fieldNeedKg: number | null;
|
|
407
534
|
farmNeedKg: number | null;
|
|
408
535
|
fieldCount: number;
|
|
@@ -411,25 +538,25 @@ export declare const fertilizerRequirementSchema: z.ZodObject<{
|
|
|
411
538
|
purchaseBags: number | null;
|
|
412
539
|
additionalNutrients: string | null;
|
|
413
540
|
guidance: {
|
|
414
|
-
warning: string | null;
|
|
415
541
|
why: string;
|
|
416
542
|
when: string;
|
|
417
543
|
how: string[];
|
|
544
|
+
warning: string | null;
|
|
418
545
|
};
|
|
419
546
|
}, {
|
|
420
547
|
id: string;
|
|
421
548
|
name: string;
|
|
422
549
|
brand: string | null;
|
|
423
550
|
role: string | null;
|
|
424
|
-
availability: "on-farm" | "not-recorded";
|
|
425
|
-
gramsPerPlantPerWeek: number | null;
|
|
426
|
-
fieldKgPerWeek: number | null;
|
|
427
|
-
gramsPerPlantPerFeed: number | null;
|
|
428
|
-
fieldKgPerFeed: number | null;
|
|
429
551
|
labelDirections: string | null;
|
|
430
552
|
bagSizeKg: number | null;
|
|
431
553
|
stockKg: number | null;
|
|
432
554
|
tank: "A" | "B" | null;
|
|
555
|
+
availability: "on-farm" | "not-recorded";
|
|
556
|
+
gramsPerPlantPerFeed: number | null;
|
|
557
|
+
fieldKgPerFeed: number | null;
|
|
558
|
+
gramsPerPlantPerWeek: number | null;
|
|
559
|
+
fieldKgPerWeek: number | null;
|
|
433
560
|
fieldNeedKg: number | null;
|
|
434
561
|
farmNeedKg: number | null;
|
|
435
562
|
fieldCount: number;
|
|
@@ -438,10 +565,10 @@ export declare const fertilizerRequirementSchema: z.ZodObject<{
|
|
|
438
565
|
purchaseBags: number | null;
|
|
439
566
|
additionalNutrients: string | null;
|
|
440
567
|
guidance: {
|
|
441
|
-
warning: string | null;
|
|
442
568
|
why: string;
|
|
443
569
|
when: string;
|
|
444
570
|
how: string[];
|
|
571
|
+
warning: string | null;
|
|
445
572
|
};
|
|
446
573
|
}>;
|
|
447
574
|
export type FertilizerRequirementContract = z.infer<typeof fertilizerRequirementSchema>;
|
|
@@ -522,30 +649,30 @@ export declare const fertilizerRequirementsResponseSchema: z.ZodObject<{
|
|
|
522
649
|
how: z.ZodArray<z.ZodString, "many">;
|
|
523
650
|
warning: z.ZodNullable<z.ZodString>;
|
|
524
651
|
}, "strip", z.ZodTypeAny, {
|
|
525
|
-
warning: string | null;
|
|
526
652
|
why: string;
|
|
527
653
|
when: string;
|
|
528
654
|
how: string[];
|
|
529
|
-
}, {
|
|
530
655
|
warning: string | null;
|
|
656
|
+
}, {
|
|
531
657
|
why: string;
|
|
532
658
|
when: string;
|
|
533
659
|
how: string[];
|
|
660
|
+
warning: string | null;
|
|
534
661
|
}>;
|
|
535
662
|
}, "strip", z.ZodTypeAny, {
|
|
536
663
|
id: string;
|
|
537
664
|
name: string;
|
|
538
665
|
brand: string | null;
|
|
539
666
|
role: string | null;
|
|
540
|
-
availability: "on-farm" | "not-recorded";
|
|
541
|
-
gramsPerPlantPerWeek: number | null;
|
|
542
|
-
fieldKgPerWeek: number | null;
|
|
543
|
-
gramsPerPlantPerFeed: number | null;
|
|
544
|
-
fieldKgPerFeed: number | null;
|
|
545
667
|
labelDirections: string | null;
|
|
546
668
|
bagSizeKg: number | null;
|
|
547
669
|
stockKg: number | null;
|
|
548
670
|
tank: "A" | "B" | null;
|
|
671
|
+
availability: "on-farm" | "not-recorded";
|
|
672
|
+
gramsPerPlantPerFeed: number | null;
|
|
673
|
+
fieldKgPerFeed: number | null;
|
|
674
|
+
gramsPerPlantPerWeek: number | null;
|
|
675
|
+
fieldKgPerWeek: number | null;
|
|
549
676
|
fieldNeedKg: number | null;
|
|
550
677
|
farmNeedKg: number | null;
|
|
551
678
|
fieldCount: number;
|
|
@@ -554,25 +681,25 @@ export declare const fertilizerRequirementsResponseSchema: z.ZodObject<{
|
|
|
554
681
|
purchaseBags: number | null;
|
|
555
682
|
additionalNutrients: string | null;
|
|
556
683
|
guidance: {
|
|
557
|
-
warning: string | null;
|
|
558
684
|
why: string;
|
|
559
685
|
when: string;
|
|
560
686
|
how: string[];
|
|
687
|
+
warning: string | null;
|
|
561
688
|
};
|
|
562
689
|
}, {
|
|
563
690
|
id: string;
|
|
564
691
|
name: string;
|
|
565
692
|
brand: string | null;
|
|
566
693
|
role: string | null;
|
|
567
|
-
availability: "on-farm" | "not-recorded";
|
|
568
|
-
gramsPerPlantPerWeek: number | null;
|
|
569
|
-
fieldKgPerWeek: number | null;
|
|
570
|
-
gramsPerPlantPerFeed: number | null;
|
|
571
|
-
fieldKgPerFeed: number | null;
|
|
572
694
|
labelDirections: string | null;
|
|
573
695
|
bagSizeKg: number | null;
|
|
574
696
|
stockKg: number | null;
|
|
575
697
|
tank: "A" | "B" | null;
|
|
698
|
+
availability: "on-farm" | "not-recorded";
|
|
699
|
+
gramsPerPlantPerFeed: number | null;
|
|
700
|
+
fieldKgPerFeed: number | null;
|
|
701
|
+
gramsPerPlantPerWeek: number | null;
|
|
702
|
+
fieldKgPerWeek: number | null;
|
|
576
703
|
fieldNeedKg: number | null;
|
|
577
704
|
farmNeedKg: number | null;
|
|
578
705
|
fieldCount: number;
|
|
@@ -581,10 +708,10 @@ export declare const fertilizerRequirementsResponseSchema: z.ZodObject<{
|
|
|
581
708
|
purchaseBags: number | null;
|
|
582
709
|
additionalNutrients: string | null;
|
|
583
710
|
guidance: {
|
|
584
|
-
warning: string | null;
|
|
585
711
|
why: string;
|
|
586
712
|
when: string;
|
|
587
713
|
how: string[];
|
|
714
|
+
warning: string | null;
|
|
588
715
|
};
|
|
589
716
|
}>, "many">;
|
|
590
717
|
/** Confirmed for fertigation but with no job at this stage. */
|
|
@@ -623,30 +750,30 @@ export declare const fertilizerRequirementsResponseSchema: z.ZodObject<{
|
|
|
623
750
|
how: z.ZodArray<z.ZodString, "many">;
|
|
624
751
|
warning: z.ZodNullable<z.ZodString>;
|
|
625
752
|
}, "strip", z.ZodTypeAny, {
|
|
626
|
-
warning: string | null;
|
|
627
753
|
why: string;
|
|
628
754
|
when: string;
|
|
629
755
|
how: string[];
|
|
630
|
-
}, {
|
|
631
756
|
warning: string | null;
|
|
757
|
+
}, {
|
|
632
758
|
why: string;
|
|
633
759
|
when: string;
|
|
634
760
|
how: string[];
|
|
761
|
+
warning: string | null;
|
|
635
762
|
}>;
|
|
636
763
|
}, "strip", z.ZodTypeAny, {
|
|
637
764
|
id: string;
|
|
638
765
|
name: string;
|
|
639
766
|
brand: string | null;
|
|
640
767
|
role: string | null;
|
|
641
|
-
availability: "on-farm" | "not-recorded";
|
|
642
|
-
gramsPerPlantPerWeek: number | null;
|
|
643
|
-
fieldKgPerWeek: number | null;
|
|
644
|
-
gramsPerPlantPerFeed: number | null;
|
|
645
|
-
fieldKgPerFeed: number | null;
|
|
646
768
|
labelDirections: string | null;
|
|
647
769
|
bagSizeKg: number | null;
|
|
648
770
|
stockKg: number | null;
|
|
649
771
|
tank: "A" | "B" | null;
|
|
772
|
+
availability: "on-farm" | "not-recorded";
|
|
773
|
+
gramsPerPlantPerFeed: number | null;
|
|
774
|
+
fieldKgPerFeed: number | null;
|
|
775
|
+
gramsPerPlantPerWeek: number | null;
|
|
776
|
+
fieldKgPerWeek: number | null;
|
|
650
777
|
fieldNeedKg: number | null;
|
|
651
778
|
farmNeedKg: number | null;
|
|
652
779
|
fieldCount: number;
|
|
@@ -655,25 +782,25 @@ export declare const fertilizerRequirementsResponseSchema: z.ZodObject<{
|
|
|
655
782
|
purchaseBags: number | null;
|
|
656
783
|
additionalNutrients: string | null;
|
|
657
784
|
guidance: {
|
|
658
|
-
warning: string | null;
|
|
659
785
|
why: string;
|
|
660
786
|
when: string;
|
|
661
787
|
how: string[];
|
|
788
|
+
warning: string | null;
|
|
662
789
|
};
|
|
663
790
|
}, {
|
|
664
791
|
id: string;
|
|
665
792
|
name: string;
|
|
666
793
|
brand: string | null;
|
|
667
794
|
role: string | null;
|
|
668
|
-
availability: "on-farm" | "not-recorded";
|
|
669
|
-
gramsPerPlantPerWeek: number | null;
|
|
670
|
-
fieldKgPerWeek: number | null;
|
|
671
|
-
gramsPerPlantPerFeed: number | null;
|
|
672
|
-
fieldKgPerFeed: number | null;
|
|
673
795
|
labelDirections: string | null;
|
|
674
796
|
bagSizeKg: number | null;
|
|
675
797
|
stockKg: number | null;
|
|
676
798
|
tank: "A" | "B" | null;
|
|
799
|
+
availability: "on-farm" | "not-recorded";
|
|
800
|
+
gramsPerPlantPerFeed: number | null;
|
|
801
|
+
fieldKgPerFeed: number | null;
|
|
802
|
+
gramsPerPlantPerWeek: number | null;
|
|
803
|
+
fieldKgPerWeek: number | null;
|
|
677
804
|
fieldNeedKg: number | null;
|
|
678
805
|
farmNeedKg: number | null;
|
|
679
806
|
fieldCount: number;
|
|
@@ -682,10 +809,10 @@ export declare const fertilizerRequirementsResponseSchema: z.ZodObject<{
|
|
|
682
809
|
purchaseBags: number | null;
|
|
683
810
|
additionalNutrients: string | null;
|
|
684
811
|
guidance: {
|
|
685
|
-
warning: string | null;
|
|
686
812
|
why: string;
|
|
687
813
|
when: string;
|
|
688
814
|
how: string[];
|
|
815
|
+
warning: string | null;
|
|
689
816
|
};
|
|
690
817
|
}>, "many">;
|
|
691
818
|
foliar: z.ZodArray<z.ZodObject<{
|
|
@@ -723,30 +850,30 @@ export declare const fertilizerRequirementsResponseSchema: z.ZodObject<{
|
|
|
723
850
|
how: z.ZodArray<z.ZodString, "many">;
|
|
724
851
|
warning: z.ZodNullable<z.ZodString>;
|
|
725
852
|
}, "strip", z.ZodTypeAny, {
|
|
726
|
-
warning: string | null;
|
|
727
853
|
why: string;
|
|
728
854
|
when: string;
|
|
729
855
|
how: string[];
|
|
730
|
-
}, {
|
|
731
856
|
warning: string | null;
|
|
857
|
+
}, {
|
|
732
858
|
why: string;
|
|
733
859
|
when: string;
|
|
734
860
|
how: string[];
|
|
861
|
+
warning: string | null;
|
|
735
862
|
}>;
|
|
736
863
|
}, "strip", z.ZodTypeAny, {
|
|
737
864
|
id: string;
|
|
738
865
|
name: string;
|
|
739
866
|
brand: string | null;
|
|
740
867
|
role: string | null;
|
|
741
|
-
availability: "on-farm" | "not-recorded";
|
|
742
|
-
gramsPerPlantPerWeek: number | null;
|
|
743
|
-
fieldKgPerWeek: number | null;
|
|
744
|
-
gramsPerPlantPerFeed: number | null;
|
|
745
|
-
fieldKgPerFeed: number | null;
|
|
746
868
|
labelDirections: string | null;
|
|
747
869
|
bagSizeKg: number | null;
|
|
748
870
|
stockKg: number | null;
|
|
749
871
|
tank: "A" | "B" | null;
|
|
872
|
+
availability: "on-farm" | "not-recorded";
|
|
873
|
+
gramsPerPlantPerFeed: number | null;
|
|
874
|
+
fieldKgPerFeed: number | null;
|
|
875
|
+
gramsPerPlantPerWeek: number | null;
|
|
876
|
+
fieldKgPerWeek: number | null;
|
|
750
877
|
fieldNeedKg: number | null;
|
|
751
878
|
farmNeedKg: number | null;
|
|
752
879
|
fieldCount: number;
|
|
@@ -755,25 +882,25 @@ export declare const fertilizerRequirementsResponseSchema: z.ZodObject<{
|
|
|
755
882
|
purchaseBags: number | null;
|
|
756
883
|
additionalNutrients: string | null;
|
|
757
884
|
guidance: {
|
|
758
|
-
warning: string | null;
|
|
759
885
|
why: string;
|
|
760
886
|
when: string;
|
|
761
887
|
how: string[];
|
|
888
|
+
warning: string | null;
|
|
762
889
|
};
|
|
763
890
|
}, {
|
|
764
891
|
id: string;
|
|
765
892
|
name: string;
|
|
766
893
|
brand: string | null;
|
|
767
894
|
role: string | null;
|
|
768
|
-
availability: "on-farm" | "not-recorded";
|
|
769
|
-
gramsPerPlantPerWeek: number | null;
|
|
770
|
-
fieldKgPerWeek: number | null;
|
|
771
|
-
gramsPerPlantPerFeed: number | null;
|
|
772
|
-
fieldKgPerFeed: number | null;
|
|
773
895
|
labelDirections: string | null;
|
|
774
896
|
bagSizeKg: number | null;
|
|
775
897
|
stockKg: number | null;
|
|
776
898
|
tank: "A" | "B" | null;
|
|
899
|
+
availability: "on-farm" | "not-recorded";
|
|
900
|
+
gramsPerPlantPerFeed: number | null;
|
|
901
|
+
fieldKgPerFeed: number | null;
|
|
902
|
+
gramsPerPlantPerWeek: number | null;
|
|
903
|
+
fieldKgPerWeek: number | null;
|
|
777
904
|
fieldNeedKg: number | null;
|
|
778
905
|
farmNeedKg: number | null;
|
|
779
906
|
fieldCount: number;
|
|
@@ -782,10 +909,10 @@ export declare const fertilizerRequirementsResponseSchema: z.ZodObject<{
|
|
|
782
909
|
purchaseBags: number | null;
|
|
783
910
|
additionalNutrients: string | null;
|
|
784
911
|
guidance: {
|
|
785
|
-
warning: string | null;
|
|
786
912
|
why: string;
|
|
787
913
|
when: string;
|
|
788
914
|
how: string[];
|
|
915
|
+
warning: string | null;
|
|
789
916
|
};
|
|
790
917
|
}>, "many">;
|
|
791
918
|
soil: z.ZodArray<z.ZodObject<{
|
|
@@ -823,30 +950,30 @@ export declare const fertilizerRequirementsResponseSchema: z.ZodObject<{
|
|
|
823
950
|
how: z.ZodArray<z.ZodString, "many">;
|
|
824
951
|
warning: z.ZodNullable<z.ZodString>;
|
|
825
952
|
}, "strip", z.ZodTypeAny, {
|
|
826
|
-
warning: string | null;
|
|
827
953
|
why: string;
|
|
828
954
|
when: string;
|
|
829
955
|
how: string[];
|
|
830
|
-
}, {
|
|
831
956
|
warning: string | null;
|
|
957
|
+
}, {
|
|
832
958
|
why: string;
|
|
833
959
|
when: string;
|
|
834
960
|
how: string[];
|
|
961
|
+
warning: string | null;
|
|
835
962
|
}>;
|
|
836
963
|
}, "strip", z.ZodTypeAny, {
|
|
837
964
|
id: string;
|
|
838
965
|
name: string;
|
|
839
966
|
brand: string | null;
|
|
840
967
|
role: string | null;
|
|
841
|
-
availability: "on-farm" | "not-recorded";
|
|
842
|
-
gramsPerPlantPerWeek: number | null;
|
|
843
|
-
fieldKgPerWeek: number | null;
|
|
844
|
-
gramsPerPlantPerFeed: number | null;
|
|
845
|
-
fieldKgPerFeed: number | null;
|
|
846
968
|
labelDirections: string | null;
|
|
847
969
|
bagSizeKg: number | null;
|
|
848
970
|
stockKg: number | null;
|
|
849
971
|
tank: "A" | "B" | null;
|
|
972
|
+
availability: "on-farm" | "not-recorded";
|
|
973
|
+
gramsPerPlantPerFeed: number | null;
|
|
974
|
+
fieldKgPerFeed: number | null;
|
|
975
|
+
gramsPerPlantPerWeek: number | null;
|
|
976
|
+
fieldKgPerWeek: number | null;
|
|
850
977
|
fieldNeedKg: number | null;
|
|
851
978
|
farmNeedKg: number | null;
|
|
852
979
|
fieldCount: number;
|
|
@@ -855,25 +982,25 @@ export declare const fertilizerRequirementsResponseSchema: z.ZodObject<{
|
|
|
855
982
|
purchaseBags: number | null;
|
|
856
983
|
additionalNutrients: string | null;
|
|
857
984
|
guidance: {
|
|
858
|
-
warning: string | null;
|
|
859
985
|
why: string;
|
|
860
986
|
when: string;
|
|
861
987
|
how: string[];
|
|
988
|
+
warning: string | null;
|
|
862
989
|
};
|
|
863
990
|
}, {
|
|
864
991
|
id: string;
|
|
865
992
|
name: string;
|
|
866
993
|
brand: string | null;
|
|
867
994
|
role: string | null;
|
|
868
|
-
availability: "on-farm" | "not-recorded";
|
|
869
|
-
gramsPerPlantPerWeek: number | null;
|
|
870
|
-
fieldKgPerWeek: number | null;
|
|
871
|
-
gramsPerPlantPerFeed: number | null;
|
|
872
|
-
fieldKgPerFeed: number | null;
|
|
873
995
|
labelDirections: string | null;
|
|
874
996
|
bagSizeKg: number | null;
|
|
875
997
|
stockKg: number | null;
|
|
876
998
|
tank: "A" | "B" | null;
|
|
999
|
+
availability: "on-farm" | "not-recorded";
|
|
1000
|
+
gramsPerPlantPerFeed: number | null;
|
|
1001
|
+
fieldKgPerFeed: number | null;
|
|
1002
|
+
gramsPerPlantPerWeek: number | null;
|
|
1003
|
+
fieldKgPerWeek: number | null;
|
|
877
1004
|
fieldNeedKg: number | null;
|
|
878
1005
|
farmNeedKg: number | null;
|
|
879
1006
|
fieldCount: number;
|
|
@@ -882,10 +1009,10 @@ export declare const fertilizerRequirementsResponseSchema: z.ZodObject<{
|
|
|
882
1009
|
purchaseBags: number | null;
|
|
883
1010
|
additionalNutrients: string | null;
|
|
884
1011
|
guidance: {
|
|
885
|
-
warning: string | null;
|
|
886
1012
|
why: string;
|
|
887
1013
|
when: string;
|
|
888
1014
|
how: string[];
|
|
1015
|
+
warning: string | null;
|
|
889
1016
|
};
|
|
890
1017
|
}>, "many">;
|
|
891
1018
|
/** Jobs the stage needs done that no fertilizer on the farm can do. */
|
|
@@ -908,20 +1035,20 @@ export declare const fertilizerRequirementsResponseSchema: z.ZodObject<{
|
|
|
908
1035
|
message: string | null;
|
|
909
1036
|
plantCount: number | null;
|
|
910
1037
|
fieldId: string;
|
|
911
|
-
|
|
1038
|
+
fertigation: {
|
|
912
1039
|
id: string;
|
|
913
1040
|
name: string;
|
|
914
1041
|
brand: string | null;
|
|
915
1042
|
role: string | null;
|
|
916
|
-
availability: "on-farm" | "not-recorded";
|
|
917
|
-
gramsPerPlantPerWeek: number | null;
|
|
918
|
-
fieldKgPerWeek: number | null;
|
|
919
|
-
gramsPerPlantPerFeed: number | null;
|
|
920
|
-
fieldKgPerFeed: number | null;
|
|
921
1043
|
labelDirections: string | null;
|
|
922
1044
|
bagSizeKg: number | null;
|
|
923
1045
|
stockKg: number | null;
|
|
924
1046
|
tank: "A" | "B" | null;
|
|
1047
|
+
availability: "on-farm" | "not-recorded";
|
|
1048
|
+
gramsPerPlantPerFeed: number | null;
|
|
1049
|
+
fieldKgPerFeed: number | null;
|
|
1050
|
+
gramsPerPlantPerWeek: number | null;
|
|
1051
|
+
fieldKgPerWeek: number | null;
|
|
925
1052
|
fieldNeedKg: number | null;
|
|
926
1053
|
farmNeedKg: number | null;
|
|
927
1054
|
fieldCount: number;
|
|
@@ -930,26 +1057,26 @@ export declare const fertilizerRequirementsResponseSchema: z.ZodObject<{
|
|
|
930
1057
|
purchaseBags: number | null;
|
|
931
1058
|
additionalNutrients: string | null;
|
|
932
1059
|
guidance: {
|
|
933
|
-
warning: string | null;
|
|
934
1060
|
why: string;
|
|
935
1061
|
when: string;
|
|
936
1062
|
how: string[];
|
|
1063
|
+
warning: string | null;
|
|
937
1064
|
};
|
|
938
1065
|
}[];
|
|
939
|
-
|
|
1066
|
+
foliar: {
|
|
940
1067
|
id: string;
|
|
941
1068
|
name: string;
|
|
942
1069
|
brand: string | null;
|
|
943
1070
|
role: string | null;
|
|
944
|
-
availability: "on-farm" | "not-recorded";
|
|
945
|
-
gramsPerPlantPerWeek: number | null;
|
|
946
|
-
fieldKgPerWeek: number | null;
|
|
947
|
-
gramsPerPlantPerFeed: number | null;
|
|
948
|
-
fieldKgPerFeed: number | null;
|
|
949
1071
|
labelDirections: string | null;
|
|
950
1072
|
bagSizeKg: number | null;
|
|
951
1073
|
stockKg: number | null;
|
|
952
1074
|
tank: "A" | "B" | null;
|
|
1075
|
+
availability: "on-farm" | "not-recorded";
|
|
1076
|
+
gramsPerPlantPerFeed: number | null;
|
|
1077
|
+
fieldKgPerFeed: number | null;
|
|
1078
|
+
gramsPerPlantPerWeek: number | null;
|
|
1079
|
+
fieldKgPerWeek: number | null;
|
|
953
1080
|
fieldNeedKg: number | null;
|
|
954
1081
|
farmNeedKg: number | null;
|
|
955
1082
|
fieldCount: number;
|
|
@@ -958,26 +1085,26 @@ export declare const fertilizerRequirementsResponseSchema: z.ZodObject<{
|
|
|
958
1085
|
purchaseBags: number | null;
|
|
959
1086
|
additionalNutrients: string | null;
|
|
960
1087
|
guidance: {
|
|
961
|
-
warning: string | null;
|
|
962
1088
|
why: string;
|
|
963
1089
|
when: string;
|
|
964
1090
|
how: string[];
|
|
1091
|
+
warning: string | null;
|
|
965
1092
|
};
|
|
966
1093
|
}[];
|
|
967
|
-
|
|
1094
|
+
soil: {
|
|
968
1095
|
id: string;
|
|
969
1096
|
name: string;
|
|
970
1097
|
brand: string | null;
|
|
971
1098
|
role: string | null;
|
|
972
|
-
availability: "on-farm" | "not-recorded";
|
|
973
|
-
gramsPerPlantPerWeek: number | null;
|
|
974
|
-
fieldKgPerWeek: number | null;
|
|
975
|
-
gramsPerPlantPerFeed: number | null;
|
|
976
|
-
fieldKgPerFeed: number | null;
|
|
977
1099
|
labelDirections: string | null;
|
|
978
1100
|
bagSizeKg: number | null;
|
|
979
1101
|
stockKg: number | null;
|
|
980
1102
|
tank: "A" | "B" | null;
|
|
1103
|
+
availability: "on-farm" | "not-recorded";
|
|
1104
|
+
gramsPerPlantPerFeed: number | null;
|
|
1105
|
+
fieldKgPerFeed: number | null;
|
|
1106
|
+
gramsPerPlantPerWeek: number | null;
|
|
1107
|
+
fieldKgPerWeek: number | null;
|
|
981
1108
|
fieldNeedKg: number | null;
|
|
982
1109
|
farmNeedKg: number | null;
|
|
983
1110
|
fieldCount: number;
|
|
@@ -986,10 +1113,10 @@ export declare const fertilizerRequirementsResponseSchema: z.ZodObject<{
|
|
|
986
1113
|
purchaseBags: number | null;
|
|
987
1114
|
additionalNutrients: string | null;
|
|
988
1115
|
guidance: {
|
|
989
|
-
warning: string | null;
|
|
990
1116
|
why: string;
|
|
991
1117
|
when: string;
|
|
992
1118
|
how: string[];
|
|
1119
|
+
warning: string | null;
|
|
993
1120
|
};
|
|
994
1121
|
}[];
|
|
995
1122
|
stage: {
|
|
@@ -1000,7 +1127,6 @@ export declare const fertilizerRequirementsResponseSchema: z.ZodObject<{
|
|
|
1000
1127
|
id: string;
|
|
1001
1128
|
name: string;
|
|
1002
1129
|
} | null;
|
|
1003
|
-
warnings: string[];
|
|
1004
1130
|
usesFarmFertilizers: boolean;
|
|
1005
1131
|
planningWeeks: number;
|
|
1006
1132
|
standby: {
|
|
@@ -1008,15 +1134,15 @@ export declare const fertilizerRequirementsResponseSchema: z.ZodObject<{
|
|
|
1008
1134
|
name: string;
|
|
1009
1135
|
brand: string | null;
|
|
1010
1136
|
role: string | null;
|
|
1011
|
-
availability: "on-farm" | "not-recorded";
|
|
1012
|
-
gramsPerPlantPerWeek: number | null;
|
|
1013
|
-
fieldKgPerWeek: number | null;
|
|
1014
|
-
gramsPerPlantPerFeed: number | null;
|
|
1015
|
-
fieldKgPerFeed: number | null;
|
|
1016
1137
|
labelDirections: string | null;
|
|
1017
1138
|
bagSizeKg: number | null;
|
|
1018
1139
|
stockKg: number | null;
|
|
1019
1140
|
tank: "A" | "B" | null;
|
|
1141
|
+
availability: "on-farm" | "not-recorded";
|
|
1142
|
+
gramsPerPlantPerFeed: number | null;
|
|
1143
|
+
fieldKgPerFeed: number | null;
|
|
1144
|
+
gramsPerPlantPerWeek: number | null;
|
|
1145
|
+
fieldKgPerWeek: number | null;
|
|
1020
1146
|
fieldNeedKg: number | null;
|
|
1021
1147
|
farmNeedKg: number | null;
|
|
1022
1148
|
fieldCount: number;
|
|
@@ -1025,10 +1151,10 @@ export declare const fertilizerRequirementsResponseSchema: z.ZodObject<{
|
|
|
1025
1151
|
purchaseBags: number | null;
|
|
1026
1152
|
additionalNutrients: string | null;
|
|
1027
1153
|
guidance: {
|
|
1028
|
-
warning: string | null;
|
|
1029
1154
|
why: string;
|
|
1030
1155
|
when: string;
|
|
1031
1156
|
how: string[];
|
|
1157
|
+
warning: string | null;
|
|
1032
1158
|
};
|
|
1033
1159
|
}[];
|
|
1034
1160
|
uncoveredRoles: {
|
|
@@ -1036,25 +1162,26 @@ export declare const fertilizerRequirementsResponseSchema: z.ZodObject<{
|
|
|
1036
1162
|
role: string;
|
|
1037
1163
|
suggestedProduct: string | null;
|
|
1038
1164
|
}[];
|
|
1165
|
+
warnings: string[];
|
|
1039
1166
|
}, {
|
|
1040
1167
|
status: "ok" | "no-plan";
|
|
1041
1168
|
message: string | null;
|
|
1042
1169
|
plantCount: number | null;
|
|
1043
1170
|
fieldId: string;
|
|
1044
|
-
|
|
1171
|
+
fertigation: {
|
|
1045
1172
|
id: string;
|
|
1046
1173
|
name: string;
|
|
1047
1174
|
brand: string | null;
|
|
1048
1175
|
role: string | null;
|
|
1049
|
-
availability: "on-farm" | "not-recorded";
|
|
1050
|
-
gramsPerPlantPerWeek: number | null;
|
|
1051
|
-
fieldKgPerWeek: number | null;
|
|
1052
|
-
gramsPerPlantPerFeed: number | null;
|
|
1053
|
-
fieldKgPerFeed: number | null;
|
|
1054
1176
|
labelDirections: string | null;
|
|
1055
1177
|
bagSizeKg: number | null;
|
|
1056
1178
|
stockKg: number | null;
|
|
1057
1179
|
tank: "A" | "B" | null;
|
|
1180
|
+
availability: "on-farm" | "not-recorded";
|
|
1181
|
+
gramsPerPlantPerFeed: number | null;
|
|
1182
|
+
fieldKgPerFeed: number | null;
|
|
1183
|
+
gramsPerPlantPerWeek: number | null;
|
|
1184
|
+
fieldKgPerWeek: number | null;
|
|
1058
1185
|
fieldNeedKg: number | null;
|
|
1059
1186
|
farmNeedKg: number | null;
|
|
1060
1187
|
fieldCount: number;
|
|
@@ -1063,26 +1190,26 @@ export declare const fertilizerRequirementsResponseSchema: z.ZodObject<{
|
|
|
1063
1190
|
purchaseBags: number | null;
|
|
1064
1191
|
additionalNutrients: string | null;
|
|
1065
1192
|
guidance: {
|
|
1066
|
-
warning: string | null;
|
|
1067
1193
|
why: string;
|
|
1068
1194
|
when: string;
|
|
1069
1195
|
how: string[];
|
|
1196
|
+
warning: string | null;
|
|
1070
1197
|
};
|
|
1071
1198
|
}[];
|
|
1072
|
-
|
|
1199
|
+
foliar: {
|
|
1073
1200
|
id: string;
|
|
1074
1201
|
name: string;
|
|
1075
1202
|
brand: string | null;
|
|
1076
1203
|
role: string | null;
|
|
1077
|
-
availability: "on-farm" | "not-recorded";
|
|
1078
|
-
gramsPerPlantPerWeek: number | null;
|
|
1079
|
-
fieldKgPerWeek: number | null;
|
|
1080
|
-
gramsPerPlantPerFeed: number | null;
|
|
1081
|
-
fieldKgPerFeed: number | null;
|
|
1082
1204
|
labelDirections: string | null;
|
|
1083
1205
|
bagSizeKg: number | null;
|
|
1084
1206
|
stockKg: number | null;
|
|
1085
1207
|
tank: "A" | "B" | null;
|
|
1208
|
+
availability: "on-farm" | "not-recorded";
|
|
1209
|
+
gramsPerPlantPerFeed: number | null;
|
|
1210
|
+
fieldKgPerFeed: number | null;
|
|
1211
|
+
gramsPerPlantPerWeek: number | null;
|
|
1212
|
+
fieldKgPerWeek: number | null;
|
|
1086
1213
|
fieldNeedKg: number | null;
|
|
1087
1214
|
farmNeedKg: number | null;
|
|
1088
1215
|
fieldCount: number;
|
|
@@ -1091,26 +1218,26 @@ export declare const fertilizerRequirementsResponseSchema: z.ZodObject<{
|
|
|
1091
1218
|
purchaseBags: number | null;
|
|
1092
1219
|
additionalNutrients: string | null;
|
|
1093
1220
|
guidance: {
|
|
1094
|
-
warning: string | null;
|
|
1095
1221
|
why: string;
|
|
1096
1222
|
when: string;
|
|
1097
1223
|
how: string[];
|
|
1224
|
+
warning: string | null;
|
|
1098
1225
|
};
|
|
1099
1226
|
}[];
|
|
1100
|
-
|
|
1227
|
+
soil: {
|
|
1101
1228
|
id: string;
|
|
1102
1229
|
name: string;
|
|
1103
1230
|
brand: string | null;
|
|
1104
1231
|
role: string | null;
|
|
1105
|
-
availability: "on-farm" | "not-recorded";
|
|
1106
|
-
gramsPerPlantPerWeek: number | null;
|
|
1107
|
-
fieldKgPerWeek: number | null;
|
|
1108
|
-
gramsPerPlantPerFeed: number | null;
|
|
1109
|
-
fieldKgPerFeed: number | null;
|
|
1110
1232
|
labelDirections: string | null;
|
|
1111
1233
|
bagSizeKg: number | null;
|
|
1112
1234
|
stockKg: number | null;
|
|
1113
1235
|
tank: "A" | "B" | null;
|
|
1236
|
+
availability: "on-farm" | "not-recorded";
|
|
1237
|
+
gramsPerPlantPerFeed: number | null;
|
|
1238
|
+
fieldKgPerFeed: number | null;
|
|
1239
|
+
gramsPerPlantPerWeek: number | null;
|
|
1240
|
+
fieldKgPerWeek: number | null;
|
|
1114
1241
|
fieldNeedKg: number | null;
|
|
1115
1242
|
farmNeedKg: number | null;
|
|
1116
1243
|
fieldCount: number;
|
|
@@ -1119,10 +1246,10 @@ export declare const fertilizerRequirementsResponseSchema: z.ZodObject<{
|
|
|
1119
1246
|
purchaseBags: number | null;
|
|
1120
1247
|
additionalNutrients: string | null;
|
|
1121
1248
|
guidance: {
|
|
1122
|
-
warning: string | null;
|
|
1123
1249
|
why: string;
|
|
1124
1250
|
when: string;
|
|
1125
1251
|
how: string[];
|
|
1252
|
+
warning: string | null;
|
|
1126
1253
|
};
|
|
1127
1254
|
}[];
|
|
1128
1255
|
stage: {
|
|
@@ -1133,7 +1260,6 @@ export declare const fertilizerRequirementsResponseSchema: z.ZodObject<{
|
|
|
1133
1260
|
id: string;
|
|
1134
1261
|
name: string;
|
|
1135
1262
|
} | null;
|
|
1136
|
-
warnings: string[];
|
|
1137
1263
|
usesFarmFertilizers: boolean;
|
|
1138
1264
|
planningWeeks: number;
|
|
1139
1265
|
standby: {
|
|
@@ -1141,15 +1267,15 @@ export declare const fertilizerRequirementsResponseSchema: z.ZodObject<{
|
|
|
1141
1267
|
name: string;
|
|
1142
1268
|
brand: string | null;
|
|
1143
1269
|
role: string | null;
|
|
1144
|
-
availability: "on-farm" | "not-recorded";
|
|
1145
|
-
gramsPerPlantPerWeek: number | null;
|
|
1146
|
-
fieldKgPerWeek: number | null;
|
|
1147
|
-
gramsPerPlantPerFeed: number | null;
|
|
1148
|
-
fieldKgPerFeed: number | null;
|
|
1149
1270
|
labelDirections: string | null;
|
|
1150
1271
|
bagSizeKg: number | null;
|
|
1151
1272
|
stockKg: number | null;
|
|
1152
1273
|
tank: "A" | "B" | null;
|
|
1274
|
+
availability: "on-farm" | "not-recorded";
|
|
1275
|
+
gramsPerPlantPerFeed: number | null;
|
|
1276
|
+
fieldKgPerFeed: number | null;
|
|
1277
|
+
gramsPerPlantPerWeek: number | null;
|
|
1278
|
+
fieldKgPerWeek: number | null;
|
|
1153
1279
|
fieldNeedKg: number | null;
|
|
1154
1280
|
farmNeedKg: number | null;
|
|
1155
1281
|
fieldCount: number;
|
|
@@ -1158,10 +1284,10 @@ export declare const fertilizerRequirementsResponseSchema: z.ZodObject<{
|
|
|
1158
1284
|
purchaseBags: number | null;
|
|
1159
1285
|
additionalNutrients: string | null;
|
|
1160
1286
|
guidance: {
|
|
1161
|
-
warning: string | null;
|
|
1162
1287
|
why: string;
|
|
1163
1288
|
when: string;
|
|
1164
1289
|
how: string[];
|
|
1290
|
+
warning: string | null;
|
|
1165
1291
|
};
|
|
1166
1292
|
}[];
|
|
1167
1293
|
uncoveredRoles: {
|
|
@@ -1169,6 +1295,7 @@ export declare const fertilizerRequirementsResponseSchema: z.ZodObject<{
|
|
|
1169
1295
|
role: string;
|
|
1170
1296
|
suggestedProduct: string | null;
|
|
1171
1297
|
}[];
|
|
1298
|
+
warnings: string[];
|
|
1172
1299
|
}>;
|
|
1173
1300
|
export type FertilizerRequirementsResponse = z.infer<typeof fertilizerRequirementsResponseSchema>;
|
|
1174
1301
|
//# sourceMappingURL=farm-fertilizers.schemas.d.ts.map
|