@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
|
@@ -31,7 +31,7 @@ export declare const suppliersRouter: {
|
|
|
31
31
|
'filter[status]'?: string | undefined;
|
|
32
32
|
'filter[crop]'?: string | undefined;
|
|
33
33
|
include?: string | undefined;
|
|
34
|
-
'filter[type]'?: "other" | "
|
|
34
|
+
'filter[type]'?: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor" | undefined;
|
|
35
35
|
}, {
|
|
36
36
|
sort?: string | undefined;
|
|
37
37
|
'page[number]'?: number | undefined;
|
|
@@ -41,7 +41,7 @@ export declare const suppliersRouter: {
|
|
|
41
41
|
'filter[status]'?: string | undefined;
|
|
42
42
|
'filter[crop]'?: string | undefined;
|
|
43
43
|
include?: string | undefined;
|
|
44
|
-
'filter[type]'?: "other" | "
|
|
44
|
+
'filter[type]'?: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor" | undefined;
|
|
45
45
|
}>;
|
|
46
46
|
summary: "List suppliers";
|
|
47
47
|
description: "Get all suppliers for an organization with optional filtering";
|
|
@@ -72,15 +72,15 @@ export declare const suppliersRouter: {
|
|
|
72
72
|
}, "strip", z.ZodTypeAny, {
|
|
73
73
|
date: string;
|
|
74
74
|
notes: string | null;
|
|
75
|
-
unit: string | null;
|
|
76
75
|
quantity: number | null;
|
|
76
|
+
unit: string | null;
|
|
77
77
|
item: string | null;
|
|
78
78
|
price: number;
|
|
79
79
|
}, {
|
|
80
80
|
date: string;
|
|
81
81
|
notes: string | null;
|
|
82
|
-
unit: string | null;
|
|
83
82
|
quantity: number | null;
|
|
83
|
+
unit: string | null;
|
|
84
84
|
item: string | null;
|
|
85
85
|
price: number;
|
|
86
86
|
}>, "many">>;
|
|
@@ -88,7 +88,7 @@ export declare const suppliersRouter: {
|
|
|
88
88
|
createdAt: z.ZodString;
|
|
89
89
|
updatedAt: z.ZodString;
|
|
90
90
|
}, "strip", z.ZodTypeAny, {
|
|
91
|
-
type: "other" | "
|
|
91
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
92
92
|
email: string | null;
|
|
93
93
|
createdAt: string;
|
|
94
94
|
updatedAt: string;
|
|
@@ -102,13 +102,13 @@ export declare const suppliersRouter: {
|
|
|
102
102
|
priceHistory?: {
|
|
103
103
|
date: string;
|
|
104
104
|
notes: string | null;
|
|
105
|
-
unit: string | null;
|
|
106
105
|
quantity: number | null;
|
|
106
|
+
unit: string | null;
|
|
107
107
|
item: string | null;
|
|
108
108
|
price: number;
|
|
109
109
|
}[] | undefined;
|
|
110
110
|
}, {
|
|
111
|
-
type: "other" | "
|
|
111
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
112
112
|
email: string | null;
|
|
113
113
|
createdAt: string;
|
|
114
114
|
updatedAt: string;
|
|
@@ -122,8 +122,8 @@ export declare const suppliersRouter: {
|
|
|
122
122
|
priceHistory?: {
|
|
123
123
|
date: string;
|
|
124
124
|
notes: string | null;
|
|
125
|
-
unit: string | null;
|
|
126
125
|
quantity: number | null;
|
|
126
|
+
unit: string | null;
|
|
127
127
|
item: string | null;
|
|
128
128
|
price: number;
|
|
129
129
|
}[] | undefined;
|
|
@@ -135,7 +135,7 @@ export declare const suppliersRouter: {
|
|
|
135
135
|
type: string;
|
|
136
136
|
id: string;
|
|
137
137
|
attributes: {
|
|
138
|
-
type: "other" | "
|
|
138
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
139
139
|
email: string | null;
|
|
140
140
|
createdAt: string;
|
|
141
141
|
updatedAt: string;
|
|
@@ -149,8 +149,8 @@ export declare const suppliersRouter: {
|
|
|
149
149
|
priceHistory?: {
|
|
150
150
|
date: string;
|
|
151
151
|
notes: string | null;
|
|
152
|
-
unit: string | null;
|
|
153
152
|
quantity: number | null;
|
|
153
|
+
unit: string | null;
|
|
154
154
|
item: string | null;
|
|
155
155
|
price: number;
|
|
156
156
|
}[] | undefined;
|
|
@@ -162,7 +162,7 @@ export declare const suppliersRouter: {
|
|
|
162
162
|
type: string;
|
|
163
163
|
id: string;
|
|
164
164
|
attributes: {
|
|
165
|
-
type: "other" | "
|
|
165
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
166
166
|
email: string | null;
|
|
167
167
|
createdAt: string;
|
|
168
168
|
updatedAt: string;
|
|
@@ -176,8 +176,8 @@ export declare const suppliersRouter: {
|
|
|
176
176
|
priceHistory?: {
|
|
177
177
|
date: string;
|
|
178
178
|
notes: string | null;
|
|
179
|
-
unit: string | null;
|
|
180
179
|
quantity: number | null;
|
|
180
|
+
unit: string | null;
|
|
181
181
|
item: string | null;
|
|
182
182
|
price: number;
|
|
183
183
|
}[] | undefined;
|
|
@@ -215,7 +215,7 @@ export declare const suppliersRouter: {
|
|
|
215
215
|
type: string;
|
|
216
216
|
id: string;
|
|
217
217
|
attributes: {
|
|
218
|
-
type: "other" | "
|
|
218
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
219
219
|
email: string | null;
|
|
220
220
|
createdAt: string;
|
|
221
221
|
updatedAt: string;
|
|
@@ -229,8 +229,8 @@ export declare const suppliersRouter: {
|
|
|
229
229
|
priceHistory?: {
|
|
230
230
|
date: string;
|
|
231
231
|
notes: string | null;
|
|
232
|
-
unit: string | null;
|
|
233
232
|
quantity: number | null;
|
|
233
|
+
unit: string | null;
|
|
234
234
|
item: string | null;
|
|
235
235
|
price: number;
|
|
236
236
|
}[] | undefined;
|
|
@@ -254,7 +254,7 @@ export declare const suppliersRouter: {
|
|
|
254
254
|
type: string;
|
|
255
255
|
id: string;
|
|
256
256
|
attributes: {
|
|
257
|
-
type: "other" | "
|
|
257
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
258
258
|
email: string | null;
|
|
259
259
|
createdAt: string;
|
|
260
260
|
updatedAt: string;
|
|
@@ -268,8 +268,8 @@ export declare const suppliersRouter: {
|
|
|
268
268
|
priceHistory?: {
|
|
269
269
|
date: string;
|
|
270
270
|
notes: string | null;
|
|
271
|
-
unit: string | null;
|
|
272
271
|
quantity: number | null;
|
|
272
|
+
unit: string | null;
|
|
273
273
|
item: string | null;
|
|
274
274
|
price: number;
|
|
275
275
|
}[] | undefined;
|
|
@@ -495,7 +495,7 @@ export declare const suppliersRouter: {
|
|
|
495
495
|
rating: z.ZodOptional<z.ZodNumber>;
|
|
496
496
|
notes: z.ZodOptional<z.ZodString>;
|
|
497
497
|
}, "strip", z.ZodTypeAny, {
|
|
498
|
-
type: "other" | "
|
|
498
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
499
499
|
name: string;
|
|
500
500
|
email?: string | undefined;
|
|
501
501
|
phone?: string | undefined;
|
|
@@ -504,7 +504,7 @@ export declare const suppliersRouter: {
|
|
|
504
504
|
address?: string | undefined;
|
|
505
505
|
rating?: number | undefined;
|
|
506
506
|
}, {
|
|
507
|
-
type: "other" | "
|
|
507
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
508
508
|
name: string;
|
|
509
509
|
email?: string | undefined;
|
|
510
510
|
phone?: string | undefined;
|
|
@@ -516,7 +516,7 @@ export declare const suppliersRouter: {
|
|
|
516
516
|
}, "strip", z.ZodTypeAny, {
|
|
517
517
|
type: "suppliers";
|
|
518
518
|
attributes: {
|
|
519
|
-
type: "other" | "
|
|
519
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
520
520
|
name: string;
|
|
521
521
|
email?: string | undefined;
|
|
522
522
|
phone?: string | undefined;
|
|
@@ -528,7 +528,7 @@ export declare const suppliersRouter: {
|
|
|
528
528
|
}, {
|
|
529
529
|
type: "suppliers";
|
|
530
530
|
attributes: {
|
|
531
|
-
type: "other" | "
|
|
531
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
532
532
|
name: string;
|
|
533
533
|
email?: string | undefined;
|
|
534
534
|
phone?: string | undefined;
|
|
@@ -542,7 +542,7 @@ export declare const suppliersRouter: {
|
|
|
542
542
|
data: {
|
|
543
543
|
type: "suppliers";
|
|
544
544
|
attributes: {
|
|
545
|
-
type: "other" | "
|
|
545
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
546
546
|
name: string;
|
|
547
547
|
email?: string | undefined;
|
|
548
548
|
phone?: string | undefined;
|
|
@@ -556,7 +556,7 @@ export declare const suppliersRouter: {
|
|
|
556
556
|
data: {
|
|
557
557
|
type: "suppliers";
|
|
558
558
|
attributes: {
|
|
559
|
-
type: "other" | "
|
|
559
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
560
560
|
name: string;
|
|
561
561
|
email?: string | undefined;
|
|
562
562
|
phone?: string | undefined;
|
|
@@ -593,15 +593,15 @@ export declare const suppliersRouter: {
|
|
|
593
593
|
}, "strip", z.ZodTypeAny, {
|
|
594
594
|
date: string;
|
|
595
595
|
notes: string | null;
|
|
596
|
-
unit: string | null;
|
|
597
596
|
quantity: number | null;
|
|
597
|
+
unit: string | null;
|
|
598
598
|
item: string | null;
|
|
599
599
|
price: number;
|
|
600
600
|
}, {
|
|
601
601
|
date: string;
|
|
602
602
|
notes: string | null;
|
|
603
|
-
unit: string | null;
|
|
604
603
|
quantity: number | null;
|
|
604
|
+
unit: string | null;
|
|
605
605
|
item: string | null;
|
|
606
606
|
price: number;
|
|
607
607
|
}>, "many">>;
|
|
@@ -609,7 +609,7 @@ export declare const suppliersRouter: {
|
|
|
609
609
|
createdAt: z.ZodString;
|
|
610
610
|
updatedAt: z.ZodString;
|
|
611
611
|
}, "strip", z.ZodTypeAny, {
|
|
612
|
-
type: "other" | "
|
|
612
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
613
613
|
email: string | null;
|
|
614
614
|
createdAt: string;
|
|
615
615
|
updatedAt: string;
|
|
@@ -623,13 +623,13 @@ export declare const suppliersRouter: {
|
|
|
623
623
|
priceHistory?: {
|
|
624
624
|
date: string;
|
|
625
625
|
notes: string | null;
|
|
626
|
-
unit: string | null;
|
|
627
626
|
quantity: number | null;
|
|
627
|
+
unit: string | null;
|
|
628
628
|
item: string | null;
|
|
629
629
|
price: number;
|
|
630
630
|
}[] | undefined;
|
|
631
631
|
}, {
|
|
632
|
-
type: "other" | "
|
|
632
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
633
633
|
email: string | null;
|
|
634
634
|
createdAt: string;
|
|
635
635
|
updatedAt: string;
|
|
@@ -643,8 +643,8 @@ export declare const suppliersRouter: {
|
|
|
643
643
|
priceHistory?: {
|
|
644
644
|
date: string;
|
|
645
645
|
notes: string | null;
|
|
646
|
-
unit: string | null;
|
|
647
646
|
quantity: number | null;
|
|
647
|
+
unit: string | null;
|
|
648
648
|
item: string | null;
|
|
649
649
|
price: number;
|
|
650
650
|
}[] | undefined;
|
|
@@ -656,7 +656,7 @@ export declare const suppliersRouter: {
|
|
|
656
656
|
type: string;
|
|
657
657
|
id: string;
|
|
658
658
|
attributes: {
|
|
659
|
-
type: "other" | "
|
|
659
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
660
660
|
email: string | null;
|
|
661
661
|
createdAt: string;
|
|
662
662
|
updatedAt: string;
|
|
@@ -670,8 +670,8 @@ export declare const suppliersRouter: {
|
|
|
670
670
|
priceHistory?: {
|
|
671
671
|
date: string;
|
|
672
672
|
notes: string | null;
|
|
673
|
-
unit: string | null;
|
|
674
673
|
quantity: number | null;
|
|
674
|
+
unit: string | null;
|
|
675
675
|
item: string | null;
|
|
676
676
|
price: number;
|
|
677
677
|
}[] | undefined;
|
|
@@ -683,7 +683,7 @@ export declare const suppliersRouter: {
|
|
|
683
683
|
type: string;
|
|
684
684
|
id: string;
|
|
685
685
|
attributes: {
|
|
686
|
-
type: "other" | "
|
|
686
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
687
687
|
email: string | null;
|
|
688
688
|
createdAt: string;
|
|
689
689
|
updatedAt: string;
|
|
@@ -697,8 +697,8 @@ export declare const suppliersRouter: {
|
|
|
697
697
|
priceHistory?: {
|
|
698
698
|
date: string;
|
|
699
699
|
notes: string | null;
|
|
700
|
-
unit: string | null;
|
|
701
700
|
quantity: number | null;
|
|
701
|
+
unit: string | null;
|
|
702
702
|
item: string | null;
|
|
703
703
|
price: number;
|
|
704
704
|
}[] | undefined;
|
|
@@ -736,7 +736,7 @@ export declare const suppliersRouter: {
|
|
|
736
736
|
type: string;
|
|
737
737
|
id: string;
|
|
738
738
|
attributes: {
|
|
739
|
-
type: "other" | "
|
|
739
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
740
740
|
email: string | null;
|
|
741
741
|
createdAt: string;
|
|
742
742
|
updatedAt: string;
|
|
@@ -750,8 +750,8 @@ export declare const suppliersRouter: {
|
|
|
750
750
|
priceHistory?: {
|
|
751
751
|
date: string;
|
|
752
752
|
notes: string | null;
|
|
753
|
-
unit: string | null;
|
|
754
753
|
quantity: number | null;
|
|
754
|
+
unit: string | null;
|
|
755
755
|
item: string | null;
|
|
756
756
|
price: number;
|
|
757
757
|
}[] | undefined;
|
|
@@ -775,7 +775,7 @@ export declare const suppliersRouter: {
|
|
|
775
775
|
type: string;
|
|
776
776
|
id: string;
|
|
777
777
|
attributes: {
|
|
778
|
-
type: "other" | "
|
|
778
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
779
779
|
email: string | null;
|
|
780
780
|
createdAt: string;
|
|
781
781
|
updatedAt: string;
|
|
@@ -789,8 +789,8 @@ export declare const suppliersRouter: {
|
|
|
789
789
|
priceHistory?: {
|
|
790
790
|
date: string;
|
|
791
791
|
notes: string | null;
|
|
792
|
-
unit: string | null;
|
|
793
792
|
quantity: number | null;
|
|
793
|
+
unit: string | null;
|
|
794
794
|
item: string | null;
|
|
795
795
|
price: number;
|
|
796
796
|
}[] | undefined;
|
|
@@ -1200,7 +1200,7 @@ export declare const suppliersRouter: {
|
|
|
1200
1200
|
rating: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1201
1201
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1202
1202
|
}, "strip", z.ZodTypeAny, {
|
|
1203
|
-
type?: "other" | "
|
|
1203
|
+
type?: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor" | undefined;
|
|
1204
1204
|
email?: string | null | undefined;
|
|
1205
1205
|
name?: string | undefined;
|
|
1206
1206
|
phone?: string | null | undefined;
|
|
@@ -1209,7 +1209,7 @@ export declare const suppliersRouter: {
|
|
|
1209
1209
|
address?: string | null | undefined;
|
|
1210
1210
|
rating?: number | null | undefined;
|
|
1211
1211
|
}, {
|
|
1212
|
-
type?: "other" | "
|
|
1212
|
+
type?: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor" | undefined;
|
|
1213
1213
|
email?: string | null | undefined;
|
|
1214
1214
|
name?: string | undefined;
|
|
1215
1215
|
phone?: string | null | undefined;
|
|
@@ -1222,7 +1222,7 @@ export declare const suppliersRouter: {
|
|
|
1222
1222
|
type: "suppliers";
|
|
1223
1223
|
id: string;
|
|
1224
1224
|
attributes: {
|
|
1225
|
-
type?: "other" | "
|
|
1225
|
+
type?: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor" | undefined;
|
|
1226
1226
|
email?: string | null | undefined;
|
|
1227
1227
|
name?: string | undefined;
|
|
1228
1228
|
phone?: string | null | undefined;
|
|
@@ -1235,7 +1235,7 @@ export declare const suppliersRouter: {
|
|
|
1235
1235
|
type: "suppliers";
|
|
1236
1236
|
id: string;
|
|
1237
1237
|
attributes: {
|
|
1238
|
-
type?: "other" | "
|
|
1238
|
+
type?: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor" | undefined;
|
|
1239
1239
|
email?: string | null | undefined;
|
|
1240
1240
|
name?: string | undefined;
|
|
1241
1241
|
phone?: string | null | undefined;
|
|
@@ -1250,7 +1250,7 @@ export declare const suppliersRouter: {
|
|
|
1250
1250
|
type: "suppliers";
|
|
1251
1251
|
id: string;
|
|
1252
1252
|
attributes: {
|
|
1253
|
-
type?: "other" | "
|
|
1253
|
+
type?: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor" | undefined;
|
|
1254
1254
|
email?: string | null | undefined;
|
|
1255
1255
|
name?: string | undefined;
|
|
1256
1256
|
phone?: string | null | undefined;
|
|
@@ -1265,7 +1265,7 @@ export declare const suppliersRouter: {
|
|
|
1265
1265
|
type: "suppliers";
|
|
1266
1266
|
id: string;
|
|
1267
1267
|
attributes: {
|
|
1268
|
-
type?: "other" | "
|
|
1268
|
+
type?: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor" | undefined;
|
|
1269
1269
|
email?: string | null | undefined;
|
|
1270
1270
|
name?: string | undefined;
|
|
1271
1271
|
phone?: string | null | undefined;
|
|
@@ -1302,15 +1302,15 @@ export declare const suppliersRouter: {
|
|
|
1302
1302
|
}, "strip", z.ZodTypeAny, {
|
|
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
|
}, {
|
|
1310
1310
|
date: string;
|
|
1311
1311
|
notes: string | null;
|
|
1312
|
-
unit: string | null;
|
|
1313
1312
|
quantity: number | null;
|
|
1313
|
+
unit: string | null;
|
|
1314
1314
|
item: string | null;
|
|
1315
1315
|
price: number;
|
|
1316
1316
|
}>, "many">>;
|
|
@@ -1318,7 +1318,7 @@ export declare const suppliersRouter: {
|
|
|
1318
1318
|
createdAt: z.ZodString;
|
|
1319
1319
|
updatedAt: z.ZodString;
|
|
1320
1320
|
}, "strip", z.ZodTypeAny, {
|
|
1321
|
-
type: "other" | "
|
|
1321
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
1322
1322
|
email: string | null;
|
|
1323
1323
|
createdAt: string;
|
|
1324
1324
|
updatedAt: string;
|
|
@@ -1332,13 +1332,13 @@ export declare const suppliersRouter: {
|
|
|
1332
1332
|
priceHistory?: {
|
|
1333
1333
|
date: string;
|
|
1334
1334
|
notes: string | null;
|
|
1335
|
-
unit: string | null;
|
|
1336
1335
|
quantity: number | null;
|
|
1336
|
+
unit: string | null;
|
|
1337
1337
|
item: string | null;
|
|
1338
1338
|
price: number;
|
|
1339
1339
|
}[] | undefined;
|
|
1340
1340
|
}, {
|
|
1341
|
-
type: "other" | "
|
|
1341
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
1342
1342
|
email: string | null;
|
|
1343
1343
|
createdAt: string;
|
|
1344
1344
|
updatedAt: string;
|
|
@@ -1352,8 +1352,8 @@ export declare const suppliersRouter: {
|
|
|
1352
1352
|
priceHistory?: {
|
|
1353
1353
|
date: string;
|
|
1354
1354
|
notes: string | null;
|
|
1355
|
-
unit: string | null;
|
|
1356
1355
|
quantity: number | null;
|
|
1356
|
+
unit: string | null;
|
|
1357
1357
|
item: string | null;
|
|
1358
1358
|
price: number;
|
|
1359
1359
|
}[] | undefined;
|
|
@@ -1365,7 +1365,7 @@ export declare const suppliersRouter: {
|
|
|
1365
1365
|
type: string;
|
|
1366
1366
|
id: string;
|
|
1367
1367
|
attributes: {
|
|
1368
|
-
type: "other" | "
|
|
1368
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
1369
1369
|
email: string | null;
|
|
1370
1370
|
createdAt: string;
|
|
1371
1371
|
updatedAt: string;
|
|
@@ -1379,8 +1379,8 @@ export declare const suppliersRouter: {
|
|
|
1379
1379
|
priceHistory?: {
|
|
1380
1380
|
date: string;
|
|
1381
1381
|
notes: string | null;
|
|
1382
|
-
unit: string | null;
|
|
1383
1382
|
quantity: number | null;
|
|
1383
|
+
unit: string | null;
|
|
1384
1384
|
item: string | null;
|
|
1385
1385
|
price: number;
|
|
1386
1386
|
}[] | undefined;
|
|
@@ -1392,7 +1392,7 @@ export declare const suppliersRouter: {
|
|
|
1392
1392
|
type: string;
|
|
1393
1393
|
id: string;
|
|
1394
1394
|
attributes: {
|
|
1395
|
-
type: "other" | "
|
|
1395
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
1396
1396
|
email: string | null;
|
|
1397
1397
|
createdAt: string;
|
|
1398
1398
|
updatedAt: string;
|
|
@@ -1406,8 +1406,8 @@ export declare const suppliersRouter: {
|
|
|
1406
1406
|
priceHistory?: {
|
|
1407
1407
|
date: string;
|
|
1408
1408
|
notes: string | null;
|
|
1409
|
-
unit: string | null;
|
|
1410
1409
|
quantity: number | null;
|
|
1410
|
+
unit: string | null;
|
|
1411
1411
|
item: string | null;
|
|
1412
1412
|
price: number;
|
|
1413
1413
|
}[] | undefined;
|
|
@@ -1445,7 +1445,7 @@ export declare const suppliersRouter: {
|
|
|
1445
1445
|
type: string;
|
|
1446
1446
|
id: string;
|
|
1447
1447
|
attributes: {
|
|
1448
|
-
type: "other" | "
|
|
1448
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
1449
1449
|
email: string | null;
|
|
1450
1450
|
createdAt: string;
|
|
1451
1451
|
updatedAt: string;
|
|
@@ -1459,8 +1459,8 @@ export declare const suppliersRouter: {
|
|
|
1459
1459
|
priceHistory?: {
|
|
1460
1460
|
date: string;
|
|
1461
1461
|
notes: string | null;
|
|
1462
|
-
unit: string | null;
|
|
1463
1462
|
quantity: number | null;
|
|
1463
|
+
unit: string | null;
|
|
1464
1464
|
item: string | null;
|
|
1465
1465
|
price: number;
|
|
1466
1466
|
}[] | undefined;
|
|
@@ -1484,7 +1484,7 @@ export declare const suppliersRouter: {
|
|
|
1484
1484
|
type: string;
|
|
1485
1485
|
id: string;
|
|
1486
1486
|
attributes: {
|
|
1487
|
-
type: "other" | "
|
|
1487
|
+
type: "other" | "fertilizer" | "equipment" | "seed" | "pesticide" | "labor";
|
|
1488
1488
|
email: string | null;
|
|
1489
1489
|
createdAt: string;
|
|
1490
1490
|
updatedAt: string;
|
|
@@ -1498,8 +1498,8 @@ export declare const suppliersRouter: {
|
|
|
1498
1498
|
priceHistory?: {
|
|
1499
1499
|
date: string;
|
|
1500
1500
|
notes: string | null;
|
|
1501
|
-
unit: string | null;
|
|
1502
1501
|
quantity: number | null;
|
|
1502
|
+
unit: string | null;
|
|
1503
1503
|
item: string | null;
|
|
1504
1504
|
price: number;
|
|
1505
1505
|
}[] | undefined;
|
|
@@ -2162,15 +2162,15 @@ export declare const suppliersRouter: {
|
|
|
2162
2162
|
}, "strip", z.ZodTypeAny, {
|
|
2163
2163
|
date: string;
|
|
2164
2164
|
notes: string | null;
|
|
2165
|
-
unit: string | null;
|
|
2166
2165
|
quantity: number | null;
|
|
2166
|
+
unit: string | null;
|
|
2167
2167
|
item: string | null;
|
|
2168
2168
|
price: number;
|
|
2169
2169
|
}, {
|
|
2170
2170
|
date: string;
|
|
2171
2171
|
notes: string | null;
|
|
2172
|
-
unit: string | null;
|
|
2173
2172
|
quantity: number | null;
|
|
2173
|
+
unit: string | null;
|
|
2174
2174
|
item: string | null;
|
|
2175
2175
|
price: number;
|
|
2176
2176
|
}>, "many">>;
|
|
@@ -2191,8 +2191,8 @@ export declare const suppliersRouter: {
|
|
|
2191
2191
|
priceHistory?: {
|
|
2192
2192
|
date: string;
|
|
2193
2193
|
notes: string | null;
|
|
2194
|
-
unit: string | null;
|
|
2195
2194
|
quantity: number | null;
|
|
2195
|
+
unit: string | null;
|
|
2196
2196
|
item: string | null;
|
|
2197
2197
|
price: number;
|
|
2198
2198
|
}[] | undefined;
|
|
@@ -2211,8 +2211,8 @@ export declare const suppliersRouter: {
|
|
|
2211
2211
|
priceHistory?: {
|
|
2212
2212
|
date: string;
|
|
2213
2213
|
notes: string | null;
|
|
2214
|
-
unit: string | null;
|
|
2215
2214
|
quantity: number | null;
|
|
2215
|
+
unit: string | null;
|
|
2216
2216
|
item: string | null;
|
|
2217
2217
|
price: number;
|
|
2218
2218
|
}[] | undefined;
|
|
@@ -2238,8 +2238,8 @@ export declare const suppliersRouter: {
|
|
|
2238
2238
|
priceHistory?: {
|
|
2239
2239
|
date: string;
|
|
2240
2240
|
notes: string | null;
|
|
2241
|
-
unit: string | null;
|
|
2242
2241
|
quantity: number | null;
|
|
2242
|
+
unit: string | null;
|
|
2243
2243
|
item: string | null;
|
|
2244
2244
|
price: number;
|
|
2245
2245
|
}[] | undefined;
|
|
@@ -2265,8 +2265,8 @@ export declare const suppliersRouter: {
|
|
|
2265
2265
|
priceHistory?: {
|
|
2266
2266
|
date: string;
|
|
2267
2267
|
notes: string | null;
|
|
2268
|
-
unit: string | null;
|
|
2269
2268
|
quantity: number | null;
|
|
2269
|
+
unit: string | null;
|
|
2270
2270
|
item: string | null;
|
|
2271
2271
|
price: number;
|
|
2272
2272
|
}[] | undefined;
|
|
@@ -2318,8 +2318,8 @@ export declare const suppliersRouter: {
|
|
|
2318
2318
|
priceHistory?: {
|
|
2319
2319
|
date: string;
|
|
2320
2320
|
notes: string | null;
|
|
2321
|
-
unit: string | null;
|
|
2322
2321
|
quantity: number | null;
|
|
2322
|
+
unit: string | null;
|
|
2323
2323
|
item: string | null;
|
|
2324
2324
|
price: number;
|
|
2325
2325
|
}[] | undefined;
|
|
@@ -2357,8 +2357,8 @@ export declare const suppliersRouter: {
|
|
|
2357
2357
|
priceHistory?: {
|
|
2358
2358
|
date: string;
|
|
2359
2359
|
notes: string | null;
|
|
2360
|
-
unit: string | null;
|
|
2361
2360
|
quantity: number | null;
|
|
2361
|
+
unit: string | null;
|
|
2362
2362
|
item: string | null;
|
|
2363
2363
|
price: number;
|
|
2364
2364
|
}[] | undefined;
|
|
@@ -2683,15 +2683,15 @@ export declare const suppliersRouter: {
|
|
|
2683
2683
|
}, "strip", z.ZodTypeAny, {
|
|
2684
2684
|
date: string;
|
|
2685
2685
|
notes: string | null;
|
|
2686
|
-
unit: string | null;
|
|
2687
2686
|
quantity: number | null;
|
|
2687
|
+
unit: string | null;
|
|
2688
2688
|
item: string | null;
|
|
2689
2689
|
price: number;
|
|
2690
2690
|
}, {
|
|
2691
2691
|
date: string;
|
|
2692
2692
|
notes: string | null;
|
|
2693
|
-
unit: string | null;
|
|
2694
2693
|
quantity: number | null;
|
|
2694
|
+
unit: string | null;
|
|
2695
2695
|
item: string | null;
|
|
2696
2696
|
price: number;
|
|
2697
2697
|
}>, "many">>;
|
|
@@ -2712,8 +2712,8 @@ export declare const suppliersRouter: {
|
|
|
2712
2712
|
priceHistory?: {
|
|
2713
2713
|
date: string;
|
|
2714
2714
|
notes: string | null;
|
|
2715
|
-
unit: string | null;
|
|
2716
2715
|
quantity: number | null;
|
|
2716
|
+
unit: string | null;
|
|
2717
2717
|
item: string | null;
|
|
2718
2718
|
price: number;
|
|
2719
2719
|
}[] | undefined;
|
|
@@ -2732,8 +2732,8 @@ export declare const suppliersRouter: {
|
|
|
2732
2732
|
priceHistory?: {
|
|
2733
2733
|
date: string;
|
|
2734
2734
|
notes: string | null;
|
|
2735
|
-
unit: string | null;
|
|
2736
2735
|
quantity: number | null;
|
|
2736
|
+
unit: string | null;
|
|
2737
2737
|
item: string | null;
|
|
2738
2738
|
price: number;
|
|
2739
2739
|
}[] | undefined;
|
|
@@ -2759,8 +2759,8 @@ export declare const suppliersRouter: {
|
|
|
2759
2759
|
priceHistory?: {
|
|
2760
2760
|
date: string;
|
|
2761
2761
|
notes: string | null;
|
|
2762
|
-
unit: string | null;
|
|
2763
2762
|
quantity: number | null;
|
|
2763
|
+
unit: string | null;
|
|
2764
2764
|
item: string | null;
|
|
2765
2765
|
price: number;
|
|
2766
2766
|
}[] | undefined;
|
|
@@ -2786,8 +2786,8 @@ export declare const suppliersRouter: {
|
|
|
2786
2786
|
priceHistory?: {
|
|
2787
2787
|
date: string;
|
|
2788
2788
|
notes: string | null;
|
|
2789
|
-
unit: string | null;
|
|
2790
2789
|
quantity: number | null;
|
|
2790
|
+
unit: string | null;
|
|
2791
2791
|
item: string | null;
|
|
2792
2792
|
price: number;
|
|
2793
2793
|
}[] | undefined;
|
|
@@ -2839,8 +2839,8 @@ export declare const suppliersRouter: {
|
|
|
2839
2839
|
priceHistory?: {
|
|
2840
2840
|
date: string;
|
|
2841
2841
|
notes: string | null;
|
|
2842
|
-
unit: string | null;
|
|
2843
2842
|
quantity: number | null;
|
|
2843
|
+
unit: string | null;
|
|
2844
2844
|
item: string | null;
|
|
2845
2845
|
price: number;
|
|
2846
2846
|
}[] | undefined;
|
|
@@ -2878,8 +2878,8 @@ export declare const suppliersRouter: {
|
|
|
2878
2878
|
priceHistory?: {
|
|
2879
2879
|
date: string;
|
|
2880
2880
|
notes: string | null;
|
|
2881
|
-
unit: string | null;
|
|
2882
2881
|
quantity: number | null;
|
|
2882
|
+
unit: string | null;
|
|
2883
2883
|
item: string | null;
|
|
2884
2884
|
price: number;
|
|
2885
2885
|
}[] | undefined;
|
|
@@ -3392,15 +3392,15 @@ export declare const suppliersRouter: {
|
|
|
3392
3392
|
}, "strip", z.ZodTypeAny, {
|
|
3393
3393
|
date: string;
|
|
3394
3394
|
notes: string | null;
|
|
3395
|
-
unit: string | null;
|
|
3396
3395
|
quantity: number | null;
|
|
3396
|
+
unit: string | null;
|
|
3397
3397
|
item: string | null;
|
|
3398
3398
|
price: number;
|
|
3399
3399
|
}, {
|
|
3400
3400
|
date: string;
|
|
3401
3401
|
notes: string | null;
|
|
3402
|
-
unit: string | null;
|
|
3403
3402
|
quantity: number | null;
|
|
3403
|
+
unit: string | null;
|
|
3404
3404
|
item: string | null;
|
|
3405
3405
|
price: number;
|
|
3406
3406
|
}>, "many">>;
|
|
@@ -3421,8 +3421,8 @@ export declare const suppliersRouter: {
|
|
|
3421
3421
|
priceHistory?: {
|
|
3422
3422
|
date: string;
|
|
3423
3423
|
notes: string | null;
|
|
3424
|
-
unit: string | null;
|
|
3425
3424
|
quantity: number | null;
|
|
3425
|
+
unit: string | null;
|
|
3426
3426
|
item: string | null;
|
|
3427
3427
|
price: number;
|
|
3428
3428
|
}[] | undefined;
|
|
@@ -3441,8 +3441,8 @@ export declare const suppliersRouter: {
|
|
|
3441
3441
|
priceHistory?: {
|
|
3442
3442
|
date: string;
|
|
3443
3443
|
notes: string | null;
|
|
3444
|
-
unit: string | null;
|
|
3445
3444
|
quantity: number | null;
|
|
3445
|
+
unit: string | null;
|
|
3446
3446
|
item: string | null;
|
|
3447
3447
|
price: number;
|
|
3448
3448
|
}[] | undefined;
|
|
@@ -3468,8 +3468,8 @@ export declare const suppliersRouter: {
|
|
|
3468
3468
|
priceHistory?: {
|
|
3469
3469
|
date: string;
|
|
3470
3470
|
notes: string | null;
|
|
3471
|
-
unit: string | null;
|
|
3472
3471
|
quantity: number | null;
|
|
3472
|
+
unit: string | null;
|
|
3473
3473
|
item: string | null;
|
|
3474
3474
|
price: number;
|
|
3475
3475
|
}[] | undefined;
|
|
@@ -3495,8 +3495,8 @@ export declare const suppliersRouter: {
|
|
|
3495
3495
|
priceHistory?: {
|
|
3496
3496
|
date: string;
|
|
3497
3497
|
notes: string | null;
|
|
3498
|
-
unit: string | null;
|
|
3499
3498
|
quantity: number | null;
|
|
3499
|
+
unit: string | null;
|
|
3500
3500
|
item: string | null;
|
|
3501
3501
|
price: number;
|
|
3502
3502
|
}[] | undefined;
|
|
@@ -3548,8 +3548,8 @@ export declare const suppliersRouter: {
|
|
|
3548
3548
|
priceHistory?: {
|
|
3549
3549
|
date: string;
|
|
3550
3550
|
notes: string | null;
|
|
3551
|
-
unit: string | null;
|
|
3552
3551
|
quantity: number | null;
|
|
3552
|
+
unit: string | null;
|
|
3553
3553
|
item: string | null;
|
|
3554
3554
|
price: number;
|
|
3555
3555
|
}[] | undefined;
|
|
@@ -3587,8 +3587,8 @@ export declare const suppliersRouter: {
|
|
|
3587
3587
|
priceHistory?: {
|
|
3588
3588
|
date: string;
|
|
3589
3589
|
notes: string | null;
|
|
3590
|
-
unit: string | null;
|
|
3591
3590
|
quantity: number | null;
|
|
3591
|
+
unit: string | null;
|
|
3592
3592
|
item: string | null;
|
|
3593
3593
|
price: number;
|
|
3594
3594
|
}[] | undefined;
|