@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
|
@@ -13,15 +13,15 @@ export declare const priceHistoryEntryAttributesSchema: z.ZodObject<{
|
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
14
|
date: string;
|
|
15
15
|
notes: string | null;
|
|
16
|
-
unit: string | null;
|
|
17
16
|
quantity: number | null;
|
|
17
|
+
unit: string | null;
|
|
18
18
|
item: string | null;
|
|
19
19
|
price: number;
|
|
20
20
|
}, {
|
|
21
21
|
date: string;
|
|
22
22
|
notes: string | null;
|
|
23
|
-
unit: string | null;
|
|
24
23
|
quantity: number | null;
|
|
24
|
+
unit: string | null;
|
|
25
25
|
item: string | null;
|
|
26
26
|
price: number;
|
|
27
27
|
}>;
|
|
@@ -45,15 +45,15 @@ export declare const supplierAttributesSchema: z.ZodObject<{
|
|
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
|
46
46
|
date: string;
|
|
47
47
|
notes: string | null;
|
|
48
|
-
unit: string | null;
|
|
49
48
|
quantity: number | null;
|
|
49
|
+
unit: string | null;
|
|
50
50
|
item: string | null;
|
|
51
51
|
price: number;
|
|
52
52
|
}, {
|
|
53
53
|
date: string;
|
|
54
54
|
notes: string | null;
|
|
55
|
-
unit: string | null;
|
|
56
55
|
quantity: number | null;
|
|
56
|
+
unit: string | null;
|
|
57
57
|
item: string | null;
|
|
58
58
|
price: number;
|
|
59
59
|
}>, "many">>;
|
|
@@ -61,7 +61,7 @@ export declare const supplierAttributesSchema: z.ZodObject<{
|
|
|
61
61
|
createdAt: z.ZodString;
|
|
62
62
|
updatedAt: z.ZodString;
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
64
|
-
type: "other" | "
|
|
64
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
65
65
|
email: string | null;
|
|
66
66
|
createdAt: string;
|
|
67
67
|
updatedAt: string;
|
|
@@ -75,13 +75,13 @@ export declare const supplierAttributesSchema: z.ZodObject<{
|
|
|
75
75
|
priceHistory?: {
|
|
76
76
|
date: string;
|
|
77
77
|
notes: string | null;
|
|
78
|
-
unit: string | null;
|
|
79
78
|
quantity: number | null;
|
|
79
|
+
unit: string | null;
|
|
80
80
|
item: string | null;
|
|
81
81
|
price: number;
|
|
82
82
|
}[] | undefined;
|
|
83
83
|
}, {
|
|
84
|
-
type: "other" | "
|
|
84
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
85
85
|
email: string | null;
|
|
86
86
|
createdAt: string;
|
|
87
87
|
updatedAt: string;
|
|
@@ -95,8 +95,8 @@ export declare const supplierAttributesSchema: z.ZodObject<{
|
|
|
95
95
|
priceHistory?: {
|
|
96
96
|
date: string;
|
|
97
97
|
notes: string | null;
|
|
98
|
-
unit: string | null;
|
|
99
98
|
quantity: number | null;
|
|
99
|
+
unit: string | null;
|
|
100
100
|
item: string | null;
|
|
101
101
|
price: number;
|
|
102
102
|
}[] | undefined;
|
|
@@ -111,7 +111,7 @@ export declare const createSupplierAttributesSchema: z.ZodObject<{
|
|
|
111
111
|
rating: z.ZodOptional<z.ZodNumber>;
|
|
112
112
|
notes: z.ZodOptional<z.ZodString>;
|
|
113
113
|
}, "strip", z.ZodTypeAny, {
|
|
114
|
-
type: "other" | "
|
|
114
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
115
115
|
name: string;
|
|
116
116
|
email?: string | undefined;
|
|
117
117
|
phone?: string | undefined;
|
|
@@ -120,7 +120,7 @@ export declare const createSupplierAttributesSchema: z.ZodObject<{
|
|
|
120
120
|
address?: string | undefined;
|
|
121
121
|
rating?: number | undefined;
|
|
122
122
|
}, {
|
|
123
|
-
type: "other" | "
|
|
123
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
124
124
|
name: string;
|
|
125
125
|
email?: string | undefined;
|
|
126
126
|
phone?: string | undefined;
|
|
@@ -139,7 +139,7 @@ export declare const updateSupplierAttributesSchema: z.ZodObject<{
|
|
|
139
139
|
rating: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
140
140
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
141
141
|
}, "strip", z.ZodTypeAny, {
|
|
142
|
-
type?: "other" | "
|
|
142
|
+
type?: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor" | undefined;
|
|
143
143
|
email?: string | null | undefined;
|
|
144
144
|
name?: string | undefined;
|
|
145
145
|
phone?: string | null | undefined;
|
|
@@ -148,7 +148,7 @@ export declare const updateSupplierAttributesSchema: z.ZodObject<{
|
|
|
148
148
|
address?: string | null | undefined;
|
|
149
149
|
rating?: number | null | undefined;
|
|
150
150
|
}, {
|
|
151
|
-
type?: "other" | "
|
|
151
|
+
type?: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor" | undefined;
|
|
152
152
|
email?: string | null | undefined;
|
|
153
153
|
name?: string | undefined;
|
|
154
154
|
phone?: string | null | undefined;
|
|
@@ -177,15 +177,15 @@ export declare const buyerAttributesSchema: z.ZodObject<{
|
|
|
177
177
|
}, "strip", z.ZodTypeAny, {
|
|
178
178
|
date: string;
|
|
179
179
|
notes: string | null;
|
|
180
|
-
unit: string | null;
|
|
181
180
|
quantity: number | null;
|
|
181
|
+
unit: string | null;
|
|
182
182
|
item: string | null;
|
|
183
183
|
price: number;
|
|
184
184
|
}, {
|
|
185
185
|
date: string;
|
|
186
186
|
notes: string | null;
|
|
187
|
-
unit: string | null;
|
|
188
187
|
quantity: number | null;
|
|
188
|
+
unit: string | null;
|
|
189
189
|
item: string | null;
|
|
190
190
|
price: number;
|
|
191
191
|
}>, "many">>;
|
|
@@ -206,8 +206,8 @@ export declare const buyerAttributesSchema: z.ZodObject<{
|
|
|
206
206
|
priceHistory?: {
|
|
207
207
|
date: string;
|
|
208
208
|
notes: string | null;
|
|
209
|
-
unit: string | null;
|
|
210
209
|
quantity: number | null;
|
|
210
|
+
unit: string | null;
|
|
211
211
|
item: string | null;
|
|
212
212
|
price: number;
|
|
213
213
|
}[] | undefined;
|
|
@@ -226,8 +226,8 @@ export declare const buyerAttributesSchema: z.ZodObject<{
|
|
|
226
226
|
priceHistory?: {
|
|
227
227
|
date: string;
|
|
228
228
|
notes: string | null;
|
|
229
|
-
unit: string | null;
|
|
230
229
|
quantity: number | null;
|
|
230
|
+
unit: string | null;
|
|
231
231
|
item: string | null;
|
|
232
232
|
price: number;
|
|
233
233
|
}[] | undefined;
|
|
@@ -301,7 +301,7 @@ export declare const createSupplierSchema: z.ZodObject<{
|
|
|
301
301
|
rating: z.ZodOptional<z.ZodNumber>;
|
|
302
302
|
notes: z.ZodOptional<z.ZodString>;
|
|
303
303
|
}, "strip", z.ZodTypeAny, {
|
|
304
|
-
type: "other" | "
|
|
304
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
305
305
|
name: string;
|
|
306
306
|
email?: string | undefined;
|
|
307
307
|
phone?: string | undefined;
|
|
@@ -310,7 +310,7 @@ export declare const createSupplierSchema: z.ZodObject<{
|
|
|
310
310
|
address?: string | undefined;
|
|
311
311
|
rating?: number | undefined;
|
|
312
312
|
}, {
|
|
313
|
-
type: "other" | "
|
|
313
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
314
314
|
name: string;
|
|
315
315
|
email?: string | undefined;
|
|
316
316
|
phone?: string | undefined;
|
|
@@ -322,7 +322,7 @@ export declare const createSupplierSchema: z.ZodObject<{
|
|
|
322
322
|
}, "strip", z.ZodTypeAny, {
|
|
323
323
|
type: "suppliers";
|
|
324
324
|
attributes: {
|
|
325
|
-
type: "other" | "
|
|
325
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
326
326
|
name: string;
|
|
327
327
|
email?: string | undefined;
|
|
328
328
|
phone?: string | undefined;
|
|
@@ -334,7 +334,7 @@ export declare const createSupplierSchema: z.ZodObject<{
|
|
|
334
334
|
}, {
|
|
335
335
|
type: "suppliers";
|
|
336
336
|
attributes: {
|
|
337
|
-
type: "other" | "
|
|
337
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
338
338
|
name: string;
|
|
339
339
|
email?: string | undefined;
|
|
340
340
|
phone?: string | undefined;
|
|
@@ -357,7 +357,7 @@ export declare const updateSupplierSchema: z.ZodObject<{
|
|
|
357
357
|
rating: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
358
358
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
359
359
|
}, "strip", z.ZodTypeAny, {
|
|
360
|
-
type?: "other" | "
|
|
360
|
+
type?: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor" | undefined;
|
|
361
361
|
email?: string | null | undefined;
|
|
362
362
|
name?: string | undefined;
|
|
363
363
|
phone?: string | null | undefined;
|
|
@@ -366,7 +366,7 @@ export declare const updateSupplierSchema: z.ZodObject<{
|
|
|
366
366
|
address?: string | null | undefined;
|
|
367
367
|
rating?: number | null | undefined;
|
|
368
368
|
}, {
|
|
369
|
-
type?: "other" | "
|
|
369
|
+
type?: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor" | undefined;
|
|
370
370
|
email?: string | null | undefined;
|
|
371
371
|
name?: string | undefined;
|
|
372
372
|
phone?: string | null | undefined;
|
|
@@ -379,7 +379,7 @@ export declare const updateSupplierSchema: z.ZodObject<{
|
|
|
379
379
|
type: "suppliers";
|
|
380
380
|
id: string;
|
|
381
381
|
attributes: {
|
|
382
|
-
type?: "other" | "
|
|
382
|
+
type?: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor" | undefined;
|
|
383
383
|
email?: string | null | undefined;
|
|
384
384
|
name?: string | undefined;
|
|
385
385
|
phone?: string | null | undefined;
|
|
@@ -392,7 +392,7 @@ export declare const updateSupplierSchema: z.ZodObject<{
|
|
|
392
392
|
type: "suppliers";
|
|
393
393
|
id: string;
|
|
394
394
|
attributes: {
|
|
395
|
-
type?: "other" | "
|
|
395
|
+
type?: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor" | undefined;
|
|
396
396
|
email?: string | null | undefined;
|
|
397
397
|
name?: string | undefined;
|
|
398
398
|
phone?: string | null | undefined;
|
|
@@ -538,15 +538,15 @@ export declare const supplierResourceSchema: z.ZodObject<{
|
|
|
538
538
|
}, "strip", z.ZodTypeAny, {
|
|
539
539
|
date: string;
|
|
540
540
|
notes: string | null;
|
|
541
|
-
unit: string | null;
|
|
542
541
|
quantity: number | null;
|
|
542
|
+
unit: string | null;
|
|
543
543
|
item: string | null;
|
|
544
544
|
price: number;
|
|
545
545
|
}, {
|
|
546
546
|
date: string;
|
|
547
547
|
notes: string | null;
|
|
548
|
-
unit: string | null;
|
|
549
548
|
quantity: number | null;
|
|
549
|
+
unit: string | null;
|
|
550
550
|
item: string | null;
|
|
551
551
|
price: number;
|
|
552
552
|
}>, "many">>;
|
|
@@ -554,7 +554,7 @@ export declare const supplierResourceSchema: z.ZodObject<{
|
|
|
554
554
|
createdAt: z.ZodString;
|
|
555
555
|
updatedAt: z.ZodString;
|
|
556
556
|
}, "strip", z.ZodTypeAny, {
|
|
557
|
-
type: "other" | "
|
|
557
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
558
558
|
email: string | null;
|
|
559
559
|
createdAt: string;
|
|
560
560
|
updatedAt: string;
|
|
@@ -568,13 +568,13 @@ export declare const supplierResourceSchema: z.ZodObject<{
|
|
|
568
568
|
priceHistory?: {
|
|
569
569
|
date: string;
|
|
570
570
|
notes: string | null;
|
|
571
|
-
unit: string | null;
|
|
572
571
|
quantity: number | null;
|
|
572
|
+
unit: string | null;
|
|
573
573
|
item: string | null;
|
|
574
574
|
price: number;
|
|
575
575
|
}[] | undefined;
|
|
576
576
|
}, {
|
|
577
|
-
type: "other" | "
|
|
577
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
578
578
|
email: string | null;
|
|
579
579
|
createdAt: string;
|
|
580
580
|
updatedAt: string;
|
|
@@ -588,8 +588,8 @@ export declare const supplierResourceSchema: z.ZodObject<{
|
|
|
588
588
|
priceHistory?: {
|
|
589
589
|
date: string;
|
|
590
590
|
notes: string | null;
|
|
591
|
-
unit: string | null;
|
|
592
591
|
quantity: number | null;
|
|
592
|
+
unit: string | null;
|
|
593
593
|
item: string | null;
|
|
594
594
|
price: number;
|
|
595
595
|
}[] | undefined;
|
|
@@ -601,7 +601,7 @@ export declare const supplierResourceSchema: z.ZodObject<{
|
|
|
601
601
|
type: string;
|
|
602
602
|
id: string;
|
|
603
603
|
attributes: {
|
|
604
|
-
type: "other" | "
|
|
604
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
605
605
|
email: string | null;
|
|
606
606
|
createdAt: string;
|
|
607
607
|
updatedAt: string;
|
|
@@ -615,8 +615,8 @@ export declare const supplierResourceSchema: z.ZodObject<{
|
|
|
615
615
|
priceHistory?: {
|
|
616
616
|
date: string;
|
|
617
617
|
notes: string | null;
|
|
618
|
-
unit: string | null;
|
|
619
618
|
quantity: number | null;
|
|
619
|
+
unit: string | null;
|
|
620
620
|
item: string | null;
|
|
621
621
|
price: number;
|
|
622
622
|
}[] | undefined;
|
|
@@ -628,7 +628,7 @@ export declare const supplierResourceSchema: z.ZodObject<{
|
|
|
628
628
|
type: string;
|
|
629
629
|
id: string;
|
|
630
630
|
attributes: {
|
|
631
|
-
type: "other" | "
|
|
631
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
632
632
|
email: string | null;
|
|
633
633
|
createdAt: string;
|
|
634
634
|
updatedAt: string;
|
|
@@ -642,8 +642,8 @@ export declare const supplierResourceSchema: z.ZodObject<{
|
|
|
642
642
|
priceHistory?: {
|
|
643
643
|
date: string;
|
|
644
644
|
notes: string | null;
|
|
645
|
-
unit: string | null;
|
|
646
645
|
quantity: number | null;
|
|
646
|
+
unit: string | null;
|
|
647
647
|
item: string | null;
|
|
648
648
|
price: number;
|
|
649
649
|
}[] | undefined;
|
|
@@ -675,15 +675,15 @@ export declare const buyerResourceSchema: z.ZodObject<{
|
|
|
675
675
|
}, "strip", z.ZodTypeAny, {
|
|
676
676
|
date: string;
|
|
677
677
|
notes: string | null;
|
|
678
|
-
unit: string | null;
|
|
679
678
|
quantity: number | null;
|
|
679
|
+
unit: string | null;
|
|
680
680
|
item: string | null;
|
|
681
681
|
price: number;
|
|
682
682
|
}, {
|
|
683
683
|
date: string;
|
|
684
684
|
notes: string | null;
|
|
685
|
-
unit: string | null;
|
|
686
685
|
quantity: number | null;
|
|
686
|
+
unit: string | null;
|
|
687
687
|
item: string | null;
|
|
688
688
|
price: number;
|
|
689
689
|
}>, "many">>;
|
|
@@ -704,8 +704,8 @@ export declare const buyerResourceSchema: z.ZodObject<{
|
|
|
704
704
|
priceHistory?: {
|
|
705
705
|
date: string;
|
|
706
706
|
notes: string | null;
|
|
707
|
-
unit: string | null;
|
|
708
707
|
quantity: number | null;
|
|
708
|
+
unit: string | null;
|
|
709
709
|
item: string | null;
|
|
710
710
|
price: number;
|
|
711
711
|
}[] | undefined;
|
|
@@ -724,8 +724,8 @@ export declare const buyerResourceSchema: z.ZodObject<{
|
|
|
724
724
|
priceHistory?: {
|
|
725
725
|
date: string;
|
|
726
726
|
notes: string | null;
|
|
727
|
-
unit: string | null;
|
|
728
727
|
quantity: number | null;
|
|
728
|
+
unit: string | null;
|
|
729
729
|
item: string | null;
|
|
730
730
|
price: number;
|
|
731
731
|
}[] | undefined;
|
|
@@ -751,8 +751,8 @@ export declare const buyerResourceSchema: z.ZodObject<{
|
|
|
751
751
|
priceHistory?: {
|
|
752
752
|
date: string;
|
|
753
753
|
notes: string | null;
|
|
754
|
-
unit: string | null;
|
|
755
754
|
quantity: number | null;
|
|
755
|
+
unit: string | null;
|
|
756
756
|
item: string | null;
|
|
757
757
|
price: number;
|
|
758
758
|
}[] | undefined;
|
|
@@ -778,8 +778,8 @@ export declare const buyerResourceSchema: z.ZodObject<{
|
|
|
778
778
|
priceHistory?: {
|
|
779
779
|
date: string;
|
|
780
780
|
notes: string | null;
|
|
781
|
-
unit: string | null;
|
|
782
781
|
quantity: number | null;
|
|
782
|
+
unit: string | null;
|
|
783
783
|
item: string | null;
|
|
784
784
|
price: number;
|
|
785
785
|
}[] | undefined;
|
|
@@ -813,15 +813,15 @@ export declare const supplierResponseSchema: z.ZodObject<{
|
|
|
813
813
|
}, "strip", z.ZodTypeAny, {
|
|
814
814
|
date: string;
|
|
815
815
|
notes: string | null;
|
|
816
|
-
unit: string | null;
|
|
817
816
|
quantity: number | null;
|
|
817
|
+
unit: string | null;
|
|
818
818
|
item: string | null;
|
|
819
819
|
price: number;
|
|
820
820
|
}, {
|
|
821
821
|
date: string;
|
|
822
822
|
notes: string | null;
|
|
823
|
-
unit: string | null;
|
|
824
823
|
quantity: number | null;
|
|
824
|
+
unit: string | null;
|
|
825
825
|
item: string | null;
|
|
826
826
|
price: number;
|
|
827
827
|
}>, "many">>;
|
|
@@ -829,7 +829,7 @@ export declare const supplierResponseSchema: z.ZodObject<{
|
|
|
829
829
|
createdAt: z.ZodString;
|
|
830
830
|
updatedAt: z.ZodString;
|
|
831
831
|
}, "strip", z.ZodTypeAny, {
|
|
832
|
-
type: "other" | "
|
|
832
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
833
833
|
email: string | null;
|
|
834
834
|
createdAt: string;
|
|
835
835
|
updatedAt: string;
|
|
@@ -843,13 +843,13 @@ export declare const supplierResponseSchema: z.ZodObject<{
|
|
|
843
843
|
priceHistory?: {
|
|
844
844
|
date: string;
|
|
845
845
|
notes: string | null;
|
|
846
|
-
unit: string | null;
|
|
847
846
|
quantity: number | null;
|
|
847
|
+
unit: string | null;
|
|
848
848
|
item: string | null;
|
|
849
849
|
price: number;
|
|
850
850
|
}[] | undefined;
|
|
851
851
|
}, {
|
|
852
|
-
type: "other" | "
|
|
852
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
853
853
|
email: string | null;
|
|
854
854
|
createdAt: string;
|
|
855
855
|
updatedAt: string;
|
|
@@ -863,8 +863,8 @@ export declare const supplierResponseSchema: z.ZodObject<{
|
|
|
863
863
|
priceHistory?: {
|
|
864
864
|
date: string;
|
|
865
865
|
notes: string | null;
|
|
866
|
-
unit: string | null;
|
|
867
866
|
quantity: number | null;
|
|
867
|
+
unit: string | null;
|
|
868
868
|
item: string | null;
|
|
869
869
|
price: number;
|
|
870
870
|
}[] | undefined;
|
|
@@ -876,7 +876,7 @@ export declare const supplierResponseSchema: z.ZodObject<{
|
|
|
876
876
|
type: string;
|
|
877
877
|
id: string;
|
|
878
878
|
attributes: {
|
|
879
|
-
type: "other" | "
|
|
879
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
880
880
|
email: string | null;
|
|
881
881
|
createdAt: string;
|
|
882
882
|
updatedAt: string;
|
|
@@ -890,8 +890,8 @@ export declare const supplierResponseSchema: z.ZodObject<{
|
|
|
890
890
|
priceHistory?: {
|
|
891
891
|
date: string;
|
|
892
892
|
notes: string | null;
|
|
893
|
-
unit: string | null;
|
|
894
893
|
quantity: number | null;
|
|
894
|
+
unit: string | null;
|
|
895
895
|
item: string | null;
|
|
896
896
|
price: number;
|
|
897
897
|
}[] | undefined;
|
|
@@ -903,7 +903,7 @@ export declare const supplierResponseSchema: z.ZodObject<{
|
|
|
903
903
|
type: string;
|
|
904
904
|
id: string;
|
|
905
905
|
attributes: {
|
|
906
|
-
type: "other" | "
|
|
906
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
907
907
|
email: string | null;
|
|
908
908
|
createdAt: string;
|
|
909
909
|
updatedAt: string;
|
|
@@ -917,8 +917,8 @@ export declare const supplierResponseSchema: z.ZodObject<{
|
|
|
917
917
|
priceHistory?: {
|
|
918
918
|
date: string;
|
|
919
919
|
notes: string | null;
|
|
920
|
-
unit: string | null;
|
|
921
920
|
quantity: number | null;
|
|
921
|
+
unit: string | null;
|
|
922
922
|
item: string | null;
|
|
923
923
|
price: number;
|
|
924
924
|
}[] | undefined;
|
|
@@ -956,7 +956,7 @@ export declare const supplierResponseSchema: z.ZodObject<{
|
|
|
956
956
|
type: string;
|
|
957
957
|
id: string;
|
|
958
958
|
attributes: {
|
|
959
|
-
type: "other" | "
|
|
959
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
960
960
|
email: string | null;
|
|
961
961
|
createdAt: string;
|
|
962
962
|
updatedAt: string;
|
|
@@ -970,8 +970,8 @@ export declare const supplierResponseSchema: z.ZodObject<{
|
|
|
970
970
|
priceHistory?: {
|
|
971
971
|
date: string;
|
|
972
972
|
notes: string | null;
|
|
973
|
-
unit: string | null;
|
|
974
973
|
quantity: number | null;
|
|
974
|
+
unit: string | null;
|
|
975
975
|
item: string | null;
|
|
976
976
|
price: number;
|
|
977
977
|
}[] | undefined;
|
|
@@ -995,7 +995,7 @@ export declare const supplierResponseSchema: z.ZodObject<{
|
|
|
995
995
|
type: string;
|
|
996
996
|
id: string;
|
|
997
997
|
attributes: {
|
|
998
|
-
type: "other" | "
|
|
998
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
999
999
|
email: string | null;
|
|
1000
1000
|
createdAt: string;
|
|
1001
1001
|
updatedAt: string;
|
|
@@ -1009,8 +1009,8 @@ export declare const supplierResponseSchema: z.ZodObject<{
|
|
|
1009
1009
|
priceHistory?: {
|
|
1010
1010
|
date: string;
|
|
1011
1011
|
notes: string | null;
|
|
1012
|
-
unit: string | null;
|
|
1013
1012
|
quantity: number | null;
|
|
1013
|
+
unit: string | null;
|
|
1014
1014
|
item: string | null;
|
|
1015
1015
|
price: number;
|
|
1016
1016
|
}[] | undefined;
|
|
@@ -1054,15 +1054,15 @@ export declare const supplierListResponseSchema: z.ZodObject<{
|
|
|
1054
1054
|
}, "strip", z.ZodTypeAny, {
|
|
1055
1055
|
date: string;
|
|
1056
1056
|
notes: string | null;
|
|
1057
|
-
unit: string | null;
|
|
1058
1057
|
quantity: number | null;
|
|
1058
|
+
unit: string | null;
|
|
1059
1059
|
item: string | null;
|
|
1060
1060
|
price: number;
|
|
1061
1061
|
}, {
|
|
1062
1062
|
date: string;
|
|
1063
1063
|
notes: string | null;
|
|
1064
|
-
unit: string | null;
|
|
1065
1064
|
quantity: number | null;
|
|
1065
|
+
unit: string | null;
|
|
1066
1066
|
item: string | null;
|
|
1067
1067
|
price: number;
|
|
1068
1068
|
}>, "many">>;
|
|
@@ -1070,7 +1070,7 @@ export declare const supplierListResponseSchema: z.ZodObject<{
|
|
|
1070
1070
|
createdAt: z.ZodString;
|
|
1071
1071
|
updatedAt: z.ZodString;
|
|
1072
1072
|
}, "strip", z.ZodTypeAny, {
|
|
1073
|
-
type: "other" | "
|
|
1073
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
1074
1074
|
email: string | null;
|
|
1075
1075
|
createdAt: string;
|
|
1076
1076
|
updatedAt: string;
|
|
@@ -1084,13 +1084,13 @@ export declare const supplierListResponseSchema: z.ZodObject<{
|
|
|
1084
1084
|
priceHistory?: {
|
|
1085
1085
|
date: string;
|
|
1086
1086
|
notes: string | null;
|
|
1087
|
-
unit: string | null;
|
|
1088
1087
|
quantity: number | null;
|
|
1088
|
+
unit: string | null;
|
|
1089
1089
|
item: string | null;
|
|
1090
1090
|
price: number;
|
|
1091
1091
|
}[] | undefined;
|
|
1092
1092
|
}, {
|
|
1093
|
-
type: "other" | "
|
|
1093
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
1094
1094
|
email: string | null;
|
|
1095
1095
|
createdAt: string;
|
|
1096
1096
|
updatedAt: string;
|
|
@@ -1104,8 +1104,8 @@ export declare const supplierListResponseSchema: z.ZodObject<{
|
|
|
1104
1104
|
priceHistory?: {
|
|
1105
1105
|
date: string;
|
|
1106
1106
|
notes: string | null;
|
|
1107
|
-
unit: string | null;
|
|
1108
1107
|
quantity: number | null;
|
|
1108
|
+
unit: string | null;
|
|
1109
1109
|
item: string | null;
|
|
1110
1110
|
price: number;
|
|
1111
1111
|
}[] | undefined;
|
|
@@ -1117,7 +1117,7 @@ export declare const supplierListResponseSchema: z.ZodObject<{
|
|
|
1117
1117
|
type: string;
|
|
1118
1118
|
id: string;
|
|
1119
1119
|
attributes: {
|
|
1120
|
-
type: "other" | "
|
|
1120
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
1121
1121
|
email: string | null;
|
|
1122
1122
|
createdAt: string;
|
|
1123
1123
|
updatedAt: string;
|
|
@@ -1131,8 +1131,8 @@ export declare const supplierListResponseSchema: z.ZodObject<{
|
|
|
1131
1131
|
priceHistory?: {
|
|
1132
1132
|
date: string;
|
|
1133
1133
|
notes: string | null;
|
|
1134
|
-
unit: string | null;
|
|
1135
1134
|
quantity: number | null;
|
|
1135
|
+
unit: string | null;
|
|
1136
1136
|
item: string | null;
|
|
1137
1137
|
price: number;
|
|
1138
1138
|
}[] | undefined;
|
|
@@ -1144,7 +1144,7 @@ export declare const supplierListResponseSchema: z.ZodObject<{
|
|
|
1144
1144
|
type: string;
|
|
1145
1145
|
id: string;
|
|
1146
1146
|
attributes: {
|
|
1147
|
-
type: "other" | "
|
|
1147
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
1148
1148
|
email: string | null;
|
|
1149
1149
|
createdAt: string;
|
|
1150
1150
|
updatedAt: string;
|
|
@@ -1158,8 +1158,8 @@ export declare const supplierListResponseSchema: z.ZodObject<{
|
|
|
1158
1158
|
priceHistory?: {
|
|
1159
1159
|
date: string;
|
|
1160
1160
|
notes: string | null;
|
|
1161
|
-
unit: string | null;
|
|
1162
1161
|
quantity: number | null;
|
|
1162
|
+
unit: string | null;
|
|
1163
1163
|
item: string | null;
|
|
1164
1164
|
price: number;
|
|
1165
1165
|
}[] | undefined;
|
|
@@ -1197,7 +1197,7 @@ export declare const supplierListResponseSchema: z.ZodObject<{
|
|
|
1197
1197
|
type: string;
|
|
1198
1198
|
id: string;
|
|
1199
1199
|
attributes: {
|
|
1200
|
-
type: "other" | "
|
|
1200
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
1201
1201
|
email: string | null;
|
|
1202
1202
|
createdAt: string;
|
|
1203
1203
|
updatedAt: string;
|
|
@@ -1211,8 +1211,8 @@ export declare const supplierListResponseSchema: z.ZodObject<{
|
|
|
1211
1211
|
priceHistory?: {
|
|
1212
1212
|
date: string;
|
|
1213
1213
|
notes: string | null;
|
|
1214
|
-
unit: string | null;
|
|
1215
1214
|
quantity: number | null;
|
|
1215
|
+
unit: string | null;
|
|
1216
1216
|
item: string | null;
|
|
1217
1217
|
price: number;
|
|
1218
1218
|
}[] | undefined;
|
|
@@ -1236,7 +1236,7 @@ export declare const supplierListResponseSchema: z.ZodObject<{
|
|
|
1236
1236
|
type: string;
|
|
1237
1237
|
id: string;
|
|
1238
1238
|
attributes: {
|
|
1239
|
-
type: "other" | "
|
|
1239
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
1240
1240
|
email: string | null;
|
|
1241
1241
|
createdAt: string;
|
|
1242
1242
|
updatedAt: string;
|
|
@@ -1250,8 +1250,8 @@ export declare const supplierListResponseSchema: z.ZodObject<{
|
|
|
1250
1250
|
priceHistory?: {
|
|
1251
1251
|
date: string;
|
|
1252
1252
|
notes: string | null;
|
|
1253
|
-
unit: string | null;
|
|
1254
1253
|
quantity: number | null;
|
|
1254
|
+
unit: string | null;
|
|
1255
1255
|
item: string | null;
|
|
1256
1256
|
price: number;
|
|
1257
1257
|
}[] | undefined;
|
|
@@ -1295,15 +1295,15 @@ export declare const buyerResponseSchema: z.ZodObject<{
|
|
|
1295
1295
|
}, "strip", z.ZodTypeAny, {
|
|
1296
1296
|
date: string;
|
|
1297
1297
|
notes: string | null;
|
|
1298
|
-
unit: string | null;
|
|
1299
1298
|
quantity: number | null;
|
|
1299
|
+
unit: string | null;
|
|
1300
1300
|
item: string | null;
|
|
1301
1301
|
price: number;
|
|
1302
1302
|
}, {
|
|
1303
1303
|
date: string;
|
|
1304
1304
|
notes: string | null;
|
|
1305
|
-
unit: string | null;
|
|
1306
1305
|
quantity: number | null;
|
|
1306
|
+
unit: string | null;
|
|
1307
1307
|
item: string | null;
|
|
1308
1308
|
price: number;
|
|
1309
1309
|
}>, "many">>;
|
|
@@ -1324,8 +1324,8 @@ export declare const buyerResponseSchema: z.ZodObject<{
|
|
|
1324
1324
|
priceHistory?: {
|
|
1325
1325
|
date: string;
|
|
1326
1326
|
notes: string | null;
|
|
1327
|
-
unit: string | null;
|
|
1328
1327
|
quantity: number | null;
|
|
1328
|
+
unit: string | null;
|
|
1329
1329
|
item: string | null;
|
|
1330
1330
|
price: number;
|
|
1331
1331
|
}[] | undefined;
|
|
@@ -1344,8 +1344,8 @@ export declare const buyerResponseSchema: z.ZodObject<{
|
|
|
1344
1344
|
priceHistory?: {
|
|
1345
1345
|
date: string;
|
|
1346
1346
|
notes: string | null;
|
|
1347
|
-
unit: string | null;
|
|
1348
1347
|
quantity: number | null;
|
|
1348
|
+
unit: string | null;
|
|
1349
1349
|
item: string | null;
|
|
1350
1350
|
price: number;
|
|
1351
1351
|
}[] | undefined;
|
|
@@ -1371,8 +1371,8 @@ export declare const buyerResponseSchema: z.ZodObject<{
|
|
|
1371
1371
|
priceHistory?: {
|
|
1372
1372
|
date: string;
|
|
1373
1373
|
notes: string | null;
|
|
1374
|
-
unit: string | null;
|
|
1375
1374
|
quantity: number | null;
|
|
1375
|
+
unit: string | null;
|
|
1376
1376
|
item: string | null;
|
|
1377
1377
|
price: number;
|
|
1378
1378
|
}[] | undefined;
|
|
@@ -1398,8 +1398,8 @@ export declare const buyerResponseSchema: z.ZodObject<{
|
|
|
1398
1398
|
priceHistory?: {
|
|
1399
1399
|
date: string;
|
|
1400
1400
|
notes: string | null;
|
|
1401
|
-
unit: string | null;
|
|
1402
1401
|
quantity: number | null;
|
|
1402
|
+
unit: string | null;
|
|
1403
1403
|
item: string | null;
|
|
1404
1404
|
price: number;
|
|
1405
1405
|
}[] | undefined;
|
|
@@ -1451,8 +1451,8 @@ export declare const buyerResponseSchema: z.ZodObject<{
|
|
|
1451
1451
|
priceHistory?: {
|
|
1452
1452
|
date: string;
|
|
1453
1453
|
notes: string | null;
|
|
1454
|
-
unit: string | null;
|
|
1455
1454
|
quantity: number | null;
|
|
1455
|
+
unit: string | null;
|
|
1456
1456
|
item: string | null;
|
|
1457
1457
|
price: number;
|
|
1458
1458
|
}[] | undefined;
|
|
@@ -1490,8 +1490,8 @@ export declare const buyerResponseSchema: z.ZodObject<{
|
|
|
1490
1490
|
priceHistory?: {
|
|
1491
1491
|
date: string;
|
|
1492
1492
|
notes: string | null;
|
|
1493
|
-
unit: string | null;
|
|
1494
1493
|
quantity: number | null;
|
|
1494
|
+
unit: string | null;
|
|
1495
1495
|
item: string | null;
|
|
1496
1496
|
price: number;
|
|
1497
1497
|
}[] | undefined;
|
|
@@ -1536,15 +1536,15 @@ export declare const buyerListResponseSchema: z.ZodObject<{
|
|
|
1536
1536
|
}, "strip", z.ZodTypeAny, {
|
|
1537
1537
|
date: string;
|
|
1538
1538
|
notes: string | null;
|
|
1539
|
-
unit: string | null;
|
|
1540
1539
|
quantity: number | null;
|
|
1540
|
+
unit: string | null;
|
|
1541
1541
|
item: string | null;
|
|
1542
1542
|
price: number;
|
|
1543
1543
|
}, {
|
|
1544
1544
|
date: string;
|
|
1545
1545
|
notes: string | null;
|
|
1546
|
-
unit: string | null;
|
|
1547
1546
|
quantity: number | null;
|
|
1547
|
+
unit: string | null;
|
|
1548
1548
|
item: string | null;
|
|
1549
1549
|
price: number;
|
|
1550
1550
|
}>, "many">>;
|
|
@@ -1565,8 +1565,8 @@ export declare const buyerListResponseSchema: z.ZodObject<{
|
|
|
1565
1565
|
priceHistory?: {
|
|
1566
1566
|
date: string;
|
|
1567
1567
|
notes: string | null;
|
|
1568
|
-
unit: string | null;
|
|
1569
1568
|
quantity: number | null;
|
|
1569
|
+
unit: string | null;
|
|
1570
1570
|
item: string | null;
|
|
1571
1571
|
price: number;
|
|
1572
1572
|
}[] | undefined;
|
|
@@ -1585,8 +1585,8 @@ export declare const buyerListResponseSchema: z.ZodObject<{
|
|
|
1585
1585
|
priceHistory?: {
|
|
1586
1586
|
date: string;
|
|
1587
1587
|
notes: string | null;
|
|
1588
|
-
unit: string | null;
|
|
1589
1588
|
quantity: number | null;
|
|
1589
|
+
unit: string | null;
|
|
1590
1590
|
item: string | null;
|
|
1591
1591
|
price: number;
|
|
1592
1592
|
}[] | undefined;
|
|
@@ -1612,8 +1612,8 @@ export declare const buyerListResponseSchema: z.ZodObject<{
|
|
|
1612
1612
|
priceHistory?: {
|
|
1613
1613
|
date: string;
|
|
1614
1614
|
notes: string | null;
|
|
1615
|
-
unit: string | null;
|
|
1616
1615
|
quantity: number | null;
|
|
1616
|
+
unit: string | null;
|
|
1617
1617
|
item: string | null;
|
|
1618
1618
|
price: number;
|
|
1619
1619
|
}[] | undefined;
|
|
@@ -1639,8 +1639,8 @@ export declare const buyerListResponseSchema: z.ZodObject<{
|
|
|
1639
1639
|
priceHistory?: {
|
|
1640
1640
|
date: string;
|
|
1641
1641
|
notes: string | null;
|
|
1642
|
-
unit: string | null;
|
|
1643
1642
|
quantity: number | null;
|
|
1643
|
+
unit: string | null;
|
|
1644
1644
|
item: string | null;
|
|
1645
1645
|
price: number;
|
|
1646
1646
|
}[] | undefined;
|
|
@@ -1692,8 +1692,8 @@ export declare const buyerListResponseSchema: z.ZodObject<{
|
|
|
1692
1692
|
priceHistory?: {
|
|
1693
1693
|
date: string;
|
|
1694
1694
|
notes: string | null;
|
|
1695
|
-
unit: string | null;
|
|
1696
1695
|
quantity: number | null;
|
|
1696
|
+
unit: string | null;
|
|
1697
1697
|
item: string | null;
|
|
1698
1698
|
price: number;
|
|
1699
1699
|
}[] | undefined;
|
|
@@ -1731,8 +1731,8 @@ export declare const buyerListResponseSchema: z.ZodObject<{
|
|
|
1731
1731
|
priceHistory?: {
|
|
1732
1732
|
date: string;
|
|
1733
1733
|
notes: string | null;
|
|
1734
|
-
unit: string | null;
|
|
1735
1734
|
quantity: number | null;
|
|
1735
|
+
unit: string | null;
|
|
1736
1736
|
item: string | null;
|
|
1737
1737
|
price: number;
|
|
1738
1738
|
}[] | undefined;
|