@deepintel-ltd/farmpro-contracts 1.22.4 → 1.23.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.
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -0
- package/dist/routes/categories.routes.d.ts +26 -26
- package/dist/routes/commodity-deals.routes.d.ts +217 -42
- package/dist/routes/commodity-deals.routes.d.ts.map +1 -1
- package/dist/routes/crop-profile.routes.d.ts +8 -8
- package/dist/routes/farm-enterprises.routes.d.ts +395 -0
- package/dist/routes/farm-enterprises.routes.d.ts.map +1 -1
- package/dist/routes/farm-enterprises.routes.js +14 -1
- package/dist/routes/farms.routes.d.ts +73 -20
- package/dist/routes/farms.routes.d.ts.map +1 -1
- package/dist/routes/fertigation.routes.d.ts +96 -96
- package/dist/routes/field-monitoring.routes.d.ts +2 -2
- package/dist/routes/finance.routes.d.ts +8 -8
- 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 +210 -60
- package/dist/routes/invoices.routes.d.ts.map +1 -1
- package/dist/routes/invoices.routes.js +4 -1
- package/dist/routes/monitoring-visualization.routes.d.ts +2 -2
- package/dist/routes/notifications.routes.d.ts +12 -12
- 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/organizations.routes.d.ts +90 -47
- package/dist/routes/organizations.routes.d.ts.map +1 -1
- 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/suppliers.routes.d.ts +96 -96
- package/dist/routes/team-payments.routes.d.ts +105 -105
- package/dist/routes/team.routes.d.ts +125 -25
- package/dist/routes/team.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 +229 -15
- package/dist/routes/waybills.routes.d.ts.map +1 -1
- package/dist/routes/waybills.routes.js +4 -1
- package/dist/schemas/categories.schemas.d.ts +21 -21
- package/dist/schemas/commodity-deals.schemas.d.ts +116 -18
- package/dist/schemas/commodity-deals.schemas.d.ts.map +1 -1
- package/dist/schemas/commodity-deals.schemas.js +7 -0
- package/dist/schemas/crop-profile.schemas.d.ts +12 -12
- package/dist/schemas/farm-enterprises.schemas.d.ts +185 -0
- package/dist/schemas/farm-enterprises.schemas.d.ts.map +1 -1
- package/dist/schemas/farm-enterprises.schemas.js +21 -0
- package/dist/schemas/farms.schemas.d.ts +121 -19
- package/dist/schemas/farms.schemas.d.ts.map +1 -1
- package/dist/schemas/farms.schemas.js +15 -1
- package/dist/schemas/fertigation.schemas.d.ts +36 -36
- package/dist/schemas/field-monitoring.schemas.d.ts +2 -2
- package/dist/schemas/finance.schemas.d.ts +8 -8
- package/dist/schemas/invoices.schemas.d.ts +153 -39
- package/dist/schemas/invoices.schemas.d.ts.map +1 -1
- package/dist/schemas/invoices.schemas.js +8 -2
- package/dist/schemas/notifications.schemas.d.ts +18 -18
- 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/organizations.schemas.d.ts +105 -46
- package/dist/schemas/organizations.schemas.d.ts.map +1 -1
- package/dist/schemas/organizations.schemas.js +8 -1
- 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/suppliers.schemas.d.ts +96 -96
- package/dist/schemas/team-payments.schemas.d.ts +87 -87
- package/dist/schemas/team.schemas.d.ts +137 -20
- package/dist/schemas/team.schemas.d.ts.map +1 -1
- package/dist/schemas/team.schemas.js +29 -1
- 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 +177 -9
- package/dist/schemas/waybills.schemas.d.ts.map +1 -1
- package/dist/schemas/waybills.schemas.js +9 -0
- package/package.json +1 -1
|
@@ -13,14 +13,18 @@ export declare const waybillsRouter: {
|
|
|
13
13
|
'page[size]': z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
14
14
|
} & {
|
|
15
15
|
sort: z.ZodOptional<z.ZodString>;
|
|
16
|
+
} & {
|
|
17
|
+
'filter[commercialIntent]': z.ZodOptional<z.ZodEnum<["farm_sale", "trade"]>>;
|
|
16
18
|
}, "strip", z.ZodTypeAny, {
|
|
17
19
|
sort?: string | undefined;
|
|
18
20
|
'page[number]'?: number | undefined;
|
|
19
21
|
'page[size]'?: number | undefined;
|
|
22
|
+
'filter[commercialIntent]'?: "trade" | "farm_sale" | undefined;
|
|
20
23
|
}, {
|
|
21
24
|
sort?: string | undefined;
|
|
22
25
|
'page[number]'?: number | undefined;
|
|
23
26
|
'page[size]'?: number | undefined;
|
|
27
|
+
'filter[commercialIntent]'?: "trade" | "farm_sale" | undefined;
|
|
24
28
|
}>;
|
|
25
29
|
summary: "List all waybills for an organization";
|
|
26
30
|
description: "Get a paginated list of waybills for the specified organization";
|
|
@@ -76,6 +80,10 @@ export declare const waybillsRouter: {
|
|
|
76
80
|
transporterName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
77
81
|
dispatchedLocation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
78
82
|
receivedCondition: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
83
|
+
receivedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
84
|
+
receivedByName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
85
|
+
farmId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
86
|
+
commercialIntent: z.ZodNullable<z.ZodOptional<z.ZodEnum<["farm_sale", "trade"]>>>;
|
|
79
87
|
organizationId: z.ZodString;
|
|
80
88
|
} & {
|
|
81
89
|
createdAt: z.ZodString;
|
|
@@ -83,8 +91,8 @@ export declare const waybillsRouter: {
|
|
|
83
91
|
}, "strip", z.ZodTypeAny, {
|
|
84
92
|
createdAt: string;
|
|
85
93
|
updatedAt: string;
|
|
86
|
-
currency: string;
|
|
87
94
|
organizationId: string;
|
|
95
|
+
currency: string;
|
|
88
96
|
items: {
|
|
89
97
|
description: string;
|
|
90
98
|
quantity: number;
|
|
@@ -97,6 +105,7 @@ export declare const waybillsRouter: {
|
|
|
97
105
|
issueDate: string;
|
|
98
106
|
senderName: string;
|
|
99
107
|
recipientName: string;
|
|
108
|
+
farmId?: string | null | undefined;
|
|
100
109
|
notes?: string | null | undefined;
|
|
101
110
|
totalValue?: number | null | undefined;
|
|
102
111
|
senderAddress?: string | null | undefined;
|
|
@@ -114,6 +123,9 @@ export declare const waybillsRouter: {
|
|
|
114
123
|
transporterName?: string | null | undefined;
|
|
115
124
|
dispatchedLocation?: string | null | undefined;
|
|
116
125
|
receivedCondition?: string | null | undefined;
|
|
126
|
+
receivedAt?: string | null | undefined;
|
|
127
|
+
receivedByName?: string | null | undefined;
|
|
128
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
117
129
|
}, {
|
|
118
130
|
createdAt: string;
|
|
119
131
|
updatedAt: string;
|
|
@@ -130,6 +142,7 @@ export declare const waybillsRouter: {
|
|
|
130
142
|
issueDate: string;
|
|
131
143
|
senderName: string;
|
|
132
144
|
recipientName: string;
|
|
145
|
+
farmId?: string | null | undefined;
|
|
133
146
|
currency?: string | undefined;
|
|
134
147
|
notes?: string | null | undefined;
|
|
135
148
|
totalValue?: number | null | undefined;
|
|
@@ -148,6 +161,9 @@ export declare const waybillsRouter: {
|
|
|
148
161
|
transporterName?: string | null | undefined;
|
|
149
162
|
dispatchedLocation?: string | null | undefined;
|
|
150
163
|
receivedCondition?: string | null | undefined;
|
|
164
|
+
receivedAt?: string | null | undefined;
|
|
165
|
+
receivedByName?: string | null | undefined;
|
|
166
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
151
167
|
}>;
|
|
152
168
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
153
169
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -158,8 +174,8 @@ export declare const waybillsRouter: {
|
|
|
158
174
|
attributes: {
|
|
159
175
|
createdAt: string;
|
|
160
176
|
updatedAt: string;
|
|
161
|
-
currency: string;
|
|
162
177
|
organizationId: string;
|
|
178
|
+
currency: string;
|
|
163
179
|
items: {
|
|
164
180
|
description: string;
|
|
165
181
|
quantity: number;
|
|
@@ -172,6 +188,7 @@ export declare const waybillsRouter: {
|
|
|
172
188
|
issueDate: string;
|
|
173
189
|
senderName: string;
|
|
174
190
|
recipientName: string;
|
|
191
|
+
farmId?: string | null | undefined;
|
|
175
192
|
notes?: string | null | undefined;
|
|
176
193
|
totalValue?: number | null | undefined;
|
|
177
194
|
senderAddress?: string | null | undefined;
|
|
@@ -189,6 +206,9 @@ export declare const waybillsRouter: {
|
|
|
189
206
|
transporterName?: string | null | undefined;
|
|
190
207
|
dispatchedLocation?: string | null | undefined;
|
|
191
208
|
receivedCondition?: string | null | undefined;
|
|
209
|
+
receivedAt?: string | null | undefined;
|
|
210
|
+
receivedByName?: string | null | undefined;
|
|
211
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
192
212
|
};
|
|
193
213
|
relationships?: Record<string, unknown> | undefined;
|
|
194
214
|
links?: Record<string, string> | undefined;
|
|
@@ -212,6 +232,7 @@ export declare const waybillsRouter: {
|
|
|
212
232
|
issueDate: string;
|
|
213
233
|
senderName: string;
|
|
214
234
|
recipientName: string;
|
|
235
|
+
farmId?: string | null | undefined;
|
|
215
236
|
currency?: string | undefined;
|
|
216
237
|
notes?: string | null | undefined;
|
|
217
238
|
totalValue?: number | null | undefined;
|
|
@@ -230,6 +251,9 @@ export declare const waybillsRouter: {
|
|
|
230
251
|
transporterName?: string | null | undefined;
|
|
231
252
|
dispatchedLocation?: string | null | undefined;
|
|
232
253
|
receivedCondition?: string | null | undefined;
|
|
254
|
+
receivedAt?: string | null | undefined;
|
|
255
|
+
receivedByName?: string | null | undefined;
|
|
256
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
233
257
|
};
|
|
234
258
|
relationships?: Record<string, unknown> | undefined;
|
|
235
259
|
links?: Record<string, string> | undefined;
|
|
@@ -266,8 +290,8 @@ export declare const waybillsRouter: {
|
|
|
266
290
|
attributes: {
|
|
267
291
|
createdAt: string;
|
|
268
292
|
updatedAt: string;
|
|
269
|
-
currency: string;
|
|
270
293
|
organizationId: string;
|
|
294
|
+
currency: string;
|
|
271
295
|
items: {
|
|
272
296
|
description: string;
|
|
273
297
|
quantity: number;
|
|
@@ -280,6 +304,7 @@ export declare const waybillsRouter: {
|
|
|
280
304
|
issueDate: string;
|
|
281
305
|
senderName: string;
|
|
282
306
|
recipientName: string;
|
|
307
|
+
farmId?: string | null | undefined;
|
|
283
308
|
notes?: string | null | undefined;
|
|
284
309
|
totalValue?: number | null | undefined;
|
|
285
310
|
senderAddress?: string | null | undefined;
|
|
@@ -297,6 +322,9 @@ export declare const waybillsRouter: {
|
|
|
297
322
|
transporterName?: string | null | undefined;
|
|
298
323
|
dispatchedLocation?: string | null | undefined;
|
|
299
324
|
receivedCondition?: string | null | undefined;
|
|
325
|
+
receivedAt?: string | null | undefined;
|
|
326
|
+
receivedByName?: string | null | undefined;
|
|
327
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
300
328
|
};
|
|
301
329
|
relationships?: Record<string, unknown> | undefined;
|
|
302
330
|
links?: Record<string, string> | undefined;
|
|
@@ -332,6 +360,7 @@ export declare const waybillsRouter: {
|
|
|
332
360
|
issueDate: string;
|
|
333
361
|
senderName: string;
|
|
334
362
|
recipientName: string;
|
|
363
|
+
farmId?: string | null | undefined;
|
|
335
364
|
currency?: string | undefined;
|
|
336
365
|
notes?: string | null | undefined;
|
|
337
366
|
totalValue?: number | null | undefined;
|
|
@@ -350,6 +379,9 @@ export declare const waybillsRouter: {
|
|
|
350
379
|
transporterName?: string | null | undefined;
|
|
351
380
|
dispatchedLocation?: string | null | undefined;
|
|
352
381
|
receivedCondition?: string | null | undefined;
|
|
382
|
+
receivedAt?: string | null | undefined;
|
|
383
|
+
receivedByName?: string | null | undefined;
|
|
384
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
353
385
|
};
|
|
354
386
|
relationships?: Record<string, unknown> | undefined;
|
|
355
387
|
links?: Record<string, string> | undefined;
|
|
@@ -602,8 +634,13 @@ export declare const waybillsRouter: {
|
|
|
602
634
|
transporterName: z.ZodOptional<z.ZodString>;
|
|
603
635
|
dispatchedLocation: z.ZodOptional<z.ZodString>;
|
|
604
636
|
receivedCondition: z.ZodOptional<z.ZodString>;
|
|
637
|
+
receivedAt: z.ZodOptional<z.ZodString>;
|
|
638
|
+
receivedByName: z.ZodOptional<z.ZodString>;
|
|
639
|
+
farmId: z.ZodOptional<z.ZodString>;
|
|
640
|
+
commercialIntent: z.ZodOptional<z.ZodEnum<["farm_sale", "trade"]>>;
|
|
605
641
|
purchaseCost: z.ZodOptional<z.ZodNumber>;
|
|
606
642
|
transportCost: z.ZodOptional<z.ZodNumber>;
|
|
643
|
+
storageCost: z.ZodOptional<z.ZodNumber>;
|
|
607
644
|
miscellaneousCost: z.ZodOptional<z.ZodNumber>;
|
|
608
645
|
}, "strip", z.ZodTypeAny, {
|
|
609
646
|
currency: string;
|
|
@@ -617,6 +654,7 @@ export declare const waybillsRouter: {
|
|
|
617
654
|
}[];
|
|
618
655
|
senderName: string;
|
|
619
656
|
buyerId: string;
|
|
657
|
+
farmId?: string | undefined;
|
|
620
658
|
notes?: string | undefined;
|
|
621
659
|
totalValue?: number | undefined;
|
|
622
660
|
transportCost?: number | undefined;
|
|
@@ -632,7 +670,11 @@ export declare const waybillsRouter: {
|
|
|
632
670
|
transporterName?: string | undefined;
|
|
633
671
|
dispatchedLocation?: string | undefined;
|
|
634
672
|
receivedCondition?: string | undefined;
|
|
673
|
+
receivedAt?: string | undefined;
|
|
674
|
+
receivedByName?: string | undefined;
|
|
675
|
+
commercialIntent?: "trade" | "farm_sale" | undefined;
|
|
635
676
|
purchaseCost?: number | undefined;
|
|
677
|
+
storageCost?: number | undefined;
|
|
636
678
|
miscellaneousCost?: number | undefined;
|
|
637
679
|
}, {
|
|
638
680
|
items: {
|
|
@@ -645,6 +687,7 @@ export declare const waybillsRouter: {
|
|
|
645
687
|
}[];
|
|
646
688
|
senderName: string;
|
|
647
689
|
buyerId: string;
|
|
690
|
+
farmId?: string | undefined;
|
|
648
691
|
currency?: string | undefined;
|
|
649
692
|
notes?: string | undefined;
|
|
650
693
|
totalValue?: number | undefined;
|
|
@@ -661,7 +704,11 @@ export declare const waybillsRouter: {
|
|
|
661
704
|
transporterName?: string | undefined;
|
|
662
705
|
dispatchedLocation?: string | undefined;
|
|
663
706
|
receivedCondition?: string | undefined;
|
|
707
|
+
receivedAt?: string | undefined;
|
|
708
|
+
receivedByName?: string | undefined;
|
|
709
|
+
commercialIntent?: "trade" | "farm_sale" | undefined;
|
|
664
710
|
purchaseCost?: number | undefined;
|
|
711
|
+
storageCost?: number | undefined;
|
|
665
712
|
miscellaneousCost?: number | undefined;
|
|
666
713
|
}>;
|
|
667
714
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -678,6 +725,7 @@ export declare const waybillsRouter: {
|
|
|
678
725
|
}[];
|
|
679
726
|
senderName: string;
|
|
680
727
|
buyerId: string;
|
|
728
|
+
farmId?: string | undefined;
|
|
681
729
|
notes?: string | undefined;
|
|
682
730
|
totalValue?: number | undefined;
|
|
683
731
|
transportCost?: number | undefined;
|
|
@@ -693,7 +741,11 @@ export declare const waybillsRouter: {
|
|
|
693
741
|
transporterName?: string | undefined;
|
|
694
742
|
dispatchedLocation?: string | undefined;
|
|
695
743
|
receivedCondition?: string | undefined;
|
|
744
|
+
receivedAt?: string | undefined;
|
|
745
|
+
receivedByName?: string | undefined;
|
|
746
|
+
commercialIntent?: "trade" | "farm_sale" | undefined;
|
|
696
747
|
purchaseCost?: number | undefined;
|
|
748
|
+
storageCost?: number | undefined;
|
|
697
749
|
miscellaneousCost?: number | undefined;
|
|
698
750
|
};
|
|
699
751
|
}, {
|
|
@@ -709,6 +761,7 @@ export declare const waybillsRouter: {
|
|
|
709
761
|
}[];
|
|
710
762
|
senderName: string;
|
|
711
763
|
buyerId: string;
|
|
764
|
+
farmId?: string | undefined;
|
|
712
765
|
currency?: string | undefined;
|
|
713
766
|
notes?: string | undefined;
|
|
714
767
|
totalValue?: number | undefined;
|
|
@@ -725,7 +778,11 @@ export declare const waybillsRouter: {
|
|
|
725
778
|
transporterName?: string | undefined;
|
|
726
779
|
dispatchedLocation?: string | undefined;
|
|
727
780
|
receivedCondition?: string | undefined;
|
|
781
|
+
receivedAt?: string | undefined;
|
|
782
|
+
receivedByName?: string | undefined;
|
|
783
|
+
commercialIntent?: "trade" | "farm_sale" | undefined;
|
|
728
784
|
purchaseCost?: number | undefined;
|
|
785
|
+
storageCost?: number | undefined;
|
|
729
786
|
miscellaneousCost?: number | undefined;
|
|
730
787
|
};
|
|
731
788
|
}>;
|
|
@@ -744,6 +801,7 @@ export declare const waybillsRouter: {
|
|
|
744
801
|
}[];
|
|
745
802
|
senderName: string;
|
|
746
803
|
buyerId: string;
|
|
804
|
+
farmId?: string | undefined;
|
|
747
805
|
notes?: string | undefined;
|
|
748
806
|
totalValue?: number | undefined;
|
|
749
807
|
transportCost?: number | undefined;
|
|
@@ -759,7 +817,11 @@ export declare const waybillsRouter: {
|
|
|
759
817
|
transporterName?: string | undefined;
|
|
760
818
|
dispatchedLocation?: string | undefined;
|
|
761
819
|
receivedCondition?: string | undefined;
|
|
820
|
+
receivedAt?: string | undefined;
|
|
821
|
+
receivedByName?: string | undefined;
|
|
822
|
+
commercialIntent?: "trade" | "farm_sale" | undefined;
|
|
762
823
|
purchaseCost?: number | undefined;
|
|
824
|
+
storageCost?: number | undefined;
|
|
763
825
|
miscellaneousCost?: number | undefined;
|
|
764
826
|
};
|
|
765
827
|
};
|
|
@@ -777,6 +839,7 @@ export declare const waybillsRouter: {
|
|
|
777
839
|
}[];
|
|
778
840
|
senderName: string;
|
|
779
841
|
buyerId: string;
|
|
842
|
+
farmId?: string | undefined;
|
|
780
843
|
currency?: string | undefined;
|
|
781
844
|
notes?: string | undefined;
|
|
782
845
|
totalValue?: number | undefined;
|
|
@@ -793,7 +856,11 @@ export declare const waybillsRouter: {
|
|
|
793
856
|
transporterName?: string | undefined;
|
|
794
857
|
dispatchedLocation?: string | undefined;
|
|
795
858
|
receivedCondition?: string | undefined;
|
|
859
|
+
receivedAt?: string | undefined;
|
|
860
|
+
receivedByName?: string | undefined;
|
|
861
|
+
commercialIntent?: "trade" | "farm_sale" | undefined;
|
|
796
862
|
purchaseCost?: number | undefined;
|
|
863
|
+
storageCost?: number | undefined;
|
|
797
864
|
miscellaneousCost?: number | undefined;
|
|
798
865
|
};
|
|
799
866
|
};
|
|
@@ -849,6 +916,10 @@ export declare const waybillsRouter: {
|
|
|
849
916
|
transporterName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
850
917
|
dispatchedLocation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
851
918
|
receivedCondition: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
919
|
+
receivedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
920
|
+
receivedByName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
921
|
+
farmId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
922
|
+
commercialIntent: z.ZodNullable<z.ZodOptional<z.ZodEnum<["farm_sale", "trade"]>>>;
|
|
852
923
|
organizationId: z.ZodString;
|
|
853
924
|
} & {
|
|
854
925
|
createdAt: z.ZodString;
|
|
@@ -856,8 +927,8 @@ export declare const waybillsRouter: {
|
|
|
856
927
|
}, "strip", z.ZodTypeAny, {
|
|
857
928
|
createdAt: string;
|
|
858
929
|
updatedAt: string;
|
|
859
|
-
currency: string;
|
|
860
930
|
organizationId: string;
|
|
931
|
+
currency: string;
|
|
861
932
|
items: {
|
|
862
933
|
description: string;
|
|
863
934
|
quantity: number;
|
|
@@ -870,6 +941,7 @@ export declare const waybillsRouter: {
|
|
|
870
941
|
issueDate: string;
|
|
871
942
|
senderName: string;
|
|
872
943
|
recipientName: string;
|
|
944
|
+
farmId?: string | null | undefined;
|
|
873
945
|
notes?: string | null | undefined;
|
|
874
946
|
totalValue?: number | null | undefined;
|
|
875
947
|
senderAddress?: string | null | undefined;
|
|
@@ -887,6 +959,9 @@ export declare const waybillsRouter: {
|
|
|
887
959
|
transporterName?: string | null | undefined;
|
|
888
960
|
dispatchedLocation?: string | null | undefined;
|
|
889
961
|
receivedCondition?: string | null | undefined;
|
|
962
|
+
receivedAt?: string | null | undefined;
|
|
963
|
+
receivedByName?: string | null | undefined;
|
|
964
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
890
965
|
}, {
|
|
891
966
|
createdAt: string;
|
|
892
967
|
updatedAt: string;
|
|
@@ -903,6 +978,7 @@ export declare const waybillsRouter: {
|
|
|
903
978
|
issueDate: string;
|
|
904
979
|
senderName: string;
|
|
905
980
|
recipientName: string;
|
|
981
|
+
farmId?: string | null | undefined;
|
|
906
982
|
currency?: string | undefined;
|
|
907
983
|
notes?: string | null | undefined;
|
|
908
984
|
totalValue?: number | null | undefined;
|
|
@@ -921,6 +997,9 @@ export declare const waybillsRouter: {
|
|
|
921
997
|
transporterName?: string | null | undefined;
|
|
922
998
|
dispatchedLocation?: string | null | undefined;
|
|
923
999
|
receivedCondition?: string | null | undefined;
|
|
1000
|
+
receivedAt?: string | null | undefined;
|
|
1001
|
+
receivedByName?: string | null | undefined;
|
|
1002
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
924
1003
|
}>;
|
|
925
1004
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
926
1005
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -931,8 +1010,8 @@ export declare const waybillsRouter: {
|
|
|
931
1010
|
attributes: {
|
|
932
1011
|
createdAt: string;
|
|
933
1012
|
updatedAt: string;
|
|
934
|
-
currency: string;
|
|
935
1013
|
organizationId: string;
|
|
1014
|
+
currency: string;
|
|
936
1015
|
items: {
|
|
937
1016
|
description: string;
|
|
938
1017
|
quantity: number;
|
|
@@ -945,6 +1024,7 @@ export declare const waybillsRouter: {
|
|
|
945
1024
|
issueDate: string;
|
|
946
1025
|
senderName: string;
|
|
947
1026
|
recipientName: string;
|
|
1027
|
+
farmId?: string | null | undefined;
|
|
948
1028
|
notes?: string | null | undefined;
|
|
949
1029
|
totalValue?: number | null | undefined;
|
|
950
1030
|
senderAddress?: string | null | undefined;
|
|
@@ -962,6 +1042,9 @@ export declare const waybillsRouter: {
|
|
|
962
1042
|
transporterName?: string | null | undefined;
|
|
963
1043
|
dispatchedLocation?: string | null | undefined;
|
|
964
1044
|
receivedCondition?: string | null | undefined;
|
|
1045
|
+
receivedAt?: string | null | undefined;
|
|
1046
|
+
receivedByName?: string | null | undefined;
|
|
1047
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
965
1048
|
};
|
|
966
1049
|
relationships?: Record<string, unknown> | undefined;
|
|
967
1050
|
links?: Record<string, string> | undefined;
|
|
@@ -985,6 +1068,7 @@ export declare const waybillsRouter: {
|
|
|
985
1068
|
issueDate: string;
|
|
986
1069
|
senderName: string;
|
|
987
1070
|
recipientName: string;
|
|
1071
|
+
farmId?: string | null | undefined;
|
|
988
1072
|
currency?: string | undefined;
|
|
989
1073
|
notes?: string | null | undefined;
|
|
990
1074
|
totalValue?: number | null | undefined;
|
|
@@ -1003,6 +1087,9 @@ export declare const waybillsRouter: {
|
|
|
1003
1087
|
transporterName?: string | null | undefined;
|
|
1004
1088
|
dispatchedLocation?: string | null | undefined;
|
|
1005
1089
|
receivedCondition?: string | null | undefined;
|
|
1090
|
+
receivedAt?: string | null | undefined;
|
|
1091
|
+
receivedByName?: string | null | undefined;
|
|
1092
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
1006
1093
|
};
|
|
1007
1094
|
relationships?: Record<string, unknown> | undefined;
|
|
1008
1095
|
links?: Record<string, string> | undefined;
|
|
@@ -1039,8 +1126,8 @@ export declare const waybillsRouter: {
|
|
|
1039
1126
|
attributes: {
|
|
1040
1127
|
createdAt: string;
|
|
1041
1128
|
updatedAt: string;
|
|
1042
|
-
currency: string;
|
|
1043
1129
|
organizationId: string;
|
|
1130
|
+
currency: string;
|
|
1044
1131
|
items: {
|
|
1045
1132
|
description: string;
|
|
1046
1133
|
quantity: number;
|
|
@@ -1053,6 +1140,7 @@ export declare const waybillsRouter: {
|
|
|
1053
1140
|
issueDate: string;
|
|
1054
1141
|
senderName: string;
|
|
1055
1142
|
recipientName: string;
|
|
1143
|
+
farmId?: string | null | undefined;
|
|
1056
1144
|
notes?: string | null | undefined;
|
|
1057
1145
|
totalValue?: number | null | undefined;
|
|
1058
1146
|
senderAddress?: string | null | undefined;
|
|
@@ -1070,6 +1158,9 @@ export declare const waybillsRouter: {
|
|
|
1070
1158
|
transporterName?: string | null | undefined;
|
|
1071
1159
|
dispatchedLocation?: string | null | undefined;
|
|
1072
1160
|
receivedCondition?: string | null | undefined;
|
|
1161
|
+
receivedAt?: string | null | undefined;
|
|
1162
|
+
receivedByName?: string | null | undefined;
|
|
1163
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
1073
1164
|
};
|
|
1074
1165
|
relationships?: Record<string, unknown> | undefined;
|
|
1075
1166
|
links?: Record<string, string> | undefined;
|
|
@@ -1105,6 +1196,7 @@ export declare const waybillsRouter: {
|
|
|
1105
1196
|
issueDate: string;
|
|
1106
1197
|
senderName: string;
|
|
1107
1198
|
recipientName: string;
|
|
1199
|
+
farmId?: string | null | undefined;
|
|
1108
1200
|
currency?: string | undefined;
|
|
1109
1201
|
notes?: string | null | undefined;
|
|
1110
1202
|
totalValue?: number | null | undefined;
|
|
@@ -1123,6 +1215,9 @@ export declare const waybillsRouter: {
|
|
|
1123
1215
|
transporterName?: string | null | undefined;
|
|
1124
1216
|
dispatchedLocation?: string | null | undefined;
|
|
1125
1217
|
receivedCondition?: string | null | undefined;
|
|
1218
|
+
receivedAt?: string | null | undefined;
|
|
1219
|
+
receivedByName?: string | null | undefined;
|
|
1220
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
1126
1221
|
};
|
|
1127
1222
|
relationships?: Record<string, unknown> | undefined;
|
|
1128
1223
|
links?: Record<string, string> | undefined;
|
|
@@ -1566,6 +1661,10 @@ export declare const waybillsRouter: {
|
|
|
1566
1661
|
transporterName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1567
1662
|
dispatchedLocation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1568
1663
|
receivedCondition: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1664
|
+
receivedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1665
|
+
receivedByName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1666
|
+
farmId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1667
|
+
commercialIntent: z.ZodNullable<z.ZodOptional<z.ZodEnum<["farm_sale", "trade"]>>>;
|
|
1569
1668
|
organizationId: z.ZodString;
|
|
1570
1669
|
} & {
|
|
1571
1670
|
createdAt: z.ZodString;
|
|
@@ -1573,8 +1672,8 @@ export declare const waybillsRouter: {
|
|
|
1573
1672
|
}, "strip", z.ZodTypeAny, {
|
|
1574
1673
|
createdAt: string;
|
|
1575
1674
|
updatedAt: string;
|
|
1576
|
-
currency: string;
|
|
1577
1675
|
organizationId: string;
|
|
1676
|
+
currency: string;
|
|
1578
1677
|
items: {
|
|
1579
1678
|
description: string;
|
|
1580
1679
|
quantity: number;
|
|
@@ -1587,6 +1686,7 @@ export declare const waybillsRouter: {
|
|
|
1587
1686
|
issueDate: string;
|
|
1588
1687
|
senderName: string;
|
|
1589
1688
|
recipientName: string;
|
|
1689
|
+
farmId?: string | null | undefined;
|
|
1590
1690
|
notes?: string | null | undefined;
|
|
1591
1691
|
totalValue?: number | null | undefined;
|
|
1592
1692
|
senderAddress?: string | null | undefined;
|
|
@@ -1604,6 +1704,9 @@ export declare const waybillsRouter: {
|
|
|
1604
1704
|
transporterName?: string | null | undefined;
|
|
1605
1705
|
dispatchedLocation?: string | null | undefined;
|
|
1606
1706
|
receivedCondition?: string | null | undefined;
|
|
1707
|
+
receivedAt?: string | null | undefined;
|
|
1708
|
+
receivedByName?: string | null | undefined;
|
|
1709
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
1607
1710
|
}, {
|
|
1608
1711
|
createdAt: string;
|
|
1609
1712
|
updatedAt: string;
|
|
@@ -1620,6 +1723,7 @@ export declare const waybillsRouter: {
|
|
|
1620
1723
|
issueDate: string;
|
|
1621
1724
|
senderName: string;
|
|
1622
1725
|
recipientName: string;
|
|
1726
|
+
farmId?: string | null | undefined;
|
|
1623
1727
|
currency?: string | undefined;
|
|
1624
1728
|
notes?: string | null | undefined;
|
|
1625
1729
|
totalValue?: number | null | undefined;
|
|
@@ -1638,6 +1742,9 @@ export declare const waybillsRouter: {
|
|
|
1638
1742
|
transporterName?: string | null | undefined;
|
|
1639
1743
|
dispatchedLocation?: string | null | undefined;
|
|
1640
1744
|
receivedCondition?: string | null | undefined;
|
|
1745
|
+
receivedAt?: string | null | undefined;
|
|
1746
|
+
receivedByName?: string | null | undefined;
|
|
1747
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
1641
1748
|
}>;
|
|
1642
1749
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1643
1750
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -1648,8 +1755,8 @@ export declare const waybillsRouter: {
|
|
|
1648
1755
|
attributes: {
|
|
1649
1756
|
createdAt: string;
|
|
1650
1757
|
updatedAt: string;
|
|
1651
|
-
currency: string;
|
|
1652
1758
|
organizationId: string;
|
|
1759
|
+
currency: string;
|
|
1653
1760
|
items: {
|
|
1654
1761
|
description: string;
|
|
1655
1762
|
quantity: number;
|
|
@@ -1662,6 +1769,7 @@ export declare const waybillsRouter: {
|
|
|
1662
1769
|
issueDate: string;
|
|
1663
1770
|
senderName: string;
|
|
1664
1771
|
recipientName: string;
|
|
1772
|
+
farmId?: string | null | undefined;
|
|
1665
1773
|
notes?: string | null | undefined;
|
|
1666
1774
|
totalValue?: number | null | undefined;
|
|
1667
1775
|
senderAddress?: string | null | undefined;
|
|
@@ -1679,6 +1787,9 @@ export declare const waybillsRouter: {
|
|
|
1679
1787
|
transporterName?: string | null | undefined;
|
|
1680
1788
|
dispatchedLocation?: string | null | undefined;
|
|
1681
1789
|
receivedCondition?: string | null | undefined;
|
|
1790
|
+
receivedAt?: string | null | undefined;
|
|
1791
|
+
receivedByName?: string | null | undefined;
|
|
1792
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
1682
1793
|
};
|
|
1683
1794
|
relationships?: Record<string, unknown> | undefined;
|
|
1684
1795
|
links?: Record<string, string> | undefined;
|
|
@@ -1702,6 +1813,7 @@ export declare const waybillsRouter: {
|
|
|
1702
1813
|
issueDate: string;
|
|
1703
1814
|
senderName: string;
|
|
1704
1815
|
recipientName: string;
|
|
1816
|
+
farmId?: string | null | undefined;
|
|
1705
1817
|
currency?: string | undefined;
|
|
1706
1818
|
notes?: string | null | undefined;
|
|
1707
1819
|
totalValue?: number | null | undefined;
|
|
@@ -1720,6 +1832,9 @@ export declare const waybillsRouter: {
|
|
|
1720
1832
|
transporterName?: string | null | undefined;
|
|
1721
1833
|
dispatchedLocation?: string | null | undefined;
|
|
1722
1834
|
receivedCondition?: string | null | undefined;
|
|
1835
|
+
receivedAt?: string | null | undefined;
|
|
1836
|
+
receivedByName?: string | null | undefined;
|
|
1837
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
1723
1838
|
};
|
|
1724
1839
|
relationships?: Record<string, unknown> | undefined;
|
|
1725
1840
|
links?: Record<string, string> | undefined;
|
|
@@ -1756,8 +1871,8 @@ export declare const waybillsRouter: {
|
|
|
1756
1871
|
attributes: {
|
|
1757
1872
|
createdAt: string;
|
|
1758
1873
|
updatedAt: string;
|
|
1759
|
-
currency: string;
|
|
1760
1874
|
organizationId: string;
|
|
1875
|
+
currency: string;
|
|
1761
1876
|
items: {
|
|
1762
1877
|
description: string;
|
|
1763
1878
|
quantity: number;
|
|
@@ -1770,6 +1885,7 @@ export declare const waybillsRouter: {
|
|
|
1770
1885
|
issueDate: string;
|
|
1771
1886
|
senderName: string;
|
|
1772
1887
|
recipientName: string;
|
|
1888
|
+
farmId?: string | null | undefined;
|
|
1773
1889
|
notes?: string | null | undefined;
|
|
1774
1890
|
totalValue?: number | null | undefined;
|
|
1775
1891
|
senderAddress?: string | null | undefined;
|
|
@@ -1787,6 +1903,9 @@ export declare const waybillsRouter: {
|
|
|
1787
1903
|
transporterName?: string | null | undefined;
|
|
1788
1904
|
dispatchedLocation?: string | null | undefined;
|
|
1789
1905
|
receivedCondition?: string | null | undefined;
|
|
1906
|
+
receivedAt?: string | null | undefined;
|
|
1907
|
+
receivedByName?: string | null | undefined;
|
|
1908
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
1790
1909
|
};
|
|
1791
1910
|
relationships?: Record<string, unknown> | undefined;
|
|
1792
1911
|
links?: Record<string, string> | undefined;
|
|
@@ -1822,6 +1941,7 @@ export declare const waybillsRouter: {
|
|
|
1822
1941
|
issueDate: string;
|
|
1823
1942
|
senderName: string;
|
|
1824
1943
|
recipientName: string;
|
|
1944
|
+
farmId?: string | null | undefined;
|
|
1825
1945
|
currency?: string | undefined;
|
|
1826
1946
|
notes?: string | null | undefined;
|
|
1827
1947
|
totalValue?: number | null | undefined;
|
|
@@ -1840,6 +1960,9 @@ export declare const waybillsRouter: {
|
|
|
1840
1960
|
transporterName?: string | null | undefined;
|
|
1841
1961
|
dispatchedLocation?: string | null | undefined;
|
|
1842
1962
|
receivedCondition?: string | null | undefined;
|
|
1963
|
+
receivedAt?: string | null | undefined;
|
|
1964
|
+
receivedByName?: string | null | undefined;
|
|
1965
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
1843
1966
|
};
|
|
1844
1967
|
relationships?: Record<string, unknown> | undefined;
|
|
1845
1968
|
links?: Record<string, string> | undefined;
|
|
@@ -2096,10 +2219,16 @@ export declare const waybillsRouter: {
|
|
|
2096
2219
|
transporterName: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2097
2220
|
dispatchedLocation: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2098
2221
|
receivedCondition: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2222
|
+
receivedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2223
|
+
receivedByName: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2224
|
+
farmId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2225
|
+
commercialIntent: z.ZodOptional<z.ZodOptional<z.ZodEnum<["farm_sale", "trade"]>>>;
|
|
2099
2226
|
purchaseCost: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2100
2227
|
transportCost: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2228
|
+
storageCost: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2101
2229
|
miscellaneousCost: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2102
2230
|
}, "strip", z.ZodTypeAny, {
|
|
2231
|
+
farmId?: string | undefined;
|
|
2103
2232
|
currency?: string | undefined;
|
|
2104
2233
|
notes?: string | undefined;
|
|
2105
2234
|
totalValue?: number | undefined;
|
|
@@ -2125,10 +2254,15 @@ export declare const waybillsRouter: {
|
|
|
2125
2254
|
transporterName?: string | undefined;
|
|
2126
2255
|
dispatchedLocation?: string | undefined;
|
|
2127
2256
|
receivedCondition?: string | undefined;
|
|
2257
|
+
receivedAt?: string | undefined;
|
|
2258
|
+
receivedByName?: string | undefined;
|
|
2259
|
+
commercialIntent?: "trade" | "farm_sale" | undefined;
|
|
2128
2260
|
buyerId?: string | undefined;
|
|
2129
2261
|
purchaseCost?: number | undefined;
|
|
2262
|
+
storageCost?: number | undefined;
|
|
2130
2263
|
miscellaneousCost?: number | undefined;
|
|
2131
2264
|
}, {
|
|
2265
|
+
farmId?: string | undefined;
|
|
2132
2266
|
currency?: string | undefined;
|
|
2133
2267
|
notes?: string | undefined;
|
|
2134
2268
|
totalValue?: number | undefined;
|
|
@@ -2154,14 +2288,19 @@ export declare const waybillsRouter: {
|
|
|
2154
2288
|
transporterName?: string | undefined;
|
|
2155
2289
|
dispatchedLocation?: string | undefined;
|
|
2156
2290
|
receivedCondition?: string | undefined;
|
|
2291
|
+
receivedAt?: string | undefined;
|
|
2292
|
+
receivedByName?: string | undefined;
|
|
2293
|
+
commercialIntent?: "trade" | "farm_sale" | undefined;
|
|
2157
2294
|
buyerId?: string | undefined;
|
|
2158
2295
|
purchaseCost?: number | undefined;
|
|
2296
|
+
storageCost?: number | undefined;
|
|
2159
2297
|
miscellaneousCost?: number | undefined;
|
|
2160
2298
|
}>;
|
|
2161
2299
|
}, "strip", z.ZodTypeAny, {
|
|
2162
2300
|
type: "waybills";
|
|
2163
2301
|
id: string;
|
|
2164
2302
|
attributes: {
|
|
2303
|
+
farmId?: string | undefined;
|
|
2165
2304
|
currency?: string | undefined;
|
|
2166
2305
|
notes?: string | undefined;
|
|
2167
2306
|
totalValue?: number | undefined;
|
|
@@ -2187,14 +2326,19 @@ export declare const waybillsRouter: {
|
|
|
2187
2326
|
transporterName?: string | undefined;
|
|
2188
2327
|
dispatchedLocation?: string | undefined;
|
|
2189
2328
|
receivedCondition?: string | undefined;
|
|
2329
|
+
receivedAt?: string | undefined;
|
|
2330
|
+
receivedByName?: string | undefined;
|
|
2331
|
+
commercialIntent?: "trade" | "farm_sale" | undefined;
|
|
2190
2332
|
buyerId?: string | undefined;
|
|
2191
2333
|
purchaseCost?: number | undefined;
|
|
2334
|
+
storageCost?: number | undefined;
|
|
2192
2335
|
miscellaneousCost?: number | undefined;
|
|
2193
2336
|
};
|
|
2194
2337
|
}, {
|
|
2195
2338
|
type: "waybills";
|
|
2196
2339
|
id: string;
|
|
2197
2340
|
attributes: {
|
|
2341
|
+
farmId?: string | undefined;
|
|
2198
2342
|
currency?: string | undefined;
|
|
2199
2343
|
notes?: string | undefined;
|
|
2200
2344
|
totalValue?: number | undefined;
|
|
@@ -2220,8 +2364,12 @@ export declare const waybillsRouter: {
|
|
|
2220
2364
|
transporterName?: string | undefined;
|
|
2221
2365
|
dispatchedLocation?: string | undefined;
|
|
2222
2366
|
receivedCondition?: string | undefined;
|
|
2367
|
+
receivedAt?: string | undefined;
|
|
2368
|
+
receivedByName?: string | undefined;
|
|
2369
|
+
commercialIntent?: "trade" | "farm_sale" | undefined;
|
|
2223
2370
|
buyerId?: string | undefined;
|
|
2224
2371
|
purchaseCost?: number | undefined;
|
|
2372
|
+
storageCost?: number | undefined;
|
|
2225
2373
|
miscellaneousCost?: number | undefined;
|
|
2226
2374
|
};
|
|
2227
2375
|
}>;
|
|
@@ -2230,6 +2378,7 @@ export declare const waybillsRouter: {
|
|
|
2230
2378
|
type: "waybills";
|
|
2231
2379
|
id: string;
|
|
2232
2380
|
attributes: {
|
|
2381
|
+
farmId?: string | undefined;
|
|
2233
2382
|
currency?: string | undefined;
|
|
2234
2383
|
notes?: string | undefined;
|
|
2235
2384
|
totalValue?: number | undefined;
|
|
@@ -2255,8 +2404,12 @@ export declare const waybillsRouter: {
|
|
|
2255
2404
|
transporterName?: string | undefined;
|
|
2256
2405
|
dispatchedLocation?: string | undefined;
|
|
2257
2406
|
receivedCondition?: string | undefined;
|
|
2407
|
+
receivedAt?: string | undefined;
|
|
2408
|
+
receivedByName?: string | undefined;
|
|
2409
|
+
commercialIntent?: "trade" | "farm_sale" | undefined;
|
|
2258
2410
|
buyerId?: string | undefined;
|
|
2259
2411
|
purchaseCost?: number | undefined;
|
|
2412
|
+
storageCost?: number | undefined;
|
|
2260
2413
|
miscellaneousCost?: number | undefined;
|
|
2261
2414
|
};
|
|
2262
2415
|
};
|
|
@@ -2265,6 +2418,7 @@ export declare const waybillsRouter: {
|
|
|
2265
2418
|
type: "waybills";
|
|
2266
2419
|
id: string;
|
|
2267
2420
|
attributes: {
|
|
2421
|
+
farmId?: string | undefined;
|
|
2268
2422
|
currency?: string | undefined;
|
|
2269
2423
|
notes?: string | undefined;
|
|
2270
2424
|
totalValue?: number | undefined;
|
|
@@ -2290,8 +2444,12 @@ export declare const waybillsRouter: {
|
|
|
2290
2444
|
transporterName?: string | undefined;
|
|
2291
2445
|
dispatchedLocation?: string | undefined;
|
|
2292
2446
|
receivedCondition?: string | undefined;
|
|
2447
|
+
receivedAt?: string | undefined;
|
|
2448
|
+
receivedByName?: string | undefined;
|
|
2449
|
+
commercialIntent?: "trade" | "farm_sale" | undefined;
|
|
2293
2450
|
buyerId?: string | undefined;
|
|
2294
2451
|
purchaseCost?: number | undefined;
|
|
2452
|
+
storageCost?: number | undefined;
|
|
2295
2453
|
miscellaneousCost?: number | undefined;
|
|
2296
2454
|
};
|
|
2297
2455
|
};
|
|
@@ -2347,6 +2505,10 @@ export declare const waybillsRouter: {
|
|
|
2347
2505
|
transporterName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2348
2506
|
dispatchedLocation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2349
2507
|
receivedCondition: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2508
|
+
receivedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2509
|
+
receivedByName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2510
|
+
farmId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2511
|
+
commercialIntent: z.ZodNullable<z.ZodOptional<z.ZodEnum<["farm_sale", "trade"]>>>;
|
|
2350
2512
|
organizationId: z.ZodString;
|
|
2351
2513
|
} & {
|
|
2352
2514
|
createdAt: z.ZodString;
|
|
@@ -2354,8 +2516,8 @@ export declare const waybillsRouter: {
|
|
|
2354
2516
|
}, "strip", z.ZodTypeAny, {
|
|
2355
2517
|
createdAt: string;
|
|
2356
2518
|
updatedAt: string;
|
|
2357
|
-
currency: string;
|
|
2358
2519
|
organizationId: string;
|
|
2520
|
+
currency: string;
|
|
2359
2521
|
items: {
|
|
2360
2522
|
description: string;
|
|
2361
2523
|
quantity: number;
|
|
@@ -2368,6 +2530,7 @@ export declare const waybillsRouter: {
|
|
|
2368
2530
|
issueDate: string;
|
|
2369
2531
|
senderName: string;
|
|
2370
2532
|
recipientName: string;
|
|
2533
|
+
farmId?: string | null | undefined;
|
|
2371
2534
|
notes?: string | null | undefined;
|
|
2372
2535
|
totalValue?: number | null | undefined;
|
|
2373
2536
|
senderAddress?: string | null | undefined;
|
|
@@ -2385,6 +2548,9 @@ export declare const waybillsRouter: {
|
|
|
2385
2548
|
transporterName?: string | null | undefined;
|
|
2386
2549
|
dispatchedLocation?: string | null | undefined;
|
|
2387
2550
|
receivedCondition?: string | null | undefined;
|
|
2551
|
+
receivedAt?: string | null | undefined;
|
|
2552
|
+
receivedByName?: string | null | undefined;
|
|
2553
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
2388
2554
|
}, {
|
|
2389
2555
|
createdAt: string;
|
|
2390
2556
|
updatedAt: string;
|
|
@@ -2401,6 +2567,7 @@ export declare const waybillsRouter: {
|
|
|
2401
2567
|
issueDate: string;
|
|
2402
2568
|
senderName: string;
|
|
2403
2569
|
recipientName: string;
|
|
2570
|
+
farmId?: string | null | undefined;
|
|
2404
2571
|
currency?: string | undefined;
|
|
2405
2572
|
notes?: string | null | undefined;
|
|
2406
2573
|
totalValue?: number | null | undefined;
|
|
@@ -2419,6 +2586,9 @@ export declare const waybillsRouter: {
|
|
|
2419
2586
|
transporterName?: string | null | undefined;
|
|
2420
2587
|
dispatchedLocation?: string | null | undefined;
|
|
2421
2588
|
receivedCondition?: string | null | undefined;
|
|
2589
|
+
receivedAt?: string | null | undefined;
|
|
2590
|
+
receivedByName?: string | null | undefined;
|
|
2591
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
2422
2592
|
}>;
|
|
2423
2593
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2424
2594
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -2429,8 +2599,8 @@ export declare const waybillsRouter: {
|
|
|
2429
2599
|
attributes: {
|
|
2430
2600
|
createdAt: string;
|
|
2431
2601
|
updatedAt: string;
|
|
2432
|
-
currency: string;
|
|
2433
2602
|
organizationId: string;
|
|
2603
|
+
currency: string;
|
|
2434
2604
|
items: {
|
|
2435
2605
|
description: string;
|
|
2436
2606
|
quantity: number;
|
|
@@ -2443,6 +2613,7 @@ export declare const waybillsRouter: {
|
|
|
2443
2613
|
issueDate: string;
|
|
2444
2614
|
senderName: string;
|
|
2445
2615
|
recipientName: string;
|
|
2616
|
+
farmId?: string | null | undefined;
|
|
2446
2617
|
notes?: string | null | undefined;
|
|
2447
2618
|
totalValue?: number | null | undefined;
|
|
2448
2619
|
senderAddress?: string | null | undefined;
|
|
@@ -2460,6 +2631,9 @@ export declare const waybillsRouter: {
|
|
|
2460
2631
|
transporterName?: string | null | undefined;
|
|
2461
2632
|
dispatchedLocation?: string | null | undefined;
|
|
2462
2633
|
receivedCondition?: string | null | undefined;
|
|
2634
|
+
receivedAt?: string | null | undefined;
|
|
2635
|
+
receivedByName?: string | null | undefined;
|
|
2636
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
2463
2637
|
};
|
|
2464
2638
|
relationships?: Record<string, unknown> | undefined;
|
|
2465
2639
|
links?: Record<string, string> | undefined;
|
|
@@ -2483,6 +2657,7 @@ export declare const waybillsRouter: {
|
|
|
2483
2657
|
issueDate: string;
|
|
2484
2658
|
senderName: string;
|
|
2485
2659
|
recipientName: string;
|
|
2660
|
+
farmId?: string | null | undefined;
|
|
2486
2661
|
currency?: string | undefined;
|
|
2487
2662
|
notes?: string | null | undefined;
|
|
2488
2663
|
totalValue?: number | null | undefined;
|
|
@@ -2501,6 +2676,9 @@ export declare const waybillsRouter: {
|
|
|
2501
2676
|
transporterName?: string | null | undefined;
|
|
2502
2677
|
dispatchedLocation?: string | null | undefined;
|
|
2503
2678
|
receivedCondition?: string | null | undefined;
|
|
2679
|
+
receivedAt?: string | null | undefined;
|
|
2680
|
+
receivedByName?: string | null | undefined;
|
|
2681
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
2504
2682
|
};
|
|
2505
2683
|
relationships?: Record<string, unknown> | undefined;
|
|
2506
2684
|
links?: Record<string, string> | undefined;
|
|
@@ -2537,8 +2715,8 @@ export declare const waybillsRouter: {
|
|
|
2537
2715
|
attributes: {
|
|
2538
2716
|
createdAt: string;
|
|
2539
2717
|
updatedAt: string;
|
|
2540
|
-
currency: string;
|
|
2541
2718
|
organizationId: string;
|
|
2719
|
+
currency: string;
|
|
2542
2720
|
items: {
|
|
2543
2721
|
description: string;
|
|
2544
2722
|
quantity: number;
|
|
@@ -2551,6 +2729,7 @@ export declare const waybillsRouter: {
|
|
|
2551
2729
|
issueDate: string;
|
|
2552
2730
|
senderName: string;
|
|
2553
2731
|
recipientName: string;
|
|
2732
|
+
farmId?: string | null | undefined;
|
|
2554
2733
|
notes?: string | null | undefined;
|
|
2555
2734
|
totalValue?: number | null | undefined;
|
|
2556
2735
|
senderAddress?: string | null | undefined;
|
|
@@ -2568,6 +2747,9 @@ export declare const waybillsRouter: {
|
|
|
2568
2747
|
transporterName?: string | null | undefined;
|
|
2569
2748
|
dispatchedLocation?: string | null | undefined;
|
|
2570
2749
|
receivedCondition?: string | null | undefined;
|
|
2750
|
+
receivedAt?: string | null | undefined;
|
|
2751
|
+
receivedByName?: string | null | undefined;
|
|
2752
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
2571
2753
|
};
|
|
2572
2754
|
relationships?: Record<string, unknown> | undefined;
|
|
2573
2755
|
links?: Record<string, string> | undefined;
|
|
@@ -2603,6 +2785,7 @@ export declare const waybillsRouter: {
|
|
|
2603
2785
|
issueDate: string;
|
|
2604
2786
|
senderName: string;
|
|
2605
2787
|
recipientName: string;
|
|
2788
|
+
farmId?: string | null | undefined;
|
|
2606
2789
|
currency?: string | undefined;
|
|
2607
2790
|
notes?: string | null | undefined;
|
|
2608
2791
|
totalValue?: number | null | undefined;
|
|
@@ -2621,6 +2804,9 @@ export declare const waybillsRouter: {
|
|
|
2621
2804
|
transporterName?: string | null | undefined;
|
|
2622
2805
|
dispatchedLocation?: string | null | undefined;
|
|
2623
2806
|
receivedCondition?: string | null | undefined;
|
|
2807
|
+
receivedAt?: string | null | undefined;
|
|
2808
|
+
receivedByName?: string | null | undefined;
|
|
2809
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
2624
2810
|
};
|
|
2625
2811
|
relationships?: Record<string, unknown> | undefined;
|
|
2626
2812
|
links?: Record<string, string> | undefined;
|
|
@@ -3065,6 +3251,10 @@ export declare const waybillsRouter: {
|
|
|
3065
3251
|
transporterName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3066
3252
|
dispatchedLocation: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3067
3253
|
receivedCondition: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3254
|
+
receivedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3255
|
+
receivedByName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3256
|
+
farmId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3257
|
+
commercialIntent: z.ZodNullable<z.ZodOptional<z.ZodEnum<["farm_sale", "trade"]>>>;
|
|
3068
3258
|
organizationId: z.ZodString;
|
|
3069
3259
|
} & {
|
|
3070
3260
|
createdAt: z.ZodString;
|
|
@@ -3072,8 +3262,8 @@ export declare const waybillsRouter: {
|
|
|
3072
3262
|
}, "strip", z.ZodTypeAny, {
|
|
3073
3263
|
createdAt: string;
|
|
3074
3264
|
updatedAt: string;
|
|
3075
|
-
currency: string;
|
|
3076
3265
|
organizationId: string;
|
|
3266
|
+
currency: string;
|
|
3077
3267
|
items: {
|
|
3078
3268
|
description: string;
|
|
3079
3269
|
quantity: number;
|
|
@@ -3086,6 +3276,7 @@ export declare const waybillsRouter: {
|
|
|
3086
3276
|
issueDate: string;
|
|
3087
3277
|
senderName: string;
|
|
3088
3278
|
recipientName: string;
|
|
3279
|
+
farmId?: string | null | undefined;
|
|
3089
3280
|
notes?: string | null | undefined;
|
|
3090
3281
|
totalValue?: number | null | undefined;
|
|
3091
3282
|
senderAddress?: string | null | undefined;
|
|
@@ -3103,6 +3294,9 @@ export declare const waybillsRouter: {
|
|
|
3103
3294
|
transporterName?: string | null | undefined;
|
|
3104
3295
|
dispatchedLocation?: string | null | undefined;
|
|
3105
3296
|
receivedCondition?: string | null | undefined;
|
|
3297
|
+
receivedAt?: string | null | undefined;
|
|
3298
|
+
receivedByName?: string | null | undefined;
|
|
3299
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
3106
3300
|
}, {
|
|
3107
3301
|
createdAt: string;
|
|
3108
3302
|
updatedAt: string;
|
|
@@ -3119,6 +3313,7 @@ export declare const waybillsRouter: {
|
|
|
3119
3313
|
issueDate: string;
|
|
3120
3314
|
senderName: string;
|
|
3121
3315
|
recipientName: string;
|
|
3316
|
+
farmId?: string | null | undefined;
|
|
3122
3317
|
currency?: string | undefined;
|
|
3123
3318
|
notes?: string | null | undefined;
|
|
3124
3319
|
totalValue?: number | null | undefined;
|
|
@@ -3137,6 +3332,9 @@ export declare const waybillsRouter: {
|
|
|
3137
3332
|
transporterName?: string | null | undefined;
|
|
3138
3333
|
dispatchedLocation?: string | null | undefined;
|
|
3139
3334
|
receivedCondition?: string | null | undefined;
|
|
3335
|
+
receivedAt?: string | null | undefined;
|
|
3336
|
+
receivedByName?: string | null | undefined;
|
|
3337
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
3140
3338
|
}>;
|
|
3141
3339
|
relationships: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3142
3340
|
links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -3147,8 +3345,8 @@ export declare const waybillsRouter: {
|
|
|
3147
3345
|
attributes: {
|
|
3148
3346
|
createdAt: string;
|
|
3149
3347
|
updatedAt: string;
|
|
3150
|
-
currency: string;
|
|
3151
3348
|
organizationId: string;
|
|
3349
|
+
currency: string;
|
|
3152
3350
|
items: {
|
|
3153
3351
|
description: string;
|
|
3154
3352
|
quantity: number;
|
|
@@ -3161,6 +3359,7 @@ export declare const waybillsRouter: {
|
|
|
3161
3359
|
issueDate: string;
|
|
3162
3360
|
senderName: string;
|
|
3163
3361
|
recipientName: string;
|
|
3362
|
+
farmId?: string | null | undefined;
|
|
3164
3363
|
notes?: string | null | undefined;
|
|
3165
3364
|
totalValue?: number | null | undefined;
|
|
3166
3365
|
senderAddress?: string | null | undefined;
|
|
@@ -3178,6 +3377,9 @@ export declare const waybillsRouter: {
|
|
|
3178
3377
|
transporterName?: string | null | undefined;
|
|
3179
3378
|
dispatchedLocation?: string | null | undefined;
|
|
3180
3379
|
receivedCondition?: string | null | undefined;
|
|
3380
|
+
receivedAt?: string | null | undefined;
|
|
3381
|
+
receivedByName?: string | null | undefined;
|
|
3382
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
3181
3383
|
};
|
|
3182
3384
|
relationships?: Record<string, unknown> | undefined;
|
|
3183
3385
|
links?: Record<string, string> | undefined;
|
|
@@ -3201,6 +3403,7 @@ export declare const waybillsRouter: {
|
|
|
3201
3403
|
issueDate: string;
|
|
3202
3404
|
senderName: string;
|
|
3203
3405
|
recipientName: string;
|
|
3406
|
+
farmId?: string | null | undefined;
|
|
3204
3407
|
currency?: string | undefined;
|
|
3205
3408
|
notes?: string | null | undefined;
|
|
3206
3409
|
totalValue?: number | null | undefined;
|
|
@@ -3219,6 +3422,9 @@ export declare const waybillsRouter: {
|
|
|
3219
3422
|
transporterName?: string | null | undefined;
|
|
3220
3423
|
dispatchedLocation?: string | null | undefined;
|
|
3221
3424
|
receivedCondition?: string | null | undefined;
|
|
3425
|
+
receivedAt?: string | null | undefined;
|
|
3426
|
+
receivedByName?: string | null | undefined;
|
|
3427
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
3222
3428
|
};
|
|
3223
3429
|
relationships?: Record<string, unknown> | undefined;
|
|
3224
3430
|
links?: Record<string, string> | undefined;
|
|
@@ -3255,8 +3461,8 @@ export declare const waybillsRouter: {
|
|
|
3255
3461
|
attributes: {
|
|
3256
3462
|
createdAt: string;
|
|
3257
3463
|
updatedAt: string;
|
|
3258
|
-
currency: string;
|
|
3259
3464
|
organizationId: string;
|
|
3465
|
+
currency: string;
|
|
3260
3466
|
items: {
|
|
3261
3467
|
description: string;
|
|
3262
3468
|
quantity: number;
|
|
@@ -3269,6 +3475,7 @@ export declare const waybillsRouter: {
|
|
|
3269
3475
|
issueDate: string;
|
|
3270
3476
|
senderName: string;
|
|
3271
3477
|
recipientName: string;
|
|
3478
|
+
farmId?: string | null | undefined;
|
|
3272
3479
|
notes?: string | null | undefined;
|
|
3273
3480
|
totalValue?: number | null | undefined;
|
|
3274
3481
|
senderAddress?: string | null | undefined;
|
|
@@ -3286,6 +3493,9 @@ export declare const waybillsRouter: {
|
|
|
3286
3493
|
transporterName?: string | null | undefined;
|
|
3287
3494
|
dispatchedLocation?: string | null | undefined;
|
|
3288
3495
|
receivedCondition?: string | null | undefined;
|
|
3496
|
+
receivedAt?: string | null | undefined;
|
|
3497
|
+
receivedByName?: string | null | undefined;
|
|
3498
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
3289
3499
|
};
|
|
3290
3500
|
relationships?: Record<string, unknown> | undefined;
|
|
3291
3501
|
links?: Record<string, string> | undefined;
|
|
@@ -3321,6 +3531,7 @@ export declare const waybillsRouter: {
|
|
|
3321
3531
|
issueDate: string;
|
|
3322
3532
|
senderName: string;
|
|
3323
3533
|
recipientName: string;
|
|
3534
|
+
farmId?: string | null | undefined;
|
|
3324
3535
|
currency?: string | undefined;
|
|
3325
3536
|
notes?: string | null | undefined;
|
|
3326
3537
|
totalValue?: number | null | undefined;
|
|
@@ -3339,6 +3550,9 @@ export declare const waybillsRouter: {
|
|
|
3339
3550
|
transporterName?: string | null | undefined;
|
|
3340
3551
|
dispatchedLocation?: string | null | undefined;
|
|
3341
3552
|
receivedCondition?: string | null | undefined;
|
|
3553
|
+
receivedAt?: string | null | undefined;
|
|
3554
|
+
receivedByName?: string | null | undefined;
|
|
3555
|
+
commercialIntent?: "trade" | "farm_sale" | null | undefined;
|
|
3342
3556
|
};
|
|
3343
3557
|
relationships?: Record<string, unknown> | undefined;
|
|
3344
3558
|
links?: Record<string, string> | undefined;
|