@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
|
@@ -184,7 +184,6 @@ export declare const fieldAlertSchema: z.ZodObject<{
|
|
|
184
184
|
id: string;
|
|
185
185
|
title: string;
|
|
186
186
|
createdAt: string;
|
|
187
|
-
fieldId: string;
|
|
188
187
|
recommendations: {
|
|
189
188
|
priority: number;
|
|
190
189
|
action: string;
|
|
@@ -207,6 +206,7 @@ export declare const fieldAlertSchema: z.ZodObject<{
|
|
|
207
206
|
estimatedTime?: string | undefined;
|
|
208
207
|
riskLevel?: string | undefined;
|
|
209
208
|
}[] | null;
|
|
209
|
+
fieldId: string;
|
|
210
210
|
confidence: number | null;
|
|
211
211
|
severity: "critical" | "low" | "medium" | "high";
|
|
212
212
|
acknowledgedAt: string | null;
|
|
@@ -223,7 +223,6 @@ export declare const fieldAlertSchema: z.ZodObject<{
|
|
|
223
223
|
id: string;
|
|
224
224
|
title: string;
|
|
225
225
|
createdAt: string;
|
|
226
|
-
fieldId: string;
|
|
227
226
|
recommendations: {
|
|
228
227
|
priority: number;
|
|
229
228
|
action: string;
|
|
@@ -246,6 +245,7 @@ export declare const fieldAlertSchema: z.ZodObject<{
|
|
|
246
245
|
estimatedTime?: string | undefined;
|
|
247
246
|
riskLevel?: string | undefined;
|
|
248
247
|
}[] | null;
|
|
248
|
+
fieldId: string;
|
|
249
249
|
confidence: number | null;
|
|
250
250
|
severity: "critical" | "low" | "medium" | "high";
|
|
251
251
|
acknowledgedAt: string | null;
|
|
@@ -433,7 +433,6 @@ export declare const bulkReadAlertsResponseSchema: z.ZodObject<{
|
|
|
433
433
|
id: string;
|
|
434
434
|
title: string;
|
|
435
435
|
createdAt: string;
|
|
436
|
-
fieldId: string;
|
|
437
436
|
recommendations: {
|
|
438
437
|
priority: number;
|
|
439
438
|
action: string;
|
|
@@ -456,6 +455,7 @@ export declare const bulkReadAlertsResponseSchema: z.ZodObject<{
|
|
|
456
455
|
estimatedTime?: string | undefined;
|
|
457
456
|
riskLevel?: string | undefined;
|
|
458
457
|
}[] | null;
|
|
458
|
+
fieldId: string;
|
|
459
459
|
confidence: number | null;
|
|
460
460
|
severity: "critical" | "low" | "medium" | "high";
|
|
461
461
|
acknowledgedAt: string | null;
|
|
@@ -472,7 +472,6 @@ export declare const bulkReadAlertsResponseSchema: z.ZodObject<{
|
|
|
472
472
|
id: string;
|
|
473
473
|
title: string;
|
|
474
474
|
createdAt: string;
|
|
475
|
-
fieldId: string;
|
|
476
475
|
recommendations: {
|
|
477
476
|
priority: number;
|
|
478
477
|
action: string;
|
|
@@ -495,6 +494,7 @@ export declare const bulkReadAlertsResponseSchema: z.ZodObject<{
|
|
|
495
494
|
estimatedTime?: string | undefined;
|
|
496
495
|
riskLevel?: string | undefined;
|
|
497
496
|
}[] | null;
|
|
497
|
+
fieldId: string;
|
|
498
498
|
confidence: number | null;
|
|
499
499
|
severity: "critical" | "low" | "medium" | "high";
|
|
500
500
|
acknowledgedAt: string | null;
|
|
@@ -513,7 +513,6 @@ export declare const bulkReadAlertsResponseSchema: z.ZodObject<{
|
|
|
513
513
|
id: string;
|
|
514
514
|
title: string;
|
|
515
515
|
createdAt: string;
|
|
516
|
-
fieldId: string;
|
|
517
516
|
recommendations: {
|
|
518
517
|
priority: number;
|
|
519
518
|
action: string;
|
|
@@ -536,6 +535,7 @@ export declare const bulkReadAlertsResponseSchema: z.ZodObject<{
|
|
|
536
535
|
estimatedTime?: string | undefined;
|
|
537
536
|
riskLevel?: string | undefined;
|
|
538
537
|
}[] | null;
|
|
538
|
+
fieldId: string;
|
|
539
539
|
confidence: number | null;
|
|
540
540
|
severity: "critical" | "low" | "medium" | "high";
|
|
541
541
|
acknowledgedAt: string | null;
|
|
@@ -555,7 +555,6 @@ export declare const bulkReadAlertsResponseSchema: z.ZodObject<{
|
|
|
555
555
|
id: string;
|
|
556
556
|
title: string;
|
|
557
557
|
createdAt: string;
|
|
558
|
-
fieldId: string;
|
|
559
558
|
recommendations: {
|
|
560
559
|
priority: number;
|
|
561
560
|
action: string;
|
|
@@ -578,6 +577,7 @@ export declare const bulkReadAlertsResponseSchema: z.ZodObject<{
|
|
|
578
577
|
estimatedTime?: string | undefined;
|
|
579
578
|
riskLevel?: string | undefined;
|
|
580
579
|
}[] | null;
|
|
580
|
+
fieldId: string;
|
|
581
581
|
confidence: number | null;
|
|
582
582
|
severity: "critical" | "low" | "medium" | "high";
|
|
583
583
|
acknowledgedAt: string | null;
|
|
@@ -1349,8 +1349,8 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
|
|
|
1349
1349
|
};
|
|
1350
1350
|
}>;
|
|
1351
1351
|
}, "strip", z.ZodTypeAny, {
|
|
1352
|
-
score: number;
|
|
1353
1352
|
overall: "critical" | "poor" | "fair" | "good" | "excellent";
|
|
1353
|
+
score: number;
|
|
1354
1354
|
assessments: {
|
|
1355
1355
|
pH: {
|
|
1356
1356
|
recommendation: string;
|
|
@@ -1377,8 +1377,8 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
|
|
|
1377
1377
|
};
|
|
1378
1378
|
};
|
|
1379
1379
|
}, {
|
|
1380
|
-
score: number;
|
|
1381
1380
|
overall: "critical" | "poor" | "fair" | "good" | "excellent";
|
|
1381
|
+
score: number;
|
|
1382
1382
|
assessments: {
|
|
1383
1383
|
pH: {
|
|
1384
1384
|
recommendation: string;
|
|
@@ -1773,14 +1773,6 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
|
|
|
1773
1773
|
latitude: number;
|
|
1774
1774
|
longitude: number;
|
|
1775
1775
|
};
|
|
1776
|
-
metadata: {
|
|
1777
|
-
confidence: number;
|
|
1778
|
-
completeness: number;
|
|
1779
|
-
lastValidated: string;
|
|
1780
|
-
nextRecommendedTest?: string | undefined;
|
|
1781
|
-
};
|
|
1782
|
-
fieldId: string;
|
|
1783
|
-
fieldName: string;
|
|
1784
1776
|
recommendations: {
|
|
1785
1777
|
fertilizer: {
|
|
1786
1778
|
unit: string;
|
|
@@ -1817,6 +1809,14 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
|
|
|
1817
1809
|
confidence?: number | undefined;
|
|
1818
1810
|
}[] | undefined;
|
|
1819
1811
|
};
|
|
1812
|
+
metadata: {
|
|
1813
|
+
confidence: number;
|
|
1814
|
+
completeness: number;
|
|
1815
|
+
lastValidated: string;
|
|
1816
|
+
nextRecommendedTest?: string | undefined;
|
|
1817
|
+
};
|
|
1818
|
+
fieldId: string;
|
|
1819
|
+
fieldName: string;
|
|
1820
1820
|
properties: {
|
|
1821
1821
|
texture: {
|
|
1822
1822
|
sand: number;
|
|
@@ -1827,8 +1827,8 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
|
|
|
1827
1827
|
bulkDensity: number;
|
|
1828
1828
|
};
|
|
1829
1829
|
quality: {
|
|
1830
|
-
score: number;
|
|
1831
1830
|
overall: "critical" | "poor" | "fair" | "good" | "excellent";
|
|
1831
|
+
score: number;
|
|
1832
1832
|
assessments: {
|
|
1833
1833
|
pH: {
|
|
1834
1834
|
recommendation: string;
|
|
@@ -1959,14 +1959,6 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
|
|
|
1959
1959
|
latitude: number;
|
|
1960
1960
|
longitude: number;
|
|
1961
1961
|
};
|
|
1962
|
-
metadata: {
|
|
1963
|
-
confidence: number;
|
|
1964
|
-
completeness: number;
|
|
1965
|
-
lastValidated: string;
|
|
1966
|
-
nextRecommendedTest?: string | undefined;
|
|
1967
|
-
};
|
|
1968
|
-
fieldId: string;
|
|
1969
|
-
fieldName: string;
|
|
1970
1962
|
recommendations: {
|
|
1971
1963
|
fertilizer: {
|
|
1972
1964
|
unit: string;
|
|
@@ -2003,6 +1995,14 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
|
|
|
2003
1995
|
confidence?: number | undefined;
|
|
2004
1996
|
}[] | undefined;
|
|
2005
1997
|
};
|
|
1998
|
+
metadata: {
|
|
1999
|
+
confidence: number;
|
|
2000
|
+
completeness: number;
|
|
2001
|
+
lastValidated: string;
|
|
2002
|
+
nextRecommendedTest?: string | undefined;
|
|
2003
|
+
};
|
|
2004
|
+
fieldId: string;
|
|
2005
|
+
fieldName: string;
|
|
2006
2006
|
properties: {
|
|
2007
2007
|
texture: {
|
|
2008
2008
|
sand: number;
|
|
@@ -2013,8 +2013,8 @@ export declare const intelligentSoilProfileSchema: z.ZodObject<{
|
|
|
2013
2013
|
bulkDensity: number;
|
|
2014
2014
|
};
|
|
2015
2015
|
quality: {
|
|
2016
|
-
score: number;
|
|
2017
2016
|
overall: "critical" | "poor" | "fair" | "good" | "excellent";
|
|
2017
|
+
score: number;
|
|
2018
2018
|
assessments: {
|
|
2019
2019
|
pH: {
|
|
2020
2020
|
recommendation: string;
|
|
@@ -229,13 +229,6 @@ export declare const observationAttributesSchema: z.ZodObject<{
|
|
|
229
229
|
}, "strip", z.ZodTypeAny, {
|
|
230
230
|
createdAt: string;
|
|
231
231
|
updatedAt: string;
|
|
232
|
-
location: {
|
|
233
|
-
lat: number;
|
|
234
|
-
lng: number;
|
|
235
|
-
accuracy?: number | undefined;
|
|
236
|
-
} | null;
|
|
237
|
-
farmId: string;
|
|
238
|
-
fieldId: string | null;
|
|
239
232
|
recommendations: {
|
|
240
233
|
priority: number;
|
|
241
234
|
action: string;
|
|
@@ -258,6 +251,13 @@ export declare const observationAttributesSchema: z.ZodObject<{
|
|
|
258
251
|
estimatedTime?: string | undefined;
|
|
259
252
|
riskLevel?: string | undefined;
|
|
260
253
|
}[] | null;
|
|
254
|
+
farmId: string;
|
|
255
|
+
location: {
|
|
256
|
+
lat: number;
|
|
257
|
+
lng: number;
|
|
258
|
+
accuracy?: number | undefined;
|
|
259
|
+
} | null;
|
|
260
|
+
fieldId: string | null;
|
|
261
261
|
estimatedCost: number | null;
|
|
262
262
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
263
263
|
uploadedBy: string;
|
|
@@ -312,13 +312,6 @@ export declare const observationAttributesSchema: z.ZodObject<{
|
|
|
312
312
|
}, {
|
|
313
313
|
createdAt: string;
|
|
314
314
|
updatedAt: string;
|
|
315
|
-
location: {
|
|
316
|
-
lat: number;
|
|
317
|
-
lng: number;
|
|
318
|
-
accuracy?: number | undefined;
|
|
319
|
-
} | null;
|
|
320
|
-
farmId: string;
|
|
321
|
-
fieldId: string | null;
|
|
322
315
|
recommendations: {
|
|
323
316
|
priority: number;
|
|
324
317
|
action: string;
|
|
@@ -341,6 +334,13 @@ export declare const observationAttributesSchema: z.ZodObject<{
|
|
|
341
334
|
estimatedTime?: string | undefined;
|
|
342
335
|
riskLevel?: string | undefined;
|
|
343
336
|
}[] | null;
|
|
337
|
+
farmId: string;
|
|
338
|
+
location: {
|
|
339
|
+
lat: number;
|
|
340
|
+
lng: number;
|
|
341
|
+
accuracy?: number | undefined;
|
|
342
|
+
} | null;
|
|
343
|
+
fieldId: string | null;
|
|
344
344
|
estimatedCost: number | null;
|
|
345
345
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
346
346
|
uploadedBy: string;
|
|
@@ -678,13 +678,6 @@ export declare const observationResourceSchema: z.ZodObject<{
|
|
|
678
678
|
}, "strip", z.ZodTypeAny, {
|
|
679
679
|
createdAt: string;
|
|
680
680
|
updatedAt: string;
|
|
681
|
-
location: {
|
|
682
|
-
lat: number;
|
|
683
|
-
lng: number;
|
|
684
|
-
accuracy?: number | undefined;
|
|
685
|
-
} | null;
|
|
686
|
-
farmId: string;
|
|
687
|
-
fieldId: string | null;
|
|
688
681
|
recommendations: {
|
|
689
682
|
priority: number;
|
|
690
683
|
action: string;
|
|
@@ -707,6 +700,13 @@ export declare const observationResourceSchema: z.ZodObject<{
|
|
|
707
700
|
estimatedTime?: string | undefined;
|
|
708
701
|
riskLevel?: string | undefined;
|
|
709
702
|
}[] | null;
|
|
703
|
+
farmId: string;
|
|
704
|
+
location: {
|
|
705
|
+
lat: number;
|
|
706
|
+
lng: number;
|
|
707
|
+
accuracy?: number | undefined;
|
|
708
|
+
} | null;
|
|
709
|
+
fieldId: string | null;
|
|
710
710
|
estimatedCost: number | null;
|
|
711
711
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
712
712
|
uploadedBy: string;
|
|
@@ -761,13 +761,6 @@ export declare const observationResourceSchema: z.ZodObject<{
|
|
|
761
761
|
}, {
|
|
762
762
|
createdAt: string;
|
|
763
763
|
updatedAt: string;
|
|
764
|
-
location: {
|
|
765
|
-
lat: number;
|
|
766
|
-
lng: number;
|
|
767
|
-
accuracy?: number | undefined;
|
|
768
|
-
} | null;
|
|
769
|
-
farmId: string;
|
|
770
|
-
fieldId: string | null;
|
|
771
764
|
recommendations: {
|
|
772
765
|
priority: number;
|
|
773
766
|
action: string;
|
|
@@ -790,6 +783,13 @@ export declare const observationResourceSchema: z.ZodObject<{
|
|
|
790
783
|
estimatedTime?: string | undefined;
|
|
791
784
|
riskLevel?: string | undefined;
|
|
792
785
|
}[] | null;
|
|
786
|
+
farmId: string;
|
|
787
|
+
location: {
|
|
788
|
+
lat: number;
|
|
789
|
+
lng: number;
|
|
790
|
+
accuracy?: number | undefined;
|
|
791
|
+
} | null;
|
|
792
|
+
fieldId: string | null;
|
|
793
793
|
estimatedCost: number | null;
|
|
794
794
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
795
795
|
uploadedBy: string;
|
|
@@ -851,13 +851,6 @@ export declare const observationResourceSchema: z.ZodObject<{
|
|
|
851
851
|
attributes: {
|
|
852
852
|
createdAt: string;
|
|
853
853
|
updatedAt: string;
|
|
854
|
-
location: {
|
|
855
|
-
lat: number;
|
|
856
|
-
lng: number;
|
|
857
|
-
accuracy?: number | undefined;
|
|
858
|
-
} | null;
|
|
859
|
-
farmId: string;
|
|
860
|
-
fieldId: string | null;
|
|
861
854
|
recommendations: {
|
|
862
855
|
priority: number;
|
|
863
856
|
action: string;
|
|
@@ -880,6 +873,13 @@ export declare const observationResourceSchema: z.ZodObject<{
|
|
|
880
873
|
estimatedTime?: string | undefined;
|
|
881
874
|
riskLevel?: string | undefined;
|
|
882
875
|
}[] | null;
|
|
876
|
+
farmId: string;
|
|
877
|
+
location: {
|
|
878
|
+
lat: number;
|
|
879
|
+
lng: number;
|
|
880
|
+
accuracy?: number | undefined;
|
|
881
|
+
} | null;
|
|
882
|
+
fieldId: string | null;
|
|
883
883
|
estimatedCost: number | null;
|
|
884
884
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
885
885
|
uploadedBy: string;
|
|
@@ -941,13 +941,6 @@ export declare const observationResourceSchema: z.ZodObject<{
|
|
|
941
941
|
attributes: {
|
|
942
942
|
createdAt: string;
|
|
943
943
|
updatedAt: string;
|
|
944
|
-
location: {
|
|
945
|
-
lat: number;
|
|
946
|
-
lng: number;
|
|
947
|
-
accuracy?: number | undefined;
|
|
948
|
-
} | null;
|
|
949
|
-
farmId: string;
|
|
950
|
-
fieldId: string | null;
|
|
951
944
|
recommendations: {
|
|
952
945
|
priority: number;
|
|
953
946
|
action: string;
|
|
@@ -970,6 +963,13 @@ export declare const observationResourceSchema: z.ZodObject<{
|
|
|
970
963
|
estimatedTime?: string | undefined;
|
|
971
964
|
riskLevel?: string | undefined;
|
|
972
965
|
}[] | null;
|
|
966
|
+
farmId: string;
|
|
967
|
+
location: {
|
|
968
|
+
lat: number;
|
|
969
|
+
lng: number;
|
|
970
|
+
accuracy?: number | undefined;
|
|
971
|
+
} | null;
|
|
972
|
+
fieldId: string | null;
|
|
973
973
|
estimatedCost: number | null;
|
|
974
974
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
975
975
|
uploadedBy: string;
|
|
@@ -1430,13 +1430,6 @@ export declare const observationResponseSchema: z.ZodObject<{
|
|
|
1430
1430
|
}, "strip", z.ZodTypeAny, {
|
|
1431
1431
|
createdAt: string;
|
|
1432
1432
|
updatedAt: string;
|
|
1433
|
-
location: {
|
|
1434
|
-
lat: number;
|
|
1435
|
-
lng: number;
|
|
1436
|
-
accuracy?: number | undefined;
|
|
1437
|
-
} | null;
|
|
1438
|
-
farmId: string;
|
|
1439
|
-
fieldId: string | null;
|
|
1440
1433
|
recommendations: {
|
|
1441
1434
|
priority: number;
|
|
1442
1435
|
action: string;
|
|
@@ -1459,6 +1452,13 @@ export declare const observationResponseSchema: z.ZodObject<{
|
|
|
1459
1452
|
estimatedTime?: string | undefined;
|
|
1460
1453
|
riskLevel?: string | undefined;
|
|
1461
1454
|
}[] | null;
|
|
1455
|
+
farmId: string;
|
|
1456
|
+
location: {
|
|
1457
|
+
lat: number;
|
|
1458
|
+
lng: number;
|
|
1459
|
+
accuracy?: number | undefined;
|
|
1460
|
+
} | null;
|
|
1461
|
+
fieldId: string | null;
|
|
1462
1462
|
estimatedCost: number | null;
|
|
1463
1463
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
1464
1464
|
uploadedBy: string;
|
|
@@ -1513,13 +1513,6 @@ export declare const observationResponseSchema: z.ZodObject<{
|
|
|
1513
1513
|
}, {
|
|
1514
1514
|
createdAt: string;
|
|
1515
1515
|
updatedAt: string;
|
|
1516
|
-
location: {
|
|
1517
|
-
lat: number;
|
|
1518
|
-
lng: number;
|
|
1519
|
-
accuracy?: number | undefined;
|
|
1520
|
-
} | null;
|
|
1521
|
-
farmId: string;
|
|
1522
|
-
fieldId: string | null;
|
|
1523
1516
|
recommendations: {
|
|
1524
1517
|
priority: number;
|
|
1525
1518
|
action: string;
|
|
@@ -1542,6 +1535,13 @@ export declare const observationResponseSchema: z.ZodObject<{
|
|
|
1542
1535
|
estimatedTime?: string | undefined;
|
|
1543
1536
|
riskLevel?: string | undefined;
|
|
1544
1537
|
}[] | null;
|
|
1538
|
+
farmId: string;
|
|
1539
|
+
location: {
|
|
1540
|
+
lat: number;
|
|
1541
|
+
lng: number;
|
|
1542
|
+
accuracy?: number | undefined;
|
|
1543
|
+
} | null;
|
|
1544
|
+
fieldId: string | null;
|
|
1545
1545
|
estimatedCost: number | null;
|
|
1546
1546
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
1547
1547
|
uploadedBy: string;
|
|
@@ -1603,13 +1603,6 @@ export declare const observationResponseSchema: z.ZodObject<{
|
|
|
1603
1603
|
attributes: {
|
|
1604
1604
|
createdAt: string;
|
|
1605
1605
|
updatedAt: string;
|
|
1606
|
-
location: {
|
|
1607
|
-
lat: number;
|
|
1608
|
-
lng: number;
|
|
1609
|
-
accuracy?: number | undefined;
|
|
1610
|
-
} | null;
|
|
1611
|
-
farmId: string;
|
|
1612
|
-
fieldId: string | null;
|
|
1613
1606
|
recommendations: {
|
|
1614
1607
|
priority: number;
|
|
1615
1608
|
action: string;
|
|
@@ -1632,6 +1625,13 @@ export declare const observationResponseSchema: z.ZodObject<{
|
|
|
1632
1625
|
estimatedTime?: string | undefined;
|
|
1633
1626
|
riskLevel?: string | undefined;
|
|
1634
1627
|
}[] | null;
|
|
1628
|
+
farmId: string;
|
|
1629
|
+
location: {
|
|
1630
|
+
lat: number;
|
|
1631
|
+
lng: number;
|
|
1632
|
+
accuracy?: number | undefined;
|
|
1633
|
+
} | null;
|
|
1634
|
+
fieldId: string | null;
|
|
1635
1635
|
estimatedCost: number | null;
|
|
1636
1636
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
1637
1637
|
uploadedBy: string;
|
|
@@ -1693,13 +1693,6 @@ export declare const observationResponseSchema: z.ZodObject<{
|
|
|
1693
1693
|
attributes: {
|
|
1694
1694
|
createdAt: string;
|
|
1695
1695
|
updatedAt: string;
|
|
1696
|
-
location: {
|
|
1697
|
-
lat: number;
|
|
1698
|
-
lng: number;
|
|
1699
|
-
accuracy?: number | undefined;
|
|
1700
|
-
} | null;
|
|
1701
|
-
farmId: string;
|
|
1702
|
-
fieldId: string | null;
|
|
1703
1696
|
recommendations: {
|
|
1704
1697
|
priority: number;
|
|
1705
1698
|
action: string;
|
|
@@ -1722,6 +1715,13 @@ export declare const observationResponseSchema: z.ZodObject<{
|
|
|
1722
1715
|
estimatedTime?: string | undefined;
|
|
1723
1716
|
riskLevel?: string | undefined;
|
|
1724
1717
|
}[] | null;
|
|
1718
|
+
farmId: string;
|
|
1719
|
+
location: {
|
|
1720
|
+
lat: number;
|
|
1721
|
+
lng: number;
|
|
1722
|
+
accuracy?: number | undefined;
|
|
1723
|
+
} | null;
|
|
1724
|
+
fieldId: string | null;
|
|
1725
1725
|
estimatedCost: number | null;
|
|
1726
1726
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
1727
1727
|
uploadedBy: string;
|
|
@@ -1809,13 +1809,6 @@ export declare const observationResponseSchema: z.ZodObject<{
|
|
|
1809
1809
|
attributes: {
|
|
1810
1810
|
createdAt: string;
|
|
1811
1811
|
updatedAt: string;
|
|
1812
|
-
location: {
|
|
1813
|
-
lat: number;
|
|
1814
|
-
lng: number;
|
|
1815
|
-
accuracy?: number | undefined;
|
|
1816
|
-
} | null;
|
|
1817
|
-
farmId: string;
|
|
1818
|
-
fieldId: string | null;
|
|
1819
1812
|
recommendations: {
|
|
1820
1813
|
priority: number;
|
|
1821
1814
|
action: string;
|
|
@@ -1838,6 +1831,13 @@ export declare const observationResponseSchema: z.ZodObject<{
|
|
|
1838
1831
|
estimatedTime?: string | undefined;
|
|
1839
1832
|
riskLevel?: string | undefined;
|
|
1840
1833
|
}[] | null;
|
|
1834
|
+
farmId: string;
|
|
1835
|
+
location: {
|
|
1836
|
+
lat: number;
|
|
1837
|
+
lng: number;
|
|
1838
|
+
accuracy?: number | undefined;
|
|
1839
|
+
} | null;
|
|
1840
|
+
fieldId: string | null;
|
|
1841
1841
|
estimatedCost: number | null;
|
|
1842
1842
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
1843
1843
|
uploadedBy: string;
|
|
@@ -1911,13 +1911,6 @@ export declare const observationResponseSchema: z.ZodObject<{
|
|
|
1911
1911
|
attributes: {
|
|
1912
1912
|
createdAt: string;
|
|
1913
1913
|
updatedAt: string;
|
|
1914
|
-
location: {
|
|
1915
|
-
lat: number;
|
|
1916
|
-
lng: number;
|
|
1917
|
-
accuracy?: number | undefined;
|
|
1918
|
-
} | null;
|
|
1919
|
-
farmId: string;
|
|
1920
|
-
fieldId: string | null;
|
|
1921
1914
|
recommendations: {
|
|
1922
1915
|
priority: number;
|
|
1923
1916
|
action: string;
|
|
@@ -1940,6 +1933,13 @@ export declare const observationResponseSchema: z.ZodObject<{
|
|
|
1940
1933
|
estimatedTime?: string | undefined;
|
|
1941
1934
|
riskLevel?: string | undefined;
|
|
1942
1935
|
}[] | null;
|
|
1936
|
+
farmId: string;
|
|
1937
|
+
location: {
|
|
1938
|
+
lat: number;
|
|
1939
|
+
lng: number;
|
|
1940
|
+
accuracy?: number | undefined;
|
|
1941
|
+
} | null;
|
|
1942
|
+
fieldId: string | null;
|
|
1943
1943
|
estimatedCost: number | null;
|
|
1944
1944
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
1945
1945
|
uploadedBy: string;
|
|
@@ -2238,13 +2238,6 @@ export declare const observationListResponseSchema: z.ZodObject<{
|
|
|
2238
2238
|
}, "strip", z.ZodTypeAny, {
|
|
2239
2239
|
createdAt: string;
|
|
2240
2240
|
updatedAt: string;
|
|
2241
|
-
location: {
|
|
2242
|
-
lat: number;
|
|
2243
|
-
lng: number;
|
|
2244
|
-
accuracy?: number | undefined;
|
|
2245
|
-
} | null;
|
|
2246
|
-
farmId: string;
|
|
2247
|
-
fieldId: string | null;
|
|
2248
2241
|
recommendations: {
|
|
2249
2242
|
priority: number;
|
|
2250
2243
|
action: string;
|
|
@@ -2267,6 +2260,13 @@ export declare const observationListResponseSchema: z.ZodObject<{
|
|
|
2267
2260
|
estimatedTime?: string | undefined;
|
|
2268
2261
|
riskLevel?: string | undefined;
|
|
2269
2262
|
}[] | null;
|
|
2263
|
+
farmId: string;
|
|
2264
|
+
location: {
|
|
2265
|
+
lat: number;
|
|
2266
|
+
lng: number;
|
|
2267
|
+
accuracy?: number | undefined;
|
|
2268
|
+
} | null;
|
|
2269
|
+
fieldId: string | null;
|
|
2270
2270
|
estimatedCost: number | null;
|
|
2271
2271
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
2272
2272
|
uploadedBy: string;
|
|
@@ -2321,13 +2321,6 @@ export declare const observationListResponseSchema: z.ZodObject<{
|
|
|
2321
2321
|
}, {
|
|
2322
2322
|
createdAt: string;
|
|
2323
2323
|
updatedAt: string;
|
|
2324
|
-
location: {
|
|
2325
|
-
lat: number;
|
|
2326
|
-
lng: number;
|
|
2327
|
-
accuracy?: number | undefined;
|
|
2328
|
-
} | null;
|
|
2329
|
-
farmId: string;
|
|
2330
|
-
fieldId: string | null;
|
|
2331
2324
|
recommendations: {
|
|
2332
2325
|
priority: number;
|
|
2333
2326
|
action: string;
|
|
@@ -2350,6 +2343,13 @@ export declare const observationListResponseSchema: z.ZodObject<{
|
|
|
2350
2343
|
estimatedTime?: string | undefined;
|
|
2351
2344
|
riskLevel?: string | undefined;
|
|
2352
2345
|
}[] | null;
|
|
2346
|
+
farmId: string;
|
|
2347
|
+
location: {
|
|
2348
|
+
lat: number;
|
|
2349
|
+
lng: number;
|
|
2350
|
+
accuracy?: number | undefined;
|
|
2351
|
+
} | null;
|
|
2352
|
+
fieldId: string | null;
|
|
2353
2353
|
estimatedCost: number | null;
|
|
2354
2354
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
2355
2355
|
uploadedBy: string;
|
|
@@ -2411,13 +2411,6 @@ export declare const observationListResponseSchema: z.ZodObject<{
|
|
|
2411
2411
|
attributes: {
|
|
2412
2412
|
createdAt: string;
|
|
2413
2413
|
updatedAt: string;
|
|
2414
|
-
location: {
|
|
2415
|
-
lat: number;
|
|
2416
|
-
lng: number;
|
|
2417
|
-
accuracy?: number | undefined;
|
|
2418
|
-
} | null;
|
|
2419
|
-
farmId: string;
|
|
2420
|
-
fieldId: string | null;
|
|
2421
2414
|
recommendations: {
|
|
2422
2415
|
priority: number;
|
|
2423
2416
|
action: string;
|
|
@@ -2440,6 +2433,13 @@ export declare const observationListResponseSchema: z.ZodObject<{
|
|
|
2440
2433
|
estimatedTime?: string | undefined;
|
|
2441
2434
|
riskLevel?: string | undefined;
|
|
2442
2435
|
}[] | null;
|
|
2436
|
+
farmId: string;
|
|
2437
|
+
location: {
|
|
2438
|
+
lat: number;
|
|
2439
|
+
lng: number;
|
|
2440
|
+
accuracy?: number | undefined;
|
|
2441
|
+
} | null;
|
|
2442
|
+
fieldId: string | null;
|
|
2443
2443
|
estimatedCost: number | null;
|
|
2444
2444
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
2445
2445
|
uploadedBy: string;
|
|
@@ -2501,13 +2501,6 @@ export declare const observationListResponseSchema: z.ZodObject<{
|
|
|
2501
2501
|
attributes: {
|
|
2502
2502
|
createdAt: string;
|
|
2503
2503
|
updatedAt: string;
|
|
2504
|
-
location: {
|
|
2505
|
-
lat: number;
|
|
2506
|
-
lng: number;
|
|
2507
|
-
accuracy?: number | undefined;
|
|
2508
|
-
} | null;
|
|
2509
|
-
farmId: string;
|
|
2510
|
-
fieldId: string | null;
|
|
2511
2504
|
recommendations: {
|
|
2512
2505
|
priority: number;
|
|
2513
2506
|
action: string;
|
|
@@ -2530,6 +2523,13 @@ export declare const observationListResponseSchema: z.ZodObject<{
|
|
|
2530
2523
|
estimatedTime?: string | undefined;
|
|
2531
2524
|
riskLevel?: string | undefined;
|
|
2532
2525
|
}[] | null;
|
|
2526
|
+
farmId: string;
|
|
2527
|
+
location: {
|
|
2528
|
+
lat: number;
|
|
2529
|
+
lng: number;
|
|
2530
|
+
accuracy?: number | undefined;
|
|
2531
|
+
} | null;
|
|
2532
|
+
fieldId: string | null;
|
|
2533
2533
|
estimatedCost: number | null;
|
|
2534
2534
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
2535
2535
|
uploadedBy: string;
|
|
@@ -2617,13 +2617,6 @@ export declare const observationListResponseSchema: z.ZodObject<{
|
|
|
2617
2617
|
attributes: {
|
|
2618
2618
|
createdAt: string;
|
|
2619
2619
|
updatedAt: string;
|
|
2620
|
-
location: {
|
|
2621
|
-
lat: number;
|
|
2622
|
-
lng: number;
|
|
2623
|
-
accuracy?: number | undefined;
|
|
2624
|
-
} | null;
|
|
2625
|
-
farmId: string;
|
|
2626
|
-
fieldId: string | null;
|
|
2627
2620
|
recommendations: {
|
|
2628
2621
|
priority: number;
|
|
2629
2622
|
action: string;
|
|
@@ -2646,6 +2639,13 @@ export declare const observationListResponseSchema: z.ZodObject<{
|
|
|
2646
2639
|
estimatedTime?: string | undefined;
|
|
2647
2640
|
riskLevel?: string | undefined;
|
|
2648
2641
|
}[] | null;
|
|
2642
|
+
farmId: string;
|
|
2643
|
+
location: {
|
|
2644
|
+
lat: number;
|
|
2645
|
+
lng: number;
|
|
2646
|
+
accuracy?: number | undefined;
|
|
2647
|
+
} | null;
|
|
2648
|
+
fieldId: string | null;
|
|
2649
2649
|
estimatedCost: number | null;
|
|
2650
2650
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
2651
2651
|
uploadedBy: string;
|
|
@@ -2719,13 +2719,6 @@ export declare const observationListResponseSchema: z.ZodObject<{
|
|
|
2719
2719
|
attributes: {
|
|
2720
2720
|
createdAt: string;
|
|
2721
2721
|
updatedAt: string;
|
|
2722
|
-
location: {
|
|
2723
|
-
lat: number;
|
|
2724
|
-
lng: number;
|
|
2725
|
-
accuracy?: number | undefined;
|
|
2726
|
-
} | null;
|
|
2727
|
-
farmId: string;
|
|
2728
|
-
fieldId: string | null;
|
|
2729
2722
|
recommendations: {
|
|
2730
2723
|
priority: number;
|
|
2731
2724
|
action: string;
|
|
@@ -2748,6 +2741,13 @@ export declare const observationListResponseSchema: z.ZodObject<{
|
|
|
2748
2741
|
estimatedTime?: string | undefined;
|
|
2749
2742
|
riskLevel?: string | undefined;
|
|
2750
2743
|
}[] | null;
|
|
2744
|
+
farmId: string;
|
|
2745
|
+
location: {
|
|
2746
|
+
lat: number;
|
|
2747
|
+
lng: number;
|
|
2748
|
+
accuracy?: number | undefined;
|
|
2749
|
+
} | null;
|
|
2750
|
+
fieldId: string | null;
|
|
2751
2751
|
estimatedCost: number | null;
|
|
2752
2752
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
2753
2753
|
uploadedBy: string;
|