@deepintel-ltd/farmpro-contracts 1.23.2 → 1.24.1

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.
Files changed (46) hide show
  1. package/dist/index.d.ts +2 -0
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +1 -0
  4. package/dist/routes/commodity-deals.routes.d.ts +1339 -0
  5. package/dist/routes/commodity-deals.routes.d.ts.map +1 -1
  6. package/dist/routes/commodity-deals.routes.js +49 -1
  7. package/dist/routes/documents.routes.d.ts +6 -0
  8. package/dist/routes/documents.routes.d.ts.map +1 -1
  9. package/dist/routes/documents.routes.js +2 -0
  10. package/dist/routes/finance.routes.d.ts +68 -68
  11. package/dist/routes/index.d.ts +2 -0
  12. package/dist/routes/index.d.ts.map +1 -1
  13. package/dist/routes/index.js +2 -0
  14. package/dist/routes/inventory.routes.d.ts +584 -0
  15. package/dist/routes/inventory.routes.d.ts.map +1 -1
  16. package/dist/routes/inventory.routes.js +26 -1
  17. package/dist/routes/live-monitor.routes.d.ts +15 -10
  18. package/dist/routes/live-monitor.routes.d.ts.map +1 -1
  19. package/dist/routes/monitoring-visualization.routes.d.ts +3 -0
  20. package/dist/routes/monitoring-visualization.routes.d.ts.map +1 -1
  21. package/dist/routes/poultry.routes.d.ts +3318 -0
  22. package/dist/routes/poultry.routes.d.ts.map +1 -0
  23. package/dist/routes/poultry.routes.js +195 -0
  24. package/dist/routes/team-payments.routes.d.ts +42 -42
  25. package/dist/routes/trade-cash-events.routes.d.ts +20 -20
  26. package/dist/routes/waybills.routes.d.ts +14 -0
  27. package/dist/routes/waybills.routes.d.ts.map +1 -1
  28. package/dist/schemas/commodity-deals.schemas.d.ts +484 -0
  29. package/dist/schemas/commodity-deals.schemas.d.ts.map +1 -1
  30. package/dist/schemas/commodity-deals.schemas.js +34 -0
  31. package/dist/schemas/finance.schemas.d.ts +78 -78
  32. package/dist/schemas/inventory.schemas.d.ts +122 -0
  33. package/dist/schemas/inventory.schemas.d.ts.map +1 -1
  34. package/dist/schemas/inventory.schemas.js +35 -0
  35. package/dist/schemas/live-monitor.schemas.d.ts +24 -16
  36. package/dist/schemas/live-monitor.schemas.d.ts.map +1 -1
  37. package/dist/schemas/live-monitor.schemas.js +3 -2
  38. package/dist/schemas/monitoring-visualization.schemas.d.ts +64 -0
  39. package/dist/schemas/monitoring-visualization.schemas.d.ts.map +1 -1
  40. package/dist/schemas/monitoring-visualization.schemas.js +25 -1
  41. package/dist/schemas/team-payments.schemas.d.ts +30 -30
  42. package/dist/schemas/trade-cash-events.schemas.d.ts +24 -24
  43. package/dist/schemas/waybills.schemas.d.ts +16 -0
  44. package/dist/schemas/waybills.schemas.d.ts.map +1 -1
  45. package/dist/schemas/waybills.schemas.js +1 -0
  46. package/package.json +1 -1
@@ -102,13 +102,13 @@ export declare const expenseAttributesSchema: z.ZodObject<{
102
102
  category: string;
103
103
  fieldId: string | null;
104
104
  cropId: string | null;
105
- amount: number;
106
105
  allocationType: "crop" | "field" | "general" | "livestock_group";
106
+ amount: number;
107
107
  createdById: string | null;
108
108
  createdByName: string | null;
109
109
  fieldName?: string | null | undefined;
110
- cropName?: string | null | undefined;
111
110
  groupId?: string | null | undefined;
111
+ cropName?: string | null | undefined;
112
112
  groupName?: string | null | undefined;
113
113
  ledgerSourceType?: string | null | undefined;
114
114
  ledgerSourceId?: string | null | undefined;
@@ -121,13 +121,13 @@ export declare const expenseAttributesSchema: z.ZodObject<{
121
121
  category: string;
122
122
  fieldId: string | null;
123
123
  cropId: string | null;
124
- amount: number;
125
124
  allocationType: "crop" | "field" | "general" | "livestock_group";
125
+ amount: number;
126
126
  createdById: string | null;
127
127
  createdByName: string | null;
128
128
  fieldName?: string | null | undefined;
129
- cropName?: string | null | undefined;
130
129
  groupId?: string | null | undefined;
130
+ cropName?: string | null | undefined;
131
131
  groupName?: string | null | undefined;
132
132
  ledgerSourceType?: string | null | undefined;
133
133
  ledgerSourceId?: string | null | undefined;
@@ -145,8 +145,8 @@ export declare const createExpenseAttributesSchema: z.ZodEffects<z.ZodObject<{
145
145
  }, "strip", z.ZodTypeAny, {
146
146
  date: string;
147
147
  description: string;
148
- amount: number;
149
148
  allocationType: "crop" | "field" | "general" | "livestock_group";
149
+ amount: number;
150
150
  category?: string | undefined;
151
151
  fieldId?: string | undefined;
152
152
  cropId?: string | undefined;
@@ -158,13 +158,13 @@ export declare const createExpenseAttributesSchema: z.ZodEffects<z.ZodObject<{
158
158
  category?: string | undefined;
159
159
  fieldId?: string | undefined;
160
160
  cropId?: string | undefined;
161
- allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
162
161
  groupId?: string | undefined;
162
+ allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
163
163
  }>, {
164
164
  date: string;
165
165
  description: string;
166
- amount: number;
167
166
  allocationType: "crop" | "field" | "general" | "livestock_group";
167
+ amount: number;
168
168
  category?: string | undefined;
169
169
  fieldId?: string | undefined;
170
170
  cropId?: string | undefined;
@@ -176,8 +176,8 @@ export declare const createExpenseAttributesSchema: z.ZodEffects<z.ZodObject<{
176
176
  category?: string | undefined;
177
177
  fieldId?: string | undefined;
178
178
  cropId?: string | undefined;
179
- allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
180
179
  groupId?: string | undefined;
180
+ allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
181
181
  }>;
182
182
  export declare const updateExpenseAttributesSchema: z.ZodObject<{
183
183
  date: z.ZodOptional<z.ZodString>;
@@ -194,18 +194,18 @@ export declare const updateExpenseAttributesSchema: z.ZodObject<{
194
194
  category?: string | undefined;
195
195
  fieldId?: string | null | undefined;
196
196
  cropId?: string | null | undefined;
197
- amount?: number | undefined;
198
- allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
199
197
  groupId?: string | null | undefined;
198
+ allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
199
+ amount?: number | undefined;
200
200
  }, {
201
201
  date?: string | undefined;
202
202
  description?: string | undefined;
203
203
  category?: string | undefined;
204
204
  fieldId?: string | null | undefined;
205
205
  cropId?: string | null | undefined;
206
- amount?: number | undefined;
207
- allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
208
206
  groupId?: string | null | undefined;
207
+ allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
208
+ amount?: number | undefined;
209
209
  }>;
210
210
  export declare const revenueAttributesSchema: z.ZodObject<{
211
211
  date: z.ZodString;
@@ -462,8 +462,8 @@ export declare const createExpenseSchema: z.ZodObject<{
462
462
  }, "strip", z.ZodTypeAny, {
463
463
  date: string;
464
464
  description: string;
465
- amount: number;
466
465
  allocationType: "crop" | "field" | "general" | "livestock_group";
466
+ amount: number;
467
467
  category?: string | undefined;
468
468
  fieldId?: string | undefined;
469
469
  cropId?: string | undefined;
@@ -475,13 +475,13 @@ export declare const createExpenseSchema: z.ZodObject<{
475
475
  category?: string | undefined;
476
476
  fieldId?: string | undefined;
477
477
  cropId?: string | undefined;
478
- allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
479
478
  groupId?: string | undefined;
479
+ allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
480
480
  }>, {
481
481
  date: string;
482
482
  description: string;
483
- amount: number;
484
483
  allocationType: "crop" | "field" | "general" | "livestock_group";
484
+ amount: number;
485
485
  category?: string | undefined;
486
486
  fieldId?: string | undefined;
487
487
  cropId?: string | undefined;
@@ -493,16 +493,16 @@ export declare const createExpenseSchema: z.ZodObject<{
493
493
  category?: string | undefined;
494
494
  fieldId?: string | undefined;
495
495
  cropId?: string | undefined;
496
- allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
497
496
  groupId?: string | undefined;
497
+ allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
498
498
  }>;
499
499
  }, "strip", z.ZodTypeAny, {
500
500
  type: "expenses";
501
501
  attributes: {
502
502
  date: string;
503
503
  description: string;
504
- amount: number;
505
504
  allocationType: "crop" | "field" | "general" | "livestock_group";
505
+ amount: number;
506
506
  category?: string | undefined;
507
507
  fieldId?: string | undefined;
508
508
  cropId?: string | undefined;
@@ -517,8 +517,8 @@ export declare const createExpenseSchema: z.ZodObject<{
517
517
  category?: string | undefined;
518
518
  fieldId?: string | undefined;
519
519
  cropId?: string | undefined;
520
- allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
521
520
  groupId?: string | undefined;
521
+ allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
522
522
  };
523
523
  }>;
524
524
  export declare const updateExpenseSchema: z.ZodObject<{
@@ -539,18 +539,18 @@ export declare const updateExpenseSchema: z.ZodObject<{
539
539
  category?: string | undefined;
540
540
  fieldId?: string | null | undefined;
541
541
  cropId?: string | null | undefined;
542
- amount?: number | undefined;
543
- allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
544
542
  groupId?: string | null | undefined;
543
+ allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
544
+ amount?: number | undefined;
545
545
  }, {
546
546
  date?: string | undefined;
547
547
  description?: string | undefined;
548
548
  category?: string | undefined;
549
549
  fieldId?: string | null | undefined;
550
550
  cropId?: string | null | undefined;
551
- amount?: number | undefined;
552
- allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
553
551
  groupId?: string | null | undefined;
552
+ allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
553
+ amount?: number | undefined;
554
554
  }>;
555
555
  }, "strip", z.ZodTypeAny, {
556
556
  type: "expenses";
@@ -561,9 +561,9 @@ export declare const updateExpenseSchema: z.ZodObject<{
561
561
  category?: string | undefined;
562
562
  fieldId?: string | null | undefined;
563
563
  cropId?: string | null | undefined;
564
- amount?: number | undefined;
565
- allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
566
564
  groupId?: string | null | undefined;
565
+ allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
566
+ amount?: number | undefined;
567
567
  };
568
568
  }, {
569
569
  type: "expenses";
@@ -574,9 +574,9 @@ export declare const updateExpenseSchema: z.ZodObject<{
574
574
  category?: string | undefined;
575
575
  fieldId?: string | null | undefined;
576
576
  cropId?: string | null | undefined;
577
- amount?: number | undefined;
578
- allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
579
577
  groupId?: string | null | undefined;
578
+ allocationType?: "crop" | "field" | "general" | "livestock_group" | undefined;
579
+ amount?: number | undefined;
580
580
  };
581
581
  }>;
582
582
  export declare const createRevenueSchema: z.ZodObject<{
@@ -846,13 +846,13 @@ export declare const expenseResourceSchema: z.ZodObject<{
846
846
  category: string;
847
847
  fieldId: string | null;
848
848
  cropId: string | null;
849
- amount: number;
850
849
  allocationType: "crop" | "field" | "general" | "livestock_group";
850
+ amount: number;
851
851
  createdById: string | null;
852
852
  createdByName: string | null;
853
853
  fieldName?: string | null | undefined;
854
- cropName?: string | null | undefined;
855
854
  groupId?: string | null | undefined;
855
+ cropName?: string | null | undefined;
856
856
  groupName?: string | null | undefined;
857
857
  ledgerSourceType?: string | null | undefined;
858
858
  ledgerSourceId?: string | null | undefined;
@@ -865,13 +865,13 @@ export declare const expenseResourceSchema: z.ZodObject<{
865
865
  category: string;
866
866
  fieldId: string | null;
867
867
  cropId: string | null;
868
- amount: number;
869
868
  allocationType: "crop" | "field" | "general" | "livestock_group";
869
+ amount: number;
870
870
  createdById: string | null;
871
871
  createdByName: string | null;
872
872
  fieldName?: string | null | undefined;
873
- cropName?: string | null | undefined;
874
873
  groupId?: string | null | undefined;
874
+ cropName?: string | null | undefined;
875
875
  groupName?: string | null | undefined;
876
876
  ledgerSourceType?: string | null | undefined;
877
877
  ledgerSourceId?: string | null | undefined;
@@ -891,13 +891,13 @@ export declare const expenseResourceSchema: z.ZodObject<{
891
891
  category: string;
892
892
  fieldId: string | null;
893
893
  cropId: string | null;
894
- amount: number;
895
894
  allocationType: "crop" | "field" | "general" | "livestock_group";
895
+ amount: number;
896
896
  createdById: string | null;
897
897
  createdByName: string | null;
898
898
  fieldName?: string | null | undefined;
899
- cropName?: string | null | undefined;
900
899
  groupId?: string | null | undefined;
900
+ cropName?: string | null | undefined;
901
901
  groupName?: string | null | undefined;
902
902
  ledgerSourceType?: string | null | undefined;
903
903
  ledgerSourceId?: string | null | undefined;
@@ -917,13 +917,13 @@ export declare const expenseResourceSchema: z.ZodObject<{
917
917
  category: string;
918
918
  fieldId: string | null;
919
919
  cropId: string | null;
920
- amount: number;
921
920
  allocationType: "crop" | "field" | "general" | "livestock_group";
921
+ amount: number;
922
922
  createdById: string | null;
923
923
  createdByName: string | null;
924
924
  fieldName?: string | null | undefined;
925
- cropName?: string | null | undefined;
926
925
  groupId?: string | null | undefined;
926
+ cropName?: string | null | undefined;
927
927
  groupName?: string | null | undefined;
928
928
  ledgerSourceType?: string | null | undefined;
929
929
  ledgerSourceId?: string | null | undefined;
@@ -1087,13 +1087,13 @@ export declare const expenseDetailResourceSchema: z.ZodObject<{
1087
1087
  category: string;
1088
1088
  fieldId: string | null;
1089
1089
  cropId: string | null;
1090
- amount: number;
1091
1090
  allocationType: "crop" | "field" | "general" | "livestock_group";
1091
+ amount: number;
1092
1092
  createdById: string | null;
1093
1093
  createdByName: string | null;
1094
1094
  fieldName?: string | null | undefined;
1095
- cropName?: string | null | undefined;
1096
1095
  groupId?: string | null | undefined;
1096
+ cropName?: string | null | undefined;
1097
1097
  groupName?: string | null | undefined;
1098
1098
  ledgerSourceType?: string | null | undefined;
1099
1099
  ledgerSourceId?: string | null | undefined;
@@ -1106,13 +1106,13 @@ export declare const expenseDetailResourceSchema: z.ZodObject<{
1106
1106
  category: string;
1107
1107
  fieldId: string | null;
1108
1108
  cropId: string | null;
1109
- amount: number;
1110
1109
  allocationType: "crop" | "field" | "general" | "livestock_group";
1110
+ amount: number;
1111
1111
  createdById: string | null;
1112
1112
  createdByName: string | null;
1113
1113
  fieldName?: string | null | undefined;
1114
- cropName?: string | null | undefined;
1115
1114
  groupId?: string | null | undefined;
1115
+ cropName?: string | null | undefined;
1116
1116
  groupName?: string | null | undefined;
1117
1117
  ledgerSourceType?: string | null | undefined;
1118
1118
  ledgerSourceId?: string | null | undefined;
@@ -1163,13 +1163,13 @@ export declare const expenseDetailResourceSchema: z.ZodObject<{
1163
1163
  category: string;
1164
1164
  fieldId: string | null;
1165
1165
  cropId: string | null;
1166
- amount: number;
1167
1166
  allocationType: "crop" | "field" | "general" | "livestock_group";
1167
+ amount: number;
1168
1168
  createdById: string | null;
1169
1169
  createdByName: string | null;
1170
1170
  fieldName?: string | null | undefined;
1171
- cropName?: string | null | undefined;
1172
1171
  groupId?: string | null | undefined;
1172
+ cropName?: string | null | undefined;
1173
1173
  groupName?: string | null | undefined;
1174
1174
  ledgerSourceType?: string | null | undefined;
1175
1175
  ledgerSourceId?: string | null | undefined;
@@ -1195,13 +1195,13 @@ export declare const expenseDetailResourceSchema: z.ZodObject<{
1195
1195
  category: string;
1196
1196
  fieldId: string | null;
1197
1197
  cropId: string | null;
1198
- amount: number;
1199
1198
  allocationType: "crop" | "field" | "general" | "livestock_group";
1199
+ amount: number;
1200
1200
  createdById: string | null;
1201
1201
  createdByName: string | null;
1202
1202
  fieldName?: string | null | undefined;
1203
- cropName?: string | null | undefined;
1204
1203
  groupId?: string | null | undefined;
1204
+ cropName?: string | null | undefined;
1205
1205
  groupName?: string | null | undefined;
1206
1206
  ledgerSourceType?: string | null | undefined;
1207
1207
  ledgerSourceId?: string | null | undefined;
@@ -1766,13 +1766,13 @@ export declare const expenseResponseSchema: z.ZodObject<{
1766
1766
  category: string;
1767
1767
  fieldId: string | null;
1768
1768
  cropId: string | null;
1769
- amount: number;
1770
1769
  allocationType: "crop" | "field" | "general" | "livestock_group";
1770
+ amount: number;
1771
1771
  createdById: string | null;
1772
1772
  createdByName: string | null;
1773
1773
  fieldName?: string | null | undefined;
1774
- cropName?: string | null | undefined;
1775
1774
  groupId?: string | null | undefined;
1775
+ cropName?: string | null | undefined;
1776
1776
  groupName?: string | null | undefined;
1777
1777
  ledgerSourceType?: string | null | undefined;
1778
1778
  ledgerSourceId?: string | null | undefined;
@@ -1785,13 +1785,13 @@ export declare const expenseResponseSchema: z.ZodObject<{
1785
1785
  category: string;
1786
1786
  fieldId: string | null;
1787
1787
  cropId: string | null;
1788
- amount: number;
1789
1788
  allocationType: "crop" | "field" | "general" | "livestock_group";
1789
+ amount: number;
1790
1790
  createdById: string | null;
1791
1791
  createdByName: string | null;
1792
1792
  fieldName?: string | null | undefined;
1793
- cropName?: string | null | undefined;
1794
1793
  groupId?: string | null | undefined;
1794
+ cropName?: string | null | undefined;
1795
1795
  groupName?: string | null | undefined;
1796
1796
  ledgerSourceType?: string | null | undefined;
1797
1797
  ledgerSourceId?: string | null | undefined;
@@ -1811,13 +1811,13 @@ export declare const expenseResponseSchema: z.ZodObject<{
1811
1811
  category: string;
1812
1812
  fieldId: string | null;
1813
1813
  cropId: string | null;
1814
- amount: number;
1815
1814
  allocationType: "crop" | "field" | "general" | "livestock_group";
1815
+ amount: number;
1816
1816
  createdById: string | null;
1817
1817
  createdByName: string | null;
1818
1818
  fieldName?: string | null | undefined;
1819
- cropName?: string | null | undefined;
1820
1819
  groupId?: string | null | undefined;
1820
+ cropName?: string | null | undefined;
1821
1821
  groupName?: string | null | undefined;
1822
1822
  ledgerSourceType?: string | null | undefined;
1823
1823
  ledgerSourceId?: string | null | undefined;
@@ -1837,13 +1837,13 @@ export declare const expenseResponseSchema: z.ZodObject<{
1837
1837
  category: string;
1838
1838
  fieldId: string | null;
1839
1839
  cropId: string | null;
1840
- amount: number;
1841
1840
  allocationType: "crop" | "field" | "general" | "livestock_group";
1841
+ amount: number;
1842
1842
  createdById: string | null;
1843
1843
  createdByName: string | null;
1844
1844
  fieldName?: string | null | undefined;
1845
- cropName?: string | null | undefined;
1846
1845
  groupId?: string | null | undefined;
1846
+ cropName?: string | null | undefined;
1847
1847
  groupName?: string | null | undefined;
1848
1848
  ledgerSourceType?: string | null | undefined;
1849
1849
  ledgerSourceId?: string | null | undefined;
@@ -1889,13 +1889,13 @@ export declare const expenseResponseSchema: z.ZodObject<{
1889
1889
  category: string;
1890
1890
  fieldId: string | null;
1891
1891
  cropId: string | null;
1892
- amount: number;
1893
1892
  allocationType: "crop" | "field" | "general" | "livestock_group";
1893
+ amount: number;
1894
1894
  createdById: string | null;
1895
1895
  createdByName: string | null;
1896
1896
  fieldName?: string | null | undefined;
1897
- cropName?: string | null | undefined;
1898
1897
  groupId?: string | null | undefined;
1898
+ cropName?: string | null | undefined;
1899
1899
  groupName?: string | null | undefined;
1900
1900
  ledgerSourceType?: string | null | undefined;
1901
1901
  ledgerSourceId?: string | null | undefined;
@@ -1927,13 +1927,13 @@ export declare const expenseResponseSchema: z.ZodObject<{
1927
1927
  category: string;
1928
1928
  fieldId: string | null;
1929
1929
  cropId: string | null;
1930
- amount: number;
1931
1930
  allocationType: "crop" | "field" | "general" | "livestock_group";
1931
+ amount: number;
1932
1932
  createdById: string | null;
1933
1933
  createdByName: string | null;
1934
1934
  fieldName?: string | null | undefined;
1935
- cropName?: string | null | undefined;
1936
1935
  groupId?: string | null | undefined;
1936
+ cropName?: string | null | undefined;
1937
1937
  groupName?: string | null | undefined;
1938
1938
  ledgerSourceType?: string | null | undefined;
1939
1939
  ledgerSourceId?: string | null | undefined;
@@ -1986,13 +1986,13 @@ export declare const expenseDetailResponseSchema: z.ZodObject<{
1986
1986
  category: string;
1987
1987
  fieldId: string | null;
1988
1988
  cropId: string | null;
1989
- amount: number;
1990
1989
  allocationType: "crop" | "field" | "general" | "livestock_group";
1990
+ amount: number;
1991
1991
  createdById: string | null;
1992
1992
  createdByName: string | null;
1993
1993
  fieldName?: string | null | undefined;
1994
- cropName?: string | null | undefined;
1995
1994
  groupId?: string | null | undefined;
1995
+ cropName?: string | null | undefined;
1996
1996
  groupName?: string | null | undefined;
1997
1997
  ledgerSourceType?: string | null | undefined;
1998
1998
  ledgerSourceId?: string | null | undefined;
@@ -2005,13 +2005,13 @@ export declare const expenseDetailResponseSchema: z.ZodObject<{
2005
2005
  category: string;
2006
2006
  fieldId: string | null;
2007
2007
  cropId: string | null;
2008
- amount: number;
2009
2008
  allocationType: "crop" | "field" | "general" | "livestock_group";
2009
+ amount: number;
2010
2010
  createdById: string | null;
2011
2011
  createdByName: string | null;
2012
2012
  fieldName?: string | null | undefined;
2013
- cropName?: string | null | undefined;
2014
2013
  groupId?: string | null | undefined;
2014
+ cropName?: string | null | undefined;
2015
2015
  groupName?: string | null | undefined;
2016
2016
  ledgerSourceType?: string | null | undefined;
2017
2017
  ledgerSourceId?: string | null | undefined;
@@ -2062,13 +2062,13 @@ export declare const expenseDetailResponseSchema: z.ZodObject<{
2062
2062
  category: string;
2063
2063
  fieldId: string | null;
2064
2064
  cropId: string | null;
2065
- amount: number;
2066
2065
  allocationType: "crop" | "field" | "general" | "livestock_group";
2066
+ amount: number;
2067
2067
  createdById: string | null;
2068
2068
  createdByName: string | null;
2069
2069
  fieldName?: string | null | undefined;
2070
- cropName?: string | null | undefined;
2071
2070
  groupId?: string | null | undefined;
2071
+ cropName?: string | null | undefined;
2072
2072
  groupName?: string | null | undefined;
2073
2073
  ledgerSourceType?: string | null | undefined;
2074
2074
  ledgerSourceId?: string | null | undefined;
@@ -2094,13 +2094,13 @@ export declare const expenseDetailResponseSchema: z.ZodObject<{
2094
2094
  category: string;
2095
2095
  fieldId: string | null;
2096
2096
  cropId: string | null;
2097
- amount: number;
2098
2097
  allocationType: "crop" | "field" | "general" | "livestock_group";
2098
+ amount: number;
2099
2099
  createdById: string | null;
2100
2100
  createdByName: string | null;
2101
2101
  fieldName?: string | null | undefined;
2102
- cropName?: string | null | undefined;
2103
2102
  groupId?: string | null | undefined;
2103
+ cropName?: string | null | undefined;
2104
2104
  groupName?: string | null | undefined;
2105
2105
  ledgerSourceType?: string | null | undefined;
2106
2106
  ledgerSourceId?: string | null | undefined;
@@ -2152,13 +2152,13 @@ export declare const expenseDetailResponseSchema: z.ZodObject<{
2152
2152
  category: string;
2153
2153
  fieldId: string | null;
2154
2154
  cropId: string | null;
2155
- amount: number;
2156
2155
  allocationType: "crop" | "field" | "general" | "livestock_group";
2156
+ amount: number;
2157
2157
  createdById: string | null;
2158
2158
  createdByName: string | null;
2159
2159
  fieldName?: string | null | undefined;
2160
- cropName?: string | null | undefined;
2161
2160
  groupId?: string | null | undefined;
2161
+ cropName?: string | null | undefined;
2162
2162
  groupName?: string | null | undefined;
2163
2163
  ledgerSourceType?: string | null | undefined;
2164
2164
  ledgerSourceId?: string | null | undefined;
@@ -2196,13 +2196,13 @@ export declare const expenseDetailResponseSchema: z.ZodObject<{
2196
2196
  category: string;
2197
2197
  fieldId: string | null;
2198
2198
  cropId: string | null;
2199
- amount: number;
2200
2199
  allocationType: "crop" | "field" | "general" | "livestock_group";
2200
+ amount: number;
2201
2201
  createdById: string | null;
2202
2202
  createdByName: string | null;
2203
2203
  fieldName?: string | null | undefined;
2204
- cropName?: string | null | undefined;
2205
2204
  groupId?: string | null | undefined;
2205
+ cropName?: string | null | undefined;
2206
2206
  groupName?: string | null | undefined;
2207
2207
  ledgerSourceType?: string | null | undefined;
2208
2208
  ledgerSourceId?: string | null | undefined;
@@ -2261,13 +2261,13 @@ export declare const expenseListResponseSchema: z.ZodObject<{
2261
2261
  category: string;
2262
2262
  fieldId: string | null;
2263
2263
  cropId: string | null;
2264
- amount: number;
2265
2264
  allocationType: "crop" | "field" | "general" | "livestock_group";
2265
+ amount: number;
2266
2266
  createdById: string | null;
2267
2267
  createdByName: string | null;
2268
2268
  fieldName?: string | null | undefined;
2269
- cropName?: string | null | undefined;
2270
2269
  groupId?: string | null | undefined;
2270
+ cropName?: string | null | undefined;
2271
2271
  groupName?: string | null | undefined;
2272
2272
  ledgerSourceType?: string | null | undefined;
2273
2273
  ledgerSourceId?: string | null | undefined;
@@ -2280,13 +2280,13 @@ export declare const expenseListResponseSchema: z.ZodObject<{
2280
2280
  category: string;
2281
2281
  fieldId: string | null;
2282
2282
  cropId: string | null;
2283
- amount: number;
2284
2283
  allocationType: "crop" | "field" | "general" | "livestock_group";
2284
+ amount: number;
2285
2285
  createdById: string | null;
2286
2286
  createdByName: string | null;
2287
2287
  fieldName?: string | null | undefined;
2288
- cropName?: string | null | undefined;
2289
2288
  groupId?: string | null | undefined;
2289
+ cropName?: string | null | undefined;
2290
2290
  groupName?: string | null | undefined;
2291
2291
  ledgerSourceType?: string | null | undefined;
2292
2292
  ledgerSourceId?: string | null | undefined;
@@ -2306,13 +2306,13 @@ export declare const expenseListResponseSchema: z.ZodObject<{
2306
2306
  category: string;
2307
2307
  fieldId: string | null;
2308
2308
  cropId: string | null;
2309
- amount: number;
2310
2309
  allocationType: "crop" | "field" | "general" | "livestock_group";
2310
+ amount: number;
2311
2311
  createdById: string | null;
2312
2312
  createdByName: string | null;
2313
2313
  fieldName?: string | null | undefined;
2314
- cropName?: string | null | undefined;
2315
2314
  groupId?: string | null | undefined;
2315
+ cropName?: string | null | undefined;
2316
2316
  groupName?: string | null | undefined;
2317
2317
  ledgerSourceType?: string | null | undefined;
2318
2318
  ledgerSourceId?: string | null | undefined;
@@ -2332,13 +2332,13 @@ export declare const expenseListResponseSchema: z.ZodObject<{
2332
2332
  category: string;
2333
2333
  fieldId: string | null;
2334
2334
  cropId: string | null;
2335
- amount: number;
2336
2335
  allocationType: "crop" | "field" | "general" | "livestock_group";
2336
+ amount: number;
2337
2337
  createdById: string | null;
2338
2338
  createdByName: string | null;
2339
2339
  fieldName?: string | null | undefined;
2340
- cropName?: string | null | undefined;
2341
2340
  groupId?: string | null | undefined;
2341
+ cropName?: string | null | undefined;
2342
2342
  groupName?: string | null | undefined;
2343
2343
  ledgerSourceType?: string | null | undefined;
2344
2344
  ledgerSourceId?: string | null | undefined;
@@ -2384,13 +2384,13 @@ export declare const expenseListResponseSchema: z.ZodObject<{
2384
2384
  category: string;
2385
2385
  fieldId: string | null;
2386
2386
  cropId: string | null;
2387
- amount: number;
2388
2387
  allocationType: "crop" | "field" | "general" | "livestock_group";
2388
+ amount: number;
2389
2389
  createdById: string | null;
2390
2390
  createdByName: string | null;
2391
2391
  fieldName?: string | null | undefined;
2392
- cropName?: string | null | undefined;
2393
2392
  groupId?: string | null | undefined;
2393
+ cropName?: string | null | undefined;
2394
2394
  groupName?: string | null | undefined;
2395
2395
  ledgerSourceType?: string | null | undefined;
2396
2396
  ledgerSourceId?: string | null | undefined;
@@ -2422,13 +2422,13 @@ export declare const expenseListResponseSchema: z.ZodObject<{
2422
2422
  category: string;
2423
2423
  fieldId: string | null;
2424
2424
  cropId: string | null;
2425
- amount: number;
2426
2425
  allocationType: "crop" | "field" | "general" | "livestock_group";
2426
+ amount: number;
2427
2427
  createdById: string | null;
2428
2428
  createdByName: string | null;
2429
2429
  fieldName?: string | null | undefined;
2430
- cropName?: string | null | undefined;
2431
2430
  groupId?: string | null | undefined;
2431
+ cropName?: string | null | undefined;
2432
2432
  groupName?: string | null | undefined;
2433
2433
  ledgerSourceType?: string | null | undefined;
2434
2434
  ledgerSourceId?: string | null | undefined;