@deepintel-ltd/farmpro-contracts 1.15.4 → 1.15.6
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/commodity-deals.routes.d.ts +561 -6
- package/dist/routes/commodity-deals.routes.d.ts.map +1 -1
- package/dist/routes/commodity-deals.routes.js +17 -1
- 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 +728 -13
- package/dist/schemas/commodity-deals.schemas.d.ts.map +1 -1
- package/dist/schemas/commodity-deals.schemas.js +68 -1
- 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
|
@@ -16,18 +16,18 @@ export declare const inventoryItemAttributesSchema: z.ZodObject<{
|
|
|
16
16
|
createdAt: string;
|
|
17
17
|
updatedAt: string;
|
|
18
18
|
name: string;
|
|
19
|
+
unit: string;
|
|
19
20
|
category: string;
|
|
20
21
|
stock: number;
|
|
21
|
-
unit: string;
|
|
22
22
|
avgCost: number;
|
|
23
23
|
totalValue?: number | undefined;
|
|
24
24
|
}, {
|
|
25
25
|
createdAt: string;
|
|
26
26
|
updatedAt: string;
|
|
27
27
|
name: string;
|
|
28
|
+
unit: string;
|
|
28
29
|
category: string;
|
|
29
30
|
stock: number;
|
|
30
|
-
unit: string;
|
|
31
31
|
avgCost: number;
|
|
32
32
|
totalValue?: number | undefined;
|
|
33
33
|
}>;
|
|
@@ -39,14 +39,14 @@ export declare const createInventoryItemAttributesSchema: z.ZodObject<{
|
|
|
39
39
|
initialCost: z.ZodOptional<z.ZodNumber>;
|
|
40
40
|
}, "strip", z.ZodTypeAny, {
|
|
41
41
|
name: string;
|
|
42
|
-
category: string;
|
|
43
42
|
unit: string;
|
|
43
|
+
category: string;
|
|
44
44
|
initialStock?: number | undefined;
|
|
45
45
|
initialCost?: number | undefined;
|
|
46
46
|
}, {
|
|
47
47
|
name: string;
|
|
48
|
-
category: string;
|
|
49
48
|
unit: string;
|
|
49
|
+
category: string;
|
|
50
50
|
initialStock?: number | undefined;
|
|
51
51
|
initialCost?: number | undefined;
|
|
52
52
|
}>;
|
|
@@ -56,12 +56,12 @@ export declare const updateInventoryItemAttributesSchema: z.ZodObject<{
|
|
|
56
56
|
unit: z.ZodOptional<z.ZodString>;
|
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
|
58
58
|
name?: string | undefined;
|
|
59
|
-
category?: string | undefined;
|
|
60
59
|
unit?: string | undefined;
|
|
60
|
+
category?: string | undefined;
|
|
61
61
|
}, {
|
|
62
62
|
name?: string | undefined;
|
|
63
|
-
category?: string | undefined;
|
|
64
63
|
unit?: string | undefined;
|
|
64
|
+
category?: string | undefined;
|
|
65
65
|
}>;
|
|
66
66
|
export declare const logPurchaseAttributesSchema: z.ZodObject<{
|
|
67
67
|
itemId: z.ZodOptional<z.ZodString>;
|
|
@@ -77,8 +77,8 @@ export declare const logPurchaseAttributesSchema: z.ZodObject<{
|
|
|
77
77
|
cropId: z.ZodOptional<z.ZodString>;
|
|
78
78
|
}, "strip", z.ZodTypeAny, {
|
|
79
79
|
date: string;
|
|
80
|
-
unit: string;
|
|
81
80
|
quantity: number;
|
|
81
|
+
unit: string;
|
|
82
82
|
unitCost: number;
|
|
83
83
|
totalCost: number;
|
|
84
84
|
name?: string | undefined;
|
|
@@ -89,8 +89,8 @@ export declare const logPurchaseAttributesSchema: z.ZodObject<{
|
|
|
89
89
|
cropId?: string | undefined;
|
|
90
90
|
}, {
|
|
91
91
|
date: string;
|
|
92
|
-
unit: string;
|
|
93
92
|
quantity: number;
|
|
93
|
+
unit: string;
|
|
94
94
|
unitCost: number;
|
|
95
95
|
totalCost: number;
|
|
96
96
|
name?: string | undefined;
|
|
@@ -110,14 +110,14 @@ export declare const createInventoryItemSchema: z.ZodObject<{
|
|
|
110
110
|
initialCost: z.ZodOptional<z.ZodNumber>;
|
|
111
111
|
}, "strip", z.ZodTypeAny, {
|
|
112
112
|
name: string;
|
|
113
|
-
category: string;
|
|
114
113
|
unit: string;
|
|
114
|
+
category: string;
|
|
115
115
|
initialStock?: number | undefined;
|
|
116
116
|
initialCost?: number | undefined;
|
|
117
117
|
}, {
|
|
118
118
|
name: string;
|
|
119
|
-
category: string;
|
|
120
119
|
unit: string;
|
|
120
|
+
category: string;
|
|
121
121
|
initialStock?: number | undefined;
|
|
122
122
|
initialCost?: number | undefined;
|
|
123
123
|
}>;
|
|
@@ -125,8 +125,8 @@ export declare const createInventoryItemSchema: z.ZodObject<{
|
|
|
125
125
|
type: "inventory-items";
|
|
126
126
|
attributes: {
|
|
127
127
|
name: string;
|
|
128
|
-
category: string;
|
|
129
128
|
unit: string;
|
|
129
|
+
category: string;
|
|
130
130
|
initialStock?: number | undefined;
|
|
131
131
|
initialCost?: number | undefined;
|
|
132
132
|
};
|
|
@@ -134,8 +134,8 @@ export declare const createInventoryItemSchema: z.ZodObject<{
|
|
|
134
134
|
type: "inventory-items";
|
|
135
135
|
attributes: {
|
|
136
136
|
name: string;
|
|
137
|
-
category: string;
|
|
138
137
|
unit: string;
|
|
138
|
+
category: string;
|
|
139
139
|
initialStock?: number | undefined;
|
|
140
140
|
initialCost?: number | undefined;
|
|
141
141
|
};
|
|
@@ -149,28 +149,28 @@ export declare const updateInventoryItemSchema: z.ZodObject<{
|
|
|
149
149
|
unit: z.ZodOptional<z.ZodString>;
|
|
150
150
|
}, "strip", z.ZodTypeAny, {
|
|
151
151
|
name?: string | undefined;
|
|
152
|
-
category?: string | undefined;
|
|
153
152
|
unit?: string | undefined;
|
|
153
|
+
category?: string | undefined;
|
|
154
154
|
}, {
|
|
155
155
|
name?: string | undefined;
|
|
156
|
-
category?: string | undefined;
|
|
157
156
|
unit?: string | undefined;
|
|
157
|
+
category?: string | undefined;
|
|
158
158
|
}>;
|
|
159
159
|
}, "strip", z.ZodTypeAny, {
|
|
160
160
|
type: "inventory-items";
|
|
161
161
|
id: string;
|
|
162
162
|
attributes: {
|
|
163
163
|
name?: string | undefined;
|
|
164
|
-
category?: string | undefined;
|
|
165
164
|
unit?: string | undefined;
|
|
165
|
+
category?: string | undefined;
|
|
166
166
|
};
|
|
167
167
|
}, {
|
|
168
168
|
type: "inventory-items";
|
|
169
169
|
id: string;
|
|
170
170
|
attributes: {
|
|
171
171
|
name?: string | undefined;
|
|
172
|
-
category?: string | undefined;
|
|
173
172
|
unit?: string | undefined;
|
|
173
|
+
category?: string | undefined;
|
|
174
174
|
};
|
|
175
175
|
}>;
|
|
176
176
|
export declare const logPurchaseSchema: z.ZodObject<{
|
|
@@ -189,8 +189,8 @@ export declare const logPurchaseSchema: z.ZodObject<{
|
|
|
189
189
|
cropId: z.ZodOptional<z.ZodString>;
|
|
190
190
|
}, "strip", z.ZodTypeAny, {
|
|
191
191
|
date: string;
|
|
192
|
-
unit: string;
|
|
193
192
|
quantity: number;
|
|
193
|
+
unit: string;
|
|
194
194
|
unitCost: number;
|
|
195
195
|
totalCost: number;
|
|
196
196
|
name?: string | undefined;
|
|
@@ -201,8 +201,8 @@ export declare const logPurchaseSchema: z.ZodObject<{
|
|
|
201
201
|
cropId?: string | undefined;
|
|
202
202
|
}, {
|
|
203
203
|
date: string;
|
|
204
|
-
unit: string;
|
|
205
204
|
quantity: number;
|
|
205
|
+
unit: string;
|
|
206
206
|
unitCost: number;
|
|
207
207
|
totalCost: number;
|
|
208
208
|
name?: string | undefined;
|
|
@@ -216,8 +216,8 @@ export declare const logPurchaseSchema: z.ZodObject<{
|
|
|
216
216
|
type: "purchases";
|
|
217
217
|
attributes: {
|
|
218
218
|
date: string;
|
|
219
|
-
unit: string;
|
|
220
219
|
quantity: number;
|
|
220
|
+
unit: string;
|
|
221
221
|
unitCost: number;
|
|
222
222
|
totalCost: number;
|
|
223
223
|
name?: string | undefined;
|
|
@@ -231,8 +231,8 @@ export declare const logPurchaseSchema: z.ZodObject<{
|
|
|
231
231
|
type: "purchases";
|
|
232
232
|
attributes: {
|
|
233
233
|
date: string;
|
|
234
|
-
unit: string;
|
|
235
234
|
quantity: number;
|
|
235
|
+
unit: string;
|
|
236
236
|
unitCost: number;
|
|
237
237
|
totalCost: number;
|
|
238
238
|
name?: string | undefined;
|
|
@@ -260,18 +260,18 @@ export declare const inventoryItemResourceSchema: z.ZodObject<{
|
|
|
260
260
|
createdAt: string;
|
|
261
261
|
updatedAt: string;
|
|
262
262
|
name: string;
|
|
263
|
+
unit: string;
|
|
263
264
|
category: string;
|
|
264
265
|
stock: number;
|
|
265
|
-
unit: string;
|
|
266
266
|
avgCost: number;
|
|
267
267
|
totalValue?: number | undefined;
|
|
268
268
|
}, {
|
|
269
269
|
createdAt: string;
|
|
270
270
|
updatedAt: string;
|
|
271
271
|
name: string;
|
|
272
|
+
unit: string;
|
|
272
273
|
category: string;
|
|
273
274
|
stock: number;
|
|
274
|
-
unit: string;
|
|
275
275
|
avgCost: number;
|
|
276
276
|
totalValue?: number | undefined;
|
|
277
277
|
}>;
|
|
@@ -285,9 +285,9 @@ export declare const inventoryItemResourceSchema: z.ZodObject<{
|
|
|
285
285
|
createdAt: string;
|
|
286
286
|
updatedAt: string;
|
|
287
287
|
name: string;
|
|
288
|
+
unit: string;
|
|
288
289
|
category: string;
|
|
289
290
|
stock: number;
|
|
290
|
-
unit: string;
|
|
291
291
|
avgCost: number;
|
|
292
292
|
totalValue?: number | undefined;
|
|
293
293
|
};
|
|
@@ -301,9 +301,9 @@ export declare const inventoryItemResourceSchema: z.ZodObject<{
|
|
|
301
301
|
createdAt: string;
|
|
302
302
|
updatedAt: string;
|
|
303
303
|
name: string;
|
|
304
|
+
unit: string;
|
|
304
305
|
category: string;
|
|
305
306
|
stock: number;
|
|
306
|
-
unit: string;
|
|
307
307
|
avgCost: number;
|
|
308
308
|
totalValue?: number | undefined;
|
|
309
309
|
};
|
|
@@ -328,18 +328,18 @@ export declare const inventoryItemDetailResourceSchema: z.ZodObject<{
|
|
|
328
328
|
createdAt: string;
|
|
329
329
|
updatedAt: string;
|
|
330
330
|
name: string;
|
|
331
|
+
unit: string;
|
|
331
332
|
category: string;
|
|
332
333
|
stock: number;
|
|
333
|
-
unit: string;
|
|
334
334
|
avgCost: number;
|
|
335
335
|
totalValue?: number | undefined;
|
|
336
336
|
}, {
|
|
337
337
|
createdAt: string;
|
|
338
338
|
updatedAt: string;
|
|
339
339
|
name: string;
|
|
340
|
+
unit: string;
|
|
340
341
|
category: string;
|
|
341
342
|
stock: number;
|
|
342
|
-
unit: string;
|
|
343
343
|
avgCost: number;
|
|
344
344
|
totalValue?: number | undefined;
|
|
345
345
|
}>;
|
|
@@ -449,9 +449,9 @@ export declare const inventoryItemDetailResourceSchema: z.ZodObject<{
|
|
|
449
449
|
createdAt: string;
|
|
450
450
|
updatedAt: string;
|
|
451
451
|
name: string;
|
|
452
|
+
unit: string;
|
|
452
453
|
category: string;
|
|
453
454
|
stock: number;
|
|
454
|
-
unit: string;
|
|
455
455
|
avgCost: number;
|
|
456
456
|
totalValue?: number | undefined;
|
|
457
457
|
};
|
|
@@ -482,9 +482,9 @@ export declare const inventoryItemDetailResourceSchema: z.ZodObject<{
|
|
|
482
482
|
createdAt: string;
|
|
483
483
|
updatedAt: string;
|
|
484
484
|
name: string;
|
|
485
|
+
unit: string;
|
|
485
486
|
category: string;
|
|
486
487
|
stock: number;
|
|
487
|
-
unit: string;
|
|
488
488
|
avgCost: number;
|
|
489
489
|
totalValue?: number | undefined;
|
|
490
490
|
};
|
|
@@ -527,18 +527,18 @@ export declare const inventoryItemResponseSchema: z.ZodObject<{
|
|
|
527
527
|
createdAt: string;
|
|
528
528
|
updatedAt: string;
|
|
529
529
|
name: string;
|
|
530
|
+
unit: string;
|
|
530
531
|
category: string;
|
|
531
532
|
stock: number;
|
|
532
|
-
unit: string;
|
|
533
533
|
avgCost: number;
|
|
534
534
|
totalValue?: number | undefined;
|
|
535
535
|
}, {
|
|
536
536
|
createdAt: string;
|
|
537
537
|
updatedAt: string;
|
|
538
538
|
name: string;
|
|
539
|
+
unit: string;
|
|
539
540
|
category: string;
|
|
540
541
|
stock: number;
|
|
541
|
-
unit: string;
|
|
542
542
|
avgCost: number;
|
|
543
543
|
totalValue?: number | undefined;
|
|
544
544
|
}>;
|
|
@@ -552,9 +552,9 @@ export declare const inventoryItemResponseSchema: z.ZodObject<{
|
|
|
552
552
|
createdAt: string;
|
|
553
553
|
updatedAt: string;
|
|
554
554
|
name: string;
|
|
555
|
+
unit: string;
|
|
555
556
|
category: string;
|
|
556
557
|
stock: number;
|
|
557
|
-
unit: string;
|
|
558
558
|
avgCost: number;
|
|
559
559
|
totalValue?: number | undefined;
|
|
560
560
|
};
|
|
@@ -568,9 +568,9 @@ export declare const inventoryItemResponseSchema: z.ZodObject<{
|
|
|
568
568
|
createdAt: string;
|
|
569
569
|
updatedAt: string;
|
|
570
570
|
name: string;
|
|
571
|
+
unit: string;
|
|
571
572
|
category: string;
|
|
572
573
|
stock: number;
|
|
573
|
-
unit: string;
|
|
574
574
|
avgCost: number;
|
|
575
575
|
totalValue?: number | undefined;
|
|
576
576
|
};
|
|
@@ -610,9 +610,9 @@ export declare const inventoryItemResponseSchema: z.ZodObject<{
|
|
|
610
610
|
createdAt: string;
|
|
611
611
|
updatedAt: string;
|
|
612
612
|
name: string;
|
|
613
|
+
unit: string;
|
|
613
614
|
category: string;
|
|
614
615
|
stock: number;
|
|
615
|
-
unit: string;
|
|
616
616
|
avgCost: number;
|
|
617
617
|
totalValue?: number | undefined;
|
|
618
618
|
};
|
|
@@ -638,9 +638,9 @@ export declare const inventoryItemResponseSchema: z.ZodObject<{
|
|
|
638
638
|
createdAt: string;
|
|
639
639
|
updatedAt: string;
|
|
640
640
|
name: string;
|
|
641
|
+
unit: string;
|
|
641
642
|
category: string;
|
|
642
643
|
stock: number;
|
|
643
|
-
unit: string;
|
|
644
644
|
avgCost: number;
|
|
645
645
|
totalValue?: number | undefined;
|
|
646
646
|
};
|
|
@@ -677,18 +677,18 @@ export declare const inventoryItemDetailResponseSchema: z.ZodObject<{
|
|
|
677
677
|
createdAt: string;
|
|
678
678
|
updatedAt: string;
|
|
679
679
|
name: string;
|
|
680
|
+
unit: string;
|
|
680
681
|
category: string;
|
|
681
682
|
stock: number;
|
|
682
|
-
unit: string;
|
|
683
683
|
avgCost: number;
|
|
684
684
|
totalValue?: number | undefined;
|
|
685
685
|
}, {
|
|
686
686
|
createdAt: string;
|
|
687
687
|
updatedAt: string;
|
|
688
688
|
name: string;
|
|
689
|
+
unit: string;
|
|
689
690
|
category: string;
|
|
690
691
|
stock: number;
|
|
691
|
-
unit: string;
|
|
692
692
|
avgCost: number;
|
|
693
693
|
totalValue?: number | undefined;
|
|
694
694
|
}>;
|
|
@@ -798,9 +798,9 @@ export declare const inventoryItemDetailResponseSchema: z.ZodObject<{
|
|
|
798
798
|
createdAt: string;
|
|
799
799
|
updatedAt: string;
|
|
800
800
|
name: string;
|
|
801
|
+
unit: string;
|
|
801
802
|
category: string;
|
|
802
803
|
stock: number;
|
|
803
|
-
unit: string;
|
|
804
804
|
avgCost: number;
|
|
805
805
|
totalValue?: number | undefined;
|
|
806
806
|
};
|
|
@@ -831,9 +831,9 @@ export declare const inventoryItemDetailResponseSchema: z.ZodObject<{
|
|
|
831
831
|
createdAt: string;
|
|
832
832
|
updatedAt: string;
|
|
833
833
|
name: string;
|
|
834
|
+
unit: string;
|
|
834
835
|
category: string;
|
|
835
836
|
stock: number;
|
|
836
|
-
unit: string;
|
|
837
837
|
avgCost: number;
|
|
838
838
|
totalValue?: number | undefined;
|
|
839
839
|
};
|
|
@@ -890,9 +890,9 @@ export declare const inventoryItemDetailResponseSchema: z.ZodObject<{
|
|
|
890
890
|
createdAt: string;
|
|
891
891
|
updatedAt: string;
|
|
892
892
|
name: string;
|
|
893
|
+
unit: string;
|
|
893
894
|
category: string;
|
|
894
895
|
stock: number;
|
|
895
|
-
unit: string;
|
|
896
896
|
avgCost: number;
|
|
897
897
|
totalValue?: number | undefined;
|
|
898
898
|
};
|
|
@@ -935,9 +935,9 @@ export declare const inventoryItemDetailResponseSchema: z.ZodObject<{
|
|
|
935
935
|
createdAt: string;
|
|
936
936
|
updatedAt: string;
|
|
937
937
|
name: string;
|
|
938
|
+
unit: string;
|
|
938
939
|
category: string;
|
|
939
940
|
stock: number;
|
|
940
|
-
unit: string;
|
|
941
941
|
avgCost: number;
|
|
942
942
|
totalValue?: number | undefined;
|
|
943
943
|
};
|
|
@@ -991,18 +991,18 @@ export declare const inventoryItemListResponseSchema: z.ZodObject<{
|
|
|
991
991
|
createdAt: string;
|
|
992
992
|
updatedAt: string;
|
|
993
993
|
name: string;
|
|
994
|
+
unit: string;
|
|
994
995
|
category: string;
|
|
995
996
|
stock: number;
|
|
996
|
-
unit: string;
|
|
997
997
|
avgCost: number;
|
|
998
998
|
totalValue?: number | undefined;
|
|
999
999
|
}, {
|
|
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
|
}>;
|
|
@@ -1016,9 +1016,9 @@ export declare const inventoryItemListResponseSchema: z.ZodObject<{
|
|
|
1016
1016
|
createdAt: string;
|
|
1017
1017
|
updatedAt: string;
|
|
1018
1018
|
name: string;
|
|
1019
|
+
unit: string;
|
|
1019
1020
|
category: string;
|
|
1020
1021
|
stock: number;
|
|
1021
|
-
unit: string;
|
|
1022
1022
|
avgCost: number;
|
|
1023
1023
|
totalValue?: number | undefined;
|
|
1024
1024
|
};
|
|
@@ -1032,9 +1032,9 @@ export declare const inventoryItemListResponseSchema: z.ZodObject<{
|
|
|
1032
1032
|
createdAt: string;
|
|
1033
1033
|
updatedAt: string;
|
|
1034
1034
|
name: string;
|
|
1035
|
+
unit: string;
|
|
1035
1036
|
category: string;
|
|
1036
1037
|
stock: number;
|
|
1037
|
-
unit: string;
|
|
1038
1038
|
avgCost: number;
|
|
1039
1039
|
totalValue?: number | undefined;
|
|
1040
1040
|
};
|
|
@@ -1074,9 +1074,9 @@ export declare const inventoryItemListResponseSchema: z.ZodObject<{
|
|
|
1074
1074
|
createdAt: string;
|
|
1075
1075
|
updatedAt: string;
|
|
1076
1076
|
name: string;
|
|
1077
|
+
unit: string;
|
|
1077
1078
|
category: string;
|
|
1078
1079
|
stock: number;
|
|
1079
|
-
unit: string;
|
|
1080
1080
|
avgCost: number;
|
|
1081
1081
|
totalValue?: number | undefined;
|
|
1082
1082
|
};
|
|
@@ -1102,9 +1102,9 @@ export declare const inventoryItemListResponseSchema: z.ZodObject<{
|
|
|
1102
1102
|
createdAt: string;
|
|
1103
1103
|
updatedAt: string;
|
|
1104
1104
|
name: string;
|
|
1105
|
+
unit: string;
|
|
1105
1106
|
category: string;
|
|
1106
1107
|
stock: number;
|
|
1107
|
-
unit: string;
|
|
1108
1108
|
avgCost: number;
|
|
1109
1109
|
totalValue?: number | undefined;
|
|
1110
1110
|
};
|
|
@@ -227,13 +227,13 @@ export declare const liveMonitorSensorSchema: z.ZodObject<{
|
|
|
227
227
|
statusColor: z.ZodEnum<["green", "yellow", "red"]>;
|
|
228
228
|
}, "strip", z.ZodTypeAny, {
|
|
229
229
|
value: number;
|
|
230
|
-
timestamp: string;
|
|
231
230
|
unit: string;
|
|
231
|
+
timestamp: string;
|
|
232
232
|
statusColor: "green" | "yellow" | "red";
|
|
233
233
|
}, {
|
|
234
234
|
value: number;
|
|
235
|
-
timestamp: string;
|
|
236
235
|
unit: string;
|
|
236
|
+
timestamp: string;
|
|
237
237
|
statusColor: "green" | "yellow" | "red";
|
|
238
238
|
}>>;
|
|
239
239
|
batteryLevel: z.ZodNullable<z.ZodNumber>;
|
|
@@ -254,8 +254,8 @@ export declare const liveMonitorSensorSchema: z.ZodObject<{
|
|
|
254
254
|
fieldName: string;
|
|
255
255
|
currentReading: {
|
|
256
256
|
value: number;
|
|
257
|
-
timestamp: string;
|
|
258
257
|
unit: string;
|
|
258
|
+
timestamp: string;
|
|
259
259
|
statusColor: "green" | "yellow" | "red";
|
|
260
260
|
} | null;
|
|
261
261
|
batteryLevel: number | null;
|
|
@@ -273,8 +273,8 @@ export declare const liveMonitorSensorSchema: z.ZodObject<{
|
|
|
273
273
|
fieldName: string;
|
|
274
274
|
currentReading: {
|
|
275
275
|
value: number;
|
|
276
|
-
timestamp: string;
|
|
277
276
|
unit: string;
|
|
277
|
+
timestamp: string;
|
|
278
278
|
statusColor: "green" | "yellow" | "red";
|
|
279
279
|
} | null;
|
|
280
280
|
batteryLevel: number | null;
|
|
@@ -304,13 +304,13 @@ export declare const liveMonitorSensorsResponseSchema: z.ZodObject<{
|
|
|
304
304
|
statusColor: z.ZodEnum<["green", "yellow", "red"]>;
|
|
305
305
|
}, "strip", z.ZodTypeAny, {
|
|
306
306
|
value: number;
|
|
307
|
-
timestamp: string;
|
|
308
307
|
unit: string;
|
|
308
|
+
timestamp: string;
|
|
309
309
|
statusColor: "green" | "yellow" | "red";
|
|
310
310
|
}, {
|
|
311
311
|
value: number;
|
|
312
|
-
timestamp: string;
|
|
313
312
|
unit: string;
|
|
313
|
+
timestamp: string;
|
|
314
314
|
statusColor: "green" | "yellow" | "red";
|
|
315
315
|
}>>;
|
|
316
316
|
batteryLevel: z.ZodNullable<z.ZodNumber>;
|
|
@@ -331,8 +331,8 @@ export declare const liveMonitorSensorsResponseSchema: z.ZodObject<{
|
|
|
331
331
|
fieldName: string;
|
|
332
332
|
currentReading: {
|
|
333
333
|
value: number;
|
|
334
|
-
timestamp: string;
|
|
335
334
|
unit: string;
|
|
335
|
+
timestamp: string;
|
|
336
336
|
statusColor: "green" | "yellow" | "red";
|
|
337
337
|
} | null;
|
|
338
338
|
batteryLevel: number | null;
|
|
@@ -350,8 +350,8 @@ export declare const liveMonitorSensorsResponseSchema: z.ZodObject<{
|
|
|
350
350
|
fieldName: string;
|
|
351
351
|
currentReading: {
|
|
352
352
|
value: number;
|
|
353
|
-
timestamp: string;
|
|
354
353
|
unit: string;
|
|
354
|
+
timestamp: string;
|
|
355
355
|
statusColor: "green" | "yellow" | "red";
|
|
356
356
|
} | null;
|
|
357
357
|
batteryLevel: number | null;
|
|
@@ -373,8 +373,8 @@ export declare const liveMonitorSensorsResponseSchema: z.ZodObject<{
|
|
|
373
373
|
fieldName: string;
|
|
374
374
|
currentReading: {
|
|
375
375
|
value: number;
|
|
376
|
-
timestamp: string;
|
|
377
376
|
unit: string;
|
|
377
|
+
timestamp: string;
|
|
378
378
|
statusColor: "green" | "yellow" | "red";
|
|
379
379
|
} | null;
|
|
380
380
|
batteryLevel: number | null;
|
|
@@ -396,8 +396,8 @@ export declare const liveMonitorSensorsResponseSchema: z.ZodObject<{
|
|
|
396
396
|
fieldName: string;
|
|
397
397
|
currentReading: {
|
|
398
398
|
value: number;
|
|
399
|
-
timestamp: string;
|
|
400
399
|
unit: string;
|
|
400
|
+
timestamp: string;
|
|
401
401
|
statusColor: "green" | "yellow" | "red";
|
|
402
402
|
} | null;
|
|
403
403
|
batteryLevel: number | null;
|
|
@@ -55,8 +55,8 @@ export declare const measurementSchema: z.ZodObject<{
|
|
|
55
55
|
createdAt: string;
|
|
56
56
|
updatedAt: string;
|
|
57
57
|
farmId: string;
|
|
58
|
-
fieldId: string;
|
|
59
58
|
unit: string;
|
|
59
|
+
fieldId: string;
|
|
60
60
|
createdBy: string | null;
|
|
61
61
|
result: number;
|
|
62
62
|
label: string | null;
|
|
@@ -72,8 +72,8 @@ export declare const measurementSchema: z.ZodObject<{
|
|
|
72
72
|
createdAt: string;
|
|
73
73
|
updatedAt: string;
|
|
74
74
|
farmId: string;
|
|
75
|
-
fieldId: string;
|
|
76
75
|
unit: string;
|
|
76
|
+
fieldId: string;
|
|
77
77
|
createdBy: string | null;
|
|
78
78
|
result: number;
|
|
79
79
|
label: string | null;
|
|
@@ -149,8 +149,8 @@ export declare const measurementListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
149
149
|
createdAt: string;
|
|
150
150
|
updatedAt: string;
|
|
151
151
|
farmId: string;
|
|
152
|
-
fieldId: string;
|
|
153
152
|
unit: string;
|
|
153
|
+
fieldId: string;
|
|
154
154
|
createdBy: string | null;
|
|
155
155
|
result: number;
|
|
156
156
|
label: string | null;
|
|
@@ -166,8 +166,8 @@ export declare const measurementListResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
166
166
|
createdAt: string;
|
|
167
167
|
updatedAt: string;
|
|
168
168
|
farmId: string;
|
|
169
|
-
fieldId: string;
|
|
170
169
|
unit: string;
|
|
170
|
+
fieldId: string;
|
|
171
171
|
createdBy: string | null;
|
|
172
172
|
result: number;
|
|
173
173
|
label: string | null;
|
|
@@ -210,8 +210,8 @@ export declare const measurementSingleResponseSchema: z.ZodObject<{
|
|
|
210
210
|
createdAt: string;
|
|
211
211
|
updatedAt: string;
|
|
212
212
|
farmId: string;
|
|
213
|
-
fieldId: string;
|
|
214
213
|
unit: string;
|
|
214
|
+
fieldId: string;
|
|
215
215
|
createdBy: string | null;
|
|
216
216
|
result: number;
|
|
217
217
|
label: string | null;
|
|
@@ -227,8 +227,8 @@ export declare const measurementSingleResponseSchema: z.ZodObject<{
|
|
|
227
227
|
createdAt: string;
|
|
228
228
|
updatedAt: string;
|
|
229
229
|
farmId: string;
|
|
230
|
-
fieldId: string;
|
|
231
230
|
unit: string;
|
|
231
|
+
fieldId: string;
|
|
232
232
|
createdBy: string | null;
|
|
233
233
|
result: number;
|
|
234
234
|
label: string | null;
|