@deepintel-ltd/farmpro-contracts 1.22.3 → 1.23.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/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -0
- package/dist/routes/commodity-deals.routes.d.ts +175 -0
- package/dist/routes/commodity-deals.routes.d.ts.map +1 -1
- package/dist/routes/index.d.ts +9 -0
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/index.js +6 -0
- package/dist/routes/invoices.routes.d.ts +189 -42
- package/dist/routes/invoices.routes.d.ts.map +1 -1
- package/dist/routes/livestock-groups.routes.d.ts +308 -0
- package/dist/routes/livestock-groups.routes.d.ts.map +1 -1
- package/dist/routes/organization-capabilities.routes.d.ts +1671 -0
- package/dist/routes/organization-capabilities.routes.d.ts.map +1 -0
- package/dist/routes/organization-capabilities.routes.js +74 -0
- package/dist/routes/purchase-orders.routes.d.ts +2061 -0
- package/dist/routes/purchase-orders.routes.d.ts.map +1 -0
- package/dist/routes/purchase-orders.routes.js +55 -0
- package/dist/routes/staff.routes.d.ts +84 -0
- package/dist/routes/staff.routes.d.ts.map +1 -1
- package/dist/routes/trade-cash-events.routes.d.ts +3837 -0
- package/dist/routes/trade-cash-events.routes.d.ts.map +1 -0
- package/dist/routes/trade-cash-events.routes.js +126 -0
- package/dist/routes/waybills.routes.d.ts +210 -0
- package/dist/routes/waybills.routes.d.ts.map +1 -1
- package/dist/schemas/commodity-deals.schemas.d.ts +98 -0
- package/dist/schemas/commodity-deals.schemas.d.ts.map +1 -1
- package/dist/schemas/commodity-deals.schemas.js +7 -0
- package/dist/schemas/invoices.schemas.d.ts +144 -30
- package/dist/schemas/invoices.schemas.d.ts.map +1 -1
- package/dist/schemas/invoices.schemas.js +8 -2
- package/dist/schemas/livestock-groups.schemas.d.ts +302 -0
- package/dist/schemas/livestock-groups.schemas.d.ts.map +1 -1
- package/dist/schemas/livestock-groups.schemas.js +22 -0
- package/dist/schemas/organization-capabilities.schemas.d.ts +355 -0
- package/dist/schemas/organization-capabilities.schemas.d.ts.map +1 -0
- package/dist/schemas/organization-capabilities.schemas.js +19 -0
- package/dist/schemas/purchase-orders.schemas.d.ts +1031 -0
- package/dist/schemas/purchase-orders.schemas.d.ts.map +1 -0
- package/dist/schemas/purchase-orders.schemas.js +49 -0
- package/dist/schemas/staff.schemas.d.ts +76 -0
- package/dist/schemas/staff.schemas.d.ts.map +1 -1
- package/dist/schemas/staff.schemas.js +6 -0
- package/dist/schemas/trade-cash-events.schemas.d.ts +1524 -0
- package/dist/schemas/trade-cash-events.schemas.d.ts.map +1 -0
- package/dist/schemas/trade-cash-events.schemas.js +131 -0
- package/dist/schemas/waybills.schemas.d.ts +168 -0
- package/dist/schemas/waybills.schemas.d.ts.map +1 -1
- package/dist/schemas/waybills.schemas.js +9 -0
- package/package.json +1 -1
|
@@ -76,6 +76,10 @@ export declare const waybillsRouter: {
|
|
|
76
76
|
transporterName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
77
77
|
dispatchedLocation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
78
78
|
receivedCondition: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
79
|
+
receivedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
80
|
+
receivedByName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
81
|
+
farmId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
82
|
+
commercialIntent: z.ZodNullable<z.ZodOptional<z.ZodEnum<["farm_sale", "trade"]>>>;
|
|
79
83
|
organizationId: z.ZodString;
|
|
80
84
|
} & {
|
|
81
85
|
createdAt: z.ZodString;
|
|
@@ -97,6 +101,7 @@ export declare const waybillsRouter: {
|
|
|
97
101
|
issueDate: string;
|
|
98
102
|
senderName: string;
|
|
99
103
|
recipientName: string;
|
|
104
|
+
farmId?: string | null | undefined;
|
|
100
105
|
notes?: string | null | undefined;
|
|
101
106
|
totalValue?: number | null | undefined;
|
|
102
107
|
senderAddress?: string | null | undefined;
|
|
@@ -114,6 +119,9 @@ export declare const waybillsRouter: {
|
|
|
114
119
|
transporterName?: string | null | undefined;
|
|
115
120
|
dispatchedLocation?: string | null | undefined;
|
|
116
121
|
receivedCondition?: string | null | undefined;
|
|
122
|
+
receivedAt?: string | null | undefined;
|
|
123
|
+
receivedByName?: string | null | undefined;
|
|
124
|
+
commercialIntent?: "farm_sale" | "trade" | null | undefined;
|
|
117
125
|
}, {
|
|
118
126
|
createdAt: string;
|
|
119
127
|
updatedAt: string;
|
|
@@ -130,6 +138,7 @@ export declare const waybillsRouter: {
|
|
|
130
138
|
issueDate: string;
|
|
131
139
|
senderName: string;
|
|
132
140
|
recipientName: string;
|
|
141
|
+
farmId?: string | null | undefined;
|
|
133
142
|
currency?: string | undefined;
|
|
134
143
|
notes?: string | null | undefined;
|
|
135
144
|
totalValue?: number | null | undefined;
|
|
@@ -148,6 +157,9 @@ export declare const waybillsRouter: {
|
|
|
148
157
|
transporterName?: string | null | undefined;
|
|
149
158
|
dispatchedLocation?: string | null | undefined;
|
|
150
159
|
receivedCondition?: string | null | undefined;
|
|
160
|
+
receivedAt?: string | null | undefined;
|
|
161
|
+
receivedByName?: string | null | undefined;
|
|
162
|
+
commercialIntent?: "farm_sale" | "trade" | null | undefined;
|
|
151
163
|
}>;
|
|
152
164
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
153
165
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -172,6 +184,7 @@ export declare const waybillsRouter: {
|
|
|
172
184
|
issueDate: string;
|
|
173
185
|
senderName: string;
|
|
174
186
|
recipientName: string;
|
|
187
|
+
farmId?: string | null | undefined;
|
|
175
188
|
notes?: string | null | undefined;
|
|
176
189
|
totalValue?: number | null | undefined;
|
|
177
190
|
senderAddress?: string | null | undefined;
|
|
@@ -189,6 +202,9 @@ export declare const waybillsRouter: {
|
|
|
189
202
|
transporterName?: string | null | undefined;
|
|
190
203
|
dispatchedLocation?: string | null | undefined;
|
|
191
204
|
receivedCondition?: string | null | undefined;
|
|
205
|
+
receivedAt?: string | null | undefined;
|
|
206
|
+
receivedByName?: string | null | undefined;
|
|
207
|
+
commercialIntent?: "farm_sale" | "trade" | null | undefined;
|
|
192
208
|
};
|
|
193
209
|
relationships?: Record<string, unknown> | undefined;
|
|
194
210
|
links?: Record<string, string> | undefined;
|
|
@@ -212,6 +228,7 @@ export declare const waybillsRouter: {
|
|
|
212
228
|
issueDate: string;
|
|
213
229
|
senderName: string;
|
|
214
230
|
recipientName: string;
|
|
231
|
+
farmId?: string | null | undefined;
|
|
215
232
|
currency?: string | undefined;
|
|
216
233
|
notes?: string | null | undefined;
|
|
217
234
|
totalValue?: number | null | undefined;
|
|
@@ -230,6 +247,9 @@ export declare const waybillsRouter: {
|
|
|
230
247
|
transporterName?: string | null | undefined;
|
|
231
248
|
dispatchedLocation?: string | null | undefined;
|
|
232
249
|
receivedCondition?: string | null | undefined;
|
|
250
|
+
receivedAt?: string | null | undefined;
|
|
251
|
+
receivedByName?: string | null | undefined;
|
|
252
|
+
commercialIntent?: "farm_sale" | "trade" | null | undefined;
|
|
233
253
|
};
|
|
234
254
|
relationships?: Record<string, unknown> | undefined;
|
|
235
255
|
links?: Record<string, string> | undefined;
|
|
@@ -280,6 +300,7 @@ export declare const waybillsRouter: {
|
|
|
280
300
|
issueDate: string;
|
|
281
301
|
senderName: string;
|
|
282
302
|
recipientName: string;
|
|
303
|
+
farmId?: string | null | undefined;
|
|
283
304
|
notes?: string | null | undefined;
|
|
284
305
|
totalValue?: number | null | undefined;
|
|
285
306
|
senderAddress?: string | null | undefined;
|
|
@@ -297,6 +318,9 @@ export declare const waybillsRouter: {
|
|
|
297
318
|
transporterName?: string | null | undefined;
|
|
298
319
|
dispatchedLocation?: string | null | undefined;
|
|
299
320
|
receivedCondition?: string | null | undefined;
|
|
321
|
+
receivedAt?: string | null | undefined;
|
|
322
|
+
receivedByName?: string | null | undefined;
|
|
323
|
+
commercialIntent?: "farm_sale" | "trade" | null | undefined;
|
|
300
324
|
};
|
|
301
325
|
relationships?: Record<string, unknown> | undefined;
|
|
302
326
|
links?: Record<string, string> | undefined;
|
|
@@ -332,6 +356,7 @@ export declare const waybillsRouter: {
|
|
|
332
356
|
issueDate: string;
|
|
333
357
|
senderName: string;
|
|
334
358
|
recipientName: string;
|
|
359
|
+
farmId?: string | null | undefined;
|
|
335
360
|
currency?: string | undefined;
|
|
336
361
|
notes?: string | null | undefined;
|
|
337
362
|
totalValue?: number | null | undefined;
|
|
@@ -350,6 +375,9 @@ export declare const waybillsRouter: {
|
|
|
350
375
|
transporterName?: string | null | undefined;
|
|
351
376
|
dispatchedLocation?: string | null | undefined;
|
|
352
377
|
receivedCondition?: string | null | undefined;
|
|
378
|
+
receivedAt?: string | null | undefined;
|
|
379
|
+
receivedByName?: string | null | undefined;
|
|
380
|
+
commercialIntent?: "farm_sale" | "trade" | null | undefined;
|
|
353
381
|
};
|
|
354
382
|
relationships?: Record<string, unknown> | undefined;
|
|
355
383
|
links?: Record<string, string> | undefined;
|
|
@@ -602,8 +630,13 @@ export declare const waybillsRouter: {
|
|
|
602
630
|
transporterName: z.ZodOptional<z.ZodString>;
|
|
603
631
|
dispatchedLocation: z.ZodOptional<z.ZodString>;
|
|
604
632
|
receivedCondition: z.ZodOptional<z.ZodString>;
|
|
633
|
+
receivedAt: z.ZodOptional<z.ZodString>;
|
|
634
|
+
receivedByName: z.ZodOptional<z.ZodString>;
|
|
635
|
+
farmId: z.ZodOptional<z.ZodString>;
|
|
636
|
+
commercialIntent: z.ZodOptional<z.ZodEnum<["farm_sale", "trade"]>>;
|
|
605
637
|
purchaseCost: z.ZodOptional<z.ZodNumber>;
|
|
606
638
|
transportCost: z.ZodOptional<z.ZodNumber>;
|
|
639
|
+
storageCost: z.ZodOptional<z.ZodNumber>;
|
|
607
640
|
miscellaneousCost: z.ZodOptional<z.ZodNumber>;
|
|
608
641
|
}, "strip", z.ZodTypeAny, {
|
|
609
642
|
currency: string;
|
|
@@ -617,6 +650,7 @@ export declare const waybillsRouter: {
|
|
|
617
650
|
}[];
|
|
618
651
|
senderName: string;
|
|
619
652
|
buyerId: string;
|
|
653
|
+
farmId?: string | undefined;
|
|
620
654
|
notes?: string | undefined;
|
|
621
655
|
totalValue?: number | undefined;
|
|
622
656
|
transportCost?: number | undefined;
|
|
@@ -632,7 +666,11 @@ export declare const waybillsRouter: {
|
|
|
632
666
|
transporterName?: string | undefined;
|
|
633
667
|
dispatchedLocation?: string | undefined;
|
|
634
668
|
receivedCondition?: string | undefined;
|
|
669
|
+
receivedAt?: string | undefined;
|
|
670
|
+
receivedByName?: string | undefined;
|
|
671
|
+
commercialIntent?: "farm_sale" | "trade" | undefined;
|
|
635
672
|
purchaseCost?: number | undefined;
|
|
673
|
+
storageCost?: number | undefined;
|
|
636
674
|
miscellaneousCost?: number | undefined;
|
|
637
675
|
}, {
|
|
638
676
|
items: {
|
|
@@ -645,6 +683,7 @@ export declare const waybillsRouter: {
|
|
|
645
683
|
}[];
|
|
646
684
|
senderName: string;
|
|
647
685
|
buyerId: string;
|
|
686
|
+
farmId?: string | undefined;
|
|
648
687
|
currency?: string | undefined;
|
|
649
688
|
notes?: string | undefined;
|
|
650
689
|
totalValue?: number | undefined;
|
|
@@ -661,7 +700,11 @@ export declare const waybillsRouter: {
|
|
|
661
700
|
transporterName?: string | undefined;
|
|
662
701
|
dispatchedLocation?: string | undefined;
|
|
663
702
|
receivedCondition?: string | undefined;
|
|
703
|
+
receivedAt?: string | undefined;
|
|
704
|
+
receivedByName?: string | undefined;
|
|
705
|
+
commercialIntent?: "farm_sale" | "trade" | undefined;
|
|
664
706
|
purchaseCost?: number | undefined;
|
|
707
|
+
storageCost?: number | undefined;
|
|
665
708
|
miscellaneousCost?: number | undefined;
|
|
666
709
|
}>;
|
|
667
710
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -678,6 +721,7 @@ export declare const waybillsRouter: {
|
|
|
678
721
|
}[];
|
|
679
722
|
senderName: string;
|
|
680
723
|
buyerId: string;
|
|
724
|
+
farmId?: string | undefined;
|
|
681
725
|
notes?: string | undefined;
|
|
682
726
|
totalValue?: number | undefined;
|
|
683
727
|
transportCost?: number | undefined;
|
|
@@ -693,7 +737,11 @@ export declare const waybillsRouter: {
|
|
|
693
737
|
transporterName?: string | undefined;
|
|
694
738
|
dispatchedLocation?: string | undefined;
|
|
695
739
|
receivedCondition?: string | undefined;
|
|
740
|
+
receivedAt?: string | undefined;
|
|
741
|
+
receivedByName?: string | undefined;
|
|
742
|
+
commercialIntent?: "farm_sale" | "trade" | undefined;
|
|
696
743
|
purchaseCost?: number | undefined;
|
|
744
|
+
storageCost?: number | undefined;
|
|
697
745
|
miscellaneousCost?: number | undefined;
|
|
698
746
|
};
|
|
699
747
|
}, {
|
|
@@ -709,6 +757,7 @@ export declare const waybillsRouter: {
|
|
|
709
757
|
}[];
|
|
710
758
|
senderName: string;
|
|
711
759
|
buyerId: string;
|
|
760
|
+
farmId?: string | undefined;
|
|
712
761
|
currency?: string | undefined;
|
|
713
762
|
notes?: string | undefined;
|
|
714
763
|
totalValue?: number | undefined;
|
|
@@ -725,7 +774,11 @@ export declare const waybillsRouter: {
|
|
|
725
774
|
transporterName?: string | undefined;
|
|
726
775
|
dispatchedLocation?: string | undefined;
|
|
727
776
|
receivedCondition?: string | undefined;
|
|
777
|
+
receivedAt?: string | undefined;
|
|
778
|
+
receivedByName?: string | undefined;
|
|
779
|
+
commercialIntent?: "farm_sale" | "trade" | undefined;
|
|
728
780
|
purchaseCost?: number | undefined;
|
|
781
|
+
storageCost?: number | undefined;
|
|
729
782
|
miscellaneousCost?: number | undefined;
|
|
730
783
|
};
|
|
731
784
|
}>;
|
|
@@ -744,6 +797,7 @@ export declare const waybillsRouter: {
|
|
|
744
797
|
}[];
|
|
745
798
|
senderName: string;
|
|
746
799
|
buyerId: string;
|
|
800
|
+
farmId?: string | undefined;
|
|
747
801
|
notes?: string | undefined;
|
|
748
802
|
totalValue?: number | undefined;
|
|
749
803
|
transportCost?: number | undefined;
|
|
@@ -759,7 +813,11 @@ export declare const waybillsRouter: {
|
|
|
759
813
|
transporterName?: string | undefined;
|
|
760
814
|
dispatchedLocation?: string | undefined;
|
|
761
815
|
receivedCondition?: string | undefined;
|
|
816
|
+
receivedAt?: string | undefined;
|
|
817
|
+
receivedByName?: string | undefined;
|
|
818
|
+
commercialIntent?: "farm_sale" | "trade" | undefined;
|
|
762
819
|
purchaseCost?: number | undefined;
|
|
820
|
+
storageCost?: number | undefined;
|
|
763
821
|
miscellaneousCost?: number | undefined;
|
|
764
822
|
};
|
|
765
823
|
};
|
|
@@ -777,6 +835,7 @@ export declare const waybillsRouter: {
|
|
|
777
835
|
}[];
|
|
778
836
|
senderName: string;
|
|
779
837
|
buyerId: string;
|
|
838
|
+
farmId?: string | undefined;
|
|
780
839
|
currency?: string | undefined;
|
|
781
840
|
notes?: string | undefined;
|
|
782
841
|
totalValue?: number | undefined;
|
|
@@ -793,7 +852,11 @@ export declare const waybillsRouter: {
|
|
|
793
852
|
transporterName?: string | undefined;
|
|
794
853
|
dispatchedLocation?: string | undefined;
|
|
795
854
|
receivedCondition?: string | undefined;
|
|
855
|
+
receivedAt?: string | undefined;
|
|
856
|
+
receivedByName?: string | undefined;
|
|
857
|
+
commercialIntent?: "farm_sale" | "trade" | undefined;
|
|
796
858
|
purchaseCost?: number | undefined;
|
|
859
|
+
storageCost?: number | undefined;
|
|
797
860
|
miscellaneousCost?: number | undefined;
|
|
798
861
|
};
|
|
799
862
|
};
|
|
@@ -849,6 +912,10 @@ export declare const waybillsRouter: {
|
|
|
849
912
|
transporterName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
850
913
|
dispatchedLocation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
851
914
|
receivedCondition: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
915
|
+
receivedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
916
|
+
receivedByName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
917
|
+
farmId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
918
|
+
commercialIntent: z.ZodNullable<z.ZodOptional<z.ZodEnum<["farm_sale", "trade"]>>>;
|
|
852
919
|
organizationId: z.ZodString;
|
|
853
920
|
} & {
|
|
854
921
|
createdAt: z.ZodString;
|
|
@@ -870,6 +937,7 @@ export declare const waybillsRouter: {
|
|
|
870
937
|
issueDate: string;
|
|
871
938
|
senderName: string;
|
|
872
939
|
recipientName: string;
|
|
940
|
+
farmId?: string | null | undefined;
|
|
873
941
|
notes?: string | null | undefined;
|
|
874
942
|
totalValue?: number | null | undefined;
|
|
875
943
|
senderAddress?: string | null | undefined;
|
|
@@ -887,6 +955,9 @@ export declare const waybillsRouter: {
|
|
|
887
955
|
transporterName?: string | null | undefined;
|
|
888
956
|
dispatchedLocation?: string | null | undefined;
|
|
889
957
|
receivedCondition?: string | null | undefined;
|
|
958
|
+
receivedAt?: string | null | undefined;
|
|
959
|
+
receivedByName?: string | null | undefined;
|
|
960
|
+
commercialIntent?: "farm_sale" | "trade" | null | undefined;
|
|
890
961
|
}, {
|
|
891
962
|
createdAt: string;
|
|
892
963
|
updatedAt: string;
|
|
@@ -903,6 +974,7 @@ export declare const waybillsRouter: {
|
|
|
903
974
|
issueDate: string;
|
|
904
975
|
senderName: string;
|
|
905
976
|
recipientName: string;
|
|
977
|
+
farmId?: string | null | undefined;
|
|
906
978
|
currency?: string | undefined;
|
|
907
979
|
notes?: string | null | undefined;
|
|
908
980
|
totalValue?: number | null | undefined;
|
|
@@ -921,6 +993,9 @@ export declare const waybillsRouter: {
|
|
|
921
993
|
transporterName?: string | null | undefined;
|
|
922
994
|
dispatchedLocation?: string | null | undefined;
|
|
923
995
|
receivedCondition?: string | null | undefined;
|
|
996
|
+
receivedAt?: string | null | undefined;
|
|
997
|
+
receivedByName?: string | null | undefined;
|
|
998
|
+
commercialIntent?: "farm_sale" | "trade" | null | undefined;
|
|
924
999
|
}>;
|
|
925
1000
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
926
1001
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -945,6 +1020,7 @@ export declare const waybillsRouter: {
|
|
|
945
1020
|
issueDate: string;
|
|
946
1021
|
senderName: string;
|
|
947
1022
|
recipientName: string;
|
|
1023
|
+
farmId?: string | null | undefined;
|
|
948
1024
|
notes?: string | null | undefined;
|
|
949
1025
|
totalValue?: number | null | undefined;
|
|
950
1026
|
senderAddress?: string | null | undefined;
|
|
@@ -962,6 +1038,9 @@ export declare const waybillsRouter: {
|
|
|
962
1038
|
transporterName?: string | null | undefined;
|
|
963
1039
|
dispatchedLocation?: string | null | undefined;
|
|
964
1040
|
receivedCondition?: string | null | undefined;
|
|
1041
|
+
receivedAt?: string | null | undefined;
|
|
1042
|
+
receivedByName?: string | null | undefined;
|
|
1043
|
+
commercialIntent?: "farm_sale" | "trade" | null | undefined;
|
|
965
1044
|
};
|
|
966
1045
|
relationships?: Record<string, unknown> | undefined;
|
|
967
1046
|
links?: Record<string, string> | undefined;
|
|
@@ -985,6 +1064,7 @@ export declare const waybillsRouter: {
|
|
|
985
1064
|
issueDate: string;
|
|
986
1065
|
senderName: string;
|
|
987
1066
|
recipientName: string;
|
|
1067
|
+
farmId?: string | null | undefined;
|
|
988
1068
|
currency?: string | undefined;
|
|
989
1069
|
notes?: string | null | undefined;
|
|
990
1070
|
totalValue?: number | null | undefined;
|
|
@@ -1003,6 +1083,9 @@ export declare const waybillsRouter: {
|
|
|
1003
1083
|
transporterName?: string | null | undefined;
|
|
1004
1084
|
dispatchedLocation?: string | null | undefined;
|
|
1005
1085
|
receivedCondition?: string | null | undefined;
|
|
1086
|
+
receivedAt?: string | null | undefined;
|
|
1087
|
+
receivedByName?: string | null | undefined;
|
|
1088
|
+
commercialIntent?: "farm_sale" | "trade" | null | undefined;
|
|
1006
1089
|
};
|
|
1007
1090
|
relationships?: Record<string, unknown> | undefined;
|
|
1008
1091
|
links?: Record<string, string> | undefined;
|
|
@@ -1053,6 +1136,7 @@ export declare const waybillsRouter: {
|
|
|
1053
1136
|
issueDate: string;
|
|
1054
1137
|
senderName: string;
|
|
1055
1138
|
recipientName: string;
|
|
1139
|
+
farmId?: string | null | undefined;
|
|
1056
1140
|
notes?: string | null | undefined;
|
|
1057
1141
|
totalValue?: number | null | undefined;
|
|
1058
1142
|
senderAddress?: string | null | undefined;
|
|
@@ -1070,6 +1154,9 @@ export declare const waybillsRouter: {
|
|
|
1070
1154
|
transporterName?: string | null | undefined;
|
|
1071
1155
|
dispatchedLocation?: string | null | undefined;
|
|
1072
1156
|
receivedCondition?: string | null | undefined;
|
|
1157
|
+
receivedAt?: string | null | undefined;
|
|
1158
|
+
receivedByName?: string | null | undefined;
|
|
1159
|
+
commercialIntent?: "farm_sale" | "trade" | null | undefined;
|
|
1073
1160
|
};
|
|
1074
1161
|
relationships?: Record<string, unknown> | undefined;
|
|
1075
1162
|
links?: Record<string, string> | undefined;
|
|
@@ -1105,6 +1192,7 @@ export declare const waybillsRouter: {
|
|
|
1105
1192
|
issueDate: string;
|
|
1106
1193
|
senderName: string;
|
|
1107
1194
|
recipientName: string;
|
|
1195
|
+
farmId?: string | null | undefined;
|
|
1108
1196
|
currency?: string | undefined;
|
|
1109
1197
|
notes?: string | null | undefined;
|
|
1110
1198
|
totalValue?: number | null | undefined;
|
|
@@ -1123,6 +1211,9 @@ export declare const waybillsRouter: {
|
|
|
1123
1211
|
transporterName?: string | null | undefined;
|
|
1124
1212
|
dispatchedLocation?: string | null | undefined;
|
|
1125
1213
|
receivedCondition?: string | null | undefined;
|
|
1214
|
+
receivedAt?: string | null | undefined;
|
|
1215
|
+
receivedByName?: string | null | undefined;
|
|
1216
|
+
commercialIntent?: "farm_sale" | "trade" | null | undefined;
|
|
1126
1217
|
};
|
|
1127
1218
|
relationships?: Record<string, unknown> | undefined;
|
|
1128
1219
|
links?: Record<string, string> | undefined;
|
|
@@ -1566,6 +1657,10 @@ export declare const waybillsRouter: {
|
|
|
1566
1657
|
transporterName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1567
1658
|
dispatchedLocation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1568
1659
|
receivedCondition: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1660
|
+
receivedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1661
|
+
receivedByName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1662
|
+
farmId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1663
|
+
commercialIntent: z.ZodNullable<z.ZodOptional<z.ZodEnum<["farm_sale", "trade"]>>>;
|
|
1569
1664
|
organizationId: z.ZodString;
|
|
1570
1665
|
} & {
|
|
1571
1666
|
createdAt: z.ZodString;
|
|
@@ -1587,6 +1682,7 @@ export declare const waybillsRouter: {
|
|
|
1587
1682
|
issueDate: string;
|
|
1588
1683
|
senderName: string;
|
|
1589
1684
|
recipientName: string;
|
|
1685
|
+
farmId?: string | null | undefined;
|
|
1590
1686
|
notes?: string | null | undefined;
|
|
1591
1687
|
totalValue?: number | null | undefined;
|
|
1592
1688
|
senderAddress?: string | null | undefined;
|
|
@@ -1604,6 +1700,9 @@ export declare const waybillsRouter: {
|
|
|
1604
1700
|
transporterName?: string | null | undefined;
|
|
1605
1701
|
dispatchedLocation?: string | null | undefined;
|
|
1606
1702
|
receivedCondition?: string | null | undefined;
|
|
1703
|
+
receivedAt?: string | null | undefined;
|
|
1704
|
+
receivedByName?: string | null | undefined;
|
|
1705
|
+
commercialIntent?: "farm_sale" | "trade" | null | undefined;
|
|
1607
1706
|
}, {
|
|
1608
1707
|
createdAt: string;
|
|
1609
1708
|
updatedAt: string;
|
|
@@ -1620,6 +1719,7 @@ export declare const waybillsRouter: {
|
|
|
1620
1719
|
issueDate: string;
|
|
1621
1720
|
senderName: string;
|
|
1622
1721
|
recipientName: string;
|
|
1722
|
+
farmId?: string | null | undefined;
|
|
1623
1723
|
currency?: string | undefined;
|
|
1624
1724
|
notes?: string | null | undefined;
|
|
1625
1725
|
totalValue?: number | null | undefined;
|
|
@@ -1638,6 +1738,9 @@ export declare const waybillsRouter: {
|
|
|
1638
1738
|
transporterName?: string | null | undefined;
|
|
1639
1739
|
dispatchedLocation?: string | null | undefined;
|
|
1640
1740
|
receivedCondition?: string | null | undefined;
|
|
1741
|
+
receivedAt?: string | null | undefined;
|
|
1742
|
+
receivedByName?: string | null | undefined;
|
|
1743
|
+
commercialIntent?: "farm_sale" | "trade" | null | undefined;
|
|
1641
1744
|
}>;
|
|
1642
1745
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1643
1746
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -1662,6 +1765,7 @@ export declare const waybillsRouter: {
|
|
|
1662
1765
|
issueDate: string;
|
|
1663
1766
|
senderName: string;
|
|
1664
1767
|
recipientName: string;
|
|
1768
|
+
farmId?: string | null | undefined;
|
|
1665
1769
|
notes?: string | null | undefined;
|
|
1666
1770
|
totalValue?: number | null | undefined;
|
|
1667
1771
|
senderAddress?: string | null | undefined;
|
|
@@ -1679,6 +1783,9 @@ export declare const waybillsRouter: {
|
|
|
1679
1783
|
transporterName?: string | null | undefined;
|
|
1680
1784
|
dispatchedLocation?: string | null | undefined;
|
|
1681
1785
|
receivedCondition?: string | null | undefined;
|
|
1786
|
+
receivedAt?: string | null | undefined;
|
|
1787
|
+
receivedByName?: string | null | undefined;
|
|
1788
|
+
commercialIntent?: "farm_sale" | "trade" | null | undefined;
|
|
1682
1789
|
};
|
|
1683
1790
|
relationships?: Record<string, unknown> | undefined;
|
|
1684
1791
|
links?: Record<string, string> | undefined;
|
|
@@ -1702,6 +1809,7 @@ export declare const waybillsRouter: {
|
|
|
1702
1809
|
issueDate: string;
|
|
1703
1810
|
senderName: string;
|
|
1704
1811
|
recipientName: string;
|
|
1812
|
+
farmId?: string | null | undefined;
|
|
1705
1813
|
currency?: string | undefined;
|
|
1706
1814
|
notes?: string | null | undefined;
|
|
1707
1815
|
totalValue?: number | null | undefined;
|
|
@@ -1720,6 +1828,9 @@ export declare const waybillsRouter: {
|
|
|
1720
1828
|
transporterName?: string | null | undefined;
|
|
1721
1829
|
dispatchedLocation?: string | null | undefined;
|
|
1722
1830
|
receivedCondition?: string | null | undefined;
|
|
1831
|
+
receivedAt?: string | null | undefined;
|
|
1832
|
+
receivedByName?: string | null | undefined;
|
|
1833
|
+
commercialIntent?: "farm_sale" | "trade" | null | undefined;
|
|
1723
1834
|
};
|
|
1724
1835
|
relationships?: Record<string, unknown> | undefined;
|
|
1725
1836
|
links?: Record<string, string> | undefined;
|
|
@@ -1770,6 +1881,7 @@ export declare const waybillsRouter: {
|
|
|
1770
1881
|
issueDate: string;
|
|
1771
1882
|
senderName: string;
|
|
1772
1883
|
recipientName: string;
|
|
1884
|
+
farmId?: string | null | undefined;
|
|
1773
1885
|
notes?: string | null | undefined;
|
|
1774
1886
|
totalValue?: number | null | undefined;
|
|
1775
1887
|
senderAddress?: string | null | undefined;
|
|
@@ -1787,6 +1899,9 @@ export declare const waybillsRouter: {
|
|
|
1787
1899
|
transporterName?: string | null | undefined;
|
|
1788
1900
|
dispatchedLocation?: string | null | undefined;
|
|
1789
1901
|
receivedCondition?: string | null | undefined;
|
|
1902
|
+
receivedAt?: string | null | undefined;
|
|
1903
|
+
receivedByName?: string | null | undefined;
|
|
1904
|
+
commercialIntent?: "farm_sale" | "trade" | null | undefined;
|
|
1790
1905
|
};
|
|
1791
1906
|
relationships?: Record<string, unknown> | undefined;
|
|
1792
1907
|
links?: Record<string, string> | undefined;
|
|
@@ -1822,6 +1937,7 @@ export declare const waybillsRouter: {
|
|
|
1822
1937
|
issueDate: string;
|
|
1823
1938
|
senderName: string;
|
|
1824
1939
|
recipientName: string;
|
|
1940
|
+
farmId?: string | null | undefined;
|
|
1825
1941
|
currency?: string | undefined;
|
|
1826
1942
|
notes?: string | null | undefined;
|
|
1827
1943
|
totalValue?: number | null | undefined;
|
|
@@ -1840,6 +1956,9 @@ export declare const waybillsRouter: {
|
|
|
1840
1956
|
transporterName?: string | null | undefined;
|
|
1841
1957
|
dispatchedLocation?: string | null | undefined;
|
|
1842
1958
|
receivedCondition?: string | null | undefined;
|
|
1959
|
+
receivedAt?: string | null | undefined;
|
|
1960
|
+
receivedByName?: string | null | undefined;
|
|
1961
|
+
commercialIntent?: "farm_sale" | "trade" | null | undefined;
|
|
1843
1962
|
};
|
|
1844
1963
|
relationships?: Record<string, unknown> | undefined;
|
|
1845
1964
|
links?: Record<string, string> | undefined;
|
|
@@ -2096,10 +2215,16 @@ export declare const waybillsRouter: {
|
|
|
2096
2215
|
transporterName: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2097
2216
|
dispatchedLocation: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2098
2217
|
receivedCondition: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2218
|
+
receivedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2219
|
+
receivedByName: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2220
|
+
farmId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2221
|
+
commercialIntent: z.ZodOptional<z.ZodOptional<z.ZodEnum<["farm_sale", "trade"]>>>;
|
|
2099
2222
|
purchaseCost: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2100
2223
|
transportCost: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2224
|
+
storageCost: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2101
2225
|
miscellaneousCost: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2102
2226
|
}, "strip", z.ZodTypeAny, {
|
|
2227
|
+
farmId?: string | undefined;
|
|
2103
2228
|
currency?: string | undefined;
|
|
2104
2229
|
notes?: string | undefined;
|
|
2105
2230
|
totalValue?: number | undefined;
|
|
@@ -2125,10 +2250,15 @@ export declare const waybillsRouter: {
|
|
|
2125
2250
|
transporterName?: string | undefined;
|
|
2126
2251
|
dispatchedLocation?: string | undefined;
|
|
2127
2252
|
receivedCondition?: string | undefined;
|
|
2253
|
+
receivedAt?: string | undefined;
|
|
2254
|
+
receivedByName?: string | undefined;
|
|
2255
|
+
commercialIntent?: "farm_sale" | "trade" | undefined;
|
|
2128
2256
|
buyerId?: string | undefined;
|
|
2129
2257
|
purchaseCost?: number | undefined;
|
|
2258
|
+
storageCost?: number | undefined;
|
|
2130
2259
|
miscellaneousCost?: number | undefined;
|
|
2131
2260
|
}, {
|
|
2261
|
+
farmId?: string | undefined;
|
|
2132
2262
|
currency?: string | undefined;
|
|
2133
2263
|
notes?: string | undefined;
|
|
2134
2264
|
totalValue?: number | undefined;
|
|
@@ -2154,14 +2284,19 @@ export declare const waybillsRouter: {
|
|
|
2154
2284
|
transporterName?: string | undefined;
|
|
2155
2285
|
dispatchedLocation?: string | undefined;
|
|
2156
2286
|
receivedCondition?: string | undefined;
|
|
2287
|
+
receivedAt?: string | undefined;
|
|
2288
|
+
receivedByName?: string | undefined;
|
|
2289
|
+
commercialIntent?: "farm_sale" | "trade" | undefined;
|
|
2157
2290
|
buyerId?: string | undefined;
|
|
2158
2291
|
purchaseCost?: number | undefined;
|
|
2292
|
+
storageCost?: number | undefined;
|
|
2159
2293
|
miscellaneousCost?: number | undefined;
|
|
2160
2294
|
}>;
|
|
2161
2295
|
}, "strip", z.ZodTypeAny, {
|
|
2162
2296
|
type: "waybills";
|
|
2163
2297
|
id: string;
|
|
2164
2298
|
attributes: {
|
|
2299
|
+
farmId?: string | undefined;
|
|
2165
2300
|
currency?: string | undefined;
|
|
2166
2301
|
notes?: string | undefined;
|
|
2167
2302
|
totalValue?: number | undefined;
|
|
@@ -2187,14 +2322,19 @@ export declare const waybillsRouter: {
|
|
|
2187
2322
|
transporterName?: string | undefined;
|
|
2188
2323
|
dispatchedLocation?: string | undefined;
|
|
2189
2324
|
receivedCondition?: string | undefined;
|
|
2325
|
+
receivedAt?: string | undefined;
|
|
2326
|
+
receivedByName?: string | undefined;
|
|
2327
|
+
commercialIntent?: "farm_sale" | "trade" | undefined;
|
|
2190
2328
|
buyerId?: string | undefined;
|
|
2191
2329
|
purchaseCost?: number | undefined;
|
|
2330
|
+
storageCost?: number | undefined;
|
|
2192
2331
|
miscellaneousCost?: number | undefined;
|
|
2193
2332
|
};
|
|
2194
2333
|
}, {
|
|
2195
2334
|
type: "waybills";
|
|
2196
2335
|
id: string;
|
|
2197
2336
|
attributes: {
|
|
2337
|
+
farmId?: string | undefined;
|
|
2198
2338
|
currency?: string | undefined;
|
|
2199
2339
|
notes?: string | undefined;
|
|
2200
2340
|
totalValue?: number | undefined;
|
|
@@ -2220,8 +2360,12 @@ export declare const waybillsRouter: {
|
|
|
2220
2360
|
transporterName?: string | undefined;
|
|
2221
2361
|
dispatchedLocation?: string | undefined;
|
|
2222
2362
|
receivedCondition?: string | undefined;
|
|
2363
|
+
receivedAt?: string | undefined;
|
|
2364
|
+
receivedByName?: string | undefined;
|
|
2365
|
+
commercialIntent?: "farm_sale" | "trade" | undefined;
|
|
2223
2366
|
buyerId?: string | undefined;
|
|
2224
2367
|
purchaseCost?: number | undefined;
|
|
2368
|
+
storageCost?: number | undefined;
|
|
2225
2369
|
miscellaneousCost?: number | undefined;
|
|
2226
2370
|
};
|
|
2227
2371
|
}>;
|
|
@@ -2230,6 +2374,7 @@ export declare const waybillsRouter: {
|
|
|
2230
2374
|
type: "waybills";
|
|
2231
2375
|
id: string;
|
|
2232
2376
|
attributes: {
|
|
2377
|
+
farmId?: string | undefined;
|
|
2233
2378
|
currency?: string | undefined;
|
|
2234
2379
|
notes?: string | undefined;
|
|
2235
2380
|
totalValue?: number | undefined;
|
|
@@ -2255,8 +2400,12 @@ export declare const waybillsRouter: {
|
|
|
2255
2400
|
transporterName?: string | undefined;
|
|
2256
2401
|
dispatchedLocation?: string | undefined;
|
|
2257
2402
|
receivedCondition?: string | undefined;
|
|
2403
|
+
receivedAt?: string | undefined;
|
|
2404
|
+
receivedByName?: string | undefined;
|
|
2405
|
+
commercialIntent?: "farm_sale" | "trade" | undefined;
|
|
2258
2406
|
buyerId?: string | undefined;
|
|
2259
2407
|
purchaseCost?: number | undefined;
|
|
2408
|
+
storageCost?: number | undefined;
|
|
2260
2409
|
miscellaneousCost?: number | undefined;
|
|
2261
2410
|
};
|
|
2262
2411
|
};
|
|
@@ -2265,6 +2414,7 @@ export declare const waybillsRouter: {
|
|
|
2265
2414
|
type: "waybills";
|
|
2266
2415
|
id: string;
|
|
2267
2416
|
attributes: {
|
|
2417
|
+
farmId?: string | undefined;
|
|
2268
2418
|
currency?: string | undefined;
|
|
2269
2419
|
notes?: string | undefined;
|
|
2270
2420
|
totalValue?: number | undefined;
|
|
@@ -2290,8 +2440,12 @@ export declare const waybillsRouter: {
|
|
|
2290
2440
|
transporterName?: string | undefined;
|
|
2291
2441
|
dispatchedLocation?: string | undefined;
|
|
2292
2442
|
receivedCondition?: string | undefined;
|
|
2443
|
+
receivedAt?: string | undefined;
|
|
2444
|
+
receivedByName?: string | undefined;
|
|
2445
|
+
commercialIntent?: "farm_sale" | "trade" | undefined;
|
|
2293
2446
|
buyerId?: string | undefined;
|
|
2294
2447
|
purchaseCost?: number | undefined;
|
|
2448
|
+
storageCost?: number | undefined;
|
|
2295
2449
|
miscellaneousCost?: number | undefined;
|
|
2296
2450
|
};
|
|
2297
2451
|
};
|
|
@@ -2347,6 +2501,10 @@ export declare const waybillsRouter: {
|
|
|
2347
2501
|
transporterName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2348
2502
|
dispatchedLocation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2349
2503
|
receivedCondition: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2504
|
+
receivedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2505
|
+
receivedByName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2506
|
+
farmId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2507
|
+
commercialIntent: z.ZodNullable<z.ZodOptional<z.ZodEnum<["farm_sale", "trade"]>>>;
|
|
2350
2508
|
organizationId: z.ZodString;
|
|
2351
2509
|
} & {
|
|
2352
2510
|
createdAt: z.ZodString;
|
|
@@ -2368,6 +2526,7 @@ export declare const waybillsRouter: {
|
|
|
2368
2526
|
issueDate: string;
|
|
2369
2527
|
senderName: string;
|
|
2370
2528
|
recipientName: string;
|
|
2529
|
+
farmId?: string | null | undefined;
|
|
2371
2530
|
notes?: string | null | undefined;
|
|
2372
2531
|
totalValue?: number | null | undefined;
|
|
2373
2532
|
senderAddress?: string | null | undefined;
|
|
@@ -2385,6 +2544,9 @@ export declare const waybillsRouter: {
|
|
|
2385
2544
|
transporterName?: string | null | undefined;
|
|
2386
2545
|
dispatchedLocation?: string | null | undefined;
|
|
2387
2546
|
receivedCondition?: string | null | undefined;
|
|
2547
|
+
receivedAt?: string | null | undefined;
|
|
2548
|
+
receivedByName?: string | null | undefined;
|
|
2549
|
+
commercialIntent?: "farm_sale" | "trade" | null | undefined;
|
|
2388
2550
|
}, {
|
|
2389
2551
|
createdAt: string;
|
|
2390
2552
|
updatedAt: string;
|
|
@@ -2401,6 +2563,7 @@ export declare const waybillsRouter: {
|
|
|
2401
2563
|
issueDate: string;
|
|
2402
2564
|
senderName: string;
|
|
2403
2565
|
recipientName: string;
|
|
2566
|
+
farmId?: string | null | undefined;
|
|
2404
2567
|
currency?: string | undefined;
|
|
2405
2568
|
notes?: string | null | undefined;
|
|
2406
2569
|
totalValue?: number | null | undefined;
|
|
@@ -2419,6 +2582,9 @@ export declare const waybillsRouter: {
|
|
|
2419
2582
|
transporterName?: string | null | undefined;
|
|
2420
2583
|
dispatchedLocation?: string | null | undefined;
|
|
2421
2584
|
receivedCondition?: string | null | undefined;
|
|
2585
|
+
receivedAt?: string | null | undefined;
|
|
2586
|
+
receivedByName?: string | null | undefined;
|
|
2587
|
+
commercialIntent?: "farm_sale" | "trade" | null | undefined;
|
|
2422
2588
|
}>;
|
|
2423
2589
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2424
2590
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -2443,6 +2609,7 @@ export declare const waybillsRouter: {
|
|
|
2443
2609
|
issueDate: string;
|
|
2444
2610
|
senderName: string;
|
|
2445
2611
|
recipientName: string;
|
|
2612
|
+
farmId?: string | null | undefined;
|
|
2446
2613
|
notes?: string | null | undefined;
|
|
2447
2614
|
totalValue?: number | null | undefined;
|
|
2448
2615
|
senderAddress?: string | null | undefined;
|
|
@@ -2460,6 +2627,9 @@ export declare const waybillsRouter: {
|
|
|
2460
2627
|
transporterName?: string | null | undefined;
|
|
2461
2628
|
dispatchedLocation?: string | null | undefined;
|
|
2462
2629
|
receivedCondition?: string | null | undefined;
|
|
2630
|
+
receivedAt?: string | null | undefined;
|
|
2631
|
+
receivedByName?: string | null | undefined;
|
|
2632
|
+
commercialIntent?: "farm_sale" | "trade" | null | undefined;
|
|
2463
2633
|
};
|
|
2464
2634
|
relationships?: Record<string, unknown> | undefined;
|
|
2465
2635
|
links?: Record<string, string> | undefined;
|
|
@@ -2483,6 +2653,7 @@ export declare const waybillsRouter: {
|
|
|
2483
2653
|
issueDate: string;
|
|
2484
2654
|
senderName: string;
|
|
2485
2655
|
recipientName: string;
|
|
2656
|
+
farmId?: string | null | undefined;
|
|
2486
2657
|
currency?: string | undefined;
|
|
2487
2658
|
notes?: string | null | undefined;
|
|
2488
2659
|
totalValue?: number | null | undefined;
|
|
@@ -2501,6 +2672,9 @@ export declare const waybillsRouter: {
|
|
|
2501
2672
|
transporterName?: string | null | undefined;
|
|
2502
2673
|
dispatchedLocation?: string | null | undefined;
|
|
2503
2674
|
receivedCondition?: string | null | undefined;
|
|
2675
|
+
receivedAt?: string | null | undefined;
|
|
2676
|
+
receivedByName?: string | null | undefined;
|
|
2677
|
+
commercialIntent?: "farm_sale" | "trade" | null | undefined;
|
|
2504
2678
|
};
|
|
2505
2679
|
relationships?: Record<string, unknown> | undefined;
|
|
2506
2680
|
links?: Record<string, string> | undefined;
|
|
@@ -2551,6 +2725,7 @@ export declare const waybillsRouter: {
|
|
|
2551
2725
|
issueDate: string;
|
|
2552
2726
|
senderName: string;
|
|
2553
2727
|
recipientName: string;
|
|
2728
|
+
farmId?: string | null | undefined;
|
|
2554
2729
|
notes?: string | null | undefined;
|
|
2555
2730
|
totalValue?: number | null | undefined;
|
|
2556
2731
|
senderAddress?: string | null | undefined;
|
|
@@ -2568,6 +2743,9 @@ export declare const waybillsRouter: {
|
|
|
2568
2743
|
transporterName?: string | null | undefined;
|
|
2569
2744
|
dispatchedLocation?: string | null | undefined;
|
|
2570
2745
|
receivedCondition?: string | null | undefined;
|
|
2746
|
+
receivedAt?: string | null | undefined;
|
|
2747
|
+
receivedByName?: string | null | undefined;
|
|
2748
|
+
commercialIntent?: "farm_sale" | "trade" | null | undefined;
|
|
2571
2749
|
};
|
|
2572
2750
|
relationships?: Record<string, unknown> | undefined;
|
|
2573
2751
|
links?: Record<string, string> | undefined;
|
|
@@ -2603,6 +2781,7 @@ export declare const waybillsRouter: {
|
|
|
2603
2781
|
issueDate: string;
|
|
2604
2782
|
senderName: string;
|
|
2605
2783
|
recipientName: string;
|
|
2784
|
+
farmId?: string | null | undefined;
|
|
2606
2785
|
currency?: string | undefined;
|
|
2607
2786
|
notes?: string | null | undefined;
|
|
2608
2787
|
totalValue?: number | null | undefined;
|
|
@@ -2621,6 +2800,9 @@ export declare const waybillsRouter: {
|
|
|
2621
2800
|
transporterName?: string | null | undefined;
|
|
2622
2801
|
dispatchedLocation?: string | null | undefined;
|
|
2623
2802
|
receivedCondition?: string | null | undefined;
|
|
2803
|
+
receivedAt?: string | null | undefined;
|
|
2804
|
+
receivedByName?: string | null | undefined;
|
|
2805
|
+
commercialIntent?: "farm_sale" | "trade" | null | undefined;
|
|
2624
2806
|
};
|
|
2625
2807
|
relationships?: Record<string, unknown> | undefined;
|
|
2626
2808
|
links?: Record<string, string> | undefined;
|
|
@@ -3065,6 +3247,10 @@ export declare const waybillsRouter: {
|
|
|
3065
3247
|
transporterName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3066
3248
|
dispatchedLocation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3067
3249
|
receivedCondition: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3250
|
+
receivedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3251
|
+
receivedByName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3252
|
+
farmId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3253
|
+
commercialIntent: z.ZodNullable<z.ZodOptional<z.ZodEnum<["farm_sale", "trade"]>>>;
|
|
3068
3254
|
organizationId: z.ZodString;
|
|
3069
3255
|
} & {
|
|
3070
3256
|
createdAt: z.ZodString;
|
|
@@ -3086,6 +3272,7 @@ export declare const waybillsRouter: {
|
|
|
3086
3272
|
issueDate: string;
|
|
3087
3273
|
senderName: string;
|
|
3088
3274
|
recipientName: string;
|
|
3275
|
+
farmId?: string | null | undefined;
|
|
3089
3276
|
notes?: string | null | undefined;
|
|
3090
3277
|
totalValue?: number | null | undefined;
|
|
3091
3278
|
senderAddress?: string | null | undefined;
|
|
@@ -3103,6 +3290,9 @@ export declare const waybillsRouter: {
|
|
|
3103
3290
|
transporterName?: string | null | undefined;
|
|
3104
3291
|
dispatchedLocation?: string | null | undefined;
|
|
3105
3292
|
receivedCondition?: string | null | undefined;
|
|
3293
|
+
receivedAt?: string | null | undefined;
|
|
3294
|
+
receivedByName?: string | null | undefined;
|
|
3295
|
+
commercialIntent?: "farm_sale" | "trade" | null | undefined;
|
|
3106
3296
|
}, {
|
|
3107
3297
|
createdAt: string;
|
|
3108
3298
|
updatedAt: string;
|
|
@@ -3119,6 +3309,7 @@ export declare const waybillsRouter: {
|
|
|
3119
3309
|
issueDate: string;
|
|
3120
3310
|
senderName: string;
|
|
3121
3311
|
recipientName: string;
|
|
3312
|
+
farmId?: string | null | undefined;
|
|
3122
3313
|
currency?: string | undefined;
|
|
3123
3314
|
notes?: string | null | undefined;
|
|
3124
3315
|
totalValue?: number | null | undefined;
|
|
@@ -3137,6 +3328,9 @@ export declare const waybillsRouter: {
|
|
|
3137
3328
|
transporterName?: string | null | undefined;
|
|
3138
3329
|
dispatchedLocation?: string | null | undefined;
|
|
3139
3330
|
receivedCondition?: string | null | undefined;
|
|
3331
|
+
receivedAt?: string | null | undefined;
|
|
3332
|
+
receivedByName?: string | null | undefined;
|
|
3333
|
+
commercialIntent?: "farm_sale" | "trade" | null | undefined;
|
|
3140
3334
|
}>;
|
|
3141
3335
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3142
3336
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -3161,6 +3355,7 @@ export declare const waybillsRouter: {
|
|
|
3161
3355
|
issueDate: string;
|
|
3162
3356
|
senderName: string;
|
|
3163
3357
|
recipientName: string;
|
|
3358
|
+
farmId?: string | null | undefined;
|
|
3164
3359
|
notes?: string | null | undefined;
|
|
3165
3360
|
totalValue?: number | null | undefined;
|
|
3166
3361
|
senderAddress?: string | null | undefined;
|
|
@@ -3178,6 +3373,9 @@ export declare const waybillsRouter: {
|
|
|
3178
3373
|
transporterName?: string | null | undefined;
|
|
3179
3374
|
dispatchedLocation?: string | null | undefined;
|
|
3180
3375
|
receivedCondition?: string | null | undefined;
|
|
3376
|
+
receivedAt?: string | null | undefined;
|
|
3377
|
+
receivedByName?: string | null | undefined;
|
|
3378
|
+
commercialIntent?: "farm_sale" | "trade" | null | undefined;
|
|
3181
3379
|
};
|
|
3182
3380
|
relationships?: Record<string, unknown> | undefined;
|
|
3183
3381
|
links?: Record<string, string> | undefined;
|
|
@@ -3201,6 +3399,7 @@ export declare const waybillsRouter: {
|
|
|
3201
3399
|
issueDate: string;
|
|
3202
3400
|
senderName: string;
|
|
3203
3401
|
recipientName: string;
|
|
3402
|
+
farmId?: string | null | undefined;
|
|
3204
3403
|
currency?: string | undefined;
|
|
3205
3404
|
notes?: string | null | undefined;
|
|
3206
3405
|
totalValue?: number | null | undefined;
|
|
@@ -3219,6 +3418,9 @@ export declare const waybillsRouter: {
|
|
|
3219
3418
|
transporterName?: string | null | undefined;
|
|
3220
3419
|
dispatchedLocation?: string | null | undefined;
|
|
3221
3420
|
receivedCondition?: string | null | undefined;
|
|
3421
|
+
receivedAt?: string | null | undefined;
|
|
3422
|
+
receivedByName?: string | null | undefined;
|
|
3423
|
+
commercialIntent?: "farm_sale" | "trade" | null | undefined;
|
|
3222
3424
|
};
|
|
3223
3425
|
relationships?: Record<string, unknown> | undefined;
|
|
3224
3426
|
links?: Record<string, string> | undefined;
|
|
@@ -3269,6 +3471,7 @@ export declare const waybillsRouter: {
|
|
|
3269
3471
|
issueDate: string;
|
|
3270
3472
|
senderName: string;
|
|
3271
3473
|
recipientName: string;
|
|
3474
|
+
farmId?: string | null | undefined;
|
|
3272
3475
|
notes?: string | null | undefined;
|
|
3273
3476
|
totalValue?: number | null | undefined;
|
|
3274
3477
|
senderAddress?: string | null | undefined;
|
|
@@ -3286,6 +3489,9 @@ export declare const waybillsRouter: {
|
|
|
3286
3489
|
transporterName?: string | null | undefined;
|
|
3287
3490
|
dispatchedLocation?: string | null | undefined;
|
|
3288
3491
|
receivedCondition?: string | null | undefined;
|
|
3492
|
+
receivedAt?: string | null | undefined;
|
|
3493
|
+
receivedByName?: string | null | undefined;
|
|
3494
|
+
commercialIntent?: "farm_sale" | "trade" | null | undefined;
|
|
3289
3495
|
};
|
|
3290
3496
|
relationships?: Record<string, unknown> | undefined;
|
|
3291
3497
|
links?: Record<string, string> | undefined;
|
|
@@ -3321,6 +3527,7 @@ export declare const waybillsRouter: {
|
|
|
3321
3527
|
issueDate: string;
|
|
3322
3528
|
senderName: string;
|
|
3323
3529
|
recipientName: string;
|
|
3530
|
+
farmId?: string | null | undefined;
|
|
3324
3531
|
currency?: string | undefined;
|
|
3325
3532
|
notes?: string | null | undefined;
|
|
3326
3533
|
totalValue?: number | null | undefined;
|
|
@@ -3339,6 +3546,9 @@ export declare const waybillsRouter: {
|
|
|
3339
3546
|
transporterName?: string | null | undefined;
|
|
3340
3547
|
dispatchedLocation?: string | null | undefined;
|
|
3341
3548
|
receivedCondition?: string | null | undefined;
|
|
3549
|
+
receivedAt?: string | null | undefined;
|
|
3550
|
+
receivedByName?: string | null | undefined;
|
|
3551
|
+
commercialIntent?: "farm_sale" | "trade" | null | undefined;
|
|
3342
3552
|
};
|
|
3343
3553
|
relationships?: Record<string, unknown> | undefined;
|
|
3344
3554
|
links?: Record<string, string> | undefined;
|