@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
|
@@ -2,7 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const monitoringVisualizationRouter: {
|
|
3
3
|
getSatelliteImagery: {
|
|
4
4
|
query: z.ZodObject<{
|
|
5
|
-
date: z.ZodOptional<z.ZodString
|
|
5
|
+
date: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
6
6
|
resolution: z.ZodDefault<z.ZodEnum<["low", "medium", "high"]>>;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
8
|
resolution: "low" | "medium" | "high";
|
|
@@ -112,14 +112,14 @@ export declare const monitoringVisualizationRouter: {
|
|
|
112
112
|
};
|
|
113
113
|
getNdviHeatmap: {
|
|
114
114
|
query: z.ZodObject<{
|
|
115
|
-
date: z.ZodOptional<z.ZodString
|
|
116
|
-
colorPalette: z.ZodDefault<z.ZodEnum<["standard", "detailed", "grayscale"]>>;
|
|
115
|
+
date: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
116
|
+
colorPalette: z.ZodDefault<z.ZodEnum<["standard", "detailed", "contrasting", "viridis", "grayscale"]>>;
|
|
117
117
|
}, "strip", z.ZodTypeAny, {
|
|
118
|
-
colorPalette: "standard" | "detailed" | "grayscale";
|
|
118
|
+
colorPalette: "standard" | "detailed" | "contrasting" | "viridis" | "grayscale";
|
|
119
119
|
date?: string | undefined;
|
|
120
120
|
}, {
|
|
121
121
|
date?: string | undefined;
|
|
122
|
-
colorPalette?: "standard" | "detailed" | "grayscale" | undefined;
|
|
122
|
+
colorPalette?: "standard" | "detailed" | "contrasting" | "viridis" | "grayscale" | undefined;
|
|
123
123
|
}>;
|
|
124
124
|
summary: "Get NDVI heatmap overlay for field";
|
|
125
125
|
method: "GET";
|
|
@@ -220,6 +220,13 @@ export declare const monitoringVisualizationRouter: {
|
|
|
220
220
|
};
|
|
221
221
|
};
|
|
222
222
|
getSoilMoistureHeatmap: {
|
|
223
|
+
query: z.ZodObject<{
|
|
224
|
+
date: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
225
|
+
}, "strip", z.ZodTypeAny, {
|
|
226
|
+
date?: string | undefined;
|
|
227
|
+
}, {
|
|
228
|
+
date?: string | undefined;
|
|
229
|
+
}>;
|
|
223
230
|
summary: "Get soil moisture heatmap data for field";
|
|
224
231
|
method: "GET";
|
|
225
232
|
path: "/farms/:farmId/fields/:fieldId/visualization/imagery/soil-moisture";
|
|
@@ -344,8 +351,8 @@ export declare const monitoringVisualizationRouter: {
|
|
|
344
351
|
};
|
|
345
352
|
getAvailableDates: {
|
|
346
353
|
query: z.ZodObject<{
|
|
347
|
-
startDate: z.ZodString
|
|
348
|
-
endDate: z.ZodString
|
|
354
|
+
startDate: z.ZodEffects<z.ZodString, string, string>;
|
|
355
|
+
endDate: z.ZodEffects<z.ZodString, string, string>;
|
|
349
356
|
maxCloudCoverage: z.ZodDefault<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
350
357
|
}, "strip", z.ZodTypeAny, {
|
|
351
358
|
startDate: string;
|
|
@@ -435,7 +442,7 @@ export declare const monitoringVisualizationRouter: {
|
|
|
435
442
|
};
|
|
436
443
|
getHistoricalImagery: {
|
|
437
444
|
query: z.ZodObject<{
|
|
438
|
-
date: z.ZodString
|
|
445
|
+
date: z.ZodEffects<z.ZodString, string, string>;
|
|
439
446
|
type: z.ZodDefault<z.ZodEnum<["true-color", "ndvi", "both"]>>;
|
|
440
447
|
}, "strip", z.ZodTypeAny, {
|
|
441
448
|
type: "ndvi" | "true-color" | "both";
|
|
@@ -525,8 +532,8 @@ export declare const monitoringVisualizationRouter: {
|
|
|
525
532
|
};
|
|
526
533
|
compareImagery: {
|
|
527
534
|
query: z.ZodObject<{
|
|
528
|
-
date1: z.ZodString
|
|
529
|
-
date2: z.ZodString
|
|
535
|
+
date1: z.ZodEffects<z.ZodString, string, string>;
|
|
536
|
+
date2: z.ZodEffects<z.ZodString, string, string>;
|
|
530
537
|
type: z.ZodDefault<z.ZodEnum<["true-color", "ndvi", "both"]>>;
|
|
531
538
|
}, "strip", z.ZodTypeAny, {
|
|
532
539
|
type: "ndvi" | "true-color" | "both";
|
|
@@ -714,8 +721,8 @@ export declare const monitoringVisualizationRouter: {
|
|
|
714
721
|
summary: "Generate timelapse animation frames";
|
|
715
722
|
method: "POST";
|
|
716
723
|
body: z.ZodObject<{
|
|
717
|
-
startDate: z.ZodOptional<z.ZodString
|
|
718
|
-
endDate: z.ZodOptional<z.ZodString
|
|
724
|
+
startDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
725
|
+
endDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
719
726
|
maxFrames: z.ZodDefault<z.ZodNumber>;
|
|
720
727
|
type: z.ZodEnum<["true-color", "ndvi"]>;
|
|
721
728
|
maxCloudCoverage: z.ZodDefault<z.ZodNumber>;
|
|
@@ -826,7 +833,7 @@ export declare const monitoringVisualizationRouter: {
|
|
|
826
833
|
getZoneAnalysis: {
|
|
827
834
|
query: z.ZodObject<{
|
|
828
835
|
zoneCount: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
829
|
-
date: z.ZodOptional<z.ZodString
|
|
836
|
+
date: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
830
837
|
}, "strip", z.ZodTypeAny, {
|
|
831
838
|
date?: string | undefined;
|
|
832
839
|
zoneCount?: number | undefined;
|
|
@@ -1023,7 +1030,7 @@ export declare const monitoringVisualizationRouter: {
|
|
|
1023
1030
|
getAnomalies: {
|
|
1024
1031
|
query: z.ZodObject<{
|
|
1025
1032
|
threshold: z.ZodDefault<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
1026
|
-
compareDate: z.ZodOptional<z.ZodString
|
|
1033
|
+
compareDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1027
1034
|
}, "strip", z.ZodTypeAny, {
|
|
1028
1035
|
threshold: number;
|
|
1029
1036
|
compareDate?: string | undefined;
|
|
@@ -1087,8 +1094,8 @@ export declare const monitoringVisualizationRouter: {
|
|
|
1087
1094
|
coordinates: [number, number][][][];
|
|
1088
1095
|
};
|
|
1089
1096
|
area: number;
|
|
1090
|
-
severity: "critical" | "low" | "medium" | "high";
|
|
1091
1097
|
recommendation: string;
|
|
1098
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
1092
1099
|
centroid: {
|
|
1093
1100
|
lat: number;
|
|
1094
1101
|
lng: number;
|
|
@@ -1108,8 +1115,8 @@ export declare const monitoringVisualizationRouter: {
|
|
|
1108
1115
|
coordinates: [number, number][][][];
|
|
1109
1116
|
};
|
|
1110
1117
|
area: number;
|
|
1111
|
-
severity: "critical" | "low" | "medium" | "high";
|
|
1112
1118
|
recommendation: string;
|
|
1119
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
1113
1120
|
centroid: {
|
|
1114
1121
|
lat: number;
|
|
1115
1122
|
lng: number;
|
|
@@ -1152,8 +1159,8 @@ export declare const monitoringVisualizationRouter: {
|
|
|
1152
1159
|
coordinates: [number, number][][][];
|
|
1153
1160
|
};
|
|
1154
1161
|
area: number;
|
|
1155
|
-
severity: "critical" | "low" | "medium" | "high";
|
|
1156
1162
|
recommendation: string;
|
|
1163
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
1157
1164
|
centroid: {
|
|
1158
1165
|
lat: number;
|
|
1159
1166
|
lng: number;
|
|
@@ -1183,8 +1190,8 @@ export declare const monitoringVisualizationRouter: {
|
|
|
1183
1190
|
coordinates: [number, number][][][];
|
|
1184
1191
|
};
|
|
1185
1192
|
area: number;
|
|
1186
|
-
severity: "critical" | "low" | "medium" | "high";
|
|
1187
1193
|
recommendation: string;
|
|
1194
|
+
severity: "critical" | "low" | "medium" | "high";
|
|
1188
1195
|
centroid: {
|
|
1189
1196
|
lat: number;
|
|
1190
1197
|
lng: number;
|
|
@@ -1220,7 +1227,7 @@ export declare const monitoringVisualizationRouter: {
|
|
|
1220
1227
|
type?: "rainfall" | "all" | "temperature" | undefined;
|
|
1221
1228
|
days?: string | undefined;
|
|
1222
1229
|
}>;
|
|
1223
|
-
summary: "Get spatial weather data for field overlay";
|
|
1230
|
+
summary: "Get spatial weather data for field overlay (field-level summary)";
|
|
1224
1231
|
method: "GET";
|
|
1225
1232
|
path: "/farms/:farmId/fields/:fieldId/visualization/weather";
|
|
1226
1233
|
responses: {
|
|
@@ -1827,12 +1834,12 @@ export declare const monitoringVisualizationRouter: {
|
|
|
1827
1834
|
};
|
|
1828
1835
|
getPhotoTimeline: {
|
|
1829
1836
|
query: z.ZodObject<{
|
|
1830
|
-
startDate: z.ZodOptional<z.ZodString
|
|
1831
|
-
endDate: z.ZodOptional<z.ZodString
|
|
1837
|
+
startDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1838
|
+
endDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1832
1839
|
issueType: z.ZodOptional<z.ZodEnum<["disease", "pest", "nutrient", "weed", "general", "health_check"]>>;
|
|
1833
1840
|
groupBy: z.ZodDefault<z.ZodEnum<["day", "week", "month"]>>;
|
|
1834
1841
|
}, "strip", z.ZodTypeAny, {
|
|
1835
|
-
groupBy: "
|
|
1842
|
+
groupBy: "month" | "day" | "week";
|
|
1836
1843
|
startDate?: string | undefined;
|
|
1837
1844
|
endDate?: string | undefined;
|
|
1838
1845
|
issueType?: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check" | undefined;
|
|
@@ -1840,7 +1847,7 @@ export declare const monitoringVisualizationRouter: {
|
|
|
1840
1847
|
startDate?: string | undefined;
|
|
1841
1848
|
endDate?: string | undefined;
|
|
1842
1849
|
issueType?: "general" | "disease" | "pest" | "nutrient" | "weed" | "health_check" | undefined;
|
|
1843
|
-
groupBy?: "
|
|
1850
|
+
groupBy?: "month" | "day" | "week" | undefined;
|
|
1844
1851
|
}>;
|
|
1845
1852
|
summary: "Get photo timeline for field";
|
|
1846
1853
|
method: "GET";
|
|
@@ -2036,8 +2043,8 @@ export declare const monitoringVisualizationRouter: {
|
|
|
2036
2043
|
};
|
|
2037
2044
|
getPhotoMapPins: {
|
|
2038
2045
|
query: z.ZodObject<{
|
|
2039
|
-
startDate: z.ZodOptional<z.ZodString
|
|
2040
|
-
endDate: z.ZodOptional<z.ZodString
|
|
2046
|
+
startDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2047
|
+
endDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
2041
2048
|
minHealthScore: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
2042
2049
|
maxHealthScore: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, number, string>, z.ZodNumber>>;
|
|
2043
2050
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2081,20 +2088,20 @@ export declare const monitoringVisualizationRouter: {
|
|
|
2081
2088
|
confidence: z.ZodNumber;
|
|
2082
2089
|
}, "strip", z.ZodTypeAny, {
|
|
2083
2090
|
type: string;
|
|
2084
|
-
severity: string;
|
|
2085
2091
|
confidence: number;
|
|
2092
|
+
severity: string;
|
|
2086
2093
|
}, {
|
|
2087
2094
|
type: string;
|
|
2088
|
-
severity: string;
|
|
2089
2095
|
confidence: number;
|
|
2096
|
+
severity: string;
|
|
2090
2097
|
}>, "many">;
|
|
2091
2098
|
cropIdentified: z.ZodNullable<z.ZodString>;
|
|
2092
2099
|
}, "strip", z.ZodTypeAny, {
|
|
2093
2100
|
status: "critical" | "healthy" | "moderate" | "concerning";
|
|
2094
2101
|
issues: {
|
|
2095
2102
|
type: string;
|
|
2096
|
-
severity: string;
|
|
2097
2103
|
confidence: number;
|
|
2104
|
+
severity: string;
|
|
2098
2105
|
}[];
|
|
2099
2106
|
id: string;
|
|
2100
2107
|
location: {
|
|
@@ -2111,8 +2118,8 @@ export declare const monitoringVisualizationRouter: {
|
|
|
2111
2118
|
status: "critical" | "healthy" | "moderate" | "concerning";
|
|
2112
2119
|
issues: {
|
|
2113
2120
|
type: string;
|
|
2114
|
-
severity: string;
|
|
2115
2121
|
confidence: number;
|
|
2122
|
+
severity: string;
|
|
2116
2123
|
}[];
|
|
2117
2124
|
id: string;
|
|
2118
2125
|
location: {
|
|
@@ -2161,8 +2168,8 @@ export declare const monitoringVisualizationRouter: {
|
|
|
2161
2168
|
status: "critical" | "healthy" | "moderate" | "concerning";
|
|
2162
2169
|
issues: {
|
|
2163
2170
|
type: string;
|
|
2164
|
-
severity: string;
|
|
2165
2171
|
confidence: number;
|
|
2172
|
+
severity: string;
|
|
2166
2173
|
}[];
|
|
2167
2174
|
id: string;
|
|
2168
2175
|
location: {
|
|
@@ -2191,8 +2198,8 @@ export declare const monitoringVisualizationRouter: {
|
|
|
2191
2198
|
status: "critical" | "healthy" | "moderate" | "concerning";
|
|
2192
2199
|
issues: {
|
|
2193
2200
|
type: string;
|
|
2194
|
-
severity: string;
|
|
2195
2201
|
confidence: number;
|
|
2202
|
+
severity: string;
|
|
2196
2203
|
}[];
|
|
2197
2204
|
id: string;
|
|
2198
2205
|
location: {
|
|
@@ -2881,10 +2888,10 @@ export declare const monitoringVisualizationRouter: {
|
|
|
2881
2888
|
palette: z.ZodDefault<z.ZodEnum<["terrain", "viridis", "grayscale", "rainbow"]>>;
|
|
2882
2889
|
}, "strip", z.ZodTypeAny, {
|
|
2883
2890
|
resolution: "low" | "medium" | "high";
|
|
2884
|
-
palette: "
|
|
2891
|
+
palette: "viridis" | "grayscale" | "terrain" | "rainbow";
|
|
2885
2892
|
}, {
|
|
2886
2893
|
resolution?: "low" | "medium" | "high" | undefined;
|
|
2887
|
-
palette?: "
|
|
2894
|
+
palette?: "viridis" | "grayscale" | "terrain" | "rainbow" | undefined;
|
|
2888
2895
|
}>;
|
|
2889
2896
|
summary: "Get elevation heatmap for field";
|
|
2890
2897
|
method: "GET";
|
|
@@ -4298,14 +4305,14 @@ export declare const monitoringVisualizationRouter: {
|
|
|
4298
4305
|
indexType: "ndvi" | "ndre" | "msavi" | "savi" | "evi" | "gndvi" | "lai" | "ndwi";
|
|
4299
4306
|
}>;
|
|
4300
4307
|
query: z.ZodObject<{
|
|
4301
|
-
date: z.ZodOptional<z.ZodString
|
|
4308
|
+
date: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
4302
4309
|
palette: z.ZodDefault<z.ZodEnum<["standard", "contrasting", "viridis", "grayscale"]>>;
|
|
4303
4310
|
}, "strip", z.ZodTypeAny, {
|
|
4304
|
-
palette: "standard" | "
|
|
4311
|
+
palette: "standard" | "contrasting" | "viridis" | "grayscale";
|
|
4305
4312
|
date?: string | undefined;
|
|
4306
4313
|
}, {
|
|
4307
4314
|
date?: string | undefined;
|
|
4308
|
-
palette?: "standard" | "
|
|
4315
|
+
palette?: "standard" | "contrasting" | "viridis" | "grayscale" | undefined;
|
|
4309
4316
|
}>;
|
|
4310
4317
|
summary: "Get specific vegetation index heatmap";
|
|
4311
4318
|
method: "GET";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"monitoring-visualization.routes.d.ts","sourceRoot":"","sources":["../../src/routes/monitoring-visualization.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"monitoring-visualization.routes.d.ts","sourceRoot":"","sources":["../../src/routes/monitoring-visualization.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAoExB,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0gBxC,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG,OAAO,6BAA6B,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { initContract } from '@ts-rest/core';
|
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import {
|
|
4
4
|
// Phase 1 schemas
|
|
5
|
-
satelliteImageryQuerySchema, satelliteImageryResponseSchema, ndviHeatmapQuerySchema, ndviHeatmapResponseSchema, soilMoistureHeatmapResponseSchema,
|
|
5
|
+
satelliteImageryQuerySchema, satelliteImageryResponseSchema, ndviHeatmapQuerySchema, ndviHeatmapResponseSchema, soilMoistureHeatmapQuerySchema, soilMoistureHeatmapResponseSchema,
|
|
6
6
|
// Phase 2 schemas
|
|
7
7
|
availableDatesQuerySchema, availableDatesResponseSchema, historicalImageryQuerySchema, historicalImageryResponseSchema, compareImageryQuerySchema, compareImageryResponseSchema, timelapseRequestSchema, timelapseResponseSchema,
|
|
8
8
|
// Phase 3 schemas
|
|
@@ -61,6 +61,7 @@ export const monitoringVisualizationRouter = c.router({
|
|
|
61
61
|
getSoilMoistureHeatmap: {
|
|
62
62
|
method: 'GET',
|
|
63
63
|
path: '/farms/:farmId/fields/:fieldId/visualization/imagery/soil-moisture',
|
|
64
|
+
query: soilMoistureHeatmapQuerySchema,
|
|
64
65
|
responses: {
|
|
65
66
|
200: soilMoistureHeatmapResponseSchema,
|
|
66
67
|
404: visualizationErrorSchema,
|
|
@@ -161,8 +162,10 @@ export const monitoringVisualizationRouter = c.router({
|
|
|
161
162
|
summary: 'Detect field anomalies based on NDVI changes',
|
|
162
163
|
},
|
|
163
164
|
/**
|
|
164
|
-
* Get spatial weather data for map overlay
|
|
165
|
-
* Returns rainfall and temperature
|
|
165
|
+
* Get spatial weather data for map overlay.
|
|
166
|
+
* Returns field-level (centroid) rainfall and temperature summary for the date range.
|
|
167
|
+
* Raster/pixel-level weather layers (e.g. rainfall accumulation map) are not yet supported;
|
|
168
|
+
* use this endpoint for legend, summary cards, and time-series. Raster overlays: TBD.
|
|
166
169
|
*/
|
|
167
170
|
getWeatherSpatial: {
|
|
168
171
|
method: 'GET',
|
|
@@ -172,7 +175,7 @@ export const monitoringVisualizationRouter = c.router({
|
|
|
172
175
|
200: weatherSpatialResponseSchema,
|
|
173
176
|
404: visualizationErrorSchema,
|
|
174
177
|
},
|
|
175
|
-
summary: 'Get spatial weather data for field overlay',
|
|
178
|
+
summary: 'Get spatial weather data for field overlay (field-level summary)',
|
|
176
179
|
},
|
|
177
180
|
// ============================================================================
|
|
178
181
|
// Phase 3: Sensor Endpoints
|
|
@@ -245,13 +245,13 @@ export declare const pestDiseaseRiskRouter: {
|
|
|
245
245
|
};
|
|
246
246
|
area: number;
|
|
247
247
|
recommendations: string[];
|
|
248
|
+
riskScore: number;
|
|
248
249
|
zoneId: string;
|
|
249
250
|
centroid: {
|
|
250
251
|
lat: number;
|
|
251
252
|
lng: number;
|
|
252
253
|
};
|
|
253
254
|
overallRiskLevel: "critical" | "low" | "high" | "none" | "moderate";
|
|
254
|
-
riskScore: number;
|
|
255
255
|
threatProbabilities: {
|
|
256
256
|
confidence: number;
|
|
257
257
|
threatType: "pest_insect" | "pest_mite" | "disease_fungal" | "disease_bacterial" | "disease_viral" | "nutrient_deficiency" | "environmental_stress";
|
|
@@ -272,13 +272,13 @@ export declare const pestDiseaseRiskRouter: {
|
|
|
272
272
|
};
|
|
273
273
|
area: number;
|
|
274
274
|
recommendations: string[];
|
|
275
|
+
riskScore: number;
|
|
275
276
|
zoneId: string;
|
|
276
277
|
centroid: {
|
|
277
278
|
lat: number;
|
|
278
279
|
lng: number;
|
|
279
280
|
};
|
|
280
281
|
overallRiskLevel: "critical" | "low" | "high" | "none" | "moderate";
|
|
281
|
-
riskScore: number;
|
|
282
282
|
threatProbabilities: {
|
|
283
283
|
confidence: number;
|
|
284
284
|
threatType: "pest_insect" | "pest_mite" | "disease_fungal" | "disease_bacterial" | "disease_viral" | "nutrient_deficiency" | "environmental_stress";
|
|
@@ -434,13 +434,13 @@ export declare const pestDiseaseRiskRouter: {
|
|
|
434
434
|
};
|
|
435
435
|
area: number;
|
|
436
436
|
recommendations: string[];
|
|
437
|
+
riskScore: number;
|
|
437
438
|
zoneId: string;
|
|
438
439
|
centroid: {
|
|
439
440
|
lat: number;
|
|
440
441
|
lng: number;
|
|
441
442
|
};
|
|
442
443
|
overallRiskLevel: "critical" | "low" | "high" | "none" | "moderate";
|
|
443
|
-
riskScore: number;
|
|
444
444
|
threatProbabilities: {
|
|
445
445
|
confidence: number;
|
|
446
446
|
threatType: "pest_insect" | "pest_mite" | "disease_fungal" | "disease_bacterial" | "disease_viral" | "nutrient_deficiency" | "environmental_stress";
|
|
@@ -531,13 +531,13 @@ export declare const pestDiseaseRiskRouter: {
|
|
|
531
531
|
};
|
|
532
532
|
area: number;
|
|
533
533
|
recommendations: string[];
|
|
534
|
+
riskScore: number;
|
|
534
535
|
zoneId: string;
|
|
535
536
|
centroid: {
|
|
536
537
|
lat: number;
|
|
537
538
|
lng: number;
|
|
538
539
|
};
|
|
539
540
|
overallRiskLevel: "critical" | "low" | "high" | "none" | "moderate";
|
|
540
|
-
riskScore: number;
|
|
541
541
|
threatProbabilities: {
|
|
542
542
|
confidence: number;
|
|
543
543
|
threatType: "pest_insect" | "pest_mite" | "disease_fungal" | "disease_bacterial" | "disease_viral" | "nutrient_deficiency" | "environmental_stress";
|
|
@@ -649,9 +649,9 @@ export declare const pestDiseaseRiskRouter: {
|
|
|
649
649
|
currentCrop: string | null;
|
|
650
650
|
fieldId: string;
|
|
651
651
|
fieldName: string;
|
|
652
|
+
riskScore: number;
|
|
652
653
|
growthStage: string | null;
|
|
653
654
|
overallRiskLevel: "critical" | "low" | "high" | "none" | "moderate";
|
|
654
|
-
riskScore: number;
|
|
655
655
|
areaHa: number;
|
|
656
656
|
primaryThreats: {
|
|
657
657
|
riskLevel: "critical" | "low" | "high" | "none" | "moderate";
|
|
@@ -663,9 +663,9 @@ export declare const pestDiseaseRiskRouter: {
|
|
|
663
663
|
currentCrop: string | null;
|
|
664
664
|
fieldId: string;
|
|
665
665
|
fieldName: string;
|
|
666
|
+
riskScore: number;
|
|
666
667
|
growthStage: string | null;
|
|
667
668
|
overallRiskLevel: "critical" | "low" | "high" | "none" | "moderate";
|
|
668
|
-
riskScore: number;
|
|
669
669
|
areaHa: number;
|
|
670
670
|
primaryThreats: {
|
|
671
671
|
riskLevel: "critical" | "low" | "high" | "none" | "moderate";
|
|
@@ -748,9 +748,9 @@ export declare const pestDiseaseRiskRouter: {
|
|
|
748
748
|
currentCrop: string | null;
|
|
749
749
|
fieldId: string;
|
|
750
750
|
fieldName: string;
|
|
751
|
+
riskScore: number;
|
|
751
752
|
growthStage: string | null;
|
|
752
753
|
overallRiskLevel: "critical" | "low" | "high" | "none" | "moderate";
|
|
753
|
-
riskScore: number;
|
|
754
754
|
areaHa: number;
|
|
755
755
|
primaryThreats: {
|
|
756
756
|
riskLevel: "critical" | "low" | "high" | "none" | "moderate";
|
|
@@ -791,9 +791,9 @@ export declare const pestDiseaseRiskRouter: {
|
|
|
791
791
|
currentCrop: string | null;
|
|
792
792
|
fieldId: string;
|
|
793
793
|
fieldName: string;
|
|
794
|
+
riskScore: number;
|
|
794
795
|
growthStage: string | null;
|
|
795
796
|
overallRiskLevel: "critical" | "low" | "high" | "none" | "moderate";
|
|
796
|
-
riskScore: number;
|
|
797
797
|
areaHa: number;
|
|
798
798
|
primaryThreats: {
|
|
799
799
|
riskLevel: "critical" | "low" | "high" | "none" | "moderate";
|
|
@@ -1104,13 +1104,13 @@ export declare const pestDiseaseRiskRouter: {
|
|
|
1104
1104
|
};
|
|
1105
1105
|
area: number;
|
|
1106
1106
|
recommendations: string[];
|
|
1107
|
+
riskScore: number;
|
|
1107
1108
|
zoneId: string;
|
|
1108
1109
|
centroid: {
|
|
1109
1110
|
lat: number;
|
|
1110
1111
|
lng: number;
|
|
1111
1112
|
};
|
|
1112
1113
|
overallRiskLevel: "critical" | "low" | "high" | "none" | "moderate";
|
|
1113
|
-
riskScore: number;
|
|
1114
1114
|
threatProbabilities: {
|
|
1115
1115
|
confidence: number;
|
|
1116
1116
|
threatType: "pest_insect" | "pest_mite" | "disease_fungal" | "disease_bacterial" | "disease_viral" | "nutrient_deficiency" | "environmental_stress";
|
|
@@ -1131,13 +1131,13 @@ export declare const pestDiseaseRiskRouter: {
|
|
|
1131
1131
|
};
|
|
1132
1132
|
area: number;
|
|
1133
1133
|
recommendations: string[];
|
|
1134
|
+
riskScore: number;
|
|
1134
1135
|
zoneId: string;
|
|
1135
1136
|
centroid: {
|
|
1136
1137
|
lat: number;
|
|
1137
1138
|
lng: number;
|
|
1138
1139
|
};
|
|
1139
1140
|
overallRiskLevel: "critical" | "low" | "high" | "none" | "moderate";
|
|
1140
|
-
riskScore: number;
|
|
1141
1141
|
threatProbabilities: {
|
|
1142
1142
|
confidence: number;
|
|
1143
1143
|
threatType: "pest_insect" | "pest_mite" | "disease_fungal" | "disease_bacterial" | "disease_viral" | "nutrient_deficiency" | "environmental_stress";
|
|
@@ -1293,13 +1293,13 @@ export declare const pestDiseaseRiskRouter: {
|
|
|
1293
1293
|
};
|
|
1294
1294
|
area: number;
|
|
1295
1295
|
recommendations: string[];
|
|
1296
|
+
riskScore: number;
|
|
1296
1297
|
zoneId: string;
|
|
1297
1298
|
centroid: {
|
|
1298
1299
|
lat: number;
|
|
1299
1300
|
lng: number;
|
|
1300
1301
|
};
|
|
1301
1302
|
overallRiskLevel: "critical" | "low" | "high" | "none" | "moderate";
|
|
1302
|
-
riskScore: number;
|
|
1303
1303
|
threatProbabilities: {
|
|
1304
1304
|
confidence: number;
|
|
1305
1305
|
threatType: "pest_insect" | "pest_mite" | "disease_fungal" | "disease_bacterial" | "disease_viral" | "nutrient_deficiency" | "environmental_stress";
|
|
@@ -1390,13 +1390,13 @@ export declare const pestDiseaseRiskRouter: {
|
|
|
1390
1390
|
};
|
|
1391
1391
|
area: number;
|
|
1392
1392
|
recommendations: string[];
|
|
1393
|
+
riskScore: number;
|
|
1393
1394
|
zoneId: string;
|
|
1394
1395
|
centroid: {
|
|
1395
1396
|
lat: number;
|
|
1396
1397
|
lng: number;
|
|
1397
1398
|
};
|
|
1398
1399
|
overallRiskLevel: "critical" | "low" | "high" | "none" | "moderate";
|
|
1399
|
-
riskScore: number;
|
|
1400
1400
|
threatProbabilities: {
|
|
1401
1401
|
confidence: number;
|
|
1402
1402
|
threatType: "pest_insect" | "pest_mite" | "disease_fungal" | "disease_bacterial" | "disease_viral" | "nutrient_deficiency" | "environmental_stress";
|
|
@@ -1494,13 +1494,13 @@ export declare const pestDiseaseRiskRouter: {
|
|
|
1494
1494
|
};
|
|
1495
1495
|
area: number;
|
|
1496
1496
|
recommendations: string[];
|
|
1497
|
+
riskScore: number;
|
|
1497
1498
|
zoneId: string;
|
|
1498
1499
|
centroid: {
|
|
1499
1500
|
lat: number;
|
|
1500
1501
|
lng: number;
|
|
1501
1502
|
};
|
|
1502
1503
|
overallRiskLevel: "critical" | "low" | "high" | "none" | "moderate";
|
|
1503
|
-
riskScore: number;
|
|
1504
1504
|
threatProbabilities: {
|
|
1505
1505
|
confidence: number;
|
|
1506
1506
|
threatType: "pest_insect" | "pest_mite" | "disease_fungal" | "disease_bacterial" | "disease_viral" | "nutrient_deficiency" | "environmental_stress";
|
|
@@ -1598,13 +1598,13 @@ export declare const pestDiseaseRiskRouter: {
|
|
|
1598
1598
|
};
|
|
1599
1599
|
area: number;
|
|
1600
1600
|
recommendations: string[];
|
|
1601
|
+
riskScore: number;
|
|
1601
1602
|
zoneId: string;
|
|
1602
1603
|
centroid: {
|
|
1603
1604
|
lat: number;
|
|
1604
1605
|
lng: number;
|
|
1605
1606
|
};
|
|
1606
1607
|
overallRiskLevel: "critical" | "low" | "high" | "none" | "moderate";
|
|
1607
|
-
riskScore: number;
|
|
1608
1608
|
threatProbabilities: {
|
|
1609
1609
|
confidence: number;
|
|
1610
1610
|
threatType: "pest_insect" | "pest_mite" | "disease_fungal" | "disease_bacterial" | "disease_viral" | "nutrient_deficiency" | "environmental_stress";
|
|
@@ -1857,13 +1857,13 @@ export declare const pestDiseaseRiskRouter: {
|
|
|
1857
1857
|
};
|
|
1858
1858
|
area: number;
|
|
1859
1859
|
recommendations: string[];
|
|
1860
|
+
riskScore: number;
|
|
1860
1861
|
zoneId: string;
|
|
1861
1862
|
centroid: {
|
|
1862
1863
|
lat: number;
|
|
1863
1864
|
lng: number;
|
|
1864
1865
|
};
|
|
1865
1866
|
overallRiskLevel: "critical" | "low" | "high" | "none" | "moderate";
|
|
1866
|
-
riskScore: number;
|
|
1867
1867
|
threatProbabilities: {
|
|
1868
1868
|
confidence: number;
|
|
1869
1869
|
threatType: "pest_insect" | "pest_mite" | "disease_fungal" | "disease_bacterial" | "disease_viral" | "nutrient_deficiency" | "environmental_stress";
|
|
@@ -1884,13 +1884,13 @@ export declare const pestDiseaseRiskRouter: {
|
|
|
1884
1884
|
};
|
|
1885
1885
|
area: number;
|
|
1886
1886
|
recommendations: string[];
|
|
1887
|
+
riskScore: number;
|
|
1887
1888
|
zoneId: string;
|
|
1888
1889
|
centroid: {
|
|
1889
1890
|
lat: number;
|
|
1890
1891
|
lng: number;
|
|
1891
1892
|
};
|
|
1892
1893
|
overallRiskLevel: "critical" | "low" | "high" | "none" | "moderate";
|
|
1893
|
-
riskScore: number;
|
|
1894
1894
|
threatProbabilities: {
|
|
1895
1895
|
confidence: number;
|
|
1896
1896
|
threatType: "pest_insect" | "pest_mite" | "disease_fungal" | "disease_bacterial" | "disease_viral" | "nutrient_deficiency" | "environmental_stress";
|
|
@@ -2046,13 +2046,13 @@ export declare const pestDiseaseRiskRouter: {
|
|
|
2046
2046
|
};
|
|
2047
2047
|
area: number;
|
|
2048
2048
|
recommendations: string[];
|
|
2049
|
+
riskScore: number;
|
|
2049
2050
|
zoneId: string;
|
|
2050
2051
|
centroid: {
|
|
2051
2052
|
lat: number;
|
|
2052
2053
|
lng: number;
|
|
2053
2054
|
};
|
|
2054
2055
|
overallRiskLevel: "critical" | "low" | "high" | "none" | "moderate";
|
|
2055
|
-
riskScore: number;
|
|
2056
2056
|
threatProbabilities: {
|
|
2057
2057
|
confidence: number;
|
|
2058
2058
|
threatType: "pest_insect" | "pest_mite" | "disease_fungal" | "disease_bacterial" | "disease_viral" | "nutrient_deficiency" | "environmental_stress";
|
|
@@ -2143,13 +2143,13 @@ export declare const pestDiseaseRiskRouter: {
|
|
|
2143
2143
|
};
|
|
2144
2144
|
area: number;
|
|
2145
2145
|
recommendations: string[];
|
|
2146
|
+
riskScore: number;
|
|
2146
2147
|
zoneId: string;
|
|
2147
2148
|
centroid: {
|
|
2148
2149
|
lat: number;
|
|
2149
2150
|
lng: number;
|
|
2150
2151
|
};
|
|
2151
2152
|
overallRiskLevel: "critical" | "low" | "high" | "none" | "moderate";
|
|
2152
|
-
riskScore: number;
|
|
2153
2153
|
threatProbabilities: {
|
|
2154
2154
|
confidence: number;
|
|
2155
2155
|
threatType: "pest_insect" | "pest_mite" | "disease_fungal" | "disease_bacterial" | "disease_viral" | "nutrient_deficiency" | "environmental_stress";
|
|
@@ -2247,13 +2247,13 @@ export declare const pestDiseaseRiskRouter: {
|
|
|
2247
2247
|
};
|
|
2248
2248
|
area: number;
|
|
2249
2249
|
recommendations: string[];
|
|
2250
|
+
riskScore: number;
|
|
2250
2251
|
zoneId: string;
|
|
2251
2252
|
centroid: {
|
|
2252
2253
|
lat: number;
|
|
2253
2254
|
lng: number;
|
|
2254
2255
|
};
|
|
2255
2256
|
overallRiskLevel: "critical" | "low" | "high" | "none" | "moderate";
|
|
2256
|
-
riskScore: number;
|
|
2257
2257
|
threatProbabilities: {
|
|
2258
2258
|
confidence: number;
|
|
2259
2259
|
threatType: "pest_insect" | "pest_mite" | "disease_fungal" | "disease_bacterial" | "disease_viral" | "nutrient_deficiency" | "environmental_stress";
|
|
@@ -2351,13 +2351,13 @@ export declare const pestDiseaseRiskRouter: {
|
|
|
2351
2351
|
};
|
|
2352
2352
|
area: number;
|
|
2353
2353
|
recommendations: string[];
|
|
2354
|
+
riskScore: number;
|
|
2354
2355
|
zoneId: string;
|
|
2355
2356
|
centroid: {
|
|
2356
2357
|
lat: number;
|
|
2357
2358
|
lng: number;
|
|
2358
2359
|
};
|
|
2359
2360
|
overallRiskLevel: "critical" | "low" | "high" | "none" | "moderate";
|
|
2360
|
-
riskScore: number;
|
|
2361
2361
|
threatProbabilities: {
|
|
2362
2362
|
confidence: number;
|
|
2363
2363
|
threatType: "pest_insect" | "pest_mite" | "disease_fungal" | "disease_bacterial" | "disease_viral" | "nutrient_deficiency" | "environmental_stress";
|