@deepintel-ltd/farmpro-contracts 1.15.5 → 1.16.0
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/agent-workflows.routes.d.ts +56 -56
- package/dist/routes/farm-updates.routes.d.ts +456 -16
- package/dist/routes/farm-updates.routes.d.ts.map +1 -1
- package/dist/routes/farm-updates.routes.js +27 -11
- package/dist/routes/fertigation.routes.d.ts +160 -160
- package/dist/routes/field-activities.routes.d.ts +172 -172
- package/dist/routes/field-monitoring.routes.d.ts +50 -50
- package/dist/routes/field-observations.routes.d.ts +40 -40
- package/dist/routes/fields.routes.d.ts +461 -0
- package/dist/routes/fields.routes.d.ts.map +1 -1
- package/dist/routes/fields.routes.js +19 -1
- package/dist/routes/finance.routes.d.ts +78 -78
- package/dist/routes/harvest.routes.d.ts +72 -72
- package/dist/routes/inventory.routes.d.ts +42 -42
- package/dist/routes/live-monitor.routes.d.ts +6 -6
- package/dist/routes/measurements.routes.d.ts +6 -6
- package/dist/routes/monitoring-visualization.routes.d.ts +12 -12
- package/dist/routes/prescription-maps.routes.d.ts +28 -28
- package/dist/routes/soil-tests.routes.d.ts +80 -80
- package/dist/routes/suppliers.routes.d.ts +80 -80
- package/dist/routes/waybills.routes.d.ts +56 -56
- package/dist/routes/weather.routes.d.ts +24 -24
- package/dist/routes/yield-prediction.routes.d.ts +36 -36
- package/dist/schemas/agent-workflows.schemas.d.ts +64 -64
- package/dist/schemas/commodity-deals.schemas.d.ts +18 -5
- package/dist/schemas/commodity-deals.schemas.d.ts.map +1 -1
- package/dist/schemas/commodity-deals.schemas.js +5 -1
- package/dist/schemas/farm-updates.schemas.d.ts +249 -0
- package/dist/schemas/farm-updates.schemas.d.ts.map +1 -1
- package/dist/schemas/farm-updates.schemas.js +18 -0
- package/dist/schemas/fertigation.schemas.d.ts +72 -72
- package/dist/schemas/field-activities.schemas.d.ts +148 -148
- package/dist/schemas/field-monitoring.schemas.d.ts +30 -30
- package/dist/schemas/field-observations.schemas.d.ts +34 -34
- package/dist/schemas/fields.schemas.d.ts +286 -0
- package/dist/schemas/fields.schemas.d.ts.map +1 -1
- package/dist/schemas/fields.schemas.js +26 -0
- package/dist/schemas/finance.schemas.d.ts +94 -94
- package/dist/schemas/harvest.schemas.d.ts +80 -80
- package/dist/schemas/inventory.schemas.d.ts +46 -46
- package/dist/schemas/live-monitor.schemas.d.ts +10 -10
- package/dist/schemas/measurements.schemas.d.ts +6 -6
- package/dist/schemas/monitoring-visualization.schemas.d.ts +14 -14
- package/dist/schemas/prescription-maps.schemas.d.ts +22 -22
- package/dist/schemas/recommendations.schemas.d.ts +6 -6
- package/dist/schemas/soil-tests.schemas.d.ts +84 -84
- package/dist/schemas/suppliers.schemas.d.ts +84 -84
- package/dist/schemas/waybills.schemas.d.ts +48 -48
- package/dist/schemas/weather.schemas.d.ts +68 -68
- package/dist/schemas/yield-prediction.schemas.d.ts +24 -24
- package/package.json +1 -1
|
@@ -56,18 +56,18 @@ export declare const inventoryRouter: {
|
|
|
56
56
|
createdAt: string;
|
|
57
57
|
updatedAt: string;
|
|
58
58
|
name: string;
|
|
59
|
+
unit: string;
|
|
59
60
|
category: string;
|
|
60
61
|
stock: number;
|
|
61
|
-
unit: string;
|
|
62
62
|
avgCost: number;
|
|
63
63
|
totalValue?: number | undefined;
|
|
64
64
|
}, {
|
|
65
65
|
createdAt: string;
|
|
66
66
|
updatedAt: string;
|
|
67
67
|
name: string;
|
|
68
|
+
unit: string;
|
|
68
69
|
category: string;
|
|
69
70
|
stock: number;
|
|
70
|
-
unit: string;
|
|
71
71
|
avgCost: number;
|
|
72
72
|
totalValue?: number | undefined;
|
|
73
73
|
}>;
|
|
@@ -81,9 +81,9 @@ export declare const inventoryRouter: {
|
|
|
81
81
|
createdAt: string;
|
|
82
82
|
updatedAt: string;
|
|
83
83
|
name: string;
|
|
84
|
+
unit: string;
|
|
84
85
|
category: string;
|
|
85
86
|
stock: number;
|
|
86
|
-
unit: string;
|
|
87
87
|
avgCost: number;
|
|
88
88
|
totalValue?: number | undefined;
|
|
89
89
|
};
|
|
@@ -97,9 +97,9 @@ export declare const inventoryRouter: {
|
|
|
97
97
|
createdAt: string;
|
|
98
98
|
updatedAt: string;
|
|
99
99
|
name: string;
|
|
100
|
+
unit: string;
|
|
100
101
|
category: string;
|
|
101
102
|
stock: number;
|
|
102
|
-
unit: string;
|
|
103
103
|
avgCost: number;
|
|
104
104
|
totalValue?: number | undefined;
|
|
105
105
|
};
|
|
@@ -139,9 +139,9 @@ export declare const inventoryRouter: {
|
|
|
139
139
|
createdAt: string;
|
|
140
140
|
updatedAt: string;
|
|
141
141
|
name: string;
|
|
142
|
+
unit: string;
|
|
142
143
|
category: string;
|
|
143
144
|
stock: number;
|
|
144
|
-
unit: string;
|
|
145
145
|
avgCost: number;
|
|
146
146
|
totalValue?: number | undefined;
|
|
147
147
|
};
|
|
@@ -167,9 +167,9 @@ export declare const inventoryRouter: {
|
|
|
167
167
|
createdAt: string;
|
|
168
168
|
updatedAt: string;
|
|
169
169
|
name: string;
|
|
170
|
+
unit: string;
|
|
170
171
|
category: string;
|
|
171
172
|
stock: number;
|
|
172
|
-
unit: string;
|
|
173
173
|
avgCost: number;
|
|
174
174
|
totalValue?: number | undefined;
|
|
175
175
|
};
|
|
@@ -392,14 +392,14 @@ export declare const inventoryRouter: {
|
|
|
392
392
|
initialCost: z.ZodOptional<z.ZodNumber>;
|
|
393
393
|
}, "strip", z.ZodTypeAny, {
|
|
394
394
|
name: string;
|
|
395
|
-
category: string;
|
|
396
395
|
unit: string;
|
|
396
|
+
category: string;
|
|
397
397
|
initialStock?: number | undefined;
|
|
398
398
|
initialCost?: number | undefined;
|
|
399
399
|
}, {
|
|
400
400
|
name: string;
|
|
401
|
-
category: string;
|
|
402
401
|
unit: string;
|
|
402
|
+
category: string;
|
|
403
403
|
initialStock?: number | undefined;
|
|
404
404
|
initialCost?: number | undefined;
|
|
405
405
|
}>;
|
|
@@ -407,8 +407,8 @@ export declare const inventoryRouter: {
|
|
|
407
407
|
type: "inventory-items";
|
|
408
408
|
attributes: {
|
|
409
409
|
name: string;
|
|
410
|
-
category: string;
|
|
411
410
|
unit: string;
|
|
411
|
+
category: string;
|
|
412
412
|
initialStock?: number | undefined;
|
|
413
413
|
initialCost?: number | undefined;
|
|
414
414
|
};
|
|
@@ -416,8 +416,8 @@ export declare const inventoryRouter: {
|
|
|
416
416
|
type: "inventory-items";
|
|
417
417
|
attributes: {
|
|
418
418
|
name: string;
|
|
419
|
-
category: string;
|
|
420
419
|
unit: string;
|
|
420
|
+
category: string;
|
|
421
421
|
initialStock?: number | undefined;
|
|
422
422
|
initialCost?: number | undefined;
|
|
423
423
|
};
|
|
@@ -427,8 +427,8 @@ export declare const inventoryRouter: {
|
|
|
427
427
|
type: "inventory-items";
|
|
428
428
|
attributes: {
|
|
429
429
|
name: string;
|
|
430
|
-
category: string;
|
|
431
430
|
unit: string;
|
|
431
|
+
category: string;
|
|
432
432
|
initialStock?: number | undefined;
|
|
433
433
|
initialCost?: number | undefined;
|
|
434
434
|
};
|
|
@@ -438,8 +438,8 @@ export declare const inventoryRouter: {
|
|
|
438
438
|
type: "inventory-items";
|
|
439
439
|
attributes: {
|
|
440
440
|
name: string;
|
|
441
|
-
category: string;
|
|
442
441
|
unit: string;
|
|
442
|
+
category: string;
|
|
443
443
|
initialStock?: number | undefined;
|
|
444
444
|
initialCost?: number | undefined;
|
|
445
445
|
};
|
|
@@ -465,18 +465,18 @@ export declare const inventoryRouter: {
|
|
|
465
465
|
createdAt: string;
|
|
466
466
|
updatedAt: string;
|
|
467
467
|
name: string;
|
|
468
|
+
unit: string;
|
|
468
469
|
category: string;
|
|
469
470
|
stock: number;
|
|
470
|
-
unit: string;
|
|
471
471
|
avgCost: number;
|
|
472
472
|
totalValue?: number | undefined;
|
|
473
473
|
}, {
|
|
474
474
|
createdAt: string;
|
|
475
475
|
updatedAt: string;
|
|
476
476
|
name: string;
|
|
477
|
+
unit: string;
|
|
477
478
|
category: string;
|
|
478
479
|
stock: number;
|
|
479
|
-
unit: string;
|
|
480
480
|
avgCost: number;
|
|
481
481
|
totalValue?: number | undefined;
|
|
482
482
|
}>;
|
|
@@ -490,9 +490,9 @@ export declare const inventoryRouter: {
|
|
|
490
490
|
createdAt: string;
|
|
491
491
|
updatedAt: string;
|
|
492
492
|
name: string;
|
|
493
|
+
unit: string;
|
|
493
494
|
category: string;
|
|
494
495
|
stock: number;
|
|
495
|
-
unit: string;
|
|
496
496
|
avgCost: number;
|
|
497
497
|
totalValue?: number | undefined;
|
|
498
498
|
};
|
|
@@ -506,9 +506,9 @@ export declare const inventoryRouter: {
|
|
|
506
506
|
createdAt: string;
|
|
507
507
|
updatedAt: string;
|
|
508
508
|
name: string;
|
|
509
|
+
unit: string;
|
|
509
510
|
category: string;
|
|
510
511
|
stock: number;
|
|
511
|
-
unit: string;
|
|
512
512
|
avgCost: number;
|
|
513
513
|
totalValue?: number | undefined;
|
|
514
514
|
};
|
|
@@ -548,9 +548,9 @@ export declare const inventoryRouter: {
|
|
|
548
548
|
createdAt: string;
|
|
549
549
|
updatedAt: string;
|
|
550
550
|
name: string;
|
|
551
|
+
unit: string;
|
|
551
552
|
category: string;
|
|
552
553
|
stock: number;
|
|
553
|
-
unit: string;
|
|
554
554
|
avgCost: number;
|
|
555
555
|
totalValue?: number | undefined;
|
|
556
556
|
};
|
|
@@ -576,9 +576,9 @@ export declare const inventoryRouter: {
|
|
|
576
576
|
createdAt: string;
|
|
577
577
|
updatedAt: string;
|
|
578
578
|
name: string;
|
|
579
|
+
unit: string;
|
|
579
580
|
category: string;
|
|
580
581
|
stock: number;
|
|
581
|
-
unit: string;
|
|
582
582
|
avgCost: number;
|
|
583
583
|
totalValue?: number | undefined;
|
|
584
584
|
};
|
|
@@ -1000,18 +1000,18 @@ export declare const inventoryRouter: {
|
|
|
1000
1000
|
createdAt: string;
|
|
1001
1001
|
updatedAt: string;
|
|
1002
1002
|
name: string;
|
|
1003
|
+
unit: string;
|
|
1003
1004
|
category: string;
|
|
1004
1005
|
stock: number;
|
|
1005
|
-
unit: string;
|
|
1006
1006
|
avgCost: number;
|
|
1007
1007
|
totalValue?: number | undefined;
|
|
1008
1008
|
}, {
|
|
1009
1009
|
createdAt: string;
|
|
1010
1010
|
updatedAt: string;
|
|
1011
1011
|
name: string;
|
|
1012
|
+
unit: string;
|
|
1012
1013
|
category: string;
|
|
1013
1014
|
stock: number;
|
|
1014
|
-
unit: string;
|
|
1015
1015
|
avgCost: number;
|
|
1016
1016
|
totalValue?: number | undefined;
|
|
1017
1017
|
}>;
|
|
@@ -1121,9 +1121,9 @@ export declare const inventoryRouter: {
|
|
|
1121
1121
|
createdAt: string;
|
|
1122
1122
|
updatedAt: string;
|
|
1123
1123
|
name: string;
|
|
1124
|
+
unit: string;
|
|
1124
1125
|
category: string;
|
|
1125
1126
|
stock: number;
|
|
1126
|
-
unit: string;
|
|
1127
1127
|
avgCost: number;
|
|
1128
1128
|
totalValue?: number | undefined;
|
|
1129
1129
|
};
|
|
@@ -1154,9 +1154,9 @@ export declare const inventoryRouter: {
|
|
|
1154
1154
|
createdAt: string;
|
|
1155
1155
|
updatedAt: string;
|
|
1156
1156
|
name: string;
|
|
1157
|
+
unit: string;
|
|
1157
1158
|
category: string;
|
|
1158
1159
|
stock: number;
|
|
1159
|
-
unit: string;
|
|
1160
1160
|
avgCost: number;
|
|
1161
1161
|
totalValue?: number | undefined;
|
|
1162
1162
|
};
|
|
@@ -1213,9 +1213,9 @@ export declare const inventoryRouter: {
|
|
|
1213
1213
|
createdAt: string;
|
|
1214
1214
|
updatedAt: string;
|
|
1215
1215
|
name: string;
|
|
1216
|
+
unit: string;
|
|
1216
1217
|
category: string;
|
|
1217
1218
|
stock: number;
|
|
1218
|
-
unit: string;
|
|
1219
1219
|
avgCost: number;
|
|
1220
1220
|
totalValue?: number | undefined;
|
|
1221
1221
|
};
|
|
@@ -1258,9 +1258,9 @@ export declare const inventoryRouter: {
|
|
|
1258
1258
|
createdAt: string;
|
|
1259
1259
|
updatedAt: string;
|
|
1260
1260
|
name: string;
|
|
1261
|
+
unit: string;
|
|
1261
1262
|
category: string;
|
|
1262
1263
|
stock: number;
|
|
1263
|
-
unit: string;
|
|
1264
1264
|
avgCost: number;
|
|
1265
1265
|
totalValue?: number | undefined;
|
|
1266
1266
|
};
|
|
@@ -1502,28 +1502,28 @@ export declare const inventoryRouter: {
|
|
|
1502
1502
|
unit: z.ZodOptional<z.ZodString>;
|
|
1503
1503
|
}, "strip", z.ZodTypeAny, {
|
|
1504
1504
|
name?: string | undefined;
|
|
1505
|
-
category?: string | undefined;
|
|
1506
1505
|
unit?: string | undefined;
|
|
1506
|
+
category?: string | undefined;
|
|
1507
1507
|
}, {
|
|
1508
1508
|
name?: string | undefined;
|
|
1509
|
-
category?: string | undefined;
|
|
1510
1509
|
unit?: string | undefined;
|
|
1510
|
+
category?: string | undefined;
|
|
1511
1511
|
}>;
|
|
1512
1512
|
}, "strip", z.ZodTypeAny, {
|
|
1513
1513
|
type: "inventory-items";
|
|
1514
1514
|
id: string;
|
|
1515
1515
|
attributes: {
|
|
1516
1516
|
name?: string | undefined;
|
|
1517
|
-
category?: string | undefined;
|
|
1518
1517
|
unit?: string | undefined;
|
|
1518
|
+
category?: string | undefined;
|
|
1519
1519
|
};
|
|
1520
1520
|
}, {
|
|
1521
1521
|
type: "inventory-items";
|
|
1522
1522
|
id: string;
|
|
1523
1523
|
attributes: {
|
|
1524
1524
|
name?: string | undefined;
|
|
1525
|
-
category?: string | undefined;
|
|
1526
1525
|
unit?: string | undefined;
|
|
1526
|
+
category?: string | undefined;
|
|
1527
1527
|
};
|
|
1528
1528
|
}>;
|
|
1529
1529
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1532,8 +1532,8 @@ export declare const inventoryRouter: {
|
|
|
1532
1532
|
id: string;
|
|
1533
1533
|
attributes: {
|
|
1534
1534
|
name?: string | undefined;
|
|
1535
|
-
category?: string | undefined;
|
|
1536
1535
|
unit?: string | undefined;
|
|
1536
|
+
category?: string | undefined;
|
|
1537
1537
|
};
|
|
1538
1538
|
};
|
|
1539
1539
|
}, {
|
|
@@ -1542,8 +1542,8 @@ export declare const inventoryRouter: {
|
|
|
1542
1542
|
id: string;
|
|
1543
1543
|
attributes: {
|
|
1544
1544
|
name?: string | undefined;
|
|
1545
|
-
category?: string | undefined;
|
|
1546
1545
|
unit?: string | undefined;
|
|
1546
|
+
category?: string | undefined;
|
|
1547
1547
|
};
|
|
1548
1548
|
};
|
|
1549
1549
|
}>;
|
|
@@ -1567,18 +1567,18 @@ export declare const inventoryRouter: {
|
|
|
1567
1567
|
createdAt: string;
|
|
1568
1568
|
updatedAt: string;
|
|
1569
1569
|
name: string;
|
|
1570
|
+
unit: string;
|
|
1570
1571
|
category: string;
|
|
1571
1572
|
stock: number;
|
|
1572
|
-
unit: string;
|
|
1573
1573
|
avgCost: number;
|
|
1574
1574
|
totalValue?: number | undefined;
|
|
1575
1575
|
}, {
|
|
1576
1576
|
createdAt: string;
|
|
1577
1577
|
updatedAt: string;
|
|
1578
1578
|
name: string;
|
|
1579
|
+
unit: string;
|
|
1579
1580
|
category: string;
|
|
1580
1581
|
stock: number;
|
|
1581
|
-
unit: string;
|
|
1582
1582
|
avgCost: number;
|
|
1583
1583
|
totalValue?: number | undefined;
|
|
1584
1584
|
}>;
|
|
@@ -1592,9 +1592,9 @@ export declare const inventoryRouter: {
|
|
|
1592
1592
|
createdAt: string;
|
|
1593
1593
|
updatedAt: string;
|
|
1594
1594
|
name: string;
|
|
1595
|
+
unit: string;
|
|
1595
1596
|
category: string;
|
|
1596
1597
|
stock: number;
|
|
1597
|
-
unit: string;
|
|
1598
1598
|
avgCost: number;
|
|
1599
1599
|
totalValue?: number | undefined;
|
|
1600
1600
|
};
|
|
@@ -1608,9 +1608,9 @@ export declare const inventoryRouter: {
|
|
|
1608
1608
|
createdAt: string;
|
|
1609
1609
|
updatedAt: string;
|
|
1610
1610
|
name: string;
|
|
1611
|
+
unit: string;
|
|
1611
1612
|
category: string;
|
|
1612
1613
|
stock: number;
|
|
1613
|
-
unit: string;
|
|
1614
1614
|
avgCost: number;
|
|
1615
1615
|
totalValue?: number | undefined;
|
|
1616
1616
|
};
|
|
@@ -1650,9 +1650,9 @@ export declare const inventoryRouter: {
|
|
|
1650
1650
|
createdAt: string;
|
|
1651
1651
|
updatedAt: string;
|
|
1652
1652
|
name: string;
|
|
1653
|
+
unit: string;
|
|
1653
1654
|
category: string;
|
|
1654
1655
|
stock: number;
|
|
1655
|
-
unit: string;
|
|
1656
1656
|
avgCost: number;
|
|
1657
1657
|
totalValue?: number | undefined;
|
|
1658
1658
|
};
|
|
@@ -1678,9 +1678,9 @@ export declare const inventoryRouter: {
|
|
|
1678
1678
|
createdAt: string;
|
|
1679
1679
|
updatedAt: string;
|
|
1680
1680
|
name: string;
|
|
1681
|
+
unit: string;
|
|
1681
1682
|
category: string;
|
|
1682
1683
|
stock: number;
|
|
1683
|
-
unit: string;
|
|
1684
1684
|
avgCost: number;
|
|
1685
1685
|
totalValue?: number | undefined;
|
|
1686
1686
|
};
|
|
@@ -2304,8 +2304,8 @@ export declare const inventoryRouter: {
|
|
|
2304
2304
|
cropId: z.ZodOptional<z.ZodString>;
|
|
2305
2305
|
}, "strip", z.ZodTypeAny, {
|
|
2306
2306
|
date: string;
|
|
2307
|
-
unit: string;
|
|
2308
2307
|
quantity: number;
|
|
2308
|
+
unit: string;
|
|
2309
2309
|
unitCost: number;
|
|
2310
2310
|
totalCost: number;
|
|
2311
2311
|
name?: string | undefined;
|
|
@@ -2316,8 +2316,8 @@ export declare const inventoryRouter: {
|
|
|
2316
2316
|
cropId?: string | undefined;
|
|
2317
2317
|
}, {
|
|
2318
2318
|
date: string;
|
|
2319
|
-
unit: string;
|
|
2320
2319
|
quantity: number;
|
|
2320
|
+
unit: string;
|
|
2321
2321
|
unitCost: number;
|
|
2322
2322
|
totalCost: number;
|
|
2323
2323
|
name?: string | undefined;
|
|
@@ -2331,8 +2331,8 @@ export declare const inventoryRouter: {
|
|
|
2331
2331
|
type: "purchases";
|
|
2332
2332
|
attributes: {
|
|
2333
2333
|
date: string;
|
|
2334
|
-
unit: string;
|
|
2335
2334
|
quantity: number;
|
|
2335
|
+
unit: string;
|
|
2336
2336
|
unitCost: number;
|
|
2337
2337
|
totalCost: number;
|
|
2338
2338
|
name?: string | undefined;
|
|
@@ -2346,8 +2346,8 @@ export declare const inventoryRouter: {
|
|
|
2346
2346
|
type: "purchases";
|
|
2347
2347
|
attributes: {
|
|
2348
2348
|
date: string;
|
|
2349
|
-
unit: string;
|
|
2350
2349
|
quantity: number;
|
|
2350
|
+
unit: string;
|
|
2351
2351
|
unitCost: number;
|
|
2352
2352
|
totalCost: number;
|
|
2353
2353
|
name?: string | undefined;
|
|
@@ -2363,8 +2363,8 @@ export declare const inventoryRouter: {
|
|
|
2363
2363
|
type: "purchases";
|
|
2364
2364
|
attributes: {
|
|
2365
2365
|
date: string;
|
|
2366
|
-
unit: string;
|
|
2367
2366
|
quantity: number;
|
|
2367
|
+
unit: string;
|
|
2368
2368
|
unitCost: number;
|
|
2369
2369
|
totalCost: number;
|
|
2370
2370
|
name?: string | undefined;
|
|
@@ -2380,8 +2380,8 @@ export declare const inventoryRouter: {
|
|
|
2380
2380
|
type: "purchases";
|
|
2381
2381
|
attributes: {
|
|
2382
2382
|
date: string;
|
|
2383
|
-
unit: string;
|
|
2384
2383
|
quantity: number;
|
|
2384
|
+
unit: string;
|
|
2385
2385
|
unitCost: number;
|
|
2386
2386
|
totalCost: number;
|
|
2387
2387
|
name?: string | undefined;
|
|
@@ -203,13 +203,13 @@ export declare const liveMonitorRouter: {
|
|
|
203
203
|
statusColor: z.ZodEnum<["green", "yellow", "red"]>;
|
|
204
204
|
}, "strip", z.ZodTypeAny, {
|
|
205
205
|
value: number;
|
|
206
|
-
timestamp: string;
|
|
207
206
|
unit: string;
|
|
207
|
+
timestamp: string;
|
|
208
208
|
statusColor: "green" | "yellow" | "red";
|
|
209
209
|
}, {
|
|
210
210
|
value: number;
|
|
211
|
-
timestamp: string;
|
|
212
211
|
unit: string;
|
|
212
|
+
timestamp: string;
|
|
213
213
|
statusColor: "green" | "yellow" | "red";
|
|
214
214
|
}>>;
|
|
215
215
|
batteryLevel: z.ZodNullable<z.ZodNumber>;
|
|
@@ -230,8 +230,8 @@ export declare const liveMonitorRouter: {
|
|
|
230
230
|
fieldName: string;
|
|
231
231
|
currentReading: {
|
|
232
232
|
value: number;
|
|
233
|
-
timestamp: string;
|
|
234
233
|
unit: string;
|
|
234
|
+
timestamp: string;
|
|
235
235
|
statusColor: "green" | "yellow" | "red";
|
|
236
236
|
} | null;
|
|
237
237
|
batteryLevel: number | null;
|
|
@@ -249,8 +249,8 @@ export declare const liveMonitorRouter: {
|
|
|
249
249
|
fieldName: string;
|
|
250
250
|
currentReading: {
|
|
251
251
|
value: number;
|
|
252
|
-
timestamp: string;
|
|
253
252
|
unit: string;
|
|
253
|
+
timestamp: string;
|
|
254
254
|
statusColor: "green" | "yellow" | "red";
|
|
255
255
|
} | null;
|
|
256
256
|
batteryLevel: number | null;
|
|
@@ -272,8 +272,8 @@ export declare const liveMonitorRouter: {
|
|
|
272
272
|
fieldName: string;
|
|
273
273
|
currentReading: {
|
|
274
274
|
value: number;
|
|
275
|
-
timestamp: string;
|
|
276
275
|
unit: string;
|
|
276
|
+
timestamp: string;
|
|
277
277
|
statusColor: "green" | "yellow" | "red";
|
|
278
278
|
} | null;
|
|
279
279
|
batteryLevel: number | null;
|
|
@@ -295,8 +295,8 @@ export declare const liveMonitorRouter: {
|
|
|
295
295
|
fieldName: string;
|
|
296
296
|
currentReading: {
|
|
297
297
|
value: number;
|
|
298
|
-
timestamp: string;
|
|
299
298
|
unit: string;
|
|
299
|
+
timestamp: string;
|
|
300
300
|
statusColor: "green" | "yellow" | "red";
|
|
301
301
|
} | null;
|
|
302
302
|
batteryLevel: number | null;
|
|
@@ -51,8 +51,8 @@ export declare const measurementsRouter: {
|
|
|
51
51
|
createdAt: string;
|
|
52
52
|
updatedAt: string;
|
|
53
53
|
farmId: string;
|
|
54
|
-
fieldId: string;
|
|
55
54
|
unit: string;
|
|
55
|
+
fieldId: string;
|
|
56
56
|
createdBy: string | null;
|
|
57
57
|
result: number;
|
|
58
58
|
label: string | null;
|
|
@@ -68,8 +68,8 @@ export declare const measurementsRouter: {
|
|
|
68
68
|
createdAt: string;
|
|
69
69
|
updatedAt: string;
|
|
70
70
|
farmId: string;
|
|
71
|
-
fieldId: string;
|
|
72
71
|
unit: string;
|
|
72
|
+
fieldId: string;
|
|
73
73
|
createdBy: string | null;
|
|
74
74
|
result: number;
|
|
75
75
|
label: string | null;
|
|
@@ -309,8 +309,8 @@ export declare const measurementsRouter: {
|
|
|
309
309
|
createdAt: string;
|
|
310
310
|
updatedAt: string;
|
|
311
311
|
farmId: string;
|
|
312
|
-
fieldId: string;
|
|
313
312
|
unit: string;
|
|
313
|
+
fieldId: string;
|
|
314
314
|
createdBy: string | null;
|
|
315
315
|
result: number;
|
|
316
316
|
label: string | null;
|
|
@@ -326,8 +326,8 @@ export declare const measurementsRouter: {
|
|
|
326
326
|
createdAt: string;
|
|
327
327
|
updatedAt: string;
|
|
328
328
|
farmId: string;
|
|
329
|
-
fieldId: string;
|
|
330
329
|
unit: string;
|
|
330
|
+
fieldId: string;
|
|
331
331
|
createdBy: string | null;
|
|
332
332
|
result: number;
|
|
333
333
|
label: string | null;
|
|
@@ -583,8 +583,8 @@ export declare const measurementsRouter: {
|
|
|
583
583
|
createdAt: string;
|
|
584
584
|
updatedAt: string;
|
|
585
585
|
farmId: string;
|
|
586
|
-
fieldId: string;
|
|
587
586
|
unit: string;
|
|
587
|
+
fieldId: string;
|
|
588
588
|
createdBy: string | null;
|
|
589
589
|
result: number;
|
|
590
590
|
label: string | null;
|
|
@@ -600,8 +600,8 @@ export declare const measurementsRouter: {
|
|
|
600
600
|
createdAt: string;
|
|
601
601
|
updatedAt: string;
|
|
602
602
|
farmId: string;
|
|
603
|
-
fieldId: string;
|
|
604
603
|
unit: string;
|
|
604
|
+
fieldId: string;
|
|
605
605
|
createdBy: string | null;
|
|
606
606
|
result: number;
|
|
607
607
|
label: string | null;
|
|
@@ -1473,13 +1473,13 @@ export declare const monitoringVisualizationRouter: {
|
|
|
1473
1473
|
statusColor: z.ZodEnum<["green", "yellow", "red"]>;
|
|
1474
1474
|
}, "strip", z.ZodTypeAny, {
|
|
1475
1475
|
value: number;
|
|
1476
|
-
timestamp: string;
|
|
1477
1476
|
unit: string;
|
|
1477
|
+
timestamp: string;
|
|
1478
1478
|
statusColor: "green" | "yellow" | "red";
|
|
1479
1479
|
}, {
|
|
1480
1480
|
value: number;
|
|
1481
|
-
timestamp: string;
|
|
1482
1481
|
unit: string;
|
|
1482
|
+
timestamp: string;
|
|
1483
1483
|
statusColor: "green" | "yellow" | "red";
|
|
1484
1484
|
}>>;
|
|
1485
1485
|
batteryLevel: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1495,8 +1495,8 @@ export declare const monitoringVisualizationRouter: {
|
|
|
1495
1495
|
};
|
|
1496
1496
|
currentReading: {
|
|
1497
1497
|
value: number;
|
|
1498
|
-
timestamp: string;
|
|
1499
1498
|
unit: string;
|
|
1499
|
+
timestamp: string;
|
|
1500
1500
|
statusColor: "green" | "yellow" | "red";
|
|
1501
1501
|
} | null;
|
|
1502
1502
|
batteryLevel: number | null;
|
|
@@ -1512,8 +1512,8 @@ export declare const monitoringVisualizationRouter: {
|
|
|
1512
1512
|
};
|
|
1513
1513
|
currentReading: {
|
|
1514
1514
|
value: number;
|
|
1515
|
-
timestamp: string;
|
|
1516
1515
|
unit: string;
|
|
1516
|
+
timestamp: string;
|
|
1517
1517
|
statusColor: "green" | "yellow" | "red";
|
|
1518
1518
|
} | null;
|
|
1519
1519
|
batteryLevel: number | null;
|
|
@@ -1533,8 +1533,8 @@ export declare const monitoringVisualizationRouter: {
|
|
|
1533
1533
|
};
|
|
1534
1534
|
currentReading: {
|
|
1535
1535
|
value: number;
|
|
1536
|
-
timestamp: string;
|
|
1537
1536
|
unit: string;
|
|
1537
|
+
timestamp: string;
|
|
1538
1538
|
statusColor: "green" | "yellow" | "red";
|
|
1539
1539
|
} | null;
|
|
1540
1540
|
batteryLevel: number | null;
|
|
@@ -1554,8 +1554,8 @@ export declare const monitoringVisualizationRouter: {
|
|
|
1554
1554
|
};
|
|
1555
1555
|
currentReading: {
|
|
1556
1556
|
value: number;
|
|
1557
|
-
timestamp: string;
|
|
1558
1557
|
unit: string;
|
|
1558
|
+
timestamp: string;
|
|
1559
1559
|
statusColor: "green" | "yellow" | "red";
|
|
1560
1560
|
} | null;
|
|
1561
1561
|
batteryLevel: number | null;
|
|
@@ -1658,13 +1658,13 @@ export declare const monitoringVisualizationRouter: {
|
|
|
1658
1658
|
statusColor: z.ZodEnum<["green", "yellow", "red"]>;
|
|
1659
1659
|
}, "strip", z.ZodTypeAny, {
|
|
1660
1660
|
value: number;
|
|
1661
|
-
timestamp: string;
|
|
1662
1661
|
unit: string;
|
|
1662
|
+
timestamp: string;
|
|
1663
1663
|
statusColor: "green" | "yellow" | "red";
|
|
1664
1664
|
}, {
|
|
1665
1665
|
value: number;
|
|
1666
|
-
timestamp: string;
|
|
1667
1666
|
unit: string;
|
|
1667
|
+
timestamp: string;
|
|
1668
1668
|
statusColor: "green" | "yellow" | "red";
|
|
1669
1669
|
}>>;
|
|
1670
1670
|
batteryLevel: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1680,8 +1680,8 @@ export declare const monitoringVisualizationRouter: {
|
|
|
1680
1680
|
};
|
|
1681
1681
|
currentReading: {
|
|
1682
1682
|
value: number;
|
|
1683
|
-
timestamp: string;
|
|
1684
1683
|
unit: string;
|
|
1684
|
+
timestamp: string;
|
|
1685
1685
|
statusColor: "green" | "yellow" | "red";
|
|
1686
1686
|
} | null;
|
|
1687
1687
|
batteryLevel: number | null;
|
|
@@ -1697,8 +1697,8 @@ export declare const monitoringVisualizationRouter: {
|
|
|
1697
1697
|
};
|
|
1698
1698
|
currentReading: {
|
|
1699
1699
|
value: number;
|
|
1700
|
-
timestamp: string;
|
|
1701
1700
|
unit: string;
|
|
1701
|
+
timestamp: string;
|
|
1702
1702
|
statusColor: "green" | "yellow" | "red";
|
|
1703
1703
|
} | null;
|
|
1704
1704
|
batteryLevel: number | null;
|
|
@@ -3346,8 +3346,8 @@ export declare const monitoringVisualizationRouter: {
|
|
|
3346
3346
|
risk: "low" | "medium" | "high";
|
|
3347
3347
|
}>, "many">>;
|
|
3348
3348
|
}, "strip", z.ZodTypeAny, {
|
|
3349
|
-
fieldId: string;
|
|
3350
3349
|
unit: "percent" | "degrees";
|
|
3350
|
+
fieldId: string;
|
|
3351
3351
|
classification: {
|
|
3352
3352
|
description: string;
|
|
3353
3353
|
color: string;
|
|
@@ -3381,8 +3381,8 @@ export declare const monitoringVisualizationRouter: {
|
|
|
3381
3381
|
risk: "low" | "medium" | "high";
|
|
3382
3382
|
}[] | undefined;
|
|
3383
3383
|
}, {
|
|
3384
|
-
fieldId: string;
|
|
3385
3384
|
unit: "percent" | "degrees";
|
|
3385
|
+
fieldId: string;
|
|
3386
3386
|
classification: {
|
|
3387
3387
|
description: string;
|
|
3388
3388
|
color: string;
|