@deepintel-ltd/farmpro-contracts 1.7.13 → 1.7.19
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 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/routes/agent-workflows.routes.d.ts +88 -88
- package/dist/routes/agents.routes.d.ts +3260 -0
- package/dist/routes/agents.routes.d.ts.map +1 -1
- package/dist/routes/agents.routes.js +130 -1
- package/dist/routes/analytics.routes.d.ts +20 -20
- package/dist/routes/documents.routes.d.ts +855 -58
- package/dist/routes/documents.routes.d.ts.map +1 -1
- package/dist/routes/documents.routes.js +43 -1
- package/dist/routes/equipment.routes.d.ts +38 -38
- package/dist/routes/farm-status.routes.d.ts +315 -0
- package/dist/routes/farm-status.routes.d.ts.map +1 -0
- package/dist/routes/farm-status.routes.js +26 -0
- package/dist/routes/fertigation.routes.d.ts +148 -148
- package/dist/routes/field-monitoring.routes.d.ts +52 -52
- package/dist/routes/field-observations.routes.d.ts +56 -56
- package/dist/routes/finance.routes.d.ts +3493 -0
- package/dist/routes/finance.routes.d.ts.map +1 -1
- package/dist/routes/finance.routes.js +158 -1
- package/dist/routes/geofences.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/irrigation.routes.d.ts +6 -6
- package/dist/routes/measurements.routes.d.ts +13 -4
- package/dist/routes/measurements.routes.d.ts.map +1 -1
- package/dist/routes/monitoring-visualization.routes.d.ts +43 -36
- package/dist/routes/monitoring-visualization.routes.d.ts.map +1 -1
- package/dist/routes/monitoring-visualization.routes.js +7 -4
- package/dist/routes/pest-disease-risk.routes.d.ts +20 -20
- package/dist/routes/prescription-maps.routes.d.ts +570 -23
- package/dist/routes/prescription-maps.routes.d.ts.map +1 -1
- package/dist/routes/prescription-maps.routes.js +18 -1
- package/dist/routes/soil-tests.routes.d.ts +30 -30
- package/dist/routes/subscriptions.routes.d.ts +14 -14
- package/dist/routes/weather.routes.d.ts +545 -52
- package/dist/routes/weather.routes.d.ts.map +1 -1
- package/dist/routes/weather.routes.js +13 -1
- package/dist/routes/yield-prediction.routes.d.ts +30 -30
- package/dist/schemas/agent-workflows.schemas.d.ts +92 -92
- package/dist/schemas/agents.schemas.d.ts +1120 -0
- package/dist/schemas/agents.schemas.d.ts.map +1 -1
- package/dist/schemas/agents.schemas.js +181 -0
- package/dist/schemas/analytics.schemas.d.ts +56 -56
- package/dist/schemas/documents.schemas.d.ts +248 -48
- package/dist/schemas/documents.schemas.d.ts.map +1 -1
- package/dist/schemas/documents.schemas.js +38 -0
- package/dist/schemas/equipment.schemas.d.ts +30 -30
- package/dist/schemas/farm-status.schemas.d.ts +451 -0
- package/dist/schemas/farm-status.schemas.d.ts.map +1 -0
- package/dist/schemas/farm-status.schemas.js +44 -0
- package/dist/schemas/fertigation.schemas.d.ts +50 -50
- package/dist/schemas/field-monitoring.schemas.d.ts +42 -42
- package/dist/schemas/field-observations.schemas.d.ts +44 -44
- package/dist/schemas/finance.schemas.d.ts +1057 -0
- package/dist/schemas/finance.schemas.d.ts.map +1 -1
- package/dist/schemas/finance.schemas.js +170 -0
- package/dist/schemas/irrigation.schemas.d.ts +8 -8
- package/dist/schemas/measurements.schemas.d.ts +21 -8
- package/dist/schemas/measurements.schemas.d.ts.map +1 -1
- package/dist/schemas/measurements.schemas.js +13 -6
- package/dist/schemas/monitoring-visualization.schemas.d.ts +50 -43
- package/dist/schemas/monitoring-visualization.schemas.d.ts.map +1 -1
- package/dist/schemas/monitoring-visualization.schemas.js +27 -17
- package/dist/schemas/pest-disease-risk.schemas.d.ts +18 -18
- package/dist/schemas/prescription-maps.schemas.d.ts +45 -22
- package/dist/schemas/prescription-maps.schemas.d.ts.map +1 -1
- package/dist/schemas/prescription-maps.schemas.js +9 -1
- package/dist/schemas/recommendations.schemas.d.ts +2 -2
- package/dist/schemas/soil-tests.schemas.d.ts +28 -28
- package/dist/schemas/subscriptions.schemas.d.ts +22 -22
- package/dist/schemas/weather.schemas.d.ts +789 -112
- package/dist/schemas/weather.schemas.d.ts.map +1 -1
- package/dist/schemas/weather.schemas.js +37 -0
- package/dist/schemas/yield-prediction.schemas.d.ts +12 -12
- package/package.json +1 -1
|
@@ -106,8 +106,8 @@ export declare const weatherRouter: {
|
|
|
106
106
|
action: string;
|
|
107
107
|
details: string;
|
|
108
108
|
timing: string;
|
|
109
|
-
severity?: "critical" | "low" | "medium" | "high" | undefined;
|
|
110
109
|
confidence?: number | undefined;
|
|
110
|
+
severity?: "critical" | "low" | "medium" | "high" | undefined;
|
|
111
111
|
materials?: {
|
|
112
112
|
name: string;
|
|
113
113
|
unit: string;
|
|
@@ -127,8 +127,8 @@ export declare const weatherRouter: {
|
|
|
127
127
|
action: string;
|
|
128
128
|
details: string;
|
|
129
129
|
timing: string;
|
|
130
|
-
severity?: "critical" | "low" | "medium" | "high" | undefined;
|
|
131
130
|
confidence?: number | undefined;
|
|
131
|
+
severity?: "critical" | "low" | "medium" | "high" | undefined;
|
|
132
132
|
materials?: {
|
|
133
133
|
name: string;
|
|
134
134
|
unit: string;
|
|
@@ -156,8 +156,8 @@ export declare const weatherRouter: {
|
|
|
156
156
|
action: string;
|
|
157
157
|
details: string;
|
|
158
158
|
timing: string;
|
|
159
|
-
severity?: "critical" | "low" | "medium" | "high" | undefined;
|
|
160
159
|
confidence?: number | undefined;
|
|
160
|
+
severity?: "critical" | "low" | "medium" | "high" | undefined;
|
|
161
161
|
materials?: {
|
|
162
162
|
name: string;
|
|
163
163
|
unit: string;
|
|
@@ -185,8 +185,8 @@ export declare const weatherRouter: {
|
|
|
185
185
|
action: string;
|
|
186
186
|
details: string;
|
|
187
187
|
timing: string;
|
|
188
|
-
severity?: "critical" | "low" | "medium" | "high" | undefined;
|
|
189
188
|
confidence?: number | undefined;
|
|
189
|
+
severity?: "critical" | "low" | "medium" | "high" | undefined;
|
|
190
190
|
materials?: {
|
|
191
191
|
name: string;
|
|
192
192
|
unit: string;
|
|
@@ -205,13 +205,6 @@ export declare const weatherRouter: {
|
|
|
205
205
|
}>, "many">>;
|
|
206
206
|
}, "strip", z.ZodTypeAny, {
|
|
207
207
|
farmId: string;
|
|
208
|
-
current: {
|
|
209
|
-
temp: number;
|
|
210
|
-
condition: string;
|
|
211
|
-
icon?: string | undefined;
|
|
212
|
-
rainfall?: number | undefined;
|
|
213
|
-
humidity?: number | undefined;
|
|
214
|
-
};
|
|
215
208
|
forecast: {
|
|
216
209
|
temp: number;
|
|
217
210
|
day: string;
|
|
@@ -219,6 +212,13 @@ export declare const weatherRouter: {
|
|
|
219
212
|
rainfall?: number | undefined;
|
|
220
213
|
rain?: number | undefined;
|
|
221
214
|
}[];
|
|
215
|
+
current: {
|
|
216
|
+
temp: number;
|
|
217
|
+
condition: string;
|
|
218
|
+
icon?: string | undefined;
|
|
219
|
+
rainfall?: number | undefined;
|
|
220
|
+
humidity?: number | undefined;
|
|
221
|
+
};
|
|
222
222
|
alerts?: {
|
|
223
223
|
type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
|
|
224
224
|
message: string;
|
|
@@ -231,8 +231,8 @@ export declare const weatherRouter: {
|
|
|
231
231
|
action: string;
|
|
232
232
|
details: string;
|
|
233
233
|
timing: string;
|
|
234
|
-
severity?: "critical" | "low" | "medium" | "high" | undefined;
|
|
235
234
|
confidence?: number | undefined;
|
|
235
|
+
severity?: "critical" | "low" | "medium" | "high" | undefined;
|
|
236
236
|
materials?: {
|
|
237
237
|
name: string;
|
|
238
238
|
unit: string;
|
|
@@ -251,13 +251,6 @@ export declare const weatherRouter: {
|
|
|
251
251
|
}[] | undefined;
|
|
252
252
|
}, {
|
|
253
253
|
farmId: string;
|
|
254
|
-
current: {
|
|
255
|
-
temp: number;
|
|
256
|
-
condition: string;
|
|
257
|
-
icon?: string | undefined;
|
|
258
|
-
rainfall?: number | undefined;
|
|
259
|
-
humidity?: number | undefined;
|
|
260
|
-
};
|
|
261
254
|
forecast: {
|
|
262
255
|
temp: number;
|
|
263
256
|
day: string;
|
|
@@ -265,6 +258,13 @@ export declare const weatherRouter: {
|
|
|
265
258
|
rainfall?: number | undefined;
|
|
266
259
|
rain?: number | undefined;
|
|
267
260
|
}[];
|
|
261
|
+
current: {
|
|
262
|
+
temp: number;
|
|
263
|
+
condition: string;
|
|
264
|
+
icon?: string | undefined;
|
|
265
|
+
rainfall?: number | undefined;
|
|
266
|
+
humidity?: number | undefined;
|
|
267
|
+
};
|
|
268
268
|
alerts?: {
|
|
269
269
|
type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
|
|
270
270
|
message: string;
|
|
@@ -277,8 +277,8 @@ export declare const weatherRouter: {
|
|
|
277
277
|
action: string;
|
|
278
278
|
details: string;
|
|
279
279
|
timing: string;
|
|
280
|
-
severity?: "critical" | "low" | "medium" | "high" | undefined;
|
|
281
280
|
confidence?: number | undefined;
|
|
281
|
+
severity?: "critical" | "low" | "medium" | "high" | undefined;
|
|
282
282
|
materials?: {
|
|
283
283
|
name: string;
|
|
284
284
|
unit: string;
|
|
@@ -304,13 +304,6 @@ export declare const weatherRouter: {
|
|
|
304
304
|
id: string;
|
|
305
305
|
attributes: {
|
|
306
306
|
farmId: string;
|
|
307
|
-
current: {
|
|
308
|
-
temp: number;
|
|
309
|
-
condition: string;
|
|
310
|
-
icon?: string | undefined;
|
|
311
|
-
rainfall?: number | undefined;
|
|
312
|
-
humidity?: number | undefined;
|
|
313
|
-
};
|
|
314
307
|
forecast: {
|
|
315
308
|
temp: number;
|
|
316
309
|
day: string;
|
|
@@ -318,6 +311,13 @@ export declare const weatherRouter: {
|
|
|
318
311
|
rainfall?: number | undefined;
|
|
319
312
|
rain?: number | undefined;
|
|
320
313
|
}[];
|
|
314
|
+
current: {
|
|
315
|
+
temp: number;
|
|
316
|
+
condition: string;
|
|
317
|
+
icon?: string | undefined;
|
|
318
|
+
rainfall?: number | undefined;
|
|
319
|
+
humidity?: number | undefined;
|
|
320
|
+
};
|
|
321
321
|
alerts?: {
|
|
322
322
|
type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
|
|
323
323
|
message: string;
|
|
@@ -330,8 +330,8 @@ export declare const weatherRouter: {
|
|
|
330
330
|
action: string;
|
|
331
331
|
details: string;
|
|
332
332
|
timing: string;
|
|
333
|
-
severity?: "critical" | "low" | "medium" | "high" | undefined;
|
|
334
333
|
confidence?: number | undefined;
|
|
334
|
+
severity?: "critical" | "low" | "medium" | "high" | undefined;
|
|
335
335
|
materials?: {
|
|
336
336
|
name: string;
|
|
337
337
|
unit: string;
|
|
@@ -357,13 +357,6 @@ export declare const weatherRouter: {
|
|
|
357
357
|
id: string;
|
|
358
358
|
attributes: {
|
|
359
359
|
farmId: string;
|
|
360
|
-
current: {
|
|
361
|
-
temp: number;
|
|
362
|
-
condition: string;
|
|
363
|
-
icon?: string | undefined;
|
|
364
|
-
rainfall?: number | undefined;
|
|
365
|
-
humidity?: number | undefined;
|
|
366
|
-
};
|
|
367
360
|
forecast: {
|
|
368
361
|
temp: number;
|
|
369
362
|
day: string;
|
|
@@ -371,6 +364,13 @@ export declare const weatherRouter: {
|
|
|
371
364
|
rainfall?: number | undefined;
|
|
372
365
|
rain?: number | undefined;
|
|
373
366
|
}[];
|
|
367
|
+
current: {
|
|
368
|
+
temp: number;
|
|
369
|
+
condition: string;
|
|
370
|
+
icon?: string | undefined;
|
|
371
|
+
rainfall?: number | undefined;
|
|
372
|
+
humidity?: number | undefined;
|
|
373
|
+
};
|
|
374
374
|
alerts?: {
|
|
375
375
|
type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
|
|
376
376
|
message: string;
|
|
@@ -383,8 +383,8 @@ export declare const weatherRouter: {
|
|
|
383
383
|
action: string;
|
|
384
384
|
details: string;
|
|
385
385
|
timing: string;
|
|
386
|
-
severity?: "critical" | "low" | "medium" | "high" | undefined;
|
|
387
386
|
confidence?: number | undefined;
|
|
387
|
+
severity?: "critical" | "low" | "medium" | "high" | undefined;
|
|
388
388
|
materials?: {
|
|
389
389
|
name: string;
|
|
390
390
|
unit: string;
|
|
@@ -436,13 +436,6 @@ export declare const weatherRouter: {
|
|
|
436
436
|
id: string;
|
|
437
437
|
attributes: {
|
|
438
438
|
farmId: string;
|
|
439
|
-
current: {
|
|
440
|
-
temp: number;
|
|
441
|
-
condition: string;
|
|
442
|
-
icon?: string | undefined;
|
|
443
|
-
rainfall?: number | undefined;
|
|
444
|
-
humidity?: number | undefined;
|
|
445
|
-
};
|
|
446
439
|
forecast: {
|
|
447
440
|
temp: number;
|
|
448
441
|
day: string;
|
|
@@ -450,6 +443,13 @@ export declare const weatherRouter: {
|
|
|
450
443
|
rainfall?: number | undefined;
|
|
451
444
|
rain?: number | undefined;
|
|
452
445
|
}[];
|
|
446
|
+
current: {
|
|
447
|
+
temp: number;
|
|
448
|
+
condition: string;
|
|
449
|
+
icon?: string | undefined;
|
|
450
|
+
rainfall?: number | undefined;
|
|
451
|
+
humidity?: number | undefined;
|
|
452
|
+
};
|
|
453
453
|
alerts?: {
|
|
454
454
|
type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
|
|
455
455
|
message: string;
|
|
@@ -462,8 +462,8 @@ export declare const weatherRouter: {
|
|
|
462
462
|
action: string;
|
|
463
463
|
details: string;
|
|
464
464
|
timing: string;
|
|
465
|
-
severity?: "critical" | "low" | "medium" | "high" | undefined;
|
|
466
465
|
confidence?: number | undefined;
|
|
466
|
+
severity?: "critical" | "low" | "medium" | "high" | undefined;
|
|
467
467
|
materials?: {
|
|
468
468
|
name: string;
|
|
469
469
|
unit: string;
|
|
@@ -501,13 +501,6 @@ export declare const weatherRouter: {
|
|
|
501
501
|
id: string;
|
|
502
502
|
attributes: {
|
|
503
503
|
farmId: string;
|
|
504
|
-
current: {
|
|
505
|
-
temp: number;
|
|
506
|
-
condition: string;
|
|
507
|
-
icon?: string | undefined;
|
|
508
|
-
rainfall?: number | undefined;
|
|
509
|
-
humidity?: number | undefined;
|
|
510
|
-
};
|
|
511
504
|
forecast: {
|
|
512
505
|
temp: number;
|
|
513
506
|
day: string;
|
|
@@ -515,6 +508,13 @@ export declare const weatherRouter: {
|
|
|
515
508
|
rainfall?: number | undefined;
|
|
516
509
|
rain?: number | undefined;
|
|
517
510
|
}[];
|
|
511
|
+
current: {
|
|
512
|
+
temp: number;
|
|
513
|
+
condition: string;
|
|
514
|
+
icon?: string | undefined;
|
|
515
|
+
rainfall?: number | undefined;
|
|
516
|
+
humidity?: number | undefined;
|
|
517
|
+
};
|
|
518
518
|
alerts?: {
|
|
519
519
|
type: "drought" | "heavy-rain" | "frost" | "optimal" | "wind";
|
|
520
520
|
message: string;
|
|
@@ -527,8 +527,8 @@ export declare const weatherRouter: {
|
|
|
527
527
|
action: string;
|
|
528
528
|
details: string;
|
|
529
529
|
timing: string;
|
|
530
|
-
severity?: "critical" | "low" | "medium" | "high" | undefined;
|
|
531
530
|
confidence?: number | undefined;
|
|
531
|
+
severity?: "critical" | "low" | "medium" | "high" | undefined;
|
|
532
532
|
materials?: {
|
|
533
533
|
name: string;
|
|
534
534
|
unit: string;
|
|
@@ -743,5 +743,498 @@ export declare const weatherRouter: {
|
|
|
743
743
|
}>;
|
|
744
744
|
};
|
|
745
745
|
};
|
|
746
|
+
getWeatherPlanner: {
|
|
747
|
+
pathParams: z.ZodObject<{
|
|
748
|
+
farmId: z.ZodString;
|
|
749
|
+
}, "strip", z.ZodTypeAny, {
|
|
750
|
+
farmId: string;
|
|
751
|
+
}, {
|
|
752
|
+
farmId: string;
|
|
753
|
+
}>;
|
|
754
|
+
summary: "Get smart weather planner";
|
|
755
|
+
description: "Returns 7-day weather risk scores and activity suitability per field (spraying, irrigation, planting, harvesting).";
|
|
756
|
+
method: "GET";
|
|
757
|
+
path: "/farms/:farmId/weather/planner";
|
|
758
|
+
responses: {
|
|
759
|
+
200: z.ZodObject<{
|
|
760
|
+
data: z.ZodObject<{
|
|
761
|
+
type: z.ZodLiteral<"weather-planner">;
|
|
762
|
+
id: z.ZodString;
|
|
763
|
+
attributes: z.ZodObject<{
|
|
764
|
+
farmId: z.ZodString;
|
|
765
|
+
generatedAt: z.ZodString;
|
|
766
|
+
fields: z.ZodArray<z.ZodObject<{
|
|
767
|
+
fieldId: z.ZodString;
|
|
768
|
+
fieldName: z.ZodString;
|
|
769
|
+
cropStage: z.ZodNullable<z.ZodString>;
|
|
770
|
+
days: z.ZodArray<z.ZodObject<{
|
|
771
|
+
date: z.ZodString;
|
|
772
|
+
score: z.ZodNumber;
|
|
773
|
+
risks: z.ZodObject<{
|
|
774
|
+
frost: z.ZodNumber;
|
|
775
|
+
rain: z.ZodNumber;
|
|
776
|
+
wind: z.ZodNumber;
|
|
777
|
+
heatStress: z.ZodNumber;
|
|
778
|
+
evapotranspiration: z.ZodNumber;
|
|
779
|
+
}, "strip", z.ZodTypeAny, {
|
|
780
|
+
frost: number;
|
|
781
|
+
wind: number;
|
|
782
|
+
rain: number;
|
|
783
|
+
heatStress: number;
|
|
784
|
+
evapotranspiration: number;
|
|
785
|
+
}, {
|
|
786
|
+
frost: number;
|
|
787
|
+
wind: number;
|
|
788
|
+
rain: number;
|
|
789
|
+
heatStress: number;
|
|
790
|
+
evapotranspiration: number;
|
|
791
|
+
}>;
|
|
792
|
+
activities: z.ZodObject<{
|
|
793
|
+
spraying: z.ZodEnum<["low", "medium", "high"]>;
|
|
794
|
+
irrigation: z.ZodEnum<["low", "medium", "high"]>;
|
|
795
|
+
planting: z.ZodEnum<["low", "medium", "high"]>;
|
|
796
|
+
harvesting: z.ZodEnum<["low", "medium", "high"]>;
|
|
797
|
+
}, "strip", z.ZodTypeAny, {
|
|
798
|
+
spraying: "low" | "medium" | "high";
|
|
799
|
+
irrigation: "low" | "medium" | "high";
|
|
800
|
+
planting: "low" | "medium" | "high";
|
|
801
|
+
harvesting: "low" | "medium" | "high";
|
|
802
|
+
}, {
|
|
803
|
+
spraying: "low" | "medium" | "high";
|
|
804
|
+
irrigation: "low" | "medium" | "high";
|
|
805
|
+
planting: "low" | "medium" | "high";
|
|
806
|
+
harvesting: "low" | "medium" | "high";
|
|
807
|
+
}>;
|
|
808
|
+
}, "strip", z.ZodTypeAny, {
|
|
809
|
+
date: string;
|
|
810
|
+
score: number;
|
|
811
|
+
risks: {
|
|
812
|
+
frost: number;
|
|
813
|
+
wind: number;
|
|
814
|
+
rain: number;
|
|
815
|
+
heatStress: number;
|
|
816
|
+
evapotranspiration: number;
|
|
817
|
+
};
|
|
818
|
+
activities: {
|
|
819
|
+
spraying: "low" | "medium" | "high";
|
|
820
|
+
irrigation: "low" | "medium" | "high";
|
|
821
|
+
planting: "low" | "medium" | "high";
|
|
822
|
+
harvesting: "low" | "medium" | "high";
|
|
823
|
+
};
|
|
824
|
+
}, {
|
|
825
|
+
date: string;
|
|
826
|
+
score: number;
|
|
827
|
+
risks: {
|
|
828
|
+
frost: number;
|
|
829
|
+
wind: number;
|
|
830
|
+
rain: number;
|
|
831
|
+
heatStress: number;
|
|
832
|
+
evapotranspiration: number;
|
|
833
|
+
};
|
|
834
|
+
activities: {
|
|
835
|
+
spraying: "low" | "medium" | "high";
|
|
836
|
+
irrigation: "low" | "medium" | "high";
|
|
837
|
+
planting: "low" | "medium" | "high";
|
|
838
|
+
harvesting: "low" | "medium" | "high";
|
|
839
|
+
};
|
|
840
|
+
}>, "many">;
|
|
841
|
+
}, "strip", z.ZodTypeAny, {
|
|
842
|
+
cropStage: string | null;
|
|
843
|
+
fieldId: string;
|
|
844
|
+
fieldName: string;
|
|
845
|
+
days: {
|
|
846
|
+
date: string;
|
|
847
|
+
score: number;
|
|
848
|
+
risks: {
|
|
849
|
+
frost: number;
|
|
850
|
+
wind: number;
|
|
851
|
+
rain: number;
|
|
852
|
+
heatStress: number;
|
|
853
|
+
evapotranspiration: number;
|
|
854
|
+
};
|
|
855
|
+
activities: {
|
|
856
|
+
spraying: "low" | "medium" | "high";
|
|
857
|
+
irrigation: "low" | "medium" | "high";
|
|
858
|
+
planting: "low" | "medium" | "high";
|
|
859
|
+
harvesting: "low" | "medium" | "high";
|
|
860
|
+
};
|
|
861
|
+
}[];
|
|
862
|
+
}, {
|
|
863
|
+
cropStage: string | null;
|
|
864
|
+
fieldId: string;
|
|
865
|
+
fieldName: string;
|
|
866
|
+
days: {
|
|
867
|
+
date: string;
|
|
868
|
+
score: number;
|
|
869
|
+
risks: {
|
|
870
|
+
frost: number;
|
|
871
|
+
wind: number;
|
|
872
|
+
rain: number;
|
|
873
|
+
heatStress: number;
|
|
874
|
+
evapotranspiration: number;
|
|
875
|
+
};
|
|
876
|
+
activities: {
|
|
877
|
+
spraying: "low" | "medium" | "high";
|
|
878
|
+
irrigation: "low" | "medium" | "high";
|
|
879
|
+
planting: "low" | "medium" | "high";
|
|
880
|
+
harvesting: "low" | "medium" | "high";
|
|
881
|
+
};
|
|
882
|
+
}[];
|
|
883
|
+
}>, "many">;
|
|
884
|
+
}, "strip", z.ZodTypeAny, {
|
|
885
|
+
fields: {
|
|
886
|
+
cropStage: string | null;
|
|
887
|
+
fieldId: string;
|
|
888
|
+
fieldName: string;
|
|
889
|
+
days: {
|
|
890
|
+
date: string;
|
|
891
|
+
score: number;
|
|
892
|
+
risks: {
|
|
893
|
+
frost: number;
|
|
894
|
+
wind: number;
|
|
895
|
+
rain: number;
|
|
896
|
+
heatStress: number;
|
|
897
|
+
evapotranspiration: number;
|
|
898
|
+
};
|
|
899
|
+
activities: {
|
|
900
|
+
spraying: "low" | "medium" | "high";
|
|
901
|
+
irrigation: "low" | "medium" | "high";
|
|
902
|
+
planting: "low" | "medium" | "high";
|
|
903
|
+
harvesting: "low" | "medium" | "high";
|
|
904
|
+
};
|
|
905
|
+
}[];
|
|
906
|
+
}[];
|
|
907
|
+
farmId: string;
|
|
908
|
+
generatedAt: string;
|
|
909
|
+
}, {
|
|
910
|
+
fields: {
|
|
911
|
+
cropStage: string | null;
|
|
912
|
+
fieldId: string;
|
|
913
|
+
fieldName: string;
|
|
914
|
+
days: {
|
|
915
|
+
date: string;
|
|
916
|
+
score: number;
|
|
917
|
+
risks: {
|
|
918
|
+
frost: number;
|
|
919
|
+
wind: number;
|
|
920
|
+
rain: number;
|
|
921
|
+
heatStress: number;
|
|
922
|
+
evapotranspiration: number;
|
|
923
|
+
};
|
|
924
|
+
activities: {
|
|
925
|
+
spraying: "low" | "medium" | "high";
|
|
926
|
+
irrigation: "low" | "medium" | "high";
|
|
927
|
+
planting: "low" | "medium" | "high";
|
|
928
|
+
harvesting: "low" | "medium" | "high";
|
|
929
|
+
};
|
|
930
|
+
}[];
|
|
931
|
+
}[];
|
|
932
|
+
farmId: string;
|
|
933
|
+
generatedAt: string;
|
|
934
|
+
}>;
|
|
935
|
+
}, "strip", z.ZodTypeAny, {
|
|
936
|
+
type: "weather-planner";
|
|
937
|
+
id: string;
|
|
938
|
+
attributes: {
|
|
939
|
+
fields: {
|
|
940
|
+
cropStage: string | null;
|
|
941
|
+
fieldId: string;
|
|
942
|
+
fieldName: string;
|
|
943
|
+
days: {
|
|
944
|
+
date: string;
|
|
945
|
+
score: number;
|
|
946
|
+
risks: {
|
|
947
|
+
frost: number;
|
|
948
|
+
wind: number;
|
|
949
|
+
rain: number;
|
|
950
|
+
heatStress: number;
|
|
951
|
+
evapotranspiration: number;
|
|
952
|
+
};
|
|
953
|
+
activities: {
|
|
954
|
+
spraying: "low" | "medium" | "high";
|
|
955
|
+
irrigation: "low" | "medium" | "high";
|
|
956
|
+
planting: "low" | "medium" | "high";
|
|
957
|
+
harvesting: "low" | "medium" | "high";
|
|
958
|
+
};
|
|
959
|
+
}[];
|
|
960
|
+
}[];
|
|
961
|
+
farmId: string;
|
|
962
|
+
generatedAt: string;
|
|
963
|
+
};
|
|
964
|
+
}, {
|
|
965
|
+
type: "weather-planner";
|
|
966
|
+
id: string;
|
|
967
|
+
attributes: {
|
|
968
|
+
fields: {
|
|
969
|
+
cropStage: string | null;
|
|
970
|
+
fieldId: string;
|
|
971
|
+
fieldName: string;
|
|
972
|
+
days: {
|
|
973
|
+
date: string;
|
|
974
|
+
score: number;
|
|
975
|
+
risks: {
|
|
976
|
+
frost: number;
|
|
977
|
+
wind: number;
|
|
978
|
+
rain: number;
|
|
979
|
+
heatStress: number;
|
|
980
|
+
evapotranspiration: number;
|
|
981
|
+
};
|
|
982
|
+
activities: {
|
|
983
|
+
spraying: "low" | "medium" | "high";
|
|
984
|
+
irrigation: "low" | "medium" | "high";
|
|
985
|
+
planting: "low" | "medium" | "high";
|
|
986
|
+
harvesting: "low" | "medium" | "high";
|
|
987
|
+
};
|
|
988
|
+
}[];
|
|
989
|
+
}[];
|
|
990
|
+
farmId: string;
|
|
991
|
+
generatedAt: string;
|
|
992
|
+
};
|
|
993
|
+
}>;
|
|
994
|
+
}, "strip", z.ZodTypeAny, {
|
|
995
|
+
data: {
|
|
996
|
+
type: "weather-planner";
|
|
997
|
+
id: string;
|
|
998
|
+
attributes: {
|
|
999
|
+
fields: {
|
|
1000
|
+
cropStage: string | null;
|
|
1001
|
+
fieldId: string;
|
|
1002
|
+
fieldName: string;
|
|
1003
|
+
days: {
|
|
1004
|
+
date: string;
|
|
1005
|
+
score: number;
|
|
1006
|
+
risks: {
|
|
1007
|
+
frost: number;
|
|
1008
|
+
wind: number;
|
|
1009
|
+
rain: number;
|
|
1010
|
+
heatStress: number;
|
|
1011
|
+
evapotranspiration: number;
|
|
1012
|
+
};
|
|
1013
|
+
activities: {
|
|
1014
|
+
spraying: "low" | "medium" | "high";
|
|
1015
|
+
irrigation: "low" | "medium" | "high";
|
|
1016
|
+
planting: "low" | "medium" | "high";
|
|
1017
|
+
harvesting: "low" | "medium" | "high";
|
|
1018
|
+
};
|
|
1019
|
+
}[];
|
|
1020
|
+
}[];
|
|
1021
|
+
farmId: string;
|
|
1022
|
+
generatedAt: string;
|
|
1023
|
+
};
|
|
1024
|
+
};
|
|
1025
|
+
}, {
|
|
1026
|
+
data: {
|
|
1027
|
+
type: "weather-planner";
|
|
1028
|
+
id: string;
|
|
1029
|
+
attributes: {
|
|
1030
|
+
fields: {
|
|
1031
|
+
cropStage: string | null;
|
|
1032
|
+
fieldId: string;
|
|
1033
|
+
fieldName: string;
|
|
1034
|
+
days: {
|
|
1035
|
+
date: string;
|
|
1036
|
+
score: number;
|
|
1037
|
+
risks: {
|
|
1038
|
+
frost: number;
|
|
1039
|
+
wind: number;
|
|
1040
|
+
rain: number;
|
|
1041
|
+
heatStress: number;
|
|
1042
|
+
evapotranspiration: number;
|
|
1043
|
+
};
|
|
1044
|
+
activities: {
|
|
1045
|
+
spraying: "low" | "medium" | "high";
|
|
1046
|
+
irrigation: "low" | "medium" | "high";
|
|
1047
|
+
planting: "low" | "medium" | "high";
|
|
1048
|
+
harvesting: "low" | "medium" | "high";
|
|
1049
|
+
};
|
|
1050
|
+
}[];
|
|
1051
|
+
}[];
|
|
1052
|
+
farmId: string;
|
|
1053
|
+
generatedAt: string;
|
|
1054
|
+
};
|
|
1055
|
+
};
|
|
1056
|
+
}>;
|
|
1057
|
+
404: z.ZodObject<{
|
|
1058
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
1059
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1060
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
1061
|
+
about: z.ZodOptional<z.ZodString>;
|
|
1062
|
+
}, "strip", z.ZodTypeAny, {
|
|
1063
|
+
about?: string | undefined;
|
|
1064
|
+
}, {
|
|
1065
|
+
about?: string | undefined;
|
|
1066
|
+
}>>;
|
|
1067
|
+
status: z.ZodOptional<z.ZodString>;
|
|
1068
|
+
code: z.ZodOptional<z.ZodString>;
|
|
1069
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1070
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
1071
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
1072
|
+
pointer: z.ZodOptional<z.ZodString>;
|
|
1073
|
+
parameter: z.ZodOptional<z.ZodString>;
|
|
1074
|
+
}, "strip", z.ZodTypeAny, {
|
|
1075
|
+
pointer?: string | undefined;
|
|
1076
|
+
parameter?: string | undefined;
|
|
1077
|
+
}, {
|
|
1078
|
+
pointer?: string | undefined;
|
|
1079
|
+
parameter?: string | undefined;
|
|
1080
|
+
}>>;
|
|
1081
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1082
|
+
}, "strip", z.ZodTypeAny, {
|
|
1083
|
+
status?: string | undefined;
|
|
1084
|
+
code?: string | undefined;
|
|
1085
|
+
id?: string | undefined;
|
|
1086
|
+
links?: {
|
|
1087
|
+
about?: string | undefined;
|
|
1088
|
+
} | undefined;
|
|
1089
|
+
meta?: Record<string, unknown> | undefined;
|
|
1090
|
+
title?: string | undefined;
|
|
1091
|
+
detail?: string | undefined;
|
|
1092
|
+
source?: {
|
|
1093
|
+
pointer?: string | undefined;
|
|
1094
|
+
parameter?: string | undefined;
|
|
1095
|
+
} | undefined;
|
|
1096
|
+
}, {
|
|
1097
|
+
status?: string | undefined;
|
|
1098
|
+
code?: string | undefined;
|
|
1099
|
+
id?: string | undefined;
|
|
1100
|
+
links?: {
|
|
1101
|
+
about?: string | undefined;
|
|
1102
|
+
} | undefined;
|
|
1103
|
+
meta?: Record<string, unknown> | undefined;
|
|
1104
|
+
title?: string | undefined;
|
|
1105
|
+
detail?: string | undefined;
|
|
1106
|
+
source?: {
|
|
1107
|
+
pointer?: string | undefined;
|
|
1108
|
+
parameter?: string | undefined;
|
|
1109
|
+
} | undefined;
|
|
1110
|
+
}>, "many">;
|
|
1111
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1112
|
+
}, "strip", z.ZodTypeAny, {
|
|
1113
|
+
errors: {
|
|
1114
|
+
status?: string | undefined;
|
|
1115
|
+
code?: string | undefined;
|
|
1116
|
+
id?: string | undefined;
|
|
1117
|
+
links?: {
|
|
1118
|
+
about?: string | undefined;
|
|
1119
|
+
} | undefined;
|
|
1120
|
+
meta?: Record<string, unknown> | undefined;
|
|
1121
|
+
title?: string | undefined;
|
|
1122
|
+
detail?: string | undefined;
|
|
1123
|
+
source?: {
|
|
1124
|
+
pointer?: string | undefined;
|
|
1125
|
+
parameter?: string | undefined;
|
|
1126
|
+
} | undefined;
|
|
1127
|
+
}[];
|
|
1128
|
+
meta?: Record<string, unknown> | undefined;
|
|
1129
|
+
}, {
|
|
1130
|
+
errors: {
|
|
1131
|
+
status?: string | undefined;
|
|
1132
|
+
code?: string | undefined;
|
|
1133
|
+
id?: string | undefined;
|
|
1134
|
+
links?: {
|
|
1135
|
+
about?: string | undefined;
|
|
1136
|
+
} | undefined;
|
|
1137
|
+
meta?: Record<string, unknown> | undefined;
|
|
1138
|
+
title?: string | undefined;
|
|
1139
|
+
detail?: string | undefined;
|
|
1140
|
+
source?: {
|
|
1141
|
+
pointer?: string | undefined;
|
|
1142
|
+
parameter?: string | undefined;
|
|
1143
|
+
} | undefined;
|
|
1144
|
+
}[];
|
|
1145
|
+
meta?: Record<string, unknown> | undefined;
|
|
1146
|
+
}>;
|
|
1147
|
+
401: z.ZodObject<{
|
|
1148
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
1149
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1150
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
1151
|
+
about: z.ZodOptional<z.ZodString>;
|
|
1152
|
+
}, "strip", z.ZodTypeAny, {
|
|
1153
|
+
about?: string | undefined;
|
|
1154
|
+
}, {
|
|
1155
|
+
about?: string | undefined;
|
|
1156
|
+
}>>;
|
|
1157
|
+
status: z.ZodOptional<z.ZodString>;
|
|
1158
|
+
code: z.ZodOptional<z.ZodString>;
|
|
1159
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1160
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
1161
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
1162
|
+
pointer: z.ZodOptional<z.ZodString>;
|
|
1163
|
+
parameter: z.ZodOptional<z.ZodString>;
|
|
1164
|
+
}, "strip", z.ZodTypeAny, {
|
|
1165
|
+
pointer?: string | undefined;
|
|
1166
|
+
parameter?: string | undefined;
|
|
1167
|
+
}, {
|
|
1168
|
+
pointer?: string | undefined;
|
|
1169
|
+
parameter?: string | undefined;
|
|
1170
|
+
}>>;
|
|
1171
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1172
|
+
}, "strip", z.ZodTypeAny, {
|
|
1173
|
+
status?: string | undefined;
|
|
1174
|
+
code?: string | undefined;
|
|
1175
|
+
id?: string | undefined;
|
|
1176
|
+
links?: {
|
|
1177
|
+
about?: string | undefined;
|
|
1178
|
+
} | undefined;
|
|
1179
|
+
meta?: Record<string, unknown> | undefined;
|
|
1180
|
+
title?: string | undefined;
|
|
1181
|
+
detail?: string | undefined;
|
|
1182
|
+
source?: {
|
|
1183
|
+
pointer?: string | undefined;
|
|
1184
|
+
parameter?: string | undefined;
|
|
1185
|
+
} | undefined;
|
|
1186
|
+
}, {
|
|
1187
|
+
status?: string | undefined;
|
|
1188
|
+
code?: string | undefined;
|
|
1189
|
+
id?: string | undefined;
|
|
1190
|
+
links?: {
|
|
1191
|
+
about?: string | undefined;
|
|
1192
|
+
} | undefined;
|
|
1193
|
+
meta?: Record<string, unknown> | undefined;
|
|
1194
|
+
title?: string | undefined;
|
|
1195
|
+
detail?: string | undefined;
|
|
1196
|
+
source?: {
|
|
1197
|
+
pointer?: string | undefined;
|
|
1198
|
+
parameter?: string | undefined;
|
|
1199
|
+
} | undefined;
|
|
1200
|
+
}>, "many">;
|
|
1201
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1202
|
+
}, "strip", z.ZodTypeAny, {
|
|
1203
|
+
errors: {
|
|
1204
|
+
status?: string | undefined;
|
|
1205
|
+
code?: string | undefined;
|
|
1206
|
+
id?: string | undefined;
|
|
1207
|
+
links?: {
|
|
1208
|
+
about?: string | undefined;
|
|
1209
|
+
} | undefined;
|
|
1210
|
+
meta?: Record<string, unknown> | undefined;
|
|
1211
|
+
title?: string | undefined;
|
|
1212
|
+
detail?: string | undefined;
|
|
1213
|
+
source?: {
|
|
1214
|
+
pointer?: string | undefined;
|
|
1215
|
+
parameter?: string | undefined;
|
|
1216
|
+
} | undefined;
|
|
1217
|
+
}[];
|
|
1218
|
+
meta?: Record<string, unknown> | undefined;
|
|
1219
|
+
}, {
|
|
1220
|
+
errors: {
|
|
1221
|
+
status?: string | undefined;
|
|
1222
|
+
code?: string | undefined;
|
|
1223
|
+
id?: string | undefined;
|
|
1224
|
+
links?: {
|
|
1225
|
+
about?: string | undefined;
|
|
1226
|
+
} | undefined;
|
|
1227
|
+
meta?: Record<string, unknown> | undefined;
|
|
1228
|
+
title?: string | undefined;
|
|
1229
|
+
detail?: string | undefined;
|
|
1230
|
+
source?: {
|
|
1231
|
+
pointer?: string | undefined;
|
|
1232
|
+
parameter?: string | undefined;
|
|
1233
|
+
} | undefined;
|
|
1234
|
+
}[];
|
|
1235
|
+
meta?: Record<string, unknown> | undefined;
|
|
1236
|
+
}>;
|
|
1237
|
+
};
|
|
1238
|
+
};
|
|
746
1239
|
};
|
|
747
1240
|
//# sourceMappingURL=weather.routes.d.ts.map
|