@deepintel-ltd/farmpro-contracts 1.36.7 → 1.36.9
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 +655 -0
- package/dist/routes/care-pillar.routes.d.ts.map +1 -0
- package/dist/routes/care-pillar.routes.js +66 -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 +304 -40
- package/dist/routes/field-activities.routes.d.ts.map +1 -1
- 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 +938 -0
- package/dist/schemas/care-pillar.schemas.d.ts.map +1 -0
- package/dist/schemas/care-pillar.schemas.js +114 -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 +296 -35
- package/dist/schemas/field-activities.schemas.d.ts.map +1 -1
- package/dist/schemas/field-activities.schemas.js +51 -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
|
@@ -15,19 +15,19 @@ export declare const fieldActivitiesRouter: {
|
|
|
15
15
|
sort: z.ZodOptional<z.ZodString>;
|
|
16
16
|
} & {
|
|
17
17
|
'filter[fieldId]': z.ZodOptional<z.ZodString>;
|
|
18
|
-
'filter[type]': z.ZodOptional<z.ZodEnum<["weeding", "fertilizer"]>>;
|
|
18
|
+
'filter[type]': z.ZodOptional<z.ZodEnum<["weeding", "fertilizer", "scouting", "spray", "biocontrol", "sanitation", "irrigation", "pruning", "staking"]>>;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
20
|
sort?: string | undefined;
|
|
21
21
|
'page[number]'?: number | undefined;
|
|
22
22
|
'page[size]'?: number | undefined;
|
|
23
23
|
'filter[fieldId]'?: string | undefined;
|
|
24
|
-
'filter[type]'?: "weeding" | "fertilizer" | undefined;
|
|
24
|
+
'filter[type]'?: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking" | undefined;
|
|
25
25
|
}, {
|
|
26
26
|
sort?: string | undefined;
|
|
27
27
|
'page[number]'?: number | undefined;
|
|
28
28
|
'page[size]'?: number | undefined;
|
|
29
29
|
'filter[fieldId]'?: string | undefined;
|
|
30
|
-
'filter[type]'?: "weeding" | "fertilizer" | undefined;
|
|
30
|
+
'filter[type]'?: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking" | undefined;
|
|
31
31
|
}>;
|
|
32
32
|
summary: "List field activities";
|
|
33
33
|
method: "GET";
|
|
@@ -40,7 +40,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
40
40
|
attributes: z.ZodObject<{
|
|
41
41
|
fieldId: z.ZodString;
|
|
42
42
|
fieldName: z.ZodOptional<z.ZodString>;
|
|
43
|
-
type: z.ZodEnum<["weeding", "fertilizer"]>;
|
|
43
|
+
type: z.ZodEnum<["weeding", "fertilizer", "scouting", "spray", "biocontrol", "sanitation", "irrigation", "pruning", "staking"]>;
|
|
44
44
|
occurredAt: z.ZodString;
|
|
45
45
|
method: z.ZodNullable<z.ZodString>;
|
|
46
46
|
productName: z.ZodNullable<z.ZodString>;
|
|
@@ -49,13 +49,19 @@ export declare const fieldActivitiesRouter: {
|
|
|
49
49
|
quantity: z.ZodNullable<z.ZodNumber>;
|
|
50
50
|
unit: z.ZodNullable<z.ZodString>;
|
|
51
51
|
notes: z.ZodNullable<z.ZodString>;
|
|
52
|
+
productClass: z.ZodOptional<z.ZodNullable<z.ZodEnum<["fungicide", "insecticide", "miticide", "biopesticide", "herbicide"]>>>;
|
|
53
|
+
activeIngredient: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
|
+
resistanceSystem: z.ZodOptional<z.ZodNullable<z.ZodEnum<["IRAC", "FRAC", "HRAC"]>>>;
|
|
55
|
+
resistanceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
|
+
preHarvestDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
57
|
+
targetThreat: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
58
|
createdById: z.ZodNullable<z.ZodString>;
|
|
53
59
|
source: z.ZodEnum<["manual", "agent", "whatsapp"]>;
|
|
54
60
|
} & {
|
|
55
61
|
createdAt: z.ZodString;
|
|
56
62
|
updatedAt: z.ZodString;
|
|
57
63
|
}, "strip", z.ZodTypeAny, {
|
|
58
|
-
type: "weeding" | "fertilizer";
|
|
64
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
59
65
|
source: "whatsapp" | "manual" | "agent";
|
|
60
66
|
createdAt: string;
|
|
61
67
|
updatedAt: string;
|
|
@@ -70,8 +76,14 @@ export declare const fieldActivitiesRouter: {
|
|
|
70
76
|
createdById: string | null;
|
|
71
77
|
fertilizerProductId: string | null;
|
|
72
78
|
fieldName?: string | undefined;
|
|
79
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | null | undefined;
|
|
80
|
+
activeIngredient?: string | null | undefined;
|
|
81
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | null | undefined;
|
|
82
|
+
resistanceCode?: string | null | undefined;
|
|
83
|
+
preHarvestDays?: number | null | undefined;
|
|
84
|
+
targetThreat?: string | null | undefined;
|
|
73
85
|
}, {
|
|
74
|
-
type: "weeding" | "fertilizer";
|
|
86
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
75
87
|
source: "whatsapp" | "manual" | "agent";
|
|
76
88
|
createdAt: string;
|
|
77
89
|
updatedAt: string;
|
|
@@ -86,6 +98,12 @@ export declare const fieldActivitiesRouter: {
|
|
|
86
98
|
createdById: string | null;
|
|
87
99
|
fertilizerProductId: string | null;
|
|
88
100
|
fieldName?: string | undefined;
|
|
101
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | null | undefined;
|
|
102
|
+
activeIngredient?: string | null | undefined;
|
|
103
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | null | undefined;
|
|
104
|
+
resistanceCode?: string | null | undefined;
|
|
105
|
+
preHarvestDays?: number | null | undefined;
|
|
106
|
+
targetThreat?: string | null | undefined;
|
|
89
107
|
}>;
|
|
90
108
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
91
109
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -94,7 +112,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
94
112
|
type: string;
|
|
95
113
|
id: string;
|
|
96
114
|
attributes: {
|
|
97
|
-
type: "weeding" | "fertilizer";
|
|
115
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
98
116
|
source: "whatsapp" | "manual" | "agent";
|
|
99
117
|
createdAt: string;
|
|
100
118
|
updatedAt: string;
|
|
@@ -109,6 +127,12 @@ export declare const fieldActivitiesRouter: {
|
|
|
109
127
|
createdById: string | null;
|
|
110
128
|
fertilizerProductId: string | null;
|
|
111
129
|
fieldName?: string | undefined;
|
|
130
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | null | undefined;
|
|
131
|
+
activeIngredient?: string | null | undefined;
|
|
132
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | null | undefined;
|
|
133
|
+
resistanceCode?: string | null | undefined;
|
|
134
|
+
preHarvestDays?: number | null | undefined;
|
|
135
|
+
targetThreat?: string | null | undefined;
|
|
112
136
|
};
|
|
113
137
|
relationships?: Record<string, unknown> | undefined;
|
|
114
138
|
links?: Record<string, string> | undefined;
|
|
@@ -117,7 +141,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
117
141
|
type: string;
|
|
118
142
|
id: string;
|
|
119
143
|
attributes: {
|
|
120
|
-
type: "weeding" | "fertilizer";
|
|
144
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
121
145
|
source: "whatsapp" | "manual" | "agent";
|
|
122
146
|
createdAt: string;
|
|
123
147
|
updatedAt: string;
|
|
@@ -132,6 +156,12 @@ export declare const fieldActivitiesRouter: {
|
|
|
132
156
|
createdById: string | null;
|
|
133
157
|
fertilizerProductId: string | null;
|
|
134
158
|
fieldName?: string | undefined;
|
|
159
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | null | undefined;
|
|
160
|
+
activeIngredient?: string | null | undefined;
|
|
161
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | null | undefined;
|
|
162
|
+
resistanceCode?: string | null | undefined;
|
|
163
|
+
preHarvestDays?: number | null | undefined;
|
|
164
|
+
targetThreat?: string | null | undefined;
|
|
135
165
|
};
|
|
136
166
|
relationships?: Record<string, unknown> | undefined;
|
|
137
167
|
links?: Record<string, string> | undefined;
|
|
@@ -166,7 +196,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
166
196
|
type: string;
|
|
167
197
|
id: string;
|
|
168
198
|
attributes: {
|
|
169
|
-
type: "weeding" | "fertilizer";
|
|
199
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
170
200
|
source: "whatsapp" | "manual" | "agent";
|
|
171
201
|
createdAt: string;
|
|
172
202
|
updatedAt: string;
|
|
@@ -181,6 +211,12 @@ export declare const fieldActivitiesRouter: {
|
|
|
181
211
|
createdById: string | null;
|
|
182
212
|
fertilizerProductId: string | null;
|
|
183
213
|
fieldName?: string | undefined;
|
|
214
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | null | undefined;
|
|
215
|
+
activeIngredient?: string | null | undefined;
|
|
216
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | null | undefined;
|
|
217
|
+
resistanceCode?: string | null | undefined;
|
|
218
|
+
preHarvestDays?: number | null | undefined;
|
|
219
|
+
targetThreat?: string | null | undefined;
|
|
184
220
|
};
|
|
185
221
|
relationships?: Record<string, unknown> | undefined;
|
|
186
222
|
links?: Record<string, string> | undefined;
|
|
@@ -201,7 +237,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
201
237
|
type: string;
|
|
202
238
|
id: string;
|
|
203
239
|
attributes: {
|
|
204
|
-
type: "weeding" | "fertilizer";
|
|
240
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
205
241
|
source: "whatsapp" | "manual" | "agent";
|
|
206
242
|
createdAt: string;
|
|
207
243
|
updatedAt: string;
|
|
@@ -216,6 +252,12 @@ export declare const fieldActivitiesRouter: {
|
|
|
216
252
|
createdById: string | null;
|
|
217
253
|
fertilizerProductId: string | null;
|
|
218
254
|
fieldName?: string | undefined;
|
|
255
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | null | undefined;
|
|
256
|
+
activeIngredient?: string | null | undefined;
|
|
257
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | null | undefined;
|
|
258
|
+
resistanceCode?: string | null | undefined;
|
|
259
|
+
preHarvestDays?: number | null | undefined;
|
|
260
|
+
targetThreat?: string | null | undefined;
|
|
219
261
|
};
|
|
220
262
|
relationships?: Record<string, unknown> | undefined;
|
|
221
263
|
links?: Record<string, string> | undefined;
|
|
@@ -429,7 +471,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
429
471
|
type: z.ZodLiteral<"field-activities">;
|
|
430
472
|
attributes: z.ZodEffects<z.ZodObject<{
|
|
431
473
|
fieldId: z.ZodString;
|
|
432
|
-
type: z.ZodEnum<["weeding", "fertilizer"]>;
|
|
474
|
+
type: z.ZodEnum<["weeding", "fertilizer", "scouting", "spray", "biocontrol", "sanitation", "irrigation", "pruning", "staking"]>;
|
|
433
475
|
occurredAt: z.ZodString;
|
|
434
476
|
method: z.ZodOptional<z.ZodString>;
|
|
435
477
|
productName: z.ZodOptional<z.ZodString>;
|
|
@@ -438,9 +480,15 @@ export declare const fieldActivitiesRouter: {
|
|
|
438
480
|
quantity: z.ZodOptional<z.ZodNumber>;
|
|
439
481
|
unit: z.ZodOptional<z.ZodString>;
|
|
440
482
|
notes: z.ZodOptional<z.ZodString>;
|
|
483
|
+
productClass: z.ZodOptional<z.ZodEnum<["fungicide", "insecticide", "miticide", "biopesticide", "herbicide"]>>;
|
|
484
|
+
activeIngredient: z.ZodOptional<z.ZodString>;
|
|
485
|
+
resistanceSystem: z.ZodOptional<z.ZodEnum<["IRAC", "FRAC", "HRAC"]>>;
|
|
486
|
+
resistanceCode: z.ZodOptional<z.ZodString>;
|
|
487
|
+
preHarvestDays: z.ZodOptional<z.ZodNumber>;
|
|
488
|
+
targetThreat: z.ZodOptional<z.ZodString>;
|
|
441
489
|
source: z.ZodOptional<z.ZodEnum<["manual", "agent", "whatsapp"]>>;
|
|
442
490
|
}, "strip", z.ZodTypeAny, {
|
|
443
|
-
type: "weeding" | "fertilizer";
|
|
491
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
444
492
|
occurredAt: string;
|
|
445
493
|
fieldId: string;
|
|
446
494
|
source?: "whatsapp" | "manual" | "agent" | undefined;
|
|
@@ -451,8 +499,14 @@ export declare const fieldActivitiesRouter: {
|
|
|
451
499
|
productName?: string | undefined;
|
|
452
500
|
inventoryItemId?: string | undefined;
|
|
453
501
|
fertilizerProductId?: string | undefined;
|
|
502
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | undefined;
|
|
503
|
+
activeIngredient?: string | undefined;
|
|
504
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | undefined;
|
|
505
|
+
resistanceCode?: string | undefined;
|
|
506
|
+
preHarvestDays?: number | undefined;
|
|
507
|
+
targetThreat?: string | undefined;
|
|
454
508
|
}, {
|
|
455
|
-
type: "weeding" | "fertilizer";
|
|
509
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
456
510
|
occurredAt: string;
|
|
457
511
|
fieldId: string;
|
|
458
512
|
source?: "whatsapp" | "manual" | "agent" | undefined;
|
|
@@ -463,8 +517,14 @@ export declare const fieldActivitiesRouter: {
|
|
|
463
517
|
productName?: string | undefined;
|
|
464
518
|
inventoryItemId?: string | undefined;
|
|
465
519
|
fertilizerProductId?: string | undefined;
|
|
520
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | undefined;
|
|
521
|
+
activeIngredient?: string | undefined;
|
|
522
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | undefined;
|
|
523
|
+
resistanceCode?: string | undefined;
|
|
524
|
+
preHarvestDays?: number | undefined;
|
|
525
|
+
targetThreat?: string | undefined;
|
|
466
526
|
}>, {
|
|
467
|
-
type: "weeding" | "fertilizer";
|
|
527
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
468
528
|
occurredAt: string;
|
|
469
529
|
fieldId: string;
|
|
470
530
|
source?: "whatsapp" | "manual" | "agent" | undefined;
|
|
@@ -475,8 +535,14 @@ export declare const fieldActivitiesRouter: {
|
|
|
475
535
|
productName?: string | undefined;
|
|
476
536
|
inventoryItemId?: string | undefined;
|
|
477
537
|
fertilizerProductId?: string | undefined;
|
|
538
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | undefined;
|
|
539
|
+
activeIngredient?: string | undefined;
|
|
540
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | undefined;
|
|
541
|
+
resistanceCode?: string | undefined;
|
|
542
|
+
preHarvestDays?: number | undefined;
|
|
543
|
+
targetThreat?: string | undefined;
|
|
478
544
|
}, {
|
|
479
|
-
type: "weeding" | "fertilizer";
|
|
545
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
480
546
|
occurredAt: string;
|
|
481
547
|
fieldId: string;
|
|
482
548
|
source?: "whatsapp" | "manual" | "agent" | undefined;
|
|
@@ -487,11 +553,17 @@ export declare const fieldActivitiesRouter: {
|
|
|
487
553
|
productName?: string | undefined;
|
|
488
554
|
inventoryItemId?: string | undefined;
|
|
489
555
|
fertilizerProductId?: string | undefined;
|
|
556
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | undefined;
|
|
557
|
+
activeIngredient?: string | undefined;
|
|
558
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | undefined;
|
|
559
|
+
resistanceCode?: string | undefined;
|
|
560
|
+
preHarvestDays?: number | undefined;
|
|
561
|
+
targetThreat?: string | undefined;
|
|
490
562
|
}>;
|
|
491
563
|
}, "strip", z.ZodTypeAny, {
|
|
492
564
|
type: "field-activities";
|
|
493
565
|
attributes: {
|
|
494
|
-
type: "weeding" | "fertilizer";
|
|
566
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
495
567
|
occurredAt: string;
|
|
496
568
|
fieldId: string;
|
|
497
569
|
source?: "whatsapp" | "manual" | "agent" | undefined;
|
|
@@ -502,11 +574,17 @@ export declare const fieldActivitiesRouter: {
|
|
|
502
574
|
productName?: string | undefined;
|
|
503
575
|
inventoryItemId?: string | undefined;
|
|
504
576
|
fertilizerProductId?: string | undefined;
|
|
577
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | undefined;
|
|
578
|
+
activeIngredient?: string | undefined;
|
|
579
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | undefined;
|
|
580
|
+
resistanceCode?: string | undefined;
|
|
581
|
+
preHarvestDays?: number | undefined;
|
|
582
|
+
targetThreat?: string | undefined;
|
|
505
583
|
};
|
|
506
584
|
}, {
|
|
507
585
|
type: "field-activities";
|
|
508
586
|
attributes: {
|
|
509
|
-
type: "weeding" | "fertilizer";
|
|
587
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
510
588
|
occurredAt: string;
|
|
511
589
|
fieldId: string;
|
|
512
590
|
source?: "whatsapp" | "manual" | "agent" | undefined;
|
|
@@ -517,13 +595,19 @@ export declare const fieldActivitiesRouter: {
|
|
|
517
595
|
productName?: string | undefined;
|
|
518
596
|
inventoryItemId?: string | undefined;
|
|
519
597
|
fertilizerProductId?: string | undefined;
|
|
598
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | undefined;
|
|
599
|
+
activeIngredient?: string | undefined;
|
|
600
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | undefined;
|
|
601
|
+
resistanceCode?: string | undefined;
|
|
602
|
+
preHarvestDays?: number | undefined;
|
|
603
|
+
targetThreat?: string | undefined;
|
|
520
604
|
};
|
|
521
605
|
}>;
|
|
522
606
|
}, "strip", z.ZodTypeAny, {
|
|
523
607
|
data: {
|
|
524
608
|
type: "field-activities";
|
|
525
609
|
attributes: {
|
|
526
|
-
type: "weeding" | "fertilizer";
|
|
610
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
527
611
|
occurredAt: string;
|
|
528
612
|
fieldId: string;
|
|
529
613
|
source?: "whatsapp" | "manual" | "agent" | undefined;
|
|
@@ -534,13 +618,19 @@ export declare const fieldActivitiesRouter: {
|
|
|
534
618
|
productName?: string | undefined;
|
|
535
619
|
inventoryItemId?: string | undefined;
|
|
536
620
|
fertilizerProductId?: string | undefined;
|
|
621
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | undefined;
|
|
622
|
+
activeIngredient?: string | undefined;
|
|
623
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | undefined;
|
|
624
|
+
resistanceCode?: string | undefined;
|
|
625
|
+
preHarvestDays?: number | undefined;
|
|
626
|
+
targetThreat?: string | undefined;
|
|
537
627
|
};
|
|
538
628
|
};
|
|
539
629
|
}, {
|
|
540
630
|
data: {
|
|
541
631
|
type: "field-activities";
|
|
542
632
|
attributes: {
|
|
543
|
-
type: "weeding" | "fertilizer";
|
|
633
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
544
634
|
occurredAt: string;
|
|
545
635
|
fieldId: string;
|
|
546
636
|
source?: "whatsapp" | "manual" | "agent" | undefined;
|
|
@@ -551,6 +641,12 @@ export declare const fieldActivitiesRouter: {
|
|
|
551
641
|
productName?: string | undefined;
|
|
552
642
|
inventoryItemId?: string | undefined;
|
|
553
643
|
fertilizerProductId?: string | undefined;
|
|
644
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | undefined;
|
|
645
|
+
activeIngredient?: string | undefined;
|
|
646
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | undefined;
|
|
647
|
+
resistanceCode?: string | undefined;
|
|
648
|
+
preHarvestDays?: number | undefined;
|
|
649
|
+
targetThreat?: string | undefined;
|
|
554
650
|
};
|
|
555
651
|
};
|
|
556
652
|
}>;
|
|
@@ -563,7 +659,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
563
659
|
attributes: z.ZodObject<{
|
|
564
660
|
fieldId: z.ZodString;
|
|
565
661
|
fieldName: z.ZodOptional<z.ZodString>;
|
|
566
|
-
type: z.ZodEnum<["weeding", "fertilizer"]>;
|
|
662
|
+
type: z.ZodEnum<["weeding", "fertilizer", "scouting", "spray", "biocontrol", "sanitation", "irrigation", "pruning", "staking"]>;
|
|
567
663
|
occurredAt: z.ZodString;
|
|
568
664
|
method: z.ZodNullable<z.ZodString>;
|
|
569
665
|
productName: z.ZodNullable<z.ZodString>;
|
|
@@ -572,13 +668,19 @@ export declare const fieldActivitiesRouter: {
|
|
|
572
668
|
quantity: z.ZodNullable<z.ZodNumber>;
|
|
573
669
|
unit: z.ZodNullable<z.ZodString>;
|
|
574
670
|
notes: z.ZodNullable<z.ZodString>;
|
|
671
|
+
productClass: z.ZodOptional<z.ZodNullable<z.ZodEnum<["fungicide", "insecticide", "miticide", "biopesticide", "herbicide"]>>>;
|
|
672
|
+
activeIngredient: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
673
|
+
resistanceSystem: z.ZodOptional<z.ZodNullable<z.ZodEnum<["IRAC", "FRAC", "HRAC"]>>>;
|
|
674
|
+
resistanceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
675
|
+
preHarvestDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
676
|
+
targetThreat: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
575
677
|
createdById: z.ZodNullable<z.ZodString>;
|
|
576
678
|
source: z.ZodEnum<["manual", "agent", "whatsapp"]>;
|
|
577
679
|
} & {
|
|
578
680
|
createdAt: z.ZodString;
|
|
579
681
|
updatedAt: z.ZodString;
|
|
580
682
|
}, "strip", z.ZodTypeAny, {
|
|
581
|
-
type: "weeding" | "fertilizer";
|
|
683
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
582
684
|
source: "whatsapp" | "manual" | "agent";
|
|
583
685
|
createdAt: string;
|
|
584
686
|
updatedAt: string;
|
|
@@ -593,8 +695,14 @@ export declare const fieldActivitiesRouter: {
|
|
|
593
695
|
createdById: string | null;
|
|
594
696
|
fertilizerProductId: string | null;
|
|
595
697
|
fieldName?: string | undefined;
|
|
698
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | null | undefined;
|
|
699
|
+
activeIngredient?: string | null | undefined;
|
|
700
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | null | undefined;
|
|
701
|
+
resistanceCode?: string | null | undefined;
|
|
702
|
+
preHarvestDays?: number | null | undefined;
|
|
703
|
+
targetThreat?: string | null | undefined;
|
|
596
704
|
}, {
|
|
597
|
-
type: "weeding" | "fertilizer";
|
|
705
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
598
706
|
source: "whatsapp" | "manual" | "agent";
|
|
599
707
|
createdAt: string;
|
|
600
708
|
updatedAt: string;
|
|
@@ -609,6 +717,12 @@ export declare const fieldActivitiesRouter: {
|
|
|
609
717
|
createdById: string | null;
|
|
610
718
|
fertilizerProductId: string | null;
|
|
611
719
|
fieldName?: string | undefined;
|
|
720
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | null | undefined;
|
|
721
|
+
activeIngredient?: string | null | undefined;
|
|
722
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | null | undefined;
|
|
723
|
+
resistanceCode?: string | null | undefined;
|
|
724
|
+
preHarvestDays?: number | null | undefined;
|
|
725
|
+
targetThreat?: string | null | undefined;
|
|
612
726
|
}>;
|
|
613
727
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
614
728
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -617,7 +731,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
617
731
|
type: string;
|
|
618
732
|
id: string;
|
|
619
733
|
attributes: {
|
|
620
|
-
type: "weeding" | "fertilizer";
|
|
734
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
621
735
|
source: "whatsapp" | "manual" | "agent";
|
|
622
736
|
createdAt: string;
|
|
623
737
|
updatedAt: string;
|
|
@@ -632,6 +746,12 @@ export declare const fieldActivitiesRouter: {
|
|
|
632
746
|
createdById: string | null;
|
|
633
747
|
fertilizerProductId: string | null;
|
|
634
748
|
fieldName?: string | undefined;
|
|
749
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | null | undefined;
|
|
750
|
+
activeIngredient?: string | null | undefined;
|
|
751
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | null | undefined;
|
|
752
|
+
resistanceCode?: string | null | undefined;
|
|
753
|
+
preHarvestDays?: number | null | undefined;
|
|
754
|
+
targetThreat?: string | null | undefined;
|
|
635
755
|
};
|
|
636
756
|
relationships?: Record<string, unknown> | undefined;
|
|
637
757
|
links?: Record<string, string> | undefined;
|
|
@@ -640,7 +760,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
640
760
|
type: string;
|
|
641
761
|
id: string;
|
|
642
762
|
attributes: {
|
|
643
|
-
type: "weeding" | "fertilizer";
|
|
763
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
644
764
|
source: "whatsapp" | "manual" | "agent";
|
|
645
765
|
createdAt: string;
|
|
646
766
|
updatedAt: string;
|
|
@@ -655,6 +775,12 @@ export declare const fieldActivitiesRouter: {
|
|
|
655
775
|
createdById: string | null;
|
|
656
776
|
fertilizerProductId: string | null;
|
|
657
777
|
fieldName?: string | undefined;
|
|
778
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | null | undefined;
|
|
779
|
+
activeIngredient?: string | null | undefined;
|
|
780
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | null | undefined;
|
|
781
|
+
resistanceCode?: string | null | undefined;
|
|
782
|
+
preHarvestDays?: number | null | undefined;
|
|
783
|
+
targetThreat?: string | null | undefined;
|
|
658
784
|
};
|
|
659
785
|
relationships?: Record<string, unknown> | undefined;
|
|
660
786
|
links?: Record<string, string> | undefined;
|
|
@@ -689,7 +815,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
689
815
|
type: string;
|
|
690
816
|
id: string;
|
|
691
817
|
attributes: {
|
|
692
|
-
type: "weeding" | "fertilizer";
|
|
818
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
693
819
|
source: "whatsapp" | "manual" | "agent";
|
|
694
820
|
createdAt: string;
|
|
695
821
|
updatedAt: string;
|
|
@@ -704,6 +830,12 @@ export declare const fieldActivitiesRouter: {
|
|
|
704
830
|
createdById: string | null;
|
|
705
831
|
fertilizerProductId: string | null;
|
|
706
832
|
fieldName?: string | undefined;
|
|
833
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | null | undefined;
|
|
834
|
+
activeIngredient?: string | null | undefined;
|
|
835
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | null | undefined;
|
|
836
|
+
resistanceCode?: string | null | undefined;
|
|
837
|
+
preHarvestDays?: number | null | undefined;
|
|
838
|
+
targetThreat?: string | null | undefined;
|
|
707
839
|
};
|
|
708
840
|
relationships?: Record<string, unknown> | undefined;
|
|
709
841
|
links?: Record<string, string> | undefined;
|
|
@@ -724,7 +856,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
724
856
|
type: string;
|
|
725
857
|
id: string;
|
|
726
858
|
attributes: {
|
|
727
|
-
type: "weeding" | "fertilizer";
|
|
859
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
728
860
|
source: "whatsapp" | "manual" | "agent";
|
|
729
861
|
createdAt: string;
|
|
730
862
|
updatedAt: string;
|
|
@@ -739,6 +871,12 @@ export declare const fieldActivitiesRouter: {
|
|
|
739
871
|
createdById: string | null;
|
|
740
872
|
fertilizerProductId: string | null;
|
|
741
873
|
fieldName?: string | undefined;
|
|
874
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | null | undefined;
|
|
875
|
+
activeIngredient?: string | null | undefined;
|
|
876
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | null | undefined;
|
|
877
|
+
resistanceCode?: string | null | undefined;
|
|
878
|
+
preHarvestDays?: number | null | undefined;
|
|
879
|
+
targetThreat?: string | null | undefined;
|
|
742
880
|
};
|
|
743
881
|
relationships?: Record<string, unknown> | undefined;
|
|
744
882
|
links?: Record<string, string> | undefined;
|
|
@@ -1139,7 +1277,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
1139
1277
|
attributes: z.ZodObject<{
|
|
1140
1278
|
fieldId: z.ZodString;
|
|
1141
1279
|
fieldName: z.ZodOptional<z.ZodString>;
|
|
1142
|
-
type: z.ZodEnum<["weeding", "fertilizer"]>;
|
|
1280
|
+
type: z.ZodEnum<["weeding", "fertilizer", "scouting", "spray", "biocontrol", "sanitation", "irrigation", "pruning", "staking"]>;
|
|
1143
1281
|
occurredAt: z.ZodString;
|
|
1144
1282
|
method: z.ZodNullable<z.ZodString>;
|
|
1145
1283
|
productName: z.ZodNullable<z.ZodString>;
|
|
@@ -1148,13 +1286,19 @@ export declare const fieldActivitiesRouter: {
|
|
|
1148
1286
|
quantity: z.ZodNullable<z.ZodNumber>;
|
|
1149
1287
|
unit: z.ZodNullable<z.ZodString>;
|
|
1150
1288
|
notes: z.ZodNullable<z.ZodString>;
|
|
1289
|
+
productClass: z.ZodOptional<z.ZodNullable<z.ZodEnum<["fungicide", "insecticide", "miticide", "biopesticide", "herbicide"]>>>;
|
|
1290
|
+
activeIngredient: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1291
|
+
resistanceSystem: z.ZodOptional<z.ZodNullable<z.ZodEnum<["IRAC", "FRAC", "HRAC"]>>>;
|
|
1292
|
+
resistanceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1293
|
+
preHarvestDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1294
|
+
targetThreat: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1151
1295
|
createdById: z.ZodNullable<z.ZodString>;
|
|
1152
1296
|
source: z.ZodEnum<["manual", "agent", "whatsapp"]>;
|
|
1153
1297
|
} & {
|
|
1154
1298
|
createdAt: z.ZodString;
|
|
1155
1299
|
updatedAt: z.ZodString;
|
|
1156
1300
|
}, "strip", z.ZodTypeAny, {
|
|
1157
|
-
type: "weeding" | "fertilizer";
|
|
1301
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
1158
1302
|
source: "whatsapp" | "manual" | "agent";
|
|
1159
1303
|
createdAt: string;
|
|
1160
1304
|
updatedAt: string;
|
|
@@ -1169,8 +1313,14 @@ export declare const fieldActivitiesRouter: {
|
|
|
1169
1313
|
createdById: string | null;
|
|
1170
1314
|
fertilizerProductId: string | null;
|
|
1171
1315
|
fieldName?: string | undefined;
|
|
1316
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | null | undefined;
|
|
1317
|
+
activeIngredient?: string | null | undefined;
|
|
1318
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | null | undefined;
|
|
1319
|
+
resistanceCode?: string | null | undefined;
|
|
1320
|
+
preHarvestDays?: number | null | undefined;
|
|
1321
|
+
targetThreat?: string | null | undefined;
|
|
1172
1322
|
}, {
|
|
1173
|
-
type: "weeding" | "fertilizer";
|
|
1323
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
1174
1324
|
source: "whatsapp" | "manual" | "agent";
|
|
1175
1325
|
createdAt: string;
|
|
1176
1326
|
updatedAt: string;
|
|
@@ -1185,6 +1335,12 @@ export declare const fieldActivitiesRouter: {
|
|
|
1185
1335
|
createdById: string | null;
|
|
1186
1336
|
fertilizerProductId: string | null;
|
|
1187
1337
|
fieldName?: string | undefined;
|
|
1338
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | null | undefined;
|
|
1339
|
+
activeIngredient?: string | null | undefined;
|
|
1340
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | null | undefined;
|
|
1341
|
+
resistanceCode?: string | null | undefined;
|
|
1342
|
+
preHarvestDays?: number | null | undefined;
|
|
1343
|
+
targetThreat?: string | null | undefined;
|
|
1188
1344
|
}>;
|
|
1189
1345
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1190
1346
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -1193,7 +1349,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
1193
1349
|
type: string;
|
|
1194
1350
|
id: string;
|
|
1195
1351
|
attributes: {
|
|
1196
|
-
type: "weeding" | "fertilizer";
|
|
1352
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
1197
1353
|
source: "whatsapp" | "manual" | "agent";
|
|
1198
1354
|
createdAt: string;
|
|
1199
1355
|
updatedAt: string;
|
|
@@ -1208,6 +1364,12 @@ export declare const fieldActivitiesRouter: {
|
|
|
1208
1364
|
createdById: string | null;
|
|
1209
1365
|
fertilizerProductId: string | null;
|
|
1210
1366
|
fieldName?: string | undefined;
|
|
1367
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | null | undefined;
|
|
1368
|
+
activeIngredient?: string | null | undefined;
|
|
1369
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | null | undefined;
|
|
1370
|
+
resistanceCode?: string | null | undefined;
|
|
1371
|
+
preHarvestDays?: number | null | undefined;
|
|
1372
|
+
targetThreat?: string | null | undefined;
|
|
1211
1373
|
};
|
|
1212
1374
|
relationships?: Record<string, unknown> | undefined;
|
|
1213
1375
|
links?: Record<string, string> | undefined;
|
|
@@ -1216,7 +1378,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
1216
1378
|
type: string;
|
|
1217
1379
|
id: string;
|
|
1218
1380
|
attributes: {
|
|
1219
|
-
type: "weeding" | "fertilizer";
|
|
1381
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
1220
1382
|
source: "whatsapp" | "manual" | "agent";
|
|
1221
1383
|
createdAt: string;
|
|
1222
1384
|
updatedAt: string;
|
|
@@ -1231,6 +1393,12 @@ export declare const fieldActivitiesRouter: {
|
|
|
1231
1393
|
createdById: string | null;
|
|
1232
1394
|
fertilizerProductId: string | null;
|
|
1233
1395
|
fieldName?: string | undefined;
|
|
1396
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | null | undefined;
|
|
1397
|
+
activeIngredient?: string | null | undefined;
|
|
1398
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | null | undefined;
|
|
1399
|
+
resistanceCode?: string | null | undefined;
|
|
1400
|
+
preHarvestDays?: number | null | undefined;
|
|
1401
|
+
targetThreat?: string | null | undefined;
|
|
1234
1402
|
};
|
|
1235
1403
|
relationships?: Record<string, unknown> | undefined;
|
|
1236
1404
|
links?: Record<string, string> | undefined;
|
|
@@ -1265,7 +1433,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
1265
1433
|
type: string;
|
|
1266
1434
|
id: string;
|
|
1267
1435
|
attributes: {
|
|
1268
|
-
type: "weeding" | "fertilizer";
|
|
1436
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
1269
1437
|
source: "whatsapp" | "manual" | "agent";
|
|
1270
1438
|
createdAt: string;
|
|
1271
1439
|
updatedAt: string;
|
|
@@ -1280,6 +1448,12 @@ export declare const fieldActivitiesRouter: {
|
|
|
1280
1448
|
createdById: string | null;
|
|
1281
1449
|
fertilizerProductId: string | null;
|
|
1282
1450
|
fieldName?: string | undefined;
|
|
1451
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | null | undefined;
|
|
1452
|
+
activeIngredient?: string | null | undefined;
|
|
1453
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | null | undefined;
|
|
1454
|
+
resistanceCode?: string | null | undefined;
|
|
1455
|
+
preHarvestDays?: number | null | undefined;
|
|
1456
|
+
targetThreat?: string | null | undefined;
|
|
1283
1457
|
};
|
|
1284
1458
|
relationships?: Record<string, unknown> | undefined;
|
|
1285
1459
|
links?: Record<string, string> | undefined;
|
|
@@ -1300,7 +1474,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
1300
1474
|
type: string;
|
|
1301
1475
|
id: string;
|
|
1302
1476
|
attributes: {
|
|
1303
|
-
type: "weeding" | "fertilizer";
|
|
1477
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
1304
1478
|
source: "whatsapp" | "manual" | "agent";
|
|
1305
1479
|
createdAt: string;
|
|
1306
1480
|
updatedAt: string;
|
|
@@ -1315,6 +1489,12 @@ export declare const fieldActivitiesRouter: {
|
|
|
1315
1489
|
createdById: string | null;
|
|
1316
1490
|
fertilizerProductId: string | null;
|
|
1317
1491
|
fieldName?: string | undefined;
|
|
1492
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | null | undefined;
|
|
1493
|
+
activeIngredient?: string | null | undefined;
|
|
1494
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | null | undefined;
|
|
1495
|
+
resistanceCode?: string | null | undefined;
|
|
1496
|
+
preHarvestDays?: number | null | undefined;
|
|
1497
|
+
targetThreat?: string | null | undefined;
|
|
1318
1498
|
};
|
|
1319
1499
|
relationships?: Record<string, unknown> | undefined;
|
|
1320
1500
|
links?: Record<string, string> | undefined;
|
|
@@ -1539,6 +1719,12 @@ export declare const fieldActivitiesRouter: {
|
|
|
1539
1719
|
quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1540
1720
|
unit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1541
1721
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1722
|
+
productClass: z.ZodOptional<z.ZodNullable<z.ZodEnum<["fungicide", "insecticide", "miticide", "biopesticide", "herbicide"]>>>;
|
|
1723
|
+
activeIngredient: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1724
|
+
resistanceSystem: z.ZodOptional<z.ZodNullable<z.ZodEnum<["IRAC", "FRAC", "HRAC"]>>>;
|
|
1725
|
+
resistanceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1726
|
+
preHarvestDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1727
|
+
targetThreat: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1542
1728
|
}, "strip", z.ZodTypeAny, {
|
|
1543
1729
|
method?: string | null | undefined;
|
|
1544
1730
|
notes?: string | null | undefined;
|
|
@@ -1548,6 +1734,12 @@ export declare const fieldActivitiesRouter: {
|
|
|
1548
1734
|
productName?: string | null | undefined;
|
|
1549
1735
|
inventoryItemId?: string | null | undefined;
|
|
1550
1736
|
fertilizerProductId?: string | null | undefined;
|
|
1737
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | null | undefined;
|
|
1738
|
+
activeIngredient?: string | null | undefined;
|
|
1739
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | null | undefined;
|
|
1740
|
+
resistanceCode?: string | null | undefined;
|
|
1741
|
+
preHarvestDays?: number | null | undefined;
|
|
1742
|
+
targetThreat?: string | null | undefined;
|
|
1551
1743
|
}, {
|
|
1552
1744
|
method?: string | null | undefined;
|
|
1553
1745
|
notes?: string | null | undefined;
|
|
@@ -1557,6 +1749,12 @@ export declare const fieldActivitiesRouter: {
|
|
|
1557
1749
|
productName?: string | null | undefined;
|
|
1558
1750
|
inventoryItemId?: string | null | undefined;
|
|
1559
1751
|
fertilizerProductId?: string | null | undefined;
|
|
1752
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | null | undefined;
|
|
1753
|
+
activeIngredient?: string | null | undefined;
|
|
1754
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | null | undefined;
|
|
1755
|
+
resistanceCode?: string | null | undefined;
|
|
1756
|
+
preHarvestDays?: number | null | undefined;
|
|
1757
|
+
targetThreat?: string | null | undefined;
|
|
1560
1758
|
}>;
|
|
1561
1759
|
}, "strip", z.ZodTypeAny, {
|
|
1562
1760
|
type: "field-activities";
|
|
@@ -1570,6 +1768,12 @@ export declare const fieldActivitiesRouter: {
|
|
|
1570
1768
|
productName?: string | null | undefined;
|
|
1571
1769
|
inventoryItemId?: string | null | undefined;
|
|
1572
1770
|
fertilizerProductId?: string | null | undefined;
|
|
1771
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | null | undefined;
|
|
1772
|
+
activeIngredient?: string | null | undefined;
|
|
1773
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | null | undefined;
|
|
1774
|
+
resistanceCode?: string | null | undefined;
|
|
1775
|
+
preHarvestDays?: number | null | undefined;
|
|
1776
|
+
targetThreat?: string | null | undefined;
|
|
1573
1777
|
};
|
|
1574
1778
|
}, {
|
|
1575
1779
|
type: "field-activities";
|
|
@@ -1583,6 +1787,12 @@ export declare const fieldActivitiesRouter: {
|
|
|
1583
1787
|
productName?: string | null | undefined;
|
|
1584
1788
|
inventoryItemId?: string | null | undefined;
|
|
1585
1789
|
fertilizerProductId?: string | null | undefined;
|
|
1790
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | null | undefined;
|
|
1791
|
+
activeIngredient?: string | null | undefined;
|
|
1792
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | null | undefined;
|
|
1793
|
+
resistanceCode?: string | null | undefined;
|
|
1794
|
+
preHarvestDays?: number | null | undefined;
|
|
1795
|
+
targetThreat?: string | null | undefined;
|
|
1586
1796
|
};
|
|
1587
1797
|
}>;
|
|
1588
1798
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1598,6 +1808,12 @@ export declare const fieldActivitiesRouter: {
|
|
|
1598
1808
|
productName?: string | null | undefined;
|
|
1599
1809
|
inventoryItemId?: string | null | undefined;
|
|
1600
1810
|
fertilizerProductId?: string | null | undefined;
|
|
1811
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | null | undefined;
|
|
1812
|
+
activeIngredient?: string | null | undefined;
|
|
1813
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | null | undefined;
|
|
1814
|
+
resistanceCode?: string | null | undefined;
|
|
1815
|
+
preHarvestDays?: number | null | undefined;
|
|
1816
|
+
targetThreat?: string | null | undefined;
|
|
1601
1817
|
};
|
|
1602
1818
|
};
|
|
1603
1819
|
}, {
|
|
@@ -1613,6 +1829,12 @@ export declare const fieldActivitiesRouter: {
|
|
|
1613
1829
|
productName?: string | null | undefined;
|
|
1614
1830
|
inventoryItemId?: string | null | undefined;
|
|
1615
1831
|
fertilizerProductId?: string | null | undefined;
|
|
1832
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | null | undefined;
|
|
1833
|
+
activeIngredient?: string | null | undefined;
|
|
1834
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | null | undefined;
|
|
1835
|
+
resistanceCode?: string | null | undefined;
|
|
1836
|
+
preHarvestDays?: number | null | undefined;
|
|
1837
|
+
targetThreat?: string | null | undefined;
|
|
1616
1838
|
};
|
|
1617
1839
|
};
|
|
1618
1840
|
}>;
|
|
@@ -1625,7 +1847,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
1625
1847
|
attributes: z.ZodObject<{
|
|
1626
1848
|
fieldId: z.ZodString;
|
|
1627
1849
|
fieldName: z.ZodOptional<z.ZodString>;
|
|
1628
|
-
type: z.ZodEnum<["weeding", "fertilizer"]>;
|
|
1850
|
+
type: z.ZodEnum<["weeding", "fertilizer", "scouting", "spray", "biocontrol", "sanitation", "irrigation", "pruning", "staking"]>;
|
|
1629
1851
|
occurredAt: z.ZodString;
|
|
1630
1852
|
method: z.ZodNullable<z.ZodString>;
|
|
1631
1853
|
productName: z.ZodNullable<z.ZodString>;
|
|
@@ -1634,13 +1856,19 @@ export declare const fieldActivitiesRouter: {
|
|
|
1634
1856
|
quantity: z.ZodNullable<z.ZodNumber>;
|
|
1635
1857
|
unit: z.ZodNullable<z.ZodString>;
|
|
1636
1858
|
notes: z.ZodNullable<z.ZodString>;
|
|
1859
|
+
productClass: z.ZodOptional<z.ZodNullable<z.ZodEnum<["fungicide", "insecticide", "miticide", "biopesticide", "herbicide"]>>>;
|
|
1860
|
+
activeIngredient: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1861
|
+
resistanceSystem: z.ZodOptional<z.ZodNullable<z.ZodEnum<["IRAC", "FRAC", "HRAC"]>>>;
|
|
1862
|
+
resistanceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1863
|
+
preHarvestDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1864
|
+
targetThreat: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1637
1865
|
createdById: z.ZodNullable<z.ZodString>;
|
|
1638
1866
|
source: z.ZodEnum<["manual", "agent", "whatsapp"]>;
|
|
1639
1867
|
} & {
|
|
1640
1868
|
createdAt: z.ZodString;
|
|
1641
1869
|
updatedAt: z.ZodString;
|
|
1642
1870
|
}, "strip", z.ZodTypeAny, {
|
|
1643
|
-
type: "weeding" | "fertilizer";
|
|
1871
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
1644
1872
|
source: "whatsapp" | "manual" | "agent";
|
|
1645
1873
|
createdAt: string;
|
|
1646
1874
|
updatedAt: string;
|
|
@@ -1655,8 +1883,14 @@ export declare const fieldActivitiesRouter: {
|
|
|
1655
1883
|
createdById: string | null;
|
|
1656
1884
|
fertilizerProductId: string | null;
|
|
1657
1885
|
fieldName?: string | undefined;
|
|
1886
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | null | undefined;
|
|
1887
|
+
activeIngredient?: string | null | undefined;
|
|
1888
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | null | undefined;
|
|
1889
|
+
resistanceCode?: string | null | undefined;
|
|
1890
|
+
preHarvestDays?: number | null | undefined;
|
|
1891
|
+
targetThreat?: string | null | undefined;
|
|
1658
1892
|
}, {
|
|
1659
|
-
type: "weeding" | "fertilizer";
|
|
1893
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
1660
1894
|
source: "whatsapp" | "manual" | "agent";
|
|
1661
1895
|
createdAt: string;
|
|
1662
1896
|
updatedAt: string;
|
|
@@ -1671,6 +1905,12 @@ export declare const fieldActivitiesRouter: {
|
|
|
1671
1905
|
createdById: string | null;
|
|
1672
1906
|
fertilizerProductId: string | null;
|
|
1673
1907
|
fieldName?: string | undefined;
|
|
1908
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | null | undefined;
|
|
1909
|
+
activeIngredient?: string | null | undefined;
|
|
1910
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | null | undefined;
|
|
1911
|
+
resistanceCode?: string | null | undefined;
|
|
1912
|
+
preHarvestDays?: number | null | undefined;
|
|
1913
|
+
targetThreat?: string | null | undefined;
|
|
1674
1914
|
}>;
|
|
1675
1915
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1676
1916
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -1679,7 +1919,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
1679
1919
|
type: string;
|
|
1680
1920
|
id: string;
|
|
1681
1921
|
attributes: {
|
|
1682
|
-
type: "weeding" | "fertilizer";
|
|
1922
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
1683
1923
|
source: "whatsapp" | "manual" | "agent";
|
|
1684
1924
|
createdAt: string;
|
|
1685
1925
|
updatedAt: string;
|
|
@@ -1694,6 +1934,12 @@ export declare const fieldActivitiesRouter: {
|
|
|
1694
1934
|
createdById: string | null;
|
|
1695
1935
|
fertilizerProductId: string | null;
|
|
1696
1936
|
fieldName?: string | undefined;
|
|
1937
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | null | undefined;
|
|
1938
|
+
activeIngredient?: string | null | undefined;
|
|
1939
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | null | undefined;
|
|
1940
|
+
resistanceCode?: string | null | undefined;
|
|
1941
|
+
preHarvestDays?: number | null | undefined;
|
|
1942
|
+
targetThreat?: string | null | undefined;
|
|
1697
1943
|
};
|
|
1698
1944
|
relationships?: Record<string, unknown> | undefined;
|
|
1699
1945
|
links?: Record<string, string> | undefined;
|
|
@@ -1702,7 +1948,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
1702
1948
|
type: string;
|
|
1703
1949
|
id: string;
|
|
1704
1950
|
attributes: {
|
|
1705
|
-
type: "weeding" | "fertilizer";
|
|
1951
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
1706
1952
|
source: "whatsapp" | "manual" | "agent";
|
|
1707
1953
|
createdAt: string;
|
|
1708
1954
|
updatedAt: string;
|
|
@@ -1717,6 +1963,12 @@ export declare const fieldActivitiesRouter: {
|
|
|
1717
1963
|
createdById: string | null;
|
|
1718
1964
|
fertilizerProductId: string | null;
|
|
1719
1965
|
fieldName?: string | undefined;
|
|
1966
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | null | undefined;
|
|
1967
|
+
activeIngredient?: string | null | undefined;
|
|
1968
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | null | undefined;
|
|
1969
|
+
resistanceCode?: string | null | undefined;
|
|
1970
|
+
preHarvestDays?: number | null | undefined;
|
|
1971
|
+
targetThreat?: string | null | undefined;
|
|
1720
1972
|
};
|
|
1721
1973
|
relationships?: Record<string, unknown> | undefined;
|
|
1722
1974
|
links?: Record<string, string> | undefined;
|
|
@@ -1751,7 +2003,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
1751
2003
|
type: string;
|
|
1752
2004
|
id: string;
|
|
1753
2005
|
attributes: {
|
|
1754
|
-
type: "weeding" | "fertilizer";
|
|
2006
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
1755
2007
|
source: "whatsapp" | "manual" | "agent";
|
|
1756
2008
|
createdAt: string;
|
|
1757
2009
|
updatedAt: string;
|
|
@@ -1766,6 +2018,12 @@ export declare const fieldActivitiesRouter: {
|
|
|
1766
2018
|
createdById: string | null;
|
|
1767
2019
|
fertilizerProductId: string | null;
|
|
1768
2020
|
fieldName?: string | undefined;
|
|
2021
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | null | undefined;
|
|
2022
|
+
activeIngredient?: string | null | undefined;
|
|
2023
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | null | undefined;
|
|
2024
|
+
resistanceCode?: string | null | undefined;
|
|
2025
|
+
preHarvestDays?: number | null | undefined;
|
|
2026
|
+
targetThreat?: string | null | undefined;
|
|
1769
2027
|
};
|
|
1770
2028
|
relationships?: Record<string, unknown> | undefined;
|
|
1771
2029
|
links?: Record<string, string> | undefined;
|
|
@@ -1786,7 +2044,7 @@ export declare const fieldActivitiesRouter: {
|
|
|
1786
2044
|
type: string;
|
|
1787
2045
|
id: string;
|
|
1788
2046
|
attributes: {
|
|
1789
|
-
type: "weeding" | "fertilizer";
|
|
2047
|
+
type: "weeding" | "fertilizer" | "irrigation" | "pruning" | "scouting" | "spray" | "biocontrol" | "sanitation" | "staking";
|
|
1790
2048
|
source: "whatsapp" | "manual" | "agent";
|
|
1791
2049
|
createdAt: string;
|
|
1792
2050
|
updatedAt: string;
|
|
@@ -1801,6 +2059,12 @@ export declare const fieldActivitiesRouter: {
|
|
|
1801
2059
|
createdById: string | null;
|
|
1802
2060
|
fertilizerProductId: string | null;
|
|
1803
2061
|
fieldName?: string | undefined;
|
|
2062
|
+
productClass?: "fungicide" | "insecticide" | "miticide" | "biopesticide" | "herbicide" | null | undefined;
|
|
2063
|
+
activeIngredient?: string | null | undefined;
|
|
2064
|
+
resistanceSystem?: "IRAC" | "FRAC" | "HRAC" | null | undefined;
|
|
2065
|
+
resistanceCode?: string | null | undefined;
|
|
2066
|
+
preHarvestDays?: number | null | undefined;
|
|
2067
|
+
targetThreat?: string | null | undefined;
|
|
1804
2068
|
};
|
|
1805
2069
|
relationships?: Record<string, unknown> | undefined;
|
|
1806
2070
|
links?: Record<string, string> | undefined;
|