@deepintel-ltd/farmpro-contracts 1.14.0 → 1.15.2
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/capital.routes.d.ts +70 -0
- package/dist/routes/capital.routes.d.ts.map +1 -1
- package/dist/routes/field-activities.routes.d.ts +24 -24
- package/dist/routes/finance.routes.d.ts +112 -0
- package/dist/routes/finance.routes.d.ts.map +1 -1
- package/dist/routes/team-payments.routes.d.ts +196 -0
- package/dist/routes/team-payments.routes.d.ts.map +1 -1
- package/dist/schemas/capital.schemas.d.ts +68 -0
- package/dist/schemas/capital.schemas.d.ts.map +1 -1
- package/dist/schemas/capital.schemas.js +2 -0
- package/dist/schemas/field-activities.schemas.d.ts +18 -18
- package/dist/schemas/finance.schemas.d.ts +136 -0
- package/dist/schemas/finance.schemas.d.ts.map +1 -1
- package/dist/schemas/finance.schemas.js +4 -0
- package/dist/schemas/team-payments.schemas.d.ts +164 -0
- package/dist/schemas/team-payments.schemas.d.ts.map +1 -1
- package/dist/schemas/team-payments.schemas.js +10 -0
- package/package.json +1 -1
|
@@ -84,6 +84,8 @@ export declare const expenseAttributesSchema: z.ZodObject<{
|
|
|
84
84
|
fieldName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
85
85
|
cropId: z.ZodNullable<z.ZodString>;
|
|
86
86
|
cropName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
87
|
+
createdById: z.ZodNullable<z.ZodString>;
|
|
88
|
+
createdByName: z.ZodNullable<z.ZodString>;
|
|
87
89
|
} & {
|
|
88
90
|
createdAt: z.ZodString;
|
|
89
91
|
updatedAt: z.ZodString;
|
|
@@ -97,6 +99,8 @@ export declare const expenseAttributesSchema: z.ZodObject<{
|
|
|
97
99
|
cropId: string | null;
|
|
98
100
|
amount: number;
|
|
99
101
|
allocationType: "crop" | "field" | "general";
|
|
102
|
+
createdById: string | null;
|
|
103
|
+
createdByName: string | null;
|
|
100
104
|
fieldName?: string | null | undefined;
|
|
101
105
|
cropName?: string | null | undefined;
|
|
102
106
|
}, {
|
|
@@ -109,6 +113,8 @@ export declare const expenseAttributesSchema: z.ZodObject<{
|
|
|
109
113
|
cropId: string | null;
|
|
110
114
|
amount: number;
|
|
111
115
|
allocationType: "crop" | "field" | "general";
|
|
116
|
+
createdById: string | null;
|
|
117
|
+
createdByName: string | null;
|
|
112
118
|
fieldName?: string | null | undefined;
|
|
113
119
|
cropName?: string | null | undefined;
|
|
114
120
|
}>;
|
|
@@ -189,6 +195,8 @@ export declare const revenueAttributesSchema: z.ZodObject<{
|
|
|
189
195
|
fieldId: z.ZodNullable<z.ZodString>;
|
|
190
196
|
fieldName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
191
197
|
harvestId: z.ZodNullable<z.ZodString>;
|
|
198
|
+
createdById: z.ZodNullable<z.ZodString>;
|
|
199
|
+
createdByName: z.ZodNullable<z.ZodString>;
|
|
192
200
|
} & {
|
|
193
201
|
createdAt: z.ZodString;
|
|
194
202
|
updatedAt: z.ZodString;
|
|
@@ -200,6 +208,8 @@ export declare const revenueAttributesSchema: z.ZodObject<{
|
|
|
200
208
|
fieldId: string | null;
|
|
201
209
|
unit: string;
|
|
202
210
|
quantity: number;
|
|
211
|
+
createdById: string | null;
|
|
212
|
+
createdByName: string | null;
|
|
203
213
|
pricePerUnit: number;
|
|
204
214
|
totalAmount: number;
|
|
205
215
|
buyer: string | null;
|
|
@@ -213,6 +223,8 @@ export declare const revenueAttributesSchema: z.ZodObject<{
|
|
|
213
223
|
fieldId: string | null;
|
|
214
224
|
unit: string;
|
|
215
225
|
quantity: number;
|
|
226
|
+
createdById: string | null;
|
|
227
|
+
createdByName: string | null;
|
|
216
228
|
pricePerUnit: number;
|
|
217
229
|
totalAmount: number;
|
|
218
230
|
buyer: string | null;
|
|
@@ -692,6 +704,8 @@ export declare const expenseResourceSchema: z.ZodObject<{
|
|
|
692
704
|
fieldName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
693
705
|
cropId: z.ZodNullable<z.ZodString>;
|
|
694
706
|
cropName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
707
|
+
createdById: z.ZodNullable<z.ZodString>;
|
|
708
|
+
createdByName: z.ZodNullable<z.ZodString>;
|
|
695
709
|
} & {
|
|
696
710
|
createdAt: z.ZodString;
|
|
697
711
|
updatedAt: z.ZodString;
|
|
@@ -705,6 +719,8 @@ export declare const expenseResourceSchema: z.ZodObject<{
|
|
|
705
719
|
cropId: string | null;
|
|
706
720
|
amount: number;
|
|
707
721
|
allocationType: "crop" | "field" | "general";
|
|
722
|
+
createdById: string | null;
|
|
723
|
+
createdByName: string | null;
|
|
708
724
|
fieldName?: string | null | undefined;
|
|
709
725
|
cropName?: string | null | undefined;
|
|
710
726
|
}, {
|
|
@@ -717,6 +733,8 @@ export declare const expenseResourceSchema: z.ZodObject<{
|
|
|
717
733
|
cropId: string | null;
|
|
718
734
|
amount: number;
|
|
719
735
|
allocationType: "crop" | "field" | "general";
|
|
736
|
+
createdById: string | null;
|
|
737
|
+
createdByName: string | null;
|
|
720
738
|
fieldName?: string | null | undefined;
|
|
721
739
|
cropName?: string | null | undefined;
|
|
722
740
|
}>;
|
|
@@ -736,6 +754,8 @@ export declare const expenseResourceSchema: z.ZodObject<{
|
|
|
736
754
|
cropId: string | null;
|
|
737
755
|
amount: number;
|
|
738
756
|
allocationType: "crop" | "field" | "general";
|
|
757
|
+
createdById: string | null;
|
|
758
|
+
createdByName: string | null;
|
|
739
759
|
fieldName?: string | null | undefined;
|
|
740
760
|
cropName?: string | null | undefined;
|
|
741
761
|
};
|
|
@@ -755,6 +775,8 @@ export declare const expenseResourceSchema: z.ZodObject<{
|
|
|
755
775
|
cropId: string | null;
|
|
756
776
|
amount: number;
|
|
757
777
|
allocationType: "crop" | "field" | "general";
|
|
778
|
+
createdById: string | null;
|
|
779
|
+
createdByName: string | null;
|
|
758
780
|
fieldName?: string | null | undefined;
|
|
759
781
|
cropName?: string | null | undefined;
|
|
760
782
|
};
|
|
@@ -776,6 +798,8 @@ export declare const revenueResourceSchema: z.ZodObject<{
|
|
|
776
798
|
fieldId: z.ZodNullable<z.ZodString>;
|
|
777
799
|
fieldName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
778
800
|
harvestId: z.ZodNullable<z.ZodString>;
|
|
801
|
+
createdById: z.ZodNullable<z.ZodString>;
|
|
802
|
+
createdByName: z.ZodNullable<z.ZodString>;
|
|
779
803
|
} & {
|
|
780
804
|
createdAt: z.ZodString;
|
|
781
805
|
updatedAt: z.ZodString;
|
|
@@ -787,6 +811,8 @@ export declare const revenueResourceSchema: z.ZodObject<{
|
|
|
787
811
|
fieldId: string | null;
|
|
788
812
|
unit: string;
|
|
789
813
|
quantity: number;
|
|
814
|
+
createdById: string | null;
|
|
815
|
+
createdByName: string | null;
|
|
790
816
|
pricePerUnit: number;
|
|
791
817
|
totalAmount: number;
|
|
792
818
|
buyer: string | null;
|
|
@@ -800,6 +826,8 @@ export declare const revenueResourceSchema: z.ZodObject<{
|
|
|
800
826
|
fieldId: string | null;
|
|
801
827
|
unit: string;
|
|
802
828
|
quantity: number;
|
|
829
|
+
createdById: string | null;
|
|
830
|
+
createdByName: string | null;
|
|
803
831
|
pricePerUnit: number;
|
|
804
832
|
totalAmount: number;
|
|
805
833
|
buyer: string | null;
|
|
@@ -820,6 +848,8 @@ export declare const revenueResourceSchema: z.ZodObject<{
|
|
|
820
848
|
fieldId: string | null;
|
|
821
849
|
unit: string;
|
|
822
850
|
quantity: number;
|
|
851
|
+
createdById: string | null;
|
|
852
|
+
createdByName: string | null;
|
|
823
853
|
pricePerUnit: number;
|
|
824
854
|
totalAmount: number;
|
|
825
855
|
buyer: string | null;
|
|
@@ -840,6 +870,8 @@ export declare const revenueResourceSchema: z.ZodObject<{
|
|
|
840
870
|
fieldId: string | null;
|
|
841
871
|
unit: string;
|
|
842
872
|
quantity: number;
|
|
873
|
+
createdById: string | null;
|
|
874
|
+
createdByName: string | null;
|
|
843
875
|
pricePerUnit: number;
|
|
844
876
|
totalAmount: number;
|
|
845
877
|
buyer: string | null;
|
|
@@ -863,6 +895,8 @@ export declare const expenseDetailResourceSchema: z.ZodObject<{
|
|
|
863
895
|
fieldName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
864
896
|
cropId: z.ZodNullable<z.ZodString>;
|
|
865
897
|
cropName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
898
|
+
createdById: z.ZodNullable<z.ZodString>;
|
|
899
|
+
createdByName: z.ZodNullable<z.ZodString>;
|
|
866
900
|
} & {
|
|
867
901
|
createdAt: z.ZodString;
|
|
868
902
|
updatedAt: z.ZodString;
|
|
@@ -876,6 +910,8 @@ export declare const expenseDetailResourceSchema: z.ZodObject<{
|
|
|
876
910
|
cropId: string | null;
|
|
877
911
|
amount: number;
|
|
878
912
|
allocationType: "crop" | "field" | "general";
|
|
913
|
+
createdById: string | null;
|
|
914
|
+
createdByName: string | null;
|
|
879
915
|
fieldName?: string | null | undefined;
|
|
880
916
|
cropName?: string | null | undefined;
|
|
881
917
|
}, {
|
|
@@ -888,6 +924,8 @@ export declare const expenseDetailResourceSchema: z.ZodObject<{
|
|
|
888
924
|
cropId: string | null;
|
|
889
925
|
amount: number;
|
|
890
926
|
allocationType: "crop" | "field" | "general";
|
|
927
|
+
createdById: string | null;
|
|
928
|
+
createdByName: string | null;
|
|
891
929
|
fieldName?: string | null | undefined;
|
|
892
930
|
cropName?: string | null | undefined;
|
|
893
931
|
}>;
|
|
@@ -938,6 +976,8 @@ export declare const expenseDetailResourceSchema: z.ZodObject<{
|
|
|
938
976
|
cropId: string | null;
|
|
939
977
|
amount: number;
|
|
940
978
|
allocationType: "crop" | "field" | "general";
|
|
979
|
+
createdById: string | null;
|
|
980
|
+
createdByName: string | null;
|
|
941
981
|
fieldName?: string | null | undefined;
|
|
942
982
|
cropName?: string | null | undefined;
|
|
943
983
|
};
|
|
@@ -963,6 +1003,8 @@ export declare const expenseDetailResourceSchema: z.ZodObject<{
|
|
|
963
1003
|
cropId: string | null;
|
|
964
1004
|
amount: number;
|
|
965
1005
|
allocationType: "crop" | "field" | "general";
|
|
1006
|
+
createdById: string | null;
|
|
1007
|
+
createdByName: string | null;
|
|
966
1008
|
fieldName?: string | null | undefined;
|
|
967
1009
|
cropName?: string | null | undefined;
|
|
968
1010
|
};
|
|
@@ -990,6 +1032,8 @@ export declare const revenueDetailResourceSchema: z.ZodObject<{
|
|
|
990
1032
|
fieldId: z.ZodNullable<z.ZodString>;
|
|
991
1033
|
fieldName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
992
1034
|
harvestId: z.ZodNullable<z.ZodString>;
|
|
1035
|
+
createdById: z.ZodNullable<z.ZodString>;
|
|
1036
|
+
createdByName: z.ZodNullable<z.ZodString>;
|
|
993
1037
|
} & {
|
|
994
1038
|
createdAt: z.ZodString;
|
|
995
1039
|
updatedAt: z.ZodString;
|
|
@@ -1001,6 +1045,8 @@ export declare const revenueDetailResourceSchema: z.ZodObject<{
|
|
|
1001
1045
|
fieldId: string | null;
|
|
1002
1046
|
unit: string;
|
|
1003
1047
|
quantity: number;
|
|
1048
|
+
createdById: string | null;
|
|
1049
|
+
createdByName: string | null;
|
|
1004
1050
|
pricePerUnit: number;
|
|
1005
1051
|
totalAmount: number;
|
|
1006
1052
|
buyer: string | null;
|
|
@@ -1014,6 +1060,8 @@ export declare const revenueDetailResourceSchema: z.ZodObject<{
|
|
|
1014
1060
|
fieldId: string | null;
|
|
1015
1061
|
unit: string;
|
|
1016
1062
|
quantity: number;
|
|
1063
|
+
createdById: string | null;
|
|
1064
|
+
createdByName: string | null;
|
|
1017
1065
|
pricePerUnit: number;
|
|
1018
1066
|
totalAmount: number;
|
|
1019
1067
|
buyer: string | null;
|
|
@@ -1092,6 +1140,8 @@ export declare const revenueDetailResourceSchema: z.ZodObject<{
|
|
|
1092
1140
|
fieldId: string | null;
|
|
1093
1141
|
unit: string;
|
|
1094
1142
|
quantity: number;
|
|
1143
|
+
createdById: string | null;
|
|
1144
|
+
createdByName: string | null;
|
|
1095
1145
|
pricePerUnit: number;
|
|
1096
1146
|
totalAmount: number;
|
|
1097
1147
|
buyer: string | null;
|
|
@@ -1123,6 +1173,8 @@ export declare const revenueDetailResourceSchema: z.ZodObject<{
|
|
|
1123
1173
|
fieldId: string | null;
|
|
1124
1174
|
unit: string;
|
|
1125
1175
|
quantity: number;
|
|
1176
|
+
createdById: string | null;
|
|
1177
|
+
createdByName: string | null;
|
|
1126
1178
|
pricePerUnit: number;
|
|
1127
1179
|
totalAmount: number;
|
|
1128
1180
|
buyer: string | null;
|
|
@@ -1472,6 +1524,8 @@ export declare const expenseResponseSchema: z.ZodObject<{
|
|
|
1472
1524
|
fieldName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1473
1525
|
cropId: z.ZodNullable<z.ZodString>;
|
|
1474
1526
|
cropName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1527
|
+
createdById: z.ZodNullable<z.ZodString>;
|
|
1528
|
+
createdByName: z.ZodNullable<z.ZodString>;
|
|
1475
1529
|
} & {
|
|
1476
1530
|
createdAt: z.ZodString;
|
|
1477
1531
|
updatedAt: z.ZodString;
|
|
@@ -1485,6 +1539,8 @@ export declare const expenseResponseSchema: z.ZodObject<{
|
|
|
1485
1539
|
cropId: string | null;
|
|
1486
1540
|
amount: number;
|
|
1487
1541
|
allocationType: "crop" | "field" | "general";
|
|
1542
|
+
createdById: string | null;
|
|
1543
|
+
createdByName: string | null;
|
|
1488
1544
|
fieldName?: string | null | undefined;
|
|
1489
1545
|
cropName?: string | null | undefined;
|
|
1490
1546
|
}, {
|
|
@@ -1497,6 +1553,8 @@ export declare const expenseResponseSchema: z.ZodObject<{
|
|
|
1497
1553
|
cropId: string | null;
|
|
1498
1554
|
amount: number;
|
|
1499
1555
|
allocationType: "crop" | "field" | "general";
|
|
1556
|
+
createdById: string | null;
|
|
1557
|
+
createdByName: string | null;
|
|
1500
1558
|
fieldName?: string | null | undefined;
|
|
1501
1559
|
cropName?: string | null | undefined;
|
|
1502
1560
|
}>;
|
|
@@ -1516,6 +1574,8 @@ export declare const expenseResponseSchema: z.ZodObject<{
|
|
|
1516
1574
|
cropId: string | null;
|
|
1517
1575
|
amount: number;
|
|
1518
1576
|
allocationType: "crop" | "field" | "general";
|
|
1577
|
+
createdById: string | null;
|
|
1578
|
+
createdByName: string | null;
|
|
1519
1579
|
fieldName?: string | null | undefined;
|
|
1520
1580
|
cropName?: string | null | undefined;
|
|
1521
1581
|
};
|
|
@@ -1535,6 +1595,8 @@ export declare const expenseResponseSchema: z.ZodObject<{
|
|
|
1535
1595
|
cropId: string | null;
|
|
1536
1596
|
amount: number;
|
|
1537
1597
|
allocationType: "crop" | "field" | "general";
|
|
1598
|
+
createdById: string | null;
|
|
1599
|
+
createdByName: string | null;
|
|
1538
1600
|
fieldName?: string | null | undefined;
|
|
1539
1601
|
cropName?: string | null | undefined;
|
|
1540
1602
|
};
|
|
@@ -1580,6 +1642,8 @@ export declare const expenseResponseSchema: z.ZodObject<{
|
|
|
1580
1642
|
cropId: string | null;
|
|
1581
1643
|
amount: number;
|
|
1582
1644
|
allocationType: "crop" | "field" | "general";
|
|
1645
|
+
createdById: string | null;
|
|
1646
|
+
createdByName: string | null;
|
|
1583
1647
|
fieldName?: string | null | undefined;
|
|
1584
1648
|
cropName?: string | null | undefined;
|
|
1585
1649
|
};
|
|
@@ -1611,6 +1675,8 @@ export declare const expenseResponseSchema: z.ZodObject<{
|
|
|
1611
1675
|
cropId: string | null;
|
|
1612
1676
|
amount: number;
|
|
1613
1677
|
allocationType: "crop" | "field" | "general";
|
|
1678
|
+
createdById: string | null;
|
|
1679
|
+
createdByName: string | null;
|
|
1614
1680
|
fieldName?: string | null | undefined;
|
|
1615
1681
|
cropName?: string | null | undefined;
|
|
1616
1682
|
};
|
|
@@ -1643,6 +1709,8 @@ export declare const expenseDetailResponseSchema: z.ZodObject<{
|
|
|
1643
1709
|
fieldName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1644
1710
|
cropId: z.ZodNullable<z.ZodString>;
|
|
1645
1711
|
cropName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1712
|
+
createdById: z.ZodNullable<z.ZodString>;
|
|
1713
|
+
createdByName: z.ZodNullable<z.ZodString>;
|
|
1646
1714
|
} & {
|
|
1647
1715
|
createdAt: z.ZodString;
|
|
1648
1716
|
updatedAt: z.ZodString;
|
|
@@ -1656,6 +1724,8 @@ export declare const expenseDetailResponseSchema: z.ZodObject<{
|
|
|
1656
1724
|
cropId: string | null;
|
|
1657
1725
|
amount: number;
|
|
1658
1726
|
allocationType: "crop" | "field" | "general";
|
|
1727
|
+
createdById: string | null;
|
|
1728
|
+
createdByName: string | null;
|
|
1659
1729
|
fieldName?: string | null | undefined;
|
|
1660
1730
|
cropName?: string | null | undefined;
|
|
1661
1731
|
}, {
|
|
@@ -1668,6 +1738,8 @@ export declare const expenseDetailResponseSchema: z.ZodObject<{
|
|
|
1668
1738
|
cropId: string | null;
|
|
1669
1739
|
amount: number;
|
|
1670
1740
|
allocationType: "crop" | "field" | "general";
|
|
1741
|
+
createdById: string | null;
|
|
1742
|
+
createdByName: string | null;
|
|
1671
1743
|
fieldName?: string | null | undefined;
|
|
1672
1744
|
cropName?: string | null | undefined;
|
|
1673
1745
|
}>;
|
|
@@ -1718,6 +1790,8 @@ export declare const expenseDetailResponseSchema: z.ZodObject<{
|
|
|
1718
1790
|
cropId: string | null;
|
|
1719
1791
|
amount: number;
|
|
1720
1792
|
allocationType: "crop" | "field" | "general";
|
|
1793
|
+
createdById: string | null;
|
|
1794
|
+
createdByName: string | null;
|
|
1721
1795
|
fieldName?: string | null | undefined;
|
|
1722
1796
|
cropName?: string | null | undefined;
|
|
1723
1797
|
};
|
|
@@ -1743,6 +1817,8 @@ export declare const expenseDetailResponseSchema: z.ZodObject<{
|
|
|
1743
1817
|
cropId: string | null;
|
|
1744
1818
|
amount: number;
|
|
1745
1819
|
allocationType: "crop" | "field" | "general";
|
|
1820
|
+
createdById: string | null;
|
|
1821
|
+
createdByName: string | null;
|
|
1746
1822
|
fieldName?: string | null | undefined;
|
|
1747
1823
|
cropName?: string | null | undefined;
|
|
1748
1824
|
};
|
|
@@ -1794,6 +1870,8 @@ export declare const expenseDetailResponseSchema: z.ZodObject<{
|
|
|
1794
1870
|
cropId: string | null;
|
|
1795
1871
|
amount: number;
|
|
1796
1872
|
allocationType: "crop" | "field" | "general";
|
|
1873
|
+
createdById: string | null;
|
|
1874
|
+
createdByName: string | null;
|
|
1797
1875
|
fieldName?: string | null | undefined;
|
|
1798
1876
|
cropName?: string | null | undefined;
|
|
1799
1877
|
};
|
|
@@ -1831,6 +1909,8 @@ export declare const expenseDetailResponseSchema: z.ZodObject<{
|
|
|
1831
1909
|
cropId: string | null;
|
|
1832
1910
|
amount: number;
|
|
1833
1911
|
allocationType: "crop" | "field" | "general";
|
|
1912
|
+
createdById: string | null;
|
|
1913
|
+
createdByName: string | null;
|
|
1834
1914
|
fieldName?: string | null | undefined;
|
|
1835
1915
|
cropName?: string | null | undefined;
|
|
1836
1916
|
};
|
|
@@ -1869,6 +1949,8 @@ export declare const expenseListResponseSchema: z.ZodObject<{
|
|
|
1869
1949
|
fieldName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1870
1950
|
cropId: z.ZodNullable<z.ZodString>;
|
|
1871
1951
|
cropName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1952
|
+
createdById: z.ZodNullable<z.ZodString>;
|
|
1953
|
+
createdByName: z.ZodNullable<z.ZodString>;
|
|
1872
1954
|
} & {
|
|
1873
1955
|
createdAt: z.ZodString;
|
|
1874
1956
|
updatedAt: z.ZodString;
|
|
@@ -1882,6 +1964,8 @@ export declare const expenseListResponseSchema: z.ZodObject<{
|
|
|
1882
1964
|
cropId: string | null;
|
|
1883
1965
|
amount: number;
|
|
1884
1966
|
allocationType: "crop" | "field" | "general";
|
|
1967
|
+
createdById: string | null;
|
|
1968
|
+
createdByName: string | null;
|
|
1885
1969
|
fieldName?: string | null | undefined;
|
|
1886
1970
|
cropName?: string | null | undefined;
|
|
1887
1971
|
}, {
|
|
@@ -1894,6 +1978,8 @@ export declare const expenseListResponseSchema: z.ZodObject<{
|
|
|
1894
1978
|
cropId: string | null;
|
|
1895
1979
|
amount: number;
|
|
1896
1980
|
allocationType: "crop" | "field" | "general";
|
|
1981
|
+
createdById: string | null;
|
|
1982
|
+
createdByName: string | null;
|
|
1897
1983
|
fieldName?: string | null | undefined;
|
|
1898
1984
|
cropName?: string | null | undefined;
|
|
1899
1985
|
}>;
|
|
@@ -1913,6 +1999,8 @@ export declare const expenseListResponseSchema: z.ZodObject<{
|
|
|
1913
1999
|
cropId: string | null;
|
|
1914
2000
|
amount: number;
|
|
1915
2001
|
allocationType: "crop" | "field" | "general";
|
|
2002
|
+
createdById: string | null;
|
|
2003
|
+
createdByName: string | null;
|
|
1916
2004
|
fieldName?: string | null | undefined;
|
|
1917
2005
|
cropName?: string | null | undefined;
|
|
1918
2006
|
};
|
|
@@ -1932,6 +2020,8 @@ export declare const expenseListResponseSchema: z.ZodObject<{
|
|
|
1932
2020
|
cropId: string | null;
|
|
1933
2021
|
amount: number;
|
|
1934
2022
|
allocationType: "crop" | "field" | "general";
|
|
2023
|
+
createdById: string | null;
|
|
2024
|
+
createdByName: string | null;
|
|
1935
2025
|
fieldName?: string | null | undefined;
|
|
1936
2026
|
cropName?: string | null | undefined;
|
|
1937
2027
|
};
|
|
@@ -1977,6 +2067,8 @@ export declare const expenseListResponseSchema: z.ZodObject<{
|
|
|
1977
2067
|
cropId: string | null;
|
|
1978
2068
|
amount: number;
|
|
1979
2069
|
allocationType: "crop" | "field" | "general";
|
|
2070
|
+
createdById: string | null;
|
|
2071
|
+
createdByName: string | null;
|
|
1980
2072
|
fieldName?: string | null | undefined;
|
|
1981
2073
|
cropName?: string | null | undefined;
|
|
1982
2074
|
};
|
|
@@ -2008,6 +2100,8 @@ export declare const expenseListResponseSchema: z.ZodObject<{
|
|
|
2008
2100
|
cropId: string | null;
|
|
2009
2101
|
amount: number;
|
|
2010
2102
|
allocationType: "crop" | "field" | "general";
|
|
2103
|
+
createdById: string | null;
|
|
2104
|
+
createdByName: string | null;
|
|
2011
2105
|
fieldName?: string | null | undefined;
|
|
2012
2106
|
cropName?: string | null | undefined;
|
|
2013
2107
|
};
|
|
@@ -2041,6 +2135,8 @@ export declare const revenueResponseSchema: z.ZodObject<{
|
|
|
2041
2135
|
fieldId: z.ZodNullable<z.ZodString>;
|
|
2042
2136
|
fieldName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2043
2137
|
harvestId: z.ZodNullable<z.ZodString>;
|
|
2138
|
+
createdById: z.ZodNullable<z.ZodString>;
|
|
2139
|
+
createdByName: z.ZodNullable<z.ZodString>;
|
|
2044
2140
|
} & {
|
|
2045
2141
|
createdAt: z.ZodString;
|
|
2046
2142
|
updatedAt: z.ZodString;
|
|
@@ -2052,6 +2148,8 @@ export declare const revenueResponseSchema: z.ZodObject<{
|
|
|
2052
2148
|
fieldId: string | null;
|
|
2053
2149
|
unit: string;
|
|
2054
2150
|
quantity: number;
|
|
2151
|
+
createdById: string | null;
|
|
2152
|
+
createdByName: string | null;
|
|
2055
2153
|
pricePerUnit: number;
|
|
2056
2154
|
totalAmount: number;
|
|
2057
2155
|
buyer: string | null;
|
|
@@ -2065,6 +2163,8 @@ export declare const revenueResponseSchema: z.ZodObject<{
|
|
|
2065
2163
|
fieldId: string | null;
|
|
2066
2164
|
unit: string;
|
|
2067
2165
|
quantity: number;
|
|
2166
|
+
createdById: string | null;
|
|
2167
|
+
createdByName: string | null;
|
|
2068
2168
|
pricePerUnit: number;
|
|
2069
2169
|
totalAmount: number;
|
|
2070
2170
|
buyer: string | null;
|
|
@@ -2085,6 +2185,8 @@ export declare const revenueResponseSchema: z.ZodObject<{
|
|
|
2085
2185
|
fieldId: string | null;
|
|
2086
2186
|
unit: string;
|
|
2087
2187
|
quantity: number;
|
|
2188
|
+
createdById: string | null;
|
|
2189
|
+
createdByName: string | null;
|
|
2088
2190
|
pricePerUnit: number;
|
|
2089
2191
|
totalAmount: number;
|
|
2090
2192
|
buyer: string | null;
|
|
@@ -2105,6 +2207,8 @@ export declare const revenueResponseSchema: z.ZodObject<{
|
|
|
2105
2207
|
fieldId: string | null;
|
|
2106
2208
|
unit: string;
|
|
2107
2209
|
quantity: number;
|
|
2210
|
+
createdById: string | null;
|
|
2211
|
+
createdByName: string | null;
|
|
2108
2212
|
pricePerUnit: number;
|
|
2109
2213
|
totalAmount: number;
|
|
2110
2214
|
buyer: string | null;
|
|
@@ -2151,6 +2255,8 @@ export declare const revenueResponseSchema: z.ZodObject<{
|
|
|
2151
2255
|
fieldId: string | null;
|
|
2152
2256
|
unit: string;
|
|
2153
2257
|
quantity: number;
|
|
2258
|
+
createdById: string | null;
|
|
2259
|
+
createdByName: string | null;
|
|
2154
2260
|
pricePerUnit: number;
|
|
2155
2261
|
totalAmount: number;
|
|
2156
2262
|
buyer: string | null;
|
|
@@ -2183,6 +2289,8 @@ export declare const revenueResponseSchema: z.ZodObject<{
|
|
|
2183
2289
|
fieldId: string | null;
|
|
2184
2290
|
unit: string;
|
|
2185
2291
|
quantity: number;
|
|
2292
|
+
createdById: string | null;
|
|
2293
|
+
createdByName: string | null;
|
|
2186
2294
|
pricePerUnit: number;
|
|
2187
2295
|
totalAmount: number;
|
|
2188
2296
|
buyer: string | null;
|
|
@@ -2219,6 +2327,8 @@ export declare const revenueDetailResponseSchema: z.ZodObject<{
|
|
|
2219
2327
|
fieldId: z.ZodNullable<z.ZodString>;
|
|
2220
2328
|
fieldName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2221
2329
|
harvestId: z.ZodNullable<z.ZodString>;
|
|
2330
|
+
createdById: z.ZodNullable<z.ZodString>;
|
|
2331
|
+
createdByName: z.ZodNullable<z.ZodString>;
|
|
2222
2332
|
} & {
|
|
2223
2333
|
createdAt: z.ZodString;
|
|
2224
2334
|
updatedAt: z.ZodString;
|
|
@@ -2230,6 +2340,8 @@ export declare const revenueDetailResponseSchema: z.ZodObject<{
|
|
|
2230
2340
|
fieldId: string | null;
|
|
2231
2341
|
unit: string;
|
|
2232
2342
|
quantity: number;
|
|
2343
|
+
createdById: string | null;
|
|
2344
|
+
createdByName: string | null;
|
|
2233
2345
|
pricePerUnit: number;
|
|
2234
2346
|
totalAmount: number;
|
|
2235
2347
|
buyer: string | null;
|
|
@@ -2243,6 +2355,8 @@ export declare const revenueDetailResponseSchema: z.ZodObject<{
|
|
|
2243
2355
|
fieldId: string | null;
|
|
2244
2356
|
unit: string;
|
|
2245
2357
|
quantity: number;
|
|
2358
|
+
createdById: string | null;
|
|
2359
|
+
createdByName: string | null;
|
|
2246
2360
|
pricePerUnit: number;
|
|
2247
2361
|
totalAmount: number;
|
|
2248
2362
|
buyer: string | null;
|
|
@@ -2321,6 +2435,8 @@ export declare const revenueDetailResponseSchema: z.ZodObject<{
|
|
|
2321
2435
|
fieldId: string | null;
|
|
2322
2436
|
unit: string;
|
|
2323
2437
|
quantity: number;
|
|
2438
|
+
createdById: string | null;
|
|
2439
|
+
createdByName: string | null;
|
|
2324
2440
|
pricePerUnit: number;
|
|
2325
2441
|
totalAmount: number;
|
|
2326
2442
|
buyer: string | null;
|
|
@@ -2352,6 +2468,8 @@ export declare const revenueDetailResponseSchema: z.ZodObject<{
|
|
|
2352
2468
|
fieldId: string | null;
|
|
2353
2469
|
unit: string;
|
|
2354
2470
|
quantity: number;
|
|
2471
|
+
createdById: string | null;
|
|
2472
|
+
createdByName: string | null;
|
|
2355
2473
|
pricePerUnit: number;
|
|
2356
2474
|
totalAmount: number;
|
|
2357
2475
|
buyer: string | null;
|
|
@@ -2409,6 +2527,8 @@ export declare const revenueDetailResponseSchema: z.ZodObject<{
|
|
|
2409
2527
|
fieldId: string | null;
|
|
2410
2528
|
unit: string;
|
|
2411
2529
|
quantity: number;
|
|
2530
|
+
createdById: string | null;
|
|
2531
|
+
createdByName: string | null;
|
|
2412
2532
|
pricePerUnit: number;
|
|
2413
2533
|
totalAmount: number;
|
|
2414
2534
|
buyer: string | null;
|
|
@@ -2452,6 +2572,8 @@ export declare const revenueDetailResponseSchema: z.ZodObject<{
|
|
|
2452
2572
|
fieldId: string | null;
|
|
2453
2573
|
unit: string;
|
|
2454
2574
|
quantity: number;
|
|
2575
|
+
createdById: string | null;
|
|
2576
|
+
createdByName: string | null;
|
|
2455
2577
|
pricePerUnit: number;
|
|
2456
2578
|
totalAmount: number;
|
|
2457
2579
|
buyer: string | null;
|
|
@@ -2499,6 +2621,8 @@ export declare const revenueListResponseSchema: z.ZodObject<{
|
|
|
2499
2621
|
fieldId: z.ZodNullable<z.ZodString>;
|
|
2500
2622
|
fieldName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2501
2623
|
harvestId: z.ZodNullable<z.ZodString>;
|
|
2624
|
+
createdById: z.ZodNullable<z.ZodString>;
|
|
2625
|
+
createdByName: z.ZodNullable<z.ZodString>;
|
|
2502
2626
|
} & {
|
|
2503
2627
|
createdAt: z.ZodString;
|
|
2504
2628
|
updatedAt: z.ZodString;
|
|
@@ -2510,6 +2634,8 @@ export declare const revenueListResponseSchema: z.ZodObject<{
|
|
|
2510
2634
|
fieldId: string | null;
|
|
2511
2635
|
unit: string;
|
|
2512
2636
|
quantity: number;
|
|
2637
|
+
createdById: string | null;
|
|
2638
|
+
createdByName: string | null;
|
|
2513
2639
|
pricePerUnit: number;
|
|
2514
2640
|
totalAmount: number;
|
|
2515
2641
|
buyer: string | null;
|
|
@@ -2523,6 +2649,8 @@ export declare const revenueListResponseSchema: z.ZodObject<{
|
|
|
2523
2649
|
fieldId: string | null;
|
|
2524
2650
|
unit: string;
|
|
2525
2651
|
quantity: number;
|
|
2652
|
+
createdById: string | null;
|
|
2653
|
+
createdByName: string | null;
|
|
2526
2654
|
pricePerUnit: number;
|
|
2527
2655
|
totalAmount: number;
|
|
2528
2656
|
buyer: string | null;
|
|
@@ -2543,6 +2671,8 @@ export declare const revenueListResponseSchema: z.ZodObject<{
|
|
|
2543
2671
|
fieldId: string | null;
|
|
2544
2672
|
unit: string;
|
|
2545
2673
|
quantity: number;
|
|
2674
|
+
createdById: string | null;
|
|
2675
|
+
createdByName: string | null;
|
|
2546
2676
|
pricePerUnit: number;
|
|
2547
2677
|
totalAmount: number;
|
|
2548
2678
|
buyer: string | null;
|
|
@@ -2563,6 +2693,8 @@ export declare const revenueListResponseSchema: z.ZodObject<{
|
|
|
2563
2693
|
fieldId: string | null;
|
|
2564
2694
|
unit: string;
|
|
2565
2695
|
quantity: number;
|
|
2696
|
+
createdById: string | null;
|
|
2697
|
+
createdByName: string | null;
|
|
2566
2698
|
pricePerUnit: number;
|
|
2567
2699
|
totalAmount: number;
|
|
2568
2700
|
buyer: string | null;
|
|
@@ -2609,6 +2741,8 @@ export declare const revenueListResponseSchema: z.ZodObject<{
|
|
|
2609
2741
|
fieldId: string | null;
|
|
2610
2742
|
unit: string;
|
|
2611
2743
|
quantity: number;
|
|
2744
|
+
createdById: string | null;
|
|
2745
|
+
createdByName: string | null;
|
|
2612
2746
|
pricePerUnit: number;
|
|
2613
2747
|
totalAmount: number;
|
|
2614
2748
|
buyer: string | null;
|
|
@@ -2641,6 +2775,8 @@ export declare const revenueListResponseSchema: z.ZodObject<{
|
|
|
2641
2775
|
fieldId: string | null;
|
|
2642
2776
|
unit: string;
|
|
2643
2777
|
quantity: number;
|
|
2778
|
+
createdById: string | null;
|
|
2779
|
+
createdByName: string | null;
|
|
2644
2780
|
pricePerUnit: number;
|
|
2645
2781
|
totalAmount: number;
|
|
2646
2782
|
buyer: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"finance.schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/finance.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB;;GAEG;AAGH,eA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AAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAChF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAClF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC"}
|
|
@@ -44,6 +44,8 @@ export const expenseAttributesSchema = z.object({
|
|
|
44
44
|
fieldName: z.string().nullable().optional(),
|
|
45
45
|
cropId: z.string().nullable(),
|
|
46
46
|
cropName: z.string().nullable().optional(),
|
|
47
|
+
createdById: z.string().uuid().nullable(),
|
|
48
|
+
createdByName: z.string().nullable(),
|
|
47
49
|
}).merge(timestampsSchema);
|
|
48
50
|
// Expense attributes for creation (input)
|
|
49
51
|
export const createExpenseAttributesSchema = z.object({
|
|
@@ -90,6 +92,8 @@ export const revenueAttributesSchema = z.object({
|
|
|
90
92
|
fieldId: z.string().uuid().nullable(),
|
|
91
93
|
fieldName: z.string().nullable().optional(),
|
|
92
94
|
harvestId: z.string().uuid().nullable(),
|
|
95
|
+
createdById: z.string().uuid().nullable(),
|
|
96
|
+
createdByName: z.string().nullable(),
|
|
93
97
|
}).merge(timestampsSchema);
|
|
94
98
|
// Revenue attributes for creation (input)
|
|
95
99
|
export const createRevenueAttributesSchema = z.object({
|