@deepintel-ltd/farmpro-contracts 1.11.3 → 1.11.4
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 +2852 -36
- package/dist/routes/admin.routes.d.ts.map +1 -1
- package/dist/routes/admin.routes.js +78 -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 +431 -84
- package/dist/schemas/admin.schemas.d.ts.map +1 -1
- package/dist/schemas/admin.schemas.js +36 -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
|
@@ -410,13 +410,6 @@ export declare const fieldObservationsRouter: {
|
|
|
410
410
|
}, "strip", z.ZodTypeAny, {
|
|
411
411
|
createdAt: string;
|
|
412
412
|
updatedAt: string;
|
|
413
|
-
location: {
|
|
414
|
-
lat: number;
|
|
415
|
-
lng: number;
|
|
416
|
-
accuracy?: number | undefined;
|
|
417
|
-
} | null;
|
|
418
|
-
farmId: string;
|
|
419
|
-
fieldId: string | null;
|
|
420
413
|
recommendations: {
|
|
421
414
|
priority: number;
|
|
422
415
|
action: string;
|
|
@@ -439,6 +432,13 @@ export declare const fieldObservationsRouter: {
|
|
|
439
432
|
estimatedTime?: string | undefined;
|
|
440
433
|
riskLevel?: string | undefined;
|
|
441
434
|
}[] | null;
|
|
435
|
+
farmId: string;
|
|
436
|
+
location: {
|
|
437
|
+
lat: number;
|
|
438
|
+
lng: number;
|
|
439
|
+
accuracy?: number | undefined;
|
|
440
|
+
} | null;
|
|
441
|
+
fieldId: string | null;
|
|
442
442
|
estimatedCost: number | null;
|
|
443
443
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
444
444
|
uploadedBy: string;
|
|
@@ -493,13 +493,6 @@ export declare const fieldObservationsRouter: {
|
|
|
493
493
|
}, {
|
|
494
494
|
createdAt: string;
|
|
495
495
|
updatedAt: string;
|
|
496
|
-
location: {
|
|
497
|
-
lat: number;
|
|
498
|
-
lng: number;
|
|
499
|
-
accuracy?: number | undefined;
|
|
500
|
-
} | null;
|
|
501
|
-
farmId: string;
|
|
502
|
-
fieldId: string | null;
|
|
503
496
|
recommendations: {
|
|
504
497
|
priority: number;
|
|
505
498
|
action: string;
|
|
@@ -522,6 +515,13 @@ export declare const fieldObservationsRouter: {
|
|
|
522
515
|
estimatedTime?: string | undefined;
|
|
523
516
|
riskLevel?: string | undefined;
|
|
524
517
|
}[] | null;
|
|
518
|
+
farmId: string;
|
|
519
|
+
location: {
|
|
520
|
+
lat: number;
|
|
521
|
+
lng: number;
|
|
522
|
+
accuracy?: number | undefined;
|
|
523
|
+
} | null;
|
|
524
|
+
fieldId: string | null;
|
|
525
525
|
estimatedCost: number | null;
|
|
526
526
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
527
527
|
uploadedBy: string;
|
|
@@ -583,13 +583,6 @@ export declare const fieldObservationsRouter: {
|
|
|
583
583
|
attributes: {
|
|
584
584
|
createdAt: string;
|
|
585
585
|
updatedAt: string;
|
|
586
|
-
location: {
|
|
587
|
-
lat: number;
|
|
588
|
-
lng: number;
|
|
589
|
-
accuracy?: number | undefined;
|
|
590
|
-
} | null;
|
|
591
|
-
farmId: string;
|
|
592
|
-
fieldId: string | null;
|
|
593
586
|
recommendations: {
|
|
594
587
|
priority: number;
|
|
595
588
|
action: string;
|
|
@@ -612,6 +605,13 @@ export declare const fieldObservationsRouter: {
|
|
|
612
605
|
estimatedTime?: string | undefined;
|
|
613
606
|
riskLevel?: string | undefined;
|
|
614
607
|
}[] | null;
|
|
608
|
+
farmId: string;
|
|
609
|
+
location: {
|
|
610
|
+
lat: number;
|
|
611
|
+
lng: number;
|
|
612
|
+
accuracy?: number | undefined;
|
|
613
|
+
} | null;
|
|
614
|
+
fieldId: string | null;
|
|
615
615
|
estimatedCost: number | null;
|
|
616
616
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
617
617
|
uploadedBy: string;
|
|
@@ -673,13 +673,6 @@ export declare const fieldObservationsRouter: {
|
|
|
673
673
|
attributes: {
|
|
674
674
|
createdAt: string;
|
|
675
675
|
updatedAt: string;
|
|
676
|
-
location: {
|
|
677
|
-
lat: number;
|
|
678
|
-
lng: number;
|
|
679
|
-
accuracy?: number | undefined;
|
|
680
|
-
} | null;
|
|
681
|
-
farmId: string;
|
|
682
|
-
fieldId: string | null;
|
|
683
676
|
recommendations: {
|
|
684
677
|
priority: number;
|
|
685
678
|
action: string;
|
|
@@ -702,6 +695,13 @@ export declare const fieldObservationsRouter: {
|
|
|
702
695
|
estimatedTime?: string | undefined;
|
|
703
696
|
riskLevel?: string | undefined;
|
|
704
697
|
}[] | null;
|
|
698
|
+
farmId: string;
|
|
699
|
+
location: {
|
|
700
|
+
lat: number;
|
|
701
|
+
lng: number;
|
|
702
|
+
accuracy?: number | undefined;
|
|
703
|
+
} | null;
|
|
704
|
+
fieldId: string | null;
|
|
705
705
|
estimatedCost: number | null;
|
|
706
706
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
707
707
|
uploadedBy: string;
|
|
@@ -789,13 +789,6 @@ export declare const fieldObservationsRouter: {
|
|
|
789
789
|
attributes: {
|
|
790
790
|
createdAt: string;
|
|
791
791
|
updatedAt: string;
|
|
792
|
-
location: {
|
|
793
|
-
lat: number;
|
|
794
|
-
lng: number;
|
|
795
|
-
accuracy?: number | undefined;
|
|
796
|
-
} | null;
|
|
797
|
-
farmId: string;
|
|
798
|
-
fieldId: string | null;
|
|
799
792
|
recommendations: {
|
|
800
793
|
priority: number;
|
|
801
794
|
action: string;
|
|
@@ -818,6 +811,13 @@ export declare const fieldObservationsRouter: {
|
|
|
818
811
|
estimatedTime?: string | undefined;
|
|
819
812
|
riskLevel?: string | undefined;
|
|
820
813
|
}[] | null;
|
|
814
|
+
farmId: string;
|
|
815
|
+
location: {
|
|
816
|
+
lat: number;
|
|
817
|
+
lng: number;
|
|
818
|
+
accuracy?: number | undefined;
|
|
819
|
+
} | null;
|
|
820
|
+
fieldId: string | null;
|
|
821
821
|
estimatedCost: number | null;
|
|
822
822
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
823
823
|
uploadedBy: string;
|
|
@@ -891,13 +891,6 @@ export declare const fieldObservationsRouter: {
|
|
|
891
891
|
attributes: {
|
|
892
892
|
createdAt: string;
|
|
893
893
|
updatedAt: string;
|
|
894
|
-
location: {
|
|
895
|
-
lat: number;
|
|
896
|
-
lng: number;
|
|
897
|
-
accuracy?: number | undefined;
|
|
898
|
-
} | null;
|
|
899
|
-
farmId: string;
|
|
900
|
-
fieldId: string | null;
|
|
901
894
|
recommendations: {
|
|
902
895
|
priority: number;
|
|
903
896
|
action: string;
|
|
@@ -920,6 +913,13 @@ export declare const fieldObservationsRouter: {
|
|
|
920
913
|
estimatedTime?: string | undefined;
|
|
921
914
|
riskLevel?: string | undefined;
|
|
922
915
|
}[] | null;
|
|
916
|
+
farmId: string;
|
|
917
|
+
location: {
|
|
918
|
+
lat: number;
|
|
919
|
+
lng: number;
|
|
920
|
+
accuracy?: number | undefined;
|
|
921
|
+
} | null;
|
|
922
|
+
fieldId: string | null;
|
|
923
923
|
estimatedCost: number | null;
|
|
924
924
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
925
925
|
uploadedBy: string;
|
|
@@ -1267,13 +1267,6 @@ export declare const fieldObservationsRouter: {
|
|
|
1267
1267
|
}, "strip", z.ZodTypeAny, {
|
|
1268
1268
|
createdAt: string;
|
|
1269
1269
|
updatedAt: string;
|
|
1270
|
-
location: {
|
|
1271
|
-
lat: number;
|
|
1272
|
-
lng: number;
|
|
1273
|
-
accuracy?: number | undefined;
|
|
1274
|
-
} | null;
|
|
1275
|
-
farmId: string;
|
|
1276
|
-
fieldId: string | null;
|
|
1277
1270
|
recommendations: {
|
|
1278
1271
|
priority: number;
|
|
1279
1272
|
action: string;
|
|
@@ -1296,6 +1289,13 @@ export declare const fieldObservationsRouter: {
|
|
|
1296
1289
|
estimatedTime?: string | undefined;
|
|
1297
1290
|
riskLevel?: string | undefined;
|
|
1298
1291
|
}[] | null;
|
|
1292
|
+
farmId: string;
|
|
1293
|
+
location: {
|
|
1294
|
+
lat: number;
|
|
1295
|
+
lng: number;
|
|
1296
|
+
accuracy?: number | undefined;
|
|
1297
|
+
} | null;
|
|
1298
|
+
fieldId: string | null;
|
|
1299
1299
|
estimatedCost: number | null;
|
|
1300
1300
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
1301
1301
|
uploadedBy: string;
|
|
@@ -1350,13 +1350,6 @@ export declare const fieldObservationsRouter: {
|
|
|
1350
1350
|
}, {
|
|
1351
1351
|
createdAt: string;
|
|
1352
1352
|
updatedAt: string;
|
|
1353
|
-
location: {
|
|
1354
|
-
lat: number;
|
|
1355
|
-
lng: number;
|
|
1356
|
-
accuracy?: number | undefined;
|
|
1357
|
-
} | null;
|
|
1358
|
-
farmId: string;
|
|
1359
|
-
fieldId: string | null;
|
|
1360
1353
|
recommendations: {
|
|
1361
1354
|
priority: number;
|
|
1362
1355
|
action: string;
|
|
@@ -1379,6 +1372,13 @@ export declare const fieldObservationsRouter: {
|
|
|
1379
1372
|
estimatedTime?: string | undefined;
|
|
1380
1373
|
riskLevel?: string | undefined;
|
|
1381
1374
|
}[] | null;
|
|
1375
|
+
farmId: string;
|
|
1376
|
+
location: {
|
|
1377
|
+
lat: number;
|
|
1378
|
+
lng: number;
|
|
1379
|
+
accuracy?: number | undefined;
|
|
1380
|
+
} | null;
|
|
1381
|
+
fieldId: string | null;
|
|
1382
1382
|
estimatedCost: number | null;
|
|
1383
1383
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
1384
1384
|
uploadedBy: string;
|
|
@@ -1440,13 +1440,6 @@ export declare const fieldObservationsRouter: {
|
|
|
1440
1440
|
attributes: {
|
|
1441
1441
|
createdAt: string;
|
|
1442
1442
|
updatedAt: string;
|
|
1443
|
-
location: {
|
|
1444
|
-
lat: number;
|
|
1445
|
-
lng: number;
|
|
1446
|
-
accuracy?: number | undefined;
|
|
1447
|
-
} | null;
|
|
1448
|
-
farmId: string;
|
|
1449
|
-
fieldId: string | null;
|
|
1450
1443
|
recommendations: {
|
|
1451
1444
|
priority: number;
|
|
1452
1445
|
action: string;
|
|
@@ -1469,6 +1462,13 @@ export declare const fieldObservationsRouter: {
|
|
|
1469
1462
|
estimatedTime?: string | undefined;
|
|
1470
1463
|
riskLevel?: string | undefined;
|
|
1471
1464
|
}[] | null;
|
|
1465
|
+
farmId: string;
|
|
1466
|
+
location: {
|
|
1467
|
+
lat: number;
|
|
1468
|
+
lng: number;
|
|
1469
|
+
accuracy?: number | undefined;
|
|
1470
|
+
} | null;
|
|
1471
|
+
fieldId: string | null;
|
|
1472
1472
|
estimatedCost: number | null;
|
|
1473
1473
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
1474
1474
|
uploadedBy: string;
|
|
@@ -1530,13 +1530,6 @@ export declare const fieldObservationsRouter: {
|
|
|
1530
1530
|
attributes: {
|
|
1531
1531
|
createdAt: string;
|
|
1532
1532
|
updatedAt: string;
|
|
1533
|
-
location: {
|
|
1534
|
-
lat: number;
|
|
1535
|
-
lng: number;
|
|
1536
|
-
accuracy?: number | undefined;
|
|
1537
|
-
} | null;
|
|
1538
|
-
farmId: string;
|
|
1539
|
-
fieldId: string | null;
|
|
1540
1533
|
recommendations: {
|
|
1541
1534
|
priority: number;
|
|
1542
1535
|
action: string;
|
|
@@ -1559,6 +1552,13 @@ export declare const fieldObservationsRouter: {
|
|
|
1559
1552
|
estimatedTime?: string | undefined;
|
|
1560
1553
|
riskLevel?: string | undefined;
|
|
1561
1554
|
}[] | null;
|
|
1555
|
+
farmId: string;
|
|
1556
|
+
location: {
|
|
1557
|
+
lat: number;
|
|
1558
|
+
lng: number;
|
|
1559
|
+
accuracy?: number | undefined;
|
|
1560
|
+
} | null;
|
|
1561
|
+
fieldId: string | null;
|
|
1562
1562
|
estimatedCost: number | null;
|
|
1563
1563
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
1564
1564
|
uploadedBy: string;
|
|
@@ -1646,13 +1646,6 @@ export declare const fieldObservationsRouter: {
|
|
|
1646
1646
|
attributes: {
|
|
1647
1647
|
createdAt: string;
|
|
1648
1648
|
updatedAt: string;
|
|
1649
|
-
location: {
|
|
1650
|
-
lat: number;
|
|
1651
|
-
lng: number;
|
|
1652
|
-
accuracy?: number | undefined;
|
|
1653
|
-
} | null;
|
|
1654
|
-
farmId: string;
|
|
1655
|
-
fieldId: string | null;
|
|
1656
1649
|
recommendations: {
|
|
1657
1650
|
priority: number;
|
|
1658
1651
|
action: string;
|
|
@@ -1675,6 +1668,13 @@ export declare const fieldObservationsRouter: {
|
|
|
1675
1668
|
estimatedTime?: string | undefined;
|
|
1676
1669
|
riskLevel?: string | undefined;
|
|
1677
1670
|
}[] | null;
|
|
1671
|
+
farmId: string;
|
|
1672
|
+
location: {
|
|
1673
|
+
lat: number;
|
|
1674
|
+
lng: number;
|
|
1675
|
+
accuracy?: number | undefined;
|
|
1676
|
+
} | null;
|
|
1677
|
+
fieldId: string | null;
|
|
1678
1678
|
estimatedCost: number | null;
|
|
1679
1679
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
1680
1680
|
uploadedBy: string;
|
|
@@ -1748,13 +1748,6 @@ export declare const fieldObservationsRouter: {
|
|
|
1748
1748
|
attributes: {
|
|
1749
1749
|
createdAt: string;
|
|
1750
1750
|
updatedAt: string;
|
|
1751
|
-
location: {
|
|
1752
|
-
lat: number;
|
|
1753
|
-
lng: number;
|
|
1754
|
-
accuracy?: number | undefined;
|
|
1755
|
-
} | null;
|
|
1756
|
-
farmId: string;
|
|
1757
|
-
fieldId: string | null;
|
|
1758
1751
|
recommendations: {
|
|
1759
1752
|
priority: number;
|
|
1760
1753
|
action: string;
|
|
@@ -1777,6 +1770,13 @@ export declare const fieldObservationsRouter: {
|
|
|
1777
1770
|
estimatedTime?: string | undefined;
|
|
1778
1771
|
riskLevel?: string | undefined;
|
|
1779
1772
|
}[] | null;
|
|
1773
|
+
farmId: string;
|
|
1774
|
+
location: {
|
|
1775
|
+
lat: number;
|
|
1776
|
+
lng: number;
|
|
1777
|
+
accuracy?: number | undefined;
|
|
1778
|
+
} | null;
|
|
1779
|
+
fieldId: string | null;
|
|
1780
1780
|
estimatedCost: number | null;
|
|
1781
1781
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
1782
1782
|
uploadedBy: string;
|
|
@@ -2124,13 +2124,6 @@ export declare const fieldObservationsRouter: {
|
|
|
2124
2124
|
}, "strip", z.ZodTypeAny, {
|
|
2125
2125
|
createdAt: string;
|
|
2126
2126
|
updatedAt: string;
|
|
2127
|
-
location: {
|
|
2128
|
-
lat: number;
|
|
2129
|
-
lng: number;
|
|
2130
|
-
accuracy?: number | undefined;
|
|
2131
|
-
} | null;
|
|
2132
|
-
farmId: string;
|
|
2133
|
-
fieldId: string | null;
|
|
2134
2127
|
recommendations: {
|
|
2135
2128
|
priority: number;
|
|
2136
2129
|
action: string;
|
|
@@ -2153,6 +2146,13 @@ export declare const fieldObservationsRouter: {
|
|
|
2153
2146
|
estimatedTime?: string | undefined;
|
|
2154
2147
|
riskLevel?: string | undefined;
|
|
2155
2148
|
}[] | null;
|
|
2149
|
+
farmId: string;
|
|
2150
|
+
location: {
|
|
2151
|
+
lat: number;
|
|
2152
|
+
lng: number;
|
|
2153
|
+
accuracy?: number | undefined;
|
|
2154
|
+
} | null;
|
|
2155
|
+
fieldId: string | null;
|
|
2156
2156
|
estimatedCost: number | null;
|
|
2157
2157
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
2158
2158
|
uploadedBy: string;
|
|
@@ -2207,13 +2207,6 @@ export declare const fieldObservationsRouter: {
|
|
|
2207
2207
|
}, {
|
|
2208
2208
|
createdAt: string;
|
|
2209
2209
|
updatedAt: string;
|
|
2210
|
-
location: {
|
|
2211
|
-
lat: number;
|
|
2212
|
-
lng: number;
|
|
2213
|
-
accuracy?: number | undefined;
|
|
2214
|
-
} | null;
|
|
2215
|
-
farmId: string;
|
|
2216
|
-
fieldId: string | null;
|
|
2217
2210
|
recommendations: {
|
|
2218
2211
|
priority: number;
|
|
2219
2212
|
action: string;
|
|
@@ -2236,6 +2229,13 @@ export declare const fieldObservationsRouter: {
|
|
|
2236
2229
|
estimatedTime?: string | undefined;
|
|
2237
2230
|
riskLevel?: string | undefined;
|
|
2238
2231
|
}[] | null;
|
|
2232
|
+
farmId: string;
|
|
2233
|
+
location: {
|
|
2234
|
+
lat: number;
|
|
2235
|
+
lng: number;
|
|
2236
|
+
accuracy?: number | undefined;
|
|
2237
|
+
} | null;
|
|
2238
|
+
fieldId: string | null;
|
|
2239
2239
|
estimatedCost: number | null;
|
|
2240
2240
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
2241
2241
|
uploadedBy: string;
|
|
@@ -2297,13 +2297,6 @@ export declare const fieldObservationsRouter: {
|
|
|
2297
2297
|
attributes: {
|
|
2298
2298
|
createdAt: string;
|
|
2299
2299
|
updatedAt: string;
|
|
2300
|
-
location: {
|
|
2301
|
-
lat: number;
|
|
2302
|
-
lng: number;
|
|
2303
|
-
accuracy?: number | undefined;
|
|
2304
|
-
} | null;
|
|
2305
|
-
farmId: string;
|
|
2306
|
-
fieldId: string | null;
|
|
2307
2300
|
recommendations: {
|
|
2308
2301
|
priority: number;
|
|
2309
2302
|
action: string;
|
|
@@ -2326,6 +2319,13 @@ export declare const fieldObservationsRouter: {
|
|
|
2326
2319
|
estimatedTime?: string | undefined;
|
|
2327
2320
|
riskLevel?: string | undefined;
|
|
2328
2321
|
}[] | null;
|
|
2322
|
+
farmId: string;
|
|
2323
|
+
location: {
|
|
2324
|
+
lat: number;
|
|
2325
|
+
lng: number;
|
|
2326
|
+
accuracy?: number | undefined;
|
|
2327
|
+
} | null;
|
|
2328
|
+
fieldId: string | null;
|
|
2329
2329
|
estimatedCost: number | null;
|
|
2330
2330
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
2331
2331
|
uploadedBy: string;
|
|
@@ -2387,13 +2387,6 @@ export declare const fieldObservationsRouter: {
|
|
|
2387
2387
|
attributes: {
|
|
2388
2388
|
createdAt: string;
|
|
2389
2389
|
updatedAt: string;
|
|
2390
|
-
location: {
|
|
2391
|
-
lat: number;
|
|
2392
|
-
lng: number;
|
|
2393
|
-
accuracy?: number | undefined;
|
|
2394
|
-
} | null;
|
|
2395
|
-
farmId: string;
|
|
2396
|
-
fieldId: string | null;
|
|
2397
2390
|
recommendations: {
|
|
2398
2391
|
priority: number;
|
|
2399
2392
|
action: string;
|
|
@@ -2416,6 +2409,13 @@ export declare const fieldObservationsRouter: {
|
|
|
2416
2409
|
estimatedTime?: string | undefined;
|
|
2417
2410
|
riskLevel?: string | undefined;
|
|
2418
2411
|
}[] | null;
|
|
2412
|
+
farmId: string;
|
|
2413
|
+
location: {
|
|
2414
|
+
lat: number;
|
|
2415
|
+
lng: number;
|
|
2416
|
+
accuracy?: number | undefined;
|
|
2417
|
+
} | null;
|
|
2418
|
+
fieldId: string | null;
|
|
2419
2419
|
estimatedCost: number | null;
|
|
2420
2420
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
2421
2421
|
uploadedBy: string;
|
|
@@ -2503,13 +2503,6 @@ export declare const fieldObservationsRouter: {
|
|
|
2503
2503
|
attributes: {
|
|
2504
2504
|
createdAt: string;
|
|
2505
2505
|
updatedAt: string;
|
|
2506
|
-
location: {
|
|
2507
|
-
lat: number;
|
|
2508
|
-
lng: number;
|
|
2509
|
-
accuracy?: number | undefined;
|
|
2510
|
-
} | null;
|
|
2511
|
-
farmId: string;
|
|
2512
|
-
fieldId: string | null;
|
|
2513
2506
|
recommendations: {
|
|
2514
2507
|
priority: number;
|
|
2515
2508
|
action: string;
|
|
@@ -2532,6 +2525,13 @@ export declare const fieldObservationsRouter: {
|
|
|
2532
2525
|
estimatedTime?: string | undefined;
|
|
2533
2526
|
riskLevel?: string | undefined;
|
|
2534
2527
|
}[] | null;
|
|
2528
|
+
farmId: string;
|
|
2529
|
+
location: {
|
|
2530
|
+
lat: number;
|
|
2531
|
+
lng: number;
|
|
2532
|
+
accuracy?: number | undefined;
|
|
2533
|
+
} | null;
|
|
2534
|
+
fieldId: string | null;
|
|
2535
2535
|
estimatedCost: number | null;
|
|
2536
2536
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
2537
2537
|
uploadedBy: string;
|
|
@@ -2605,13 +2605,6 @@ export declare const fieldObservationsRouter: {
|
|
|
2605
2605
|
attributes: {
|
|
2606
2606
|
createdAt: string;
|
|
2607
2607
|
updatedAt: string;
|
|
2608
|
-
location: {
|
|
2609
|
-
lat: number;
|
|
2610
|
-
lng: number;
|
|
2611
|
-
accuracy?: number | undefined;
|
|
2612
|
-
} | null;
|
|
2613
|
-
farmId: string;
|
|
2614
|
-
fieldId: string | null;
|
|
2615
2608
|
recommendations: {
|
|
2616
2609
|
priority: number;
|
|
2617
2610
|
action: string;
|
|
@@ -2634,6 +2627,13 @@ export declare const fieldObservationsRouter: {
|
|
|
2634
2627
|
estimatedTime?: string | undefined;
|
|
2635
2628
|
riskLevel?: string | undefined;
|
|
2636
2629
|
}[] | null;
|
|
2630
|
+
farmId: string;
|
|
2631
|
+
location: {
|
|
2632
|
+
lat: number;
|
|
2633
|
+
lng: number;
|
|
2634
|
+
accuracy?: number | undefined;
|
|
2635
|
+
} | null;
|
|
2636
|
+
fieldId: string | null;
|
|
2637
2637
|
estimatedCost: number | null;
|
|
2638
2638
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
2639
2639
|
uploadedBy: string;
|
|
@@ -2981,13 +2981,6 @@ export declare const fieldObservationsRouter: {
|
|
|
2981
2981
|
}, "strip", z.ZodTypeAny, {
|
|
2982
2982
|
createdAt: string;
|
|
2983
2983
|
updatedAt: string;
|
|
2984
|
-
location: {
|
|
2985
|
-
lat: number;
|
|
2986
|
-
lng: number;
|
|
2987
|
-
accuracy?: number | undefined;
|
|
2988
|
-
} | null;
|
|
2989
|
-
farmId: string;
|
|
2990
|
-
fieldId: string | null;
|
|
2991
2984
|
recommendations: {
|
|
2992
2985
|
priority: number;
|
|
2993
2986
|
action: string;
|
|
@@ -3010,6 +3003,13 @@ export declare const fieldObservationsRouter: {
|
|
|
3010
3003
|
estimatedTime?: string | undefined;
|
|
3011
3004
|
riskLevel?: string | undefined;
|
|
3012
3005
|
}[] | null;
|
|
3006
|
+
farmId: string;
|
|
3007
|
+
location: {
|
|
3008
|
+
lat: number;
|
|
3009
|
+
lng: number;
|
|
3010
|
+
accuracy?: number | undefined;
|
|
3011
|
+
} | null;
|
|
3012
|
+
fieldId: string | null;
|
|
3013
3013
|
estimatedCost: number | null;
|
|
3014
3014
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
3015
3015
|
uploadedBy: string;
|
|
@@ -3064,13 +3064,6 @@ export declare const fieldObservationsRouter: {
|
|
|
3064
3064
|
}, {
|
|
3065
3065
|
createdAt: string;
|
|
3066
3066
|
updatedAt: string;
|
|
3067
|
-
location: {
|
|
3068
|
-
lat: number;
|
|
3069
|
-
lng: number;
|
|
3070
|
-
accuracy?: number | undefined;
|
|
3071
|
-
} | null;
|
|
3072
|
-
farmId: string;
|
|
3073
|
-
fieldId: string | null;
|
|
3074
3067
|
recommendations: {
|
|
3075
3068
|
priority: number;
|
|
3076
3069
|
action: string;
|
|
@@ -3093,6 +3086,13 @@ export declare const fieldObservationsRouter: {
|
|
|
3093
3086
|
estimatedTime?: string | undefined;
|
|
3094
3087
|
riskLevel?: string | undefined;
|
|
3095
3088
|
}[] | null;
|
|
3089
|
+
farmId: string;
|
|
3090
|
+
location: {
|
|
3091
|
+
lat: number;
|
|
3092
|
+
lng: number;
|
|
3093
|
+
accuracy?: number | undefined;
|
|
3094
|
+
} | null;
|
|
3095
|
+
fieldId: string | null;
|
|
3096
3096
|
estimatedCost: number | null;
|
|
3097
3097
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
3098
3098
|
uploadedBy: string;
|
|
@@ -3154,13 +3154,6 @@ export declare const fieldObservationsRouter: {
|
|
|
3154
3154
|
attributes: {
|
|
3155
3155
|
createdAt: string;
|
|
3156
3156
|
updatedAt: string;
|
|
3157
|
-
location: {
|
|
3158
|
-
lat: number;
|
|
3159
|
-
lng: number;
|
|
3160
|
-
accuracy?: number | undefined;
|
|
3161
|
-
} | null;
|
|
3162
|
-
farmId: string;
|
|
3163
|
-
fieldId: string | null;
|
|
3164
3157
|
recommendations: {
|
|
3165
3158
|
priority: number;
|
|
3166
3159
|
action: string;
|
|
@@ -3183,6 +3176,13 @@ export declare const fieldObservationsRouter: {
|
|
|
3183
3176
|
estimatedTime?: string | undefined;
|
|
3184
3177
|
riskLevel?: string | undefined;
|
|
3185
3178
|
}[] | null;
|
|
3179
|
+
farmId: string;
|
|
3180
|
+
location: {
|
|
3181
|
+
lat: number;
|
|
3182
|
+
lng: number;
|
|
3183
|
+
accuracy?: number | undefined;
|
|
3184
|
+
} | null;
|
|
3185
|
+
fieldId: string | null;
|
|
3186
3186
|
estimatedCost: number | null;
|
|
3187
3187
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
3188
3188
|
uploadedBy: string;
|
|
@@ -3244,13 +3244,6 @@ export declare const fieldObservationsRouter: {
|
|
|
3244
3244
|
attributes: {
|
|
3245
3245
|
createdAt: string;
|
|
3246
3246
|
updatedAt: string;
|
|
3247
|
-
location: {
|
|
3248
|
-
lat: number;
|
|
3249
|
-
lng: number;
|
|
3250
|
-
accuracy?: number | undefined;
|
|
3251
|
-
} | null;
|
|
3252
|
-
farmId: string;
|
|
3253
|
-
fieldId: string | null;
|
|
3254
3247
|
recommendations: {
|
|
3255
3248
|
priority: number;
|
|
3256
3249
|
action: string;
|
|
@@ -3273,6 +3266,13 @@ export declare const fieldObservationsRouter: {
|
|
|
3273
3266
|
estimatedTime?: string | undefined;
|
|
3274
3267
|
riskLevel?: string | undefined;
|
|
3275
3268
|
}[] | null;
|
|
3269
|
+
farmId: string;
|
|
3270
|
+
location: {
|
|
3271
|
+
lat: number;
|
|
3272
|
+
lng: number;
|
|
3273
|
+
accuracy?: number | undefined;
|
|
3274
|
+
} | null;
|
|
3275
|
+
fieldId: string | null;
|
|
3276
3276
|
estimatedCost: number | null;
|
|
3277
3277
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
3278
3278
|
uploadedBy: string;
|
|
@@ -3360,13 +3360,6 @@ export declare const fieldObservationsRouter: {
|
|
|
3360
3360
|
attributes: {
|
|
3361
3361
|
createdAt: string;
|
|
3362
3362
|
updatedAt: string;
|
|
3363
|
-
location: {
|
|
3364
|
-
lat: number;
|
|
3365
|
-
lng: number;
|
|
3366
|
-
accuracy?: number | undefined;
|
|
3367
|
-
} | null;
|
|
3368
|
-
farmId: string;
|
|
3369
|
-
fieldId: string | null;
|
|
3370
3363
|
recommendations: {
|
|
3371
3364
|
priority: number;
|
|
3372
3365
|
action: string;
|
|
@@ -3389,6 +3382,13 @@ export declare const fieldObservationsRouter: {
|
|
|
3389
3382
|
estimatedTime?: string | undefined;
|
|
3390
3383
|
riskLevel?: string | undefined;
|
|
3391
3384
|
}[] | null;
|
|
3385
|
+
farmId: string;
|
|
3386
|
+
location: {
|
|
3387
|
+
lat: number;
|
|
3388
|
+
lng: number;
|
|
3389
|
+
accuracy?: number | undefined;
|
|
3390
|
+
} | null;
|
|
3391
|
+
fieldId: string | null;
|
|
3392
3392
|
estimatedCost: number | null;
|
|
3393
3393
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
3394
3394
|
uploadedBy: string;
|
|
@@ -3462,13 +3462,6 @@ export declare const fieldObservationsRouter: {
|
|
|
3462
3462
|
attributes: {
|
|
3463
3463
|
createdAt: string;
|
|
3464
3464
|
updatedAt: string;
|
|
3465
|
-
location: {
|
|
3466
|
-
lat: number;
|
|
3467
|
-
lng: number;
|
|
3468
|
-
accuracy?: number | undefined;
|
|
3469
|
-
} | null;
|
|
3470
|
-
farmId: string;
|
|
3471
|
-
fieldId: string | null;
|
|
3472
3465
|
recommendations: {
|
|
3473
3466
|
priority: number;
|
|
3474
3467
|
action: string;
|
|
@@ -3491,6 +3484,13 @@ export declare const fieldObservationsRouter: {
|
|
|
3491
3484
|
estimatedTime?: string | undefined;
|
|
3492
3485
|
riskLevel?: string | undefined;
|
|
3493
3486
|
}[] | null;
|
|
3487
|
+
farmId: string;
|
|
3488
|
+
location: {
|
|
3489
|
+
lat: number;
|
|
3490
|
+
lng: number;
|
|
3491
|
+
accuracy?: number | undefined;
|
|
3492
|
+
} | null;
|
|
3493
|
+
fieldId: string | null;
|
|
3494
3494
|
estimatedCost: number | null;
|
|
3495
3495
|
severity: "critical" | "low" | "medium" | "high" | null;
|
|
3496
3496
|
uploadedBy: string;
|
|
@@ -3622,8 +3622,8 @@ export declare const fieldObservationsRouter: {
|
|
|
3622
3622
|
avgSeverity: string;
|
|
3623
3623
|
}>, "many">;
|
|
3624
3624
|
}, "strip", z.ZodTypeAny, {
|
|
3625
|
-
total: number;
|
|
3626
3625
|
avgConfidence: number;
|
|
3626
|
+
total: number;
|
|
3627
3627
|
byType: Record<string, number>;
|
|
3628
3628
|
bySeverity: Record<string, number>;
|
|
3629
3629
|
mostCommonIssues: {
|
|
@@ -3632,8 +3632,8 @@ export declare const fieldObservationsRouter: {
|
|
|
3632
3632
|
avgSeverity: string;
|
|
3633
3633
|
}[];
|
|
3634
3634
|
}, {
|
|
3635
|
-
total: number;
|
|
3636
3635
|
avgConfidence: number;
|
|
3636
|
+
total: number;
|
|
3637
3637
|
byType: Record<string, number>;
|
|
3638
3638
|
bySeverity: Record<string, number>;
|
|
3639
3639
|
mostCommonIssues: {
|