@deepintel-ltd/farmpro-contracts 1.11.3 → 1.11.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/routes/admin.routes.d.ts +2591 -59
- package/dist/routes/admin.routes.d.ts.map +1 -1
- package/dist/routes/admin.routes.js +68 -6
- package/dist/routes/agent-workflows.routes.d.ts +140 -140
- package/dist/routes/agents.routes.d.ts +6 -6
- package/dist/routes/analytics.routes.d.ts +6 -6
- package/dist/routes/auth.routes.d.ts +503 -0
- package/dist/routes/auth.routes.d.ts.map +1 -1
- package/dist/routes/auth.routes.js +15 -0
- package/dist/routes/crop-profile.routes.d.ts +18 -18
- package/dist/routes/documents.routes.d.ts +58 -58
- package/dist/routes/equipment.routes.d.ts +62 -62
- package/dist/routes/extension.routes.d.ts +6 -6
- package/dist/routes/farm-status.routes.d.ts +6 -6
- package/dist/routes/farms.routes.d.ts +35 -0
- package/dist/routes/farms.routes.d.ts.map +1 -1
- package/dist/routes/fertigation.routes.d.ts +76 -76
- package/dist/routes/field-monitoring.routes.d.ts +34 -34
- package/dist/routes/field-observations.routes.d.ts +170 -170
- package/dist/routes/finance.routes.d.ts +6 -6
- package/dist/routes/geofences.routes.d.ts +8 -8
- package/dist/routes/irrigation.routes.d.ts +22 -22
- package/dist/routes/live-monitor.routes.d.ts +2 -2
- package/dist/routes/livestock-groups.routes.d.ts +30 -30
- package/dist/routes/livestock.routes.d.ts +24 -24
- package/dist/routes/monitoring-visualization.routes.d.ts +4 -4
- package/dist/routes/pest-disease-risk.routes.d.ts +48 -48
- package/dist/routes/prescription-maps.routes.d.ts +2 -2
- package/dist/routes/seasonal-plans.routes.d.ts +6 -6
- package/dist/routes/soil-tests.routes.d.ts +30 -30
- package/dist/routes/subscriptions.routes.d.ts +2 -2
- package/dist/routes/team-payments.routes.d.ts +36 -36
- package/dist/routes/team.routes.d.ts +24 -24
- package/dist/routes/users.routes.d.ts +14 -0
- package/dist/routes/users.routes.d.ts.map +1 -1
- package/dist/routes/weather.routes.d.ts +14 -14
- package/dist/routes/yield-prediction.routes.d.ts +48 -48
- package/dist/schemas/admin.schemas.d.ts +470 -84
- package/dist/schemas/admin.schemas.d.ts.map +1 -1
- package/dist/schemas/admin.schemas.js +46 -0
- package/dist/schemas/agent-workflows.schemas.d.ts +111 -111
- package/dist/schemas/agents.schemas.d.ts +6 -6
- package/dist/schemas/analytics.schemas.d.ts +12 -12
- package/dist/schemas/crop-profile.schemas.d.ts +26 -26
- package/dist/schemas/documents.schemas.d.ts +48 -48
- package/dist/schemas/equipment.schemas.d.ts +48 -48
- package/dist/schemas/extension.schemas.d.ts +12 -12
- package/dist/schemas/farm-status.schemas.d.ts +8 -8
- package/dist/schemas/farms.schemas.d.ts +48 -0
- package/dist/schemas/farms.schemas.d.ts.map +1 -1
- package/dist/schemas/farms.schemas.js +3 -0
- package/dist/schemas/fertigation.schemas.d.ts +20 -20
- package/dist/schemas/field-monitoring.schemas.d.ts +26 -26
- package/dist/schemas/field-observations.schemas.d.ts +126 -126
- package/dist/schemas/finance.schemas.d.ts +6 -6
- package/dist/schemas/geofences.schemas.d.ts +6 -6
- package/dist/schemas/irrigation.schemas.d.ts +12 -12
- package/dist/schemas/live-monitor.schemas.d.ts +2 -2
- package/dist/schemas/livestock-groups.schemas.d.ts +18 -18
- package/dist/schemas/livestock.schemas.d.ts +18 -18
- package/dist/schemas/monitoring-visualization.schemas.d.ts +4 -4
- package/dist/schemas/pest-disease-risk.schemas.d.ts +32 -32
- package/dist/schemas/prescription-maps.schemas.d.ts +2 -2
- package/dist/schemas/seasonal-plans.schemas.d.ts +12 -12
- package/dist/schemas/soil-tests.schemas.d.ts +28 -28
- package/dist/schemas/team-payments.schemas.d.ts +24 -24
- package/dist/schemas/team.schemas.d.ts +18 -18
- package/dist/schemas/users.schemas.d.ts +15 -0
- package/dist/schemas/users.schemas.d.ts.map +1 -1
- package/dist/schemas/users.schemas.js +1 -0
- package/dist/schemas/weather.schemas.d.ts +28 -28
- package/dist/schemas/yield-prediction.schemas.d.ts +8 -8
- package/package.json +1 -1
|
@@ -3019,6 +3019,7 @@ export declare const weeklyWorkOrdersResponseSchema: z.ZodObject<{
|
|
|
3019
3019
|
recommendedQuantity: number;
|
|
3020
3020
|
}>, "many">;
|
|
3021
3021
|
}, "strip", z.ZodTypeAny, {
|
|
3022
|
+
farmId: string;
|
|
3022
3023
|
tasks: {
|
|
3023
3024
|
status: string;
|
|
3024
3025
|
date: string;
|
|
@@ -3028,7 +3029,6 @@ export declare const weeklyWorkOrdersResponseSchema: z.ZodObject<{
|
|
|
3028
3029
|
fieldName: string;
|
|
3029
3030
|
category: string;
|
|
3030
3031
|
}[];
|
|
3031
|
-
farmId: string;
|
|
3032
3032
|
startDate: string;
|
|
3033
3033
|
endDate: string;
|
|
3034
3034
|
conflicts: {
|
|
@@ -3052,6 +3052,7 @@ export declare const weeklyWorkOrdersResponseSchema: z.ZodObject<{
|
|
|
3052
3052
|
recommendedQuantity: number;
|
|
3053
3053
|
}[];
|
|
3054
3054
|
}, {
|
|
3055
|
+
farmId: string;
|
|
3055
3056
|
tasks: {
|
|
3056
3057
|
status: string;
|
|
3057
3058
|
date: string;
|
|
@@ -3061,7 +3062,6 @@ export declare const weeklyWorkOrdersResponseSchema: z.ZodObject<{
|
|
|
3061
3062
|
fieldName: string;
|
|
3062
3063
|
category: string;
|
|
3063
3064
|
}[];
|
|
3064
|
-
farmId: string;
|
|
3065
3065
|
startDate: string;
|
|
3066
3066
|
endDate: string;
|
|
3067
3067
|
conflicts: {
|
|
@@ -3089,6 +3089,7 @@ export declare const weeklyWorkOrdersResponseSchema: z.ZodObject<{
|
|
|
3089
3089
|
type: "weekly-work-orders";
|
|
3090
3090
|
id: string;
|
|
3091
3091
|
attributes: {
|
|
3092
|
+
farmId: string;
|
|
3092
3093
|
tasks: {
|
|
3093
3094
|
status: string;
|
|
3094
3095
|
date: string;
|
|
@@ -3098,7 +3099,6 @@ export declare const weeklyWorkOrdersResponseSchema: z.ZodObject<{
|
|
|
3098
3099
|
fieldName: string;
|
|
3099
3100
|
category: string;
|
|
3100
3101
|
}[];
|
|
3101
|
-
farmId: string;
|
|
3102
3102
|
startDate: string;
|
|
3103
3103
|
endDate: string;
|
|
3104
3104
|
conflicts: {
|
|
@@ -3126,6 +3126,7 @@ export declare const weeklyWorkOrdersResponseSchema: z.ZodObject<{
|
|
|
3126
3126
|
type: "weekly-work-orders";
|
|
3127
3127
|
id: string;
|
|
3128
3128
|
attributes: {
|
|
3129
|
+
farmId: string;
|
|
3129
3130
|
tasks: {
|
|
3130
3131
|
status: string;
|
|
3131
3132
|
date: string;
|
|
@@ -3135,7 +3136,6 @@ export declare const weeklyWorkOrdersResponseSchema: z.ZodObject<{
|
|
|
3135
3136
|
fieldName: string;
|
|
3136
3137
|
category: string;
|
|
3137
3138
|
}[];
|
|
3138
|
-
farmId: string;
|
|
3139
3139
|
startDate: string;
|
|
3140
3140
|
endDate: string;
|
|
3141
3141
|
conflicts: {
|
|
@@ -3165,6 +3165,7 @@ export declare const weeklyWorkOrdersResponseSchema: z.ZodObject<{
|
|
|
3165
3165
|
type: "weekly-work-orders";
|
|
3166
3166
|
id: string;
|
|
3167
3167
|
attributes: {
|
|
3168
|
+
farmId: string;
|
|
3168
3169
|
tasks: {
|
|
3169
3170
|
status: string;
|
|
3170
3171
|
date: string;
|
|
@@ -3174,7 +3175,6 @@ export declare const weeklyWorkOrdersResponseSchema: z.ZodObject<{
|
|
|
3174
3175
|
fieldName: string;
|
|
3175
3176
|
category: string;
|
|
3176
3177
|
}[];
|
|
3177
|
-
farmId: string;
|
|
3178
3178
|
startDate: string;
|
|
3179
3179
|
endDate: string;
|
|
3180
3180
|
conflicts: {
|
|
@@ -3204,6 +3204,7 @@ export declare const weeklyWorkOrdersResponseSchema: z.ZodObject<{
|
|
|
3204
3204
|
type: "weekly-work-orders";
|
|
3205
3205
|
id: string;
|
|
3206
3206
|
attributes: {
|
|
3207
|
+
farmId: string;
|
|
3207
3208
|
tasks: {
|
|
3208
3209
|
status: string;
|
|
3209
3210
|
date: string;
|
|
@@ -3213,7 +3214,6 @@ export declare const weeklyWorkOrdersResponseSchema: z.ZodObject<{
|
|
|
3213
3214
|
fieldName: string;
|
|
3214
3215
|
category: string;
|
|
3215
3216
|
}[];
|
|
3216
|
-
farmId: string;
|
|
3217
3217
|
startDate: string;
|
|
3218
3218
|
endDate: string;
|
|
3219
3219
|
conflicts: {
|
|
@@ -319,13 +319,13 @@ export declare const analyticsAttributesSchema: z.ZodObject<{
|
|
|
319
319
|
}[] | undefined;
|
|
320
320
|
}>>;
|
|
321
321
|
}, "strip", z.ZodTypeAny, {
|
|
322
|
+
farmId: string;
|
|
322
323
|
yield: {
|
|
323
324
|
revenue: number;
|
|
324
325
|
forecast: number;
|
|
325
326
|
target: number;
|
|
326
327
|
costs: number;
|
|
327
328
|
};
|
|
328
|
-
farmId: string;
|
|
329
329
|
performanceData: {
|
|
330
330
|
date: string;
|
|
331
331
|
ndvi: number | null;
|
|
@@ -368,13 +368,13 @@ export declare const analyticsAttributesSchema: z.ZodObject<{
|
|
|
368
368
|
}[] | undefined;
|
|
369
369
|
} | undefined;
|
|
370
370
|
}, {
|
|
371
|
+
farmId: string;
|
|
371
372
|
yield: {
|
|
372
373
|
revenue: number;
|
|
373
374
|
forecast: number;
|
|
374
375
|
target: number;
|
|
375
376
|
costs: number;
|
|
376
377
|
};
|
|
377
|
-
farmId: string;
|
|
378
378
|
performanceData: {
|
|
379
379
|
date: string;
|
|
380
380
|
ndvi: number | null;
|
|
@@ -580,13 +580,13 @@ export declare const analyticsResourceSchema: z.ZodObject<{
|
|
|
580
580
|
}[] | undefined;
|
|
581
581
|
}>>;
|
|
582
582
|
}, "strip", z.ZodTypeAny, {
|
|
583
|
+
farmId: string;
|
|
583
584
|
yield: {
|
|
584
585
|
revenue: number;
|
|
585
586
|
forecast: number;
|
|
586
587
|
target: number;
|
|
587
588
|
costs: number;
|
|
588
589
|
};
|
|
589
|
-
farmId: string;
|
|
590
590
|
performanceData: {
|
|
591
591
|
date: string;
|
|
592
592
|
ndvi: number | null;
|
|
@@ -629,13 +629,13 @@ export declare const analyticsResourceSchema: z.ZodObject<{
|
|
|
629
629
|
}[] | undefined;
|
|
630
630
|
} | undefined;
|
|
631
631
|
}, {
|
|
632
|
+
farmId: string;
|
|
632
633
|
yield: {
|
|
633
634
|
revenue: number;
|
|
634
635
|
forecast: number;
|
|
635
636
|
target: number;
|
|
636
637
|
costs: number;
|
|
637
638
|
};
|
|
638
|
-
farmId: string;
|
|
639
639
|
performanceData: {
|
|
640
640
|
date: string;
|
|
641
641
|
ndvi: number | null;
|
|
@@ -685,13 +685,13 @@ export declare const analyticsResourceSchema: z.ZodObject<{
|
|
|
685
685
|
type: string;
|
|
686
686
|
id: string;
|
|
687
687
|
attributes: {
|
|
688
|
+
farmId: string;
|
|
688
689
|
yield: {
|
|
689
690
|
revenue: number;
|
|
690
691
|
forecast: number;
|
|
691
692
|
target: number;
|
|
692
693
|
costs: number;
|
|
693
694
|
};
|
|
694
|
-
farmId: string;
|
|
695
695
|
performanceData: {
|
|
696
696
|
date: string;
|
|
697
697
|
ndvi: number | null;
|
|
@@ -741,13 +741,13 @@ export declare const analyticsResourceSchema: z.ZodObject<{
|
|
|
741
741
|
type: string;
|
|
742
742
|
id: string;
|
|
743
743
|
attributes: {
|
|
744
|
+
farmId: string;
|
|
744
745
|
yield: {
|
|
745
746
|
revenue: number;
|
|
746
747
|
forecast: number;
|
|
747
748
|
target: number;
|
|
748
749
|
costs: number;
|
|
749
750
|
};
|
|
750
|
-
farmId: string;
|
|
751
751
|
performanceData: {
|
|
752
752
|
date: string;
|
|
753
753
|
ndvi: number | null;
|
|
@@ -958,13 +958,13 @@ export declare const analyticsResponseSchema: z.ZodObject<{
|
|
|
958
958
|
}[] | undefined;
|
|
959
959
|
}>>;
|
|
960
960
|
}, "strip", z.ZodTypeAny, {
|
|
961
|
+
farmId: string;
|
|
961
962
|
yield: {
|
|
962
963
|
revenue: number;
|
|
963
964
|
forecast: number;
|
|
964
965
|
target: number;
|
|
965
966
|
costs: number;
|
|
966
967
|
};
|
|
967
|
-
farmId: string;
|
|
968
968
|
performanceData: {
|
|
969
969
|
date: string;
|
|
970
970
|
ndvi: number | null;
|
|
@@ -1007,13 +1007,13 @@ export declare const analyticsResponseSchema: z.ZodObject<{
|
|
|
1007
1007
|
}[] | undefined;
|
|
1008
1008
|
} | undefined;
|
|
1009
1009
|
}, {
|
|
1010
|
+
farmId: string;
|
|
1010
1011
|
yield: {
|
|
1011
1012
|
revenue: number;
|
|
1012
1013
|
forecast: number;
|
|
1013
1014
|
target: number;
|
|
1014
1015
|
costs: number;
|
|
1015
1016
|
};
|
|
1016
|
-
farmId: string;
|
|
1017
1017
|
performanceData: {
|
|
1018
1018
|
date: string;
|
|
1019
1019
|
ndvi: number | null;
|
|
@@ -1063,13 +1063,13 @@ export declare const analyticsResponseSchema: z.ZodObject<{
|
|
|
1063
1063
|
type: string;
|
|
1064
1064
|
id: string;
|
|
1065
1065
|
attributes: {
|
|
1066
|
+
farmId: string;
|
|
1066
1067
|
yield: {
|
|
1067
1068
|
revenue: number;
|
|
1068
1069
|
forecast: number;
|
|
1069
1070
|
target: number;
|
|
1070
1071
|
costs: number;
|
|
1071
1072
|
};
|
|
1072
|
-
farmId: string;
|
|
1073
1073
|
performanceData: {
|
|
1074
1074
|
date: string;
|
|
1075
1075
|
ndvi: number | null;
|
|
@@ -1119,13 +1119,13 @@ export declare const analyticsResponseSchema: z.ZodObject<{
|
|
|
1119
1119
|
type: string;
|
|
1120
1120
|
id: string;
|
|
1121
1121
|
attributes: {
|
|
1122
|
+
farmId: string;
|
|
1122
1123
|
yield: {
|
|
1123
1124
|
revenue: number;
|
|
1124
1125
|
forecast: number;
|
|
1125
1126
|
target: number;
|
|
1126
1127
|
costs: number;
|
|
1127
1128
|
};
|
|
1128
|
-
farmId: string;
|
|
1129
1129
|
performanceData: {
|
|
1130
1130
|
date: string;
|
|
1131
1131
|
ndvi: number | null;
|
|
@@ -1201,13 +1201,13 @@ export declare const analyticsResponseSchema: z.ZodObject<{
|
|
|
1201
1201
|
type: string;
|
|
1202
1202
|
id: string;
|
|
1203
1203
|
attributes: {
|
|
1204
|
+
farmId: string;
|
|
1204
1205
|
yield: {
|
|
1205
1206
|
revenue: number;
|
|
1206
1207
|
forecast: number;
|
|
1207
1208
|
target: number;
|
|
1208
1209
|
costs: number;
|
|
1209
1210
|
};
|
|
1210
|
-
farmId: string;
|
|
1211
1211
|
performanceData: {
|
|
1212
1212
|
date: string;
|
|
1213
1213
|
ndvi: number | null;
|
|
@@ -1269,13 +1269,13 @@ export declare const analyticsResponseSchema: z.ZodObject<{
|
|
|
1269
1269
|
type: string;
|
|
1270
1270
|
id: string;
|
|
1271
1271
|
attributes: {
|
|
1272
|
+
farmId: string;
|
|
1272
1273
|
yield: {
|
|
1273
1274
|
revenue: number;
|
|
1274
1275
|
forecast: number;
|
|
1275
1276
|
target: number;
|
|
1276
1277
|
costs: number;
|
|
1277
1278
|
};
|
|
1278
|
-
farmId: string;
|
|
1279
1279
|
performanceData: {
|
|
1280
1280
|
date: string;
|
|
1281
1281
|
ndvi: number | null;
|
|
@@ -13,16 +13,16 @@ export declare const cropCropGrowthStageConfigSchema: z.ZodObject<{
|
|
|
13
13
|
healthyRange: [number, number];
|
|
14
14
|
warningRange: [number, number];
|
|
15
15
|
criticalBelow: number;
|
|
16
|
-
description?: string | undefined;
|
|
17
16
|
recommendations?: string[] | undefined;
|
|
17
|
+
description?: string | undefined;
|
|
18
18
|
}, {
|
|
19
19
|
stage: string;
|
|
20
20
|
daysFromPlanting: [number, number];
|
|
21
21
|
healthyRange: [number, number];
|
|
22
22
|
warningRange: [number, number];
|
|
23
23
|
criticalBelow: number;
|
|
24
|
-
description?: string | undefined;
|
|
25
24
|
recommendations?: string[] | undefined;
|
|
25
|
+
description?: string | undefined;
|
|
26
26
|
}>;
|
|
27
27
|
export declare const alertConfigSchema: z.ZodObject<{
|
|
28
28
|
condition: z.ZodString;
|
|
@@ -136,16 +136,16 @@ export declare const cropProfileSchema: z.ZodObject<{
|
|
|
136
136
|
healthyRange: [number, number];
|
|
137
137
|
warningRange: [number, number];
|
|
138
138
|
criticalBelow: number;
|
|
139
|
-
description?: string | undefined;
|
|
140
139
|
recommendations?: string[] | undefined;
|
|
140
|
+
description?: string | undefined;
|
|
141
141
|
}, {
|
|
142
142
|
stage: string;
|
|
143
143
|
daysFromPlanting: [number, number];
|
|
144
144
|
healthyRange: [number, number];
|
|
145
145
|
warningRange: [number, number];
|
|
146
146
|
criticalBelow: number;
|
|
147
|
-
description?: string | undefined;
|
|
148
147
|
recommendations?: string[] | undefined;
|
|
148
|
+
description?: string | undefined;
|
|
149
149
|
}>, "many">;
|
|
150
150
|
alerts: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
151
151
|
condition: z.ZodString;
|
|
@@ -185,8 +185,8 @@ export declare const cropProfileSchema: z.ZodObject<{
|
|
|
185
185
|
healthyRange: [number, number];
|
|
186
186
|
warningRange: [number, number];
|
|
187
187
|
criticalBelow: number;
|
|
188
|
-
description?: string | undefined;
|
|
189
188
|
recommendations?: string[] | undefined;
|
|
189
|
+
description?: string | undefined;
|
|
190
190
|
}[];
|
|
191
191
|
region: string | null;
|
|
192
192
|
totalDays: number;
|
|
@@ -208,8 +208,8 @@ export declare const cropProfileSchema: z.ZodObject<{
|
|
|
208
208
|
healthyRange: [number, number];
|
|
209
209
|
warningRange: [number, number];
|
|
210
210
|
criticalBelow: number;
|
|
211
|
-
description?: string | undefined;
|
|
212
211
|
recommendations?: string[] | undefined;
|
|
212
|
+
description?: string | undefined;
|
|
213
213
|
}[];
|
|
214
214
|
region: string | null;
|
|
215
215
|
totalDays: number;
|
|
@@ -232,16 +232,16 @@ export declare const cropProfileListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
232
232
|
healthyRange: [number, number];
|
|
233
233
|
warningRange: [number, number];
|
|
234
234
|
criticalBelow: number;
|
|
235
|
-
description?: string | undefined;
|
|
236
235
|
recommendations?: string[] | undefined;
|
|
236
|
+
description?: string | undefined;
|
|
237
237
|
}, {
|
|
238
238
|
stage: string;
|
|
239
239
|
daysFromPlanting: [number, number];
|
|
240
240
|
healthyRange: [number, number];
|
|
241
241
|
warningRange: [number, number];
|
|
242
242
|
criticalBelow: number;
|
|
243
|
-
description?: string | undefined;
|
|
244
243
|
recommendations?: string[] | undefined;
|
|
244
|
+
description?: string | undefined;
|
|
245
245
|
}>, "many">;
|
|
246
246
|
alerts: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
247
247
|
condition: z.ZodString;
|
|
@@ -281,8 +281,8 @@ export declare const cropProfileListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
281
281
|
healthyRange: [number, number];
|
|
282
282
|
warningRange: [number, number];
|
|
283
283
|
criticalBelow: number;
|
|
284
|
-
description?: string | undefined;
|
|
285
284
|
recommendations?: string[] | undefined;
|
|
285
|
+
description?: string | undefined;
|
|
286
286
|
}[];
|
|
287
287
|
region: string | null;
|
|
288
288
|
totalDays: number;
|
|
@@ -304,8 +304,8 @@ export declare const cropProfileListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
304
304
|
healthyRange: [number, number];
|
|
305
305
|
warningRange: [number, number];
|
|
306
306
|
criticalBelow: number;
|
|
307
|
-
description?: string | undefined;
|
|
308
307
|
recommendations?: string[] | undefined;
|
|
308
|
+
description?: string | undefined;
|
|
309
309
|
}[];
|
|
310
310
|
region: string | null;
|
|
311
311
|
totalDays: number;
|
|
@@ -328,16 +328,16 @@ export declare const cropProfileResponseSchema: z.ZodObject<{
|
|
|
328
328
|
healthyRange: [number, number];
|
|
329
329
|
warningRange: [number, number];
|
|
330
330
|
criticalBelow: number;
|
|
331
|
-
description?: string | undefined;
|
|
332
331
|
recommendations?: string[] | undefined;
|
|
332
|
+
description?: string | undefined;
|
|
333
333
|
}, {
|
|
334
334
|
stage: string;
|
|
335
335
|
daysFromPlanting: [number, number];
|
|
336
336
|
healthyRange: [number, number];
|
|
337
337
|
warningRange: [number, number];
|
|
338
338
|
criticalBelow: number;
|
|
339
|
-
description?: string | undefined;
|
|
340
339
|
recommendations?: string[] | undefined;
|
|
340
|
+
description?: string | undefined;
|
|
341
341
|
}>, "many">;
|
|
342
342
|
alerts: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
343
343
|
condition: z.ZodString;
|
|
@@ -377,8 +377,8 @@ export declare const cropProfileResponseSchema: z.ZodObject<{
|
|
|
377
377
|
healthyRange: [number, number];
|
|
378
378
|
warningRange: [number, number];
|
|
379
379
|
criticalBelow: number;
|
|
380
|
-
description?: string | undefined;
|
|
381
380
|
recommendations?: string[] | undefined;
|
|
381
|
+
description?: string | undefined;
|
|
382
382
|
}[];
|
|
383
383
|
region: string | null;
|
|
384
384
|
totalDays: number;
|
|
@@ -400,8 +400,8 @@ export declare const cropProfileResponseSchema: z.ZodObject<{
|
|
|
400
400
|
healthyRange: [number, number];
|
|
401
401
|
warningRange: [number, number];
|
|
402
402
|
criticalBelow: number;
|
|
403
|
-
description?: string | undefined;
|
|
404
403
|
recommendations?: string[] | undefined;
|
|
404
|
+
description?: string | undefined;
|
|
405
405
|
}[];
|
|
406
406
|
region: string | null;
|
|
407
407
|
totalDays: number;
|
|
@@ -446,8 +446,8 @@ export declare const currentStageAssessmentSchema: z.ZodObject<{
|
|
|
446
446
|
region: string | null;
|
|
447
447
|
}>;
|
|
448
448
|
}, "strip", z.ZodTypeAny, {
|
|
449
|
-
expectedHarvestDate: string | null;
|
|
450
449
|
recommendations: string[];
|
|
450
|
+
expectedHarvestDate: string | null;
|
|
451
451
|
alerts: {
|
|
452
452
|
type: "critical" | "warning" | "info";
|
|
453
453
|
message: string;
|
|
@@ -469,8 +469,8 @@ export declare const currentStageAssessmentSchema: z.ZodObject<{
|
|
|
469
469
|
region: string | null;
|
|
470
470
|
};
|
|
471
471
|
}, {
|
|
472
|
-
expectedHarvestDate: string | null;
|
|
473
472
|
recommendations: string[];
|
|
473
|
+
expectedHarvestDate: string | null;
|
|
474
474
|
alerts: {
|
|
475
475
|
type: "critical" | "warning" | "info";
|
|
476
476
|
message: string;
|
|
@@ -512,16 +512,16 @@ export declare const fieldCropProfileResponseSchema: z.ZodObject<{
|
|
|
512
512
|
healthyRange: [number, number];
|
|
513
513
|
warningRange: [number, number];
|
|
514
514
|
criticalBelow: number;
|
|
515
|
-
description?: string | undefined;
|
|
516
515
|
recommendations?: string[] | undefined;
|
|
516
|
+
description?: string | undefined;
|
|
517
517
|
}, {
|
|
518
518
|
stage: string;
|
|
519
519
|
daysFromPlanting: [number, number];
|
|
520
520
|
healthyRange: [number, number];
|
|
521
521
|
warningRange: [number, number];
|
|
522
522
|
criticalBelow: number;
|
|
523
|
-
description?: string | undefined;
|
|
524
523
|
recommendations?: string[] | undefined;
|
|
524
|
+
description?: string | undefined;
|
|
525
525
|
}>, "many">;
|
|
526
526
|
alerts: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
527
527
|
condition: z.ZodString;
|
|
@@ -561,8 +561,8 @@ export declare const fieldCropProfileResponseSchema: z.ZodObject<{
|
|
|
561
561
|
healthyRange: [number, number];
|
|
562
562
|
warningRange: [number, number];
|
|
563
563
|
criticalBelow: number;
|
|
564
|
-
description?: string | undefined;
|
|
565
564
|
recommendations?: string[] | undefined;
|
|
565
|
+
description?: string | undefined;
|
|
566
566
|
}[];
|
|
567
567
|
region: string | null;
|
|
568
568
|
totalDays: number;
|
|
@@ -584,8 +584,8 @@ export declare const fieldCropProfileResponseSchema: z.ZodObject<{
|
|
|
584
584
|
healthyRange: [number, number];
|
|
585
585
|
warningRange: [number, number];
|
|
586
586
|
criticalBelow: number;
|
|
587
|
-
description?: string | undefined;
|
|
588
587
|
recommendations?: string[] | undefined;
|
|
588
|
+
description?: string | undefined;
|
|
589
589
|
}[];
|
|
590
590
|
region: string | null;
|
|
591
591
|
totalDays: number;
|
|
@@ -630,8 +630,8 @@ export declare const fieldCropProfileResponseSchema: z.ZodObject<{
|
|
|
630
630
|
region: string | null;
|
|
631
631
|
}>;
|
|
632
632
|
}, "strip", z.ZodTypeAny, {
|
|
633
|
-
expectedHarvestDate: string | null;
|
|
634
633
|
recommendations: string[];
|
|
634
|
+
expectedHarvestDate: string | null;
|
|
635
635
|
alerts: {
|
|
636
636
|
type: "critical" | "warning" | "info";
|
|
637
637
|
message: string;
|
|
@@ -653,8 +653,8 @@ export declare const fieldCropProfileResponseSchema: z.ZodObject<{
|
|
|
653
653
|
region: string | null;
|
|
654
654
|
};
|
|
655
655
|
}, {
|
|
656
|
-
expectedHarvestDate: string | null;
|
|
657
656
|
recommendations: string[];
|
|
657
|
+
expectedHarvestDate: string | null;
|
|
658
658
|
alerts: {
|
|
659
659
|
type: "critical" | "warning" | "info";
|
|
660
660
|
message: string;
|
|
@@ -699,15 +699,15 @@ export declare const fieldCropProfileResponseSchema: z.ZodObject<{
|
|
|
699
699
|
healthyRange: [number, number];
|
|
700
700
|
warningRange: [number, number];
|
|
701
701
|
criticalBelow: number;
|
|
702
|
-
description?: string | undefined;
|
|
703
702
|
recommendations?: string[] | undefined;
|
|
703
|
+
description?: string | undefined;
|
|
704
704
|
}[];
|
|
705
705
|
region: string | null;
|
|
706
706
|
totalDays: number;
|
|
707
707
|
} | null;
|
|
708
708
|
currentAssessment: {
|
|
709
|
-
expectedHarvestDate: string | null;
|
|
710
709
|
recommendations: string[];
|
|
710
|
+
expectedHarvestDate: string | null;
|
|
711
711
|
alerts: {
|
|
712
712
|
type: "critical" | "warning" | "info";
|
|
713
713
|
message: string;
|
|
@@ -751,15 +751,15 @@ export declare const fieldCropProfileResponseSchema: z.ZodObject<{
|
|
|
751
751
|
healthyRange: [number, number];
|
|
752
752
|
warningRange: [number, number];
|
|
753
753
|
criticalBelow: number;
|
|
754
|
-
description?: string | undefined;
|
|
755
754
|
recommendations?: string[] | undefined;
|
|
755
|
+
description?: string | undefined;
|
|
756
756
|
}[];
|
|
757
757
|
region: string | null;
|
|
758
758
|
totalDays: number;
|
|
759
759
|
} | null;
|
|
760
760
|
currentAssessment: {
|
|
761
|
-
expectedHarvestDate: string | null;
|
|
762
761
|
recommendations: string[];
|
|
762
|
+
expectedHarvestDate: string | null;
|
|
763
763
|
alerts: {
|
|
764
764
|
type: "critical" | "warning" | "info";
|
|
765
765
|
message: string;
|