@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
|
@@ -205,9 +205,9 @@ export declare const revenueAttributesSchema: z.ZodObject<{
|
|
|
205
205
|
createdAt: string;
|
|
206
206
|
updatedAt: string;
|
|
207
207
|
crop: string;
|
|
208
|
-
fieldId: string | null;
|
|
209
|
-
unit: string;
|
|
210
208
|
quantity: number;
|
|
209
|
+
unit: string;
|
|
210
|
+
fieldId: string | null;
|
|
211
211
|
createdById: string | null;
|
|
212
212
|
createdByName: string | null;
|
|
213
213
|
pricePerUnit: number;
|
|
@@ -220,9 +220,9 @@ export declare const revenueAttributesSchema: z.ZodObject<{
|
|
|
220
220
|
createdAt: string;
|
|
221
221
|
updatedAt: string;
|
|
222
222
|
crop: string;
|
|
223
|
-
fieldId: string | null;
|
|
224
|
-
unit: string;
|
|
225
223
|
quantity: number;
|
|
224
|
+
unit: string;
|
|
225
|
+
fieldId: string | null;
|
|
226
226
|
createdById: string | null;
|
|
227
227
|
createdByName: string | null;
|
|
228
228
|
pricePerUnit: number;
|
|
@@ -244,8 +244,8 @@ export declare const createRevenueAttributesSchema: z.ZodObject<{
|
|
|
244
244
|
}, "strip", z.ZodTypeAny, {
|
|
245
245
|
date: string;
|
|
246
246
|
crop: string;
|
|
247
|
-
unit: string;
|
|
248
247
|
quantity: number;
|
|
248
|
+
unit: string;
|
|
249
249
|
pricePerUnit: number;
|
|
250
250
|
fieldId?: string | undefined;
|
|
251
251
|
totalAmount?: number | undefined;
|
|
@@ -254,8 +254,8 @@ export declare const createRevenueAttributesSchema: z.ZodObject<{
|
|
|
254
254
|
}, {
|
|
255
255
|
date: string;
|
|
256
256
|
crop: string;
|
|
257
|
-
unit: string;
|
|
258
257
|
quantity: number;
|
|
258
|
+
unit: string;
|
|
259
259
|
pricePerUnit: number;
|
|
260
260
|
fieldId?: string | undefined;
|
|
261
261
|
totalAmount?: number | undefined;
|
|
@@ -275,9 +275,9 @@ export declare const updateRevenueAttributesSchema: z.ZodObject<{
|
|
|
275
275
|
}, "strip", z.ZodTypeAny, {
|
|
276
276
|
date?: string | undefined;
|
|
277
277
|
crop?: string | undefined;
|
|
278
|
-
fieldId?: string | null | undefined;
|
|
279
|
-
unit?: string | undefined;
|
|
280
278
|
quantity?: number | undefined;
|
|
279
|
+
unit?: string | undefined;
|
|
280
|
+
fieldId?: string | null | undefined;
|
|
281
281
|
pricePerUnit?: number | undefined;
|
|
282
282
|
totalAmount?: number | undefined;
|
|
283
283
|
buyer?: string | null | undefined;
|
|
@@ -285,9 +285,9 @@ export declare const updateRevenueAttributesSchema: z.ZodObject<{
|
|
|
285
285
|
}, {
|
|
286
286
|
date?: string | undefined;
|
|
287
287
|
crop?: string | undefined;
|
|
288
|
-
fieldId?: string | null | undefined;
|
|
289
|
-
unit?: string | undefined;
|
|
290
288
|
quantity?: number | undefined;
|
|
289
|
+
unit?: string | undefined;
|
|
290
|
+
fieldId?: string | null | undefined;
|
|
291
291
|
pricePerUnit?: number | undefined;
|
|
292
292
|
totalAmount?: number | undefined;
|
|
293
293
|
buyer?: string | null | undefined;
|
|
@@ -510,8 +510,8 @@ export declare const createRevenueSchema: z.ZodObject<{
|
|
|
510
510
|
}, "strip", z.ZodTypeAny, {
|
|
511
511
|
date: string;
|
|
512
512
|
crop: string;
|
|
513
|
-
unit: string;
|
|
514
513
|
quantity: number;
|
|
514
|
+
unit: string;
|
|
515
515
|
pricePerUnit: number;
|
|
516
516
|
fieldId?: string | undefined;
|
|
517
517
|
totalAmount?: number | undefined;
|
|
@@ -520,8 +520,8 @@ export declare const createRevenueSchema: z.ZodObject<{
|
|
|
520
520
|
}, {
|
|
521
521
|
date: string;
|
|
522
522
|
crop: string;
|
|
523
|
-
unit: string;
|
|
524
523
|
quantity: number;
|
|
524
|
+
unit: string;
|
|
525
525
|
pricePerUnit: number;
|
|
526
526
|
fieldId?: string | undefined;
|
|
527
527
|
totalAmount?: number | undefined;
|
|
@@ -533,8 +533,8 @@ export declare const createRevenueSchema: z.ZodObject<{
|
|
|
533
533
|
attributes: {
|
|
534
534
|
date: string;
|
|
535
535
|
crop: string;
|
|
536
|
-
unit: string;
|
|
537
536
|
quantity: number;
|
|
537
|
+
unit: string;
|
|
538
538
|
pricePerUnit: number;
|
|
539
539
|
fieldId?: string | undefined;
|
|
540
540
|
totalAmount?: number | undefined;
|
|
@@ -546,8 +546,8 @@ export declare const createRevenueSchema: z.ZodObject<{
|
|
|
546
546
|
attributes: {
|
|
547
547
|
date: string;
|
|
548
548
|
crop: string;
|
|
549
|
-
unit: string;
|
|
550
549
|
quantity: number;
|
|
550
|
+
unit: string;
|
|
551
551
|
pricePerUnit: number;
|
|
552
552
|
fieldId?: string | undefined;
|
|
553
553
|
totalAmount?: number | undefined;
|
|
@@ -571,9 +571,9 @@ export declare const updateRevenueSchema: z.ZodObject<{
|
|
|
571
571
|
}, "strip", z.ZodTypeAny, {
|
|
572
572
|
date?: string | undefined;
|
|
573
573
|
crop?: string | undefined;
|
|
574
|
-
fieldId?: string | null | undefined;
|
|
575
|
-
unit?: string | undefined;
|
|
576
574
|
quantity?: number | undefined;
|
|
575
|
+
unit?: string | undefined;
|
|
576
|
+
fieldId?: string | null | undefined;
|
|
577
577
|
pricePerUnit?: number | undefined;
|
|
578
578
|
totalAmount?: number | undefined;
|
|
579
579
|
buyer?: string | null | undefined;
|
|
@@ -581,9 +581,9 @@ export declare const updateRevenueSchema: z.ZodObject<{
|
|
|
581
581
|
}, {
|
|
582
582
|
date?: string | undefined;
|
|
583
583
|
crop?: string | undefined;
|
|
584
|
-
fieldId?: string | null | undefined;
|
|
585
|
-
unit?: string | undefined;
|
|
586
584
|
quantity?: number | undefined;
|
|
585
|
+
unit?: string | undefined;
|
|
586
|
+
fieldId?: string | null | undefined;
|
|
587
587
|
pricePerUnit?: number | undefined;
|
|
588
588
|
totalAmount?: number | undefined;
|
|
589
589
|
buyer?: string | null | undefined;
|
|
@@ -595,9 +595,9 @@ export declare const updateRevenueSchema: z.ZodObject<{
|
|
|
595
595
|
attributes: {
|
|
596
596
|
date?: string | undefined;
|
|
597
597
|
crop?: string | undefined;
|
|
598
|
-
fieldId?: string | null | undefined;
|
|
599
|
-
unit?: string | undefined;
|
|
600
598
|
quantity?: number | undefined;
|
|
599
|
+
unit?: string | undefined;
|
|
600
|
+
fieldId?: string | null | undefined;
|
|
601
601
|
pricePerUnit?: number | undefined;
|
|
602
602
|
totalAmount?: number | undefined;
|
|
603
603
|
buyer?: string | null | undefined;
|
|
@@ -609,9 +609,9 @@ export declare const updateRevenueSchema: z.ZodObject<{
|
|
|
609
609
|
attributes: {
|
|
610
610
|
date?: string | undefined;
|
|
611
611
|
crop?: string | undefined;
|
|
612
|
-
fieldId?: string | null | undefined;
|
|
613
|
-
unit?: string | undefined;
|
|
614
612
|
quantity?: number | undefined;
|
|
613
|
+
unit?: string | undefined;
|
|
614
|
+
fieldId?: string | null | undefined;
|
|
615
615
|
pricePerUnit?: number | undefined;
|
|
616
616
|
totalAmount?: number | undefined;
|
|
617
617
|
buyer?: string | null | undefined;
|
|
@@ -808,9 +808,9 @@ export declare const revenueResourceSchema: z.ZodObject<{
|
|
|
808
808
|
createdAt: string;
|
|
809
809
|
updatedAt: string;
|
|
810
810
|
crop: string;
|
|
811
|
-
fieldId: string | null;
|
|
812
|
-
unit: string;
|
|
813
811
|
quantity: number;
|
|
812
|
+
unit: string;
|
|
813
|
+
fieldId: string | null;
|
|
814
814
|
createdById: string | null;
|
|
815
815
|
createdByName: string | null;
|
|
816
816
|
pricePerUnit: number;
|
|
@@ -823,9 +823,9 @@ export declare const revenueResourceSchema: z.ZodObject<{
|
|
|
823
823
|
createdAt: string;
|
|
824
824
|
updatedAt: string;
|
|
825
825
|
crop: string;
|
|
826
|
-
fieldId: string | null;
|
|
827
|
-
unit: string;
|
|
828
826
|
quantity: number;
|
|
827
|
+
unit: string;
|
|
828
|
+
fieldId: string | null;
|
|
829
829
|
createdById: string | null;
|
|
830
830
|
createdByName: string | null;
|
|
831
831
|
pricePerUnit: number;
|
|
@@ -845,9 +845,9 @@ export declare const revenueResourceSchema: z.ZodObject<{
|
|
|
845
845
|
createdAt: string;
|
|
846
846
|
updatedAt: string;
|
|
847
847
|
crop: string;
|
|
848
|
-
fieldId: string | null;
|
|
849
|
-
unit: string;
|
|
850
848
|
quantity: number;
|
|
849
|
+
unit: string;
|
|
850
|
+
fieldId: string | null;
|
|
851
851
|
createdById: string | null;
|
|
852
852
|
createdByName: string | null;
|
|
853
853
|
pricePerUnit: number;
|
|
@@ -867,9 +867,9 @@ export declare const revenueResourceSchema: z.ZodObject<{
|
|
|
867
867
|
createdAt: string;
|
|
868
868
|
updatedAt: string;
|
|
869
869
|
crop: string;
|
|
870
|
-
fieldId: string | null;
|
|
871
|
-
unit: string;
|
|
872
870
|
quantity: number;
|
|
871
|
+
unit: string;
|
|
872
|
+
fieldId: string | null;
|
|
873
873
|
createdById: string | null;
|
|
874
874
|
createdByName: string | null;
|
|
875
875
|
pricePerUnit: number;
|
|
@@ -1042,9 +1042,9 @@ export declare const revenueDetailResourceSchema: z.ZodObject<{
|
|
|
1042
1042
|
createdAt: string;
|
|
1043
1043
|
updatedAt: string;
|
|
1044
1044
|
crop: string;
|
|
1045
|
-
fieldId: string | null;
|
|
1046
|
-
unit: string;
|
|
1047
1045
|
quantity: number;
|
|
1046
|
+
unit: string;
|
|
1047
|
+
fieldId: string | null;
|
|
1048
1048
|
createdById: string | null;
|
|
1049
1049
|
createdByName: string | null;
|
|
1050
1050
|
pricePerUnit: number;
|
|
@@ -1057,9 +1057,9 @@ export declare const revenueDetailResourceSchema: z.ZodObject<{
|
|
|
1057
1057
|
createdAt: string;
|
|
1058
1058
|
updatedAt: string;
|
|
1059
1059
|
crop: string;
|
|
1060
|
-
fieldId: string | null;
|
|
1061
|
-
unit: string;
|
|
1062
1060
|
quantity: number;
|
|
1061
|
+
unit: string;
|
|
1062
|
+
fieldId: string | null;
|
|
1063
1063
|
createdById: string | null;
|
|
1064
1064
|
createdByName: string | null;
|
|
1065
1065
|
pricePerUnit: number;
|
|
@@ -1107,23 +1107,23 @@ export declare const revenueDetailResourceSchema: z.ZodObject<{
|
|
|
1107
1107
|
};
|
|
1108
1108
|
}>>;
|
|
1109
1109
|
}, "strip", z.ZodTypeAny, {
|
|
1110
|
-
|
|
1110
|
+
harvest?: {
|
|
1111
1111
|
links: {
|
|
1112
1112
|
related: string;
|
|
1113
1113
|
};
|
|
1114
1114
|
} | undefined;
|
|
1115
|
-
|
|
1115
|
+
field?: {
|
|
1116
1116
|
links: {
|
|
1117
1117
|
related: string;
|
|
1118
1118
|
};
|
|
1119
1119
|
} | undefined;
|
|
1120
1120
|
}, {
|
|
1121
|
-
|
|
1121
|
+
harvest?: {
|
|
1122
1122
|
links: {
|
|
1123
1123
|
related: string;
|
|
1124
1124
|
};
|
|
1125
1125
|
} | undefined;
|
|
1126
|
-
|
|
1126
|
+
field?: {
|
|
1127
1127
|
links: {
|
|
1128
1128
|
related: string;
|
|
1129
1129
|
};
|
|
@@ -1137,9 +1137,9 @@ export declare const revenueDetailResourceSchema: z.ZodObject<{
|
|
|
1137
1137
|
createdAt: string;
|
|
1138
1138
|
updatedAt: string;
|
|
1139
1139
|
crop: string;
|
|
1140
|
-
fieldId: string | null;
|
|
1141
|
-
unit: string;
|
|
1142
1140
|
quantity: number;
|
|
1141
|
+
unit: string;
|
|
1142
|
+
fieldId: string | null;
|
|
1143
1143
|
createdById: string | null;
|
|
1144
1144
|
createdByName: string | null;
|
|
1145
1145
|
pricePerUnit: number;
|
|
@@ -1149,12 +1149,12 @@ export declare const revenueDetailResourceSchema: z.ZodObject<{
|
|
|
1149
1149
|
fieldName?: string | null | undefined;
|
|
1150
1150
|
};
|
|
1151
1151
|
relationships?: {
|
|
1152
|
-
|
|
1152
|
+
harvest?: {
|
|
1153
1153
|
links: {
|
|
1154
1154
|
related: string;
|
|
1155
1155
|
};
|
|
1156
1156
|
} | undefined;
|
|
1157
|
-
|
|
1157
|
+
field?: {
|
|
1158
1158
|
links: {
|
|
1159
1159
|
related: string;
|
|
1160
1160
|
};
|
|
@@ -1170,9 +1170,9 @@ export declare const revenueDetailResourceSchema: z.ZodObject<{
|
|
|
1170
1170
|
createdAt: string;
|
|
1171
1171
|
updatedAt: string;
|
|
1172
1172
|
crop: string;
|
|
1173
|
-
fieldId: string | null;
|
|
1174
|
-
unit: string;
|
|
1175
1173
|
quantity: number;
|
|
1174
|
+
unit: string;
|
|
1175
|
+
fieldId: string | null;
|
|
1176
1176
|
createdById: string | null;
|
|
1177
1177
|
createdByName: string | null;
|
|
1178
1178
|
pricePerUnit: number;
|
|
@@ -1182,12 +1182,12 @@ export declare const revenueDetailResourceSchema: z.ZodObject<{
|
|
|
1182
1182
|
fieldName?: string | null | undefined;
|
|
1183
1183
|
};
|
|
1184
1184
|
relationships?: {
|
|
1185
|
-
|
|
1185
|
+
harvest?: {
|
|
1186
1186
|
links: {
|
|
1187
1187
|
related: string;
|
|
1188
1188
|
};
|
|
1189
1189
|
} | undefined;
|
|
1190
|
-
|
|
1190
|
+
field?: {
|
|
1191
1191
|
links: {
|
|
1192
1192
|
related: string;
|
|
1193
1193
|
};
|
|
@@ -2145,9 +2145,9 @@ export declare const revenueResponseSchema: z.ZodObject<{
|
|
|
2145
2145
|
createdAt: string;
|
|
2146
2146
|
updatedAt: string;
|
|
2147
2147
|
crop: string;
|
|
2148
|
-
fieldId: string | null;
|
|
2149
|
-
unit: string;
|
|
2150
2148
|
quantity: number;
|
|
2149
|
+
unit: string;
|
|
2150
|
+
fieldId: string | null;
|
|
2151
2151
|
createdById: string | null;
|
|
2152
2152
|
createdByName: string | null;
|
|
2153
2153
|
pricePerUnit: number;
|
|
@@ -2160,9 +2160,9 @@ export declare const revenueResponseSchema: z.ZodObject<{
|
|
|
2160
2160
|
createdAt: string;
|
|
2161
2161
|
updatedAt: string;
|
|
2162
2162
|
crop: string;
|
|
2163
|
-
fieldId: string | null;
|
|
2164
|
-
unit: string;
|
|
2165
2163
|
quantity: number;
|
|
2164
|
+
unit: string;
|
|
2165
|
+
fieldId: string | null;
|
|
2166
2166
|
createdById: string | null;
|
|
2167
2167
|
createdByName: string | null;
|
|
2168
2168
|
pricePerUnit: number;
|
|
@@ -2182,9 +2182,9 @@ export declare const revenueResponseSchema: z.ZodObject<{
|
|
|
2182
2182
|
createdAt: string;
|
|
2183
2183
|
updatedAt: string;
|
|
2184
2184
|
crop: string;
|
|
2185
|
-
fieldId: string | null;
|
|
2186
|
-
unit: string;
|
|
2187
2185
|
quantity: number;
|
|
2186
|
+
unit: string;
|
|
2187
|
+
fieldId: string | null;
|
|
2188
2188
|
createdById: string | null;
|
|
2189
2189
|
createdByName: string | null;
|
|
2190
2190
|
pricePerUnit: number;
|
|
@@ -2204,9 +2204,9 @@ export declare const revenueResponseSchema: z.ZodObject<{
|
|
|
2204
2204
|
createdAt: string;
|
|
2205
2205
|
updatedAt: string;
|
|
2206
2206
|
crop: string;
|
|
2207
|
-
fieldId: string | null;
|
|
2208
|
-
unit: string;
|
|
2209
2207
|
quantity: number;
|
|
2208
|
+
unit: string;
|
|
2209
|
+
fieldId: string | null;
|
|
2210
2210
|
createdById: string | null;
|
|
2211
2211
|
createdByName: string | null;
|
|
2212
2212
|
pricePerUnit: number;
|
|
@@ -2252,9 +2252,9 @@ export declare const revenueResponseSchema: z.ZodObject<{
|
|
|
2252
2252
|
createdAt: string;
|
|
2253
2253
|
updatedAt: string;
|
|
2254
2254
|
crop: string;
|
|
2255
|
-
fieldId: string | null;
|
|
2256
|
-
unit: string;
|
|
2257
2255
|
quantity: number;
|
|
2256
|
+
unit: string;
|
|
2257
|
+
fieldId: string | null;
|
|
2258
2258
|
createdById: string | null;
|
|
2259
2259
|
createdByName: string | null;
|
|
2260
2260
|
pricePerUnit: number;
|
|
@@ -2286,9 +2286,9 @@ export declare const revenueResponseSchema: z.ZodObject<{
|
|
|
2286
2286
|
createdAt: string;
|
|
2287
2287
|
updatedAt: string;
|
|
2288
2288
|
crop: string;
|
|
2289
|
-
fieldId: string | null;
|
|
2290
|
-
unit: string;
|
|
2291
2289
|
quantity: number;
|
|
2290
|
+
unit: string;
|
|
2291
|
+
fieldId: string | null;
|
|
2292
2292
|
createdById: string | null;
|
|
2293
2293
|
createdByName: string | null;
|
|
2294
2294
|
pricePerUnit: number;
|
|
@@ -2337,9 +2337,9 @@ export declare const revenueDetailResponseSchema: z.ZodObject<{
|
|
|
2337
2337
|
createdAt: string;
|
|
2338
2338
|
updatedAt: string;
|
|
2339
2339
|
crop: string;
|
|
2340
|
-
fieldId: string | null;
|
|
2341
|
-
unit: string;
|
|
2342
2340
|
quantity: number;
|
|
2341
|
+
unit: string;
|
|
2342
|
+
fieldId: string | null;
|
|
2343
2343
|
createdById: string | null;
|
|
2344
2344
|
createdByName: string | null;
|
|
2345
2345
|
pricePerUnit: number;
|
|
@@ -2352,9 +2352,9 @@ export declare const revenueDetailResponseSchema: z.ZodObject<{
|
|
|
2352
2352
|
createdAt: string;
|
|
2353
2353
|
updatedAt: string;
|
|
2354
2354
|
crop: string;
|
|
2355
|
-
fieldId: string | null;
|
|
2356
|
-
unit: string;
|
|
2357
2355
|
quantity: number;
|
|
2356
|
+
unit: string;
|
|
2357
|
+
fieldId: string | null;
|
|
2358
2358
|
createdById: string | null;
|
|
2359
2359
|
createdByName: string | null;
|
|
2360
2360
|
pricePerUnit: number;
|
|
@@ -2402,23 +2402,23 @@ export declare const revenueDetailResponseSchema: z.ZodObject<{
|
|
|
2402
2402
|
};
|
|
2403
2403
|
}>>;
|
|
2404
2404
|
}, "strip", z.ZodTypeAny, {
|
|
2405
|
-
|
|
2405
|
+
harvest?: {
|
|
2406
2406
|
links: {
|
|
2407
2407
|
related: string;
|
|
2408
2408
|
};
|
|
2409
2409
|
} | undefined;
|
|
2410
|
-
|
|
2410
|
+
field?: {
|
|
2411
2411
|
links: {
|
|
2412
2412
|
related: string;
|
|
2413
2413
|
};
|
|
2414
2414
|
} | undefined;
|
|
2415
2415
|
}, {
|
|
2416
|
-
|
|
2416
|
+
harvest?: {
|
|
2417
2417
|
links: {
|
|
2418
2418
|
related: string;
|
|
2419
2419
|
};
|
|
2420
2420
|
} | undefined;
|
|
2421
|
-
|
|
2421
|
+
field?: {
|
|
2422
2422
|
links: {
|
|
2423
2423
|
related: string;
|
|
2424
2424
|
};
|
|
@@ -2432,9 +2432,9 @@ export declare const revenueDetailResponseSchema: z.ZodObject<{
|
|
|
2432
2432
|
createdAt: string;
|
|
2433
2433
|
updatedAt: string;
|
|
2434
2434
|
crop: string;
|
|
2435
|
-
fieldId: string | null;
|
|
2436
|
-
unit: string;
|
|
2437
2435
|
quantity: number;
|
|
2436
|
+
unit: string;
|
|
2437
|
+
fieldId: string | null;
|
|
2438
2438
|
createdById: string | null;
|
|
2439
2439
|
createdByName: string | null;
|
|
2440
2440
|
pricePerUnit: number;
|
|
@@ -2444,12 +2444,12 @@ export declare const revenueDetailResponseSchema: z.ZodObject<{
|
|
|
2444
2444
|
fieldName?: string | null | undefined;
|
|
2445
2445
|
};
|
|
2446
2446
|
relationships?: {
|
|
2447
|
-
|
|
2447
|
+
harvest?: {
|
|
2448
2448
|
links: {
|
|
2449
2449
|
related: string;
|
|
2450
2450
|
};
|
|
2451
2451
|
} | undefined;
|
|
2452
|
-
|
|
2452
|
+
field?: {
|
|
2453
2453
|
links: {
|
|
2454
2454
|
related: string;
|
|
2455
2455
|
};
|
|
@@ -2465,9 +2465,9 @@ export declare const revenueDetailResponseSchema: z.ZodObject<{
|
|
|
2465
2465
|
createdAt: string;
|
|
2466
2466
|
updatedAt: string;
|
|
2467
2467
|
crop: string;
|
|
2468
|
-
fieldId: string | null;
|
|
2469
|
-
unit: string;
|
|
2470
2468
|
quantity: number;
|
|
2469
|
+
unit: string;
|
|
2470
|
+
fieldId: string | null;
|
|
2471
2471
|
createdById: string | null;
|
|
2472
2472
|
createdByName: string | null;
|
|
2473
2473
|
pricePerUnit: number;
|
|
@@ -2477,12 +2477,12 @@ export declare const revenueDetailResponseSchema: z.ZodObject<{
|
|
|
2477
2477
|
fieldName?: string | null | undefined;
|
|
2478
2478
|
};
|
|
2479
2479
|
relationships?: {
|
|
2480
|
-
|
|
2480
|
+
harvest?: {
|
|
2481
2481
|
links: {
|
|
2482
2482
|
related: string;
|
|
2483
2483
|
};
|
|
2484
2484
|
} | undefined;
|
|
2485
|
-
|
|
2485
|
+
field?: {
|
|
2486
2486
|
links: {
|
|
2487
2487
|
related: string;
|
|
2488
2488
|
};
|
|
@@ -2524,9 +2524,9 @@ export declare const revenueDetailResponseSchema: z.ZodObject<{
|
|
|
2524
2524
|
createdAt: string;
|
|
2525
2525
|
updatedAt: string;
|
|
2526
2526
|
crop: string;
|
|
2527
|
-
fieldId: string | null;
|
|
2528
|
-
unit: string;
|
|
2529
2527
|
quantity: number;
|
|
2528
|
+
unit: string;
|
|
2529
|
+
fieldId: string | null;
|
|
2530
2530
|
createdById: string | null;
|
|
2531
2531
|
createdByName: string | null;
|
|
2532
2532
|
pricePerUnit: number;
|
|
@@ -2536,12 +2536,12 @@ export declare const revenueDetailResponseSchema: z.ZodObject<{
|
|
|
2536
2536
|
fieldName?: string | null | undefined;
|
|
2537
2537
|
};
|
|
2538
2538
|
relationships?: {
|
|
2539
|
-
|
|
2539
|
+
harvest?: {
|
|
2540
2540
|
links: {
|
|
2541
2541
|
related: string;
|
|
2542
2542
|
};
|
|
2543
2543
|
} | undefined;
|
|
2544
|
-
|
|
2544
|
+
field?: {
|
|
2545
2545
|
links: {
|
|
2546
2546
|
related: string;
|
|
2547
2547
|
};
|
|
@@ -2569,9 +2569,9 @@ export declare const revenueDetailResponseSchema: z.ZodObject<{
|
|
|
2569
2569
|
createdAt: string;
|
|
2570
2570
|
updatedAt: string;
|
|
2571
2571
|
crop: string;
|
|
2572
|
-
fieldId: string | null;
|
|
2573
|
-
unit: string;
|
|
2574
2572
|
quantity: number;
|
|
2573
|
+
unit: string;
|
|
2574
|
+
fieldId: string | null;
|
|
2575
2575
|
createdById: string | null;
|
|
2576
2576
|
createdByName: string | null;
|
|
2577
2577
|
pricePerUnit: number;
|
|
@@ -2581,12 +2581,12 @@ export declare const revenueDetailResponseSchema: z.ZodObject<{
|
|
|
2581
2581
|
fieldName?: string | null | undefined;
|
|
2582
2582
|
};
|
|
2583
2583
|
relationships?: {
|
|
2584
|
-
|
|
2584
|
+
harvest?: {
|
|
2585
2585
|
links: {
|
|
2586
2586
|
related: string;
|
|
2587
2587
|
};
|
|
2588
2588
|
} | undefined;
|
|
2589
|
-
|
|
2589
|
+
field?: {
|
|
2590
2590
|
links: {
|
|
2591
2591
|
related: string;
|
|
2592
2592
|
};
|
|
@@ -2631,9 +2631,9 @@ export declare const revenueListResponseSchema: z.ZodObject<{
|
|
|
2631
2631
|
createdAt: string;
|
|
2632
2632
|
updatedAt: string;
|
|
2633
2633
|
crop: string;
|
|
2634
|
-
fieldId: string | null;
|
|
2635
|
-
unit: string;
|
|
2636
2634
|
quantity: number;
|
|
2635
|
+
unit: string;
|
|
2636
|
+
fieldId: string | null;
|
|
2637
2637
|
createdById: string | null;
|
|
2638
2638
|
createdByName: string | null;
|
|
2639
2639
|
pricePerUnit: number;
|
|
@@ -2646,9 +2646,9 @@ export declare const revenueListResponseSchema: z.ZodObject<{
|
|
|
2646
2646
|
createdAt: string;
|
|
2647
2647
|
updatedAt: string;
|
|
2648
2648
|
crop: string;
|
|
2649
|
-
fieldId: string | null;
|
|
2650
|
-
unit: string;
|
|
2651
2649
|
quantity: number;
|
|
2650
|
+
unit: string;
|
|
2651
|
+
fieldId: string | null;
|
|
2652
2652
|
createdById: string | null;
|
|
2653
2653
|
createdByName: string | null;
|
|
2654
2654
|
pricePerUnit: number;
|
|
@@ -2668,9 +2668,9 @@ export declare const revenueListResponseSchema: z.ZodObject<{
|
|
|
2668
2668
|
createdAt: string;
|
|
2669
2669
|
updatedAt: string;
|
|
2670
2670
|
crop: string;
|
|
2671
|
-
fieldId: string | null;
|
|
2672
|
-
unit: string;
|
|
2673
2671
|
quantity: number;
|
|
2672
|
+
unit: string;
|
|
2673
|
+
fieldId: string | null;
|
|
2674
2674
|
createdById: string | null;
|
|
2675
2675
|
createdByName: string | null;
|
|
2676
2676
|
pricePerUnit: number;
|
|
@@ -2690,9 +2690,9 @@ export declare const revenueListResponseSchema: z.ZodObject<{
|
|
|
2690
2690
|
createdAt: string;
|
|
2691
2691
|
updatedAt: string;
|
|
2692
2692
|
crop: string;
|
|
2693
|
-
fieldId: string | null;
|
|
2694
|
-
unit: string;
|
|
2695
2693
|
quantity: number;
|
|
2694
|
+
unit: string;
|
|
2695
|
+
fieldId: string | null;
|
|
2696
2696
|
createdById: string | null;
|
|
2697
2697
|
createdByName: string | null;
|
|
2698
2698
|
pricePerUnit: number;
|
|
@@ -2738,9 +2738,9 @@ export declare const revenueListResponseSchema: z.ZodObject<{
|
|
|
2738
2738
|
createdAt: string;
|
|
2739
2739
|
updatedAt: string;
|
|
2740
2740
|
crop: string;
|
|
2741
|
-
fieldId: string | null;
|
|
2742
|
-
unit: string;
|
|
2743
2741
|
quantity: number;
|
|
2742
|
+
unit: string;
|
|
2743
|
+
fieldId: string | null;
|
|
2744
2744
|
createdById: string | null;
|
|
2745
2745
|
createdByName: string | null;
|
|
2746
2746
|
pricePerUnit: number;
|
|
@@ -2772,9 +2772,9 @@ export declare const revenueListResponseSchema: z.ZodObject<{
|
|
|
2772
2772
|
createdAt: string;
|
|
2773
2773
|
updatedAt: string;
|
|
2774
2774
|
crop: string;
|
|
2775
|
-
fieldId: string | null;
|
|
2776
|
-
unit: string;
|
|
2777
2775
|
quantity: number;
|
|
2776
|
+
unit: string;
|
|
2777
|
+
fieldId: string | null;
|
|
2778
2778
|
createdById: string | null;
|
|
2779
2779
|
createdByName: string | null;
|
|
2780
2780
|
pricePerUnit: number;
|