@deepintel-ltd/farmpro-contracts 1.16.15 → 1.18.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 +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/routes/accounting.routes.d.ts +13861 -0
- package/dist/routes/accounting.routes.d.ts.map +1 -0
- package/dist/routes/accounting.routes.js +448 -0
- package/dist/routes/commodity-deals.routes.d.ts +48 -48
- package/dist/routes/farms.routes.d.ts +523 -70
- package/dist/routes/farms.routes.d.ts.map +1 -1
- package/dist/routes/field-activities.routes.d.ts +32 -32
- package/dist/routes/finance.routes.d.ts +235 -38
- package/dist/routes/finance.routes.d.ts.map +1 -1
- package/dist/routes/index.d.ts +3 -0
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/index.js +2 -0
- package/dist/routes/live-monitor.routes.d.ts +4 -4
- package/dist/routes/monitoring-visualization.routes.d.ts +16 -10
- package/dist/routes/monitoring-visualization.routes.d.ts.map +1 -1
- package/dist/routes/payments.routes.d.ts +22 -22
- package/dist/routes/staff.routes.d.ts +36 -36
- package/dist/routes/subscriptions.routes.d.ts +52 -16
- package/dist/routes/subscriptions.routes.d.ts.map +1 -1
- package/dist/routes/subscriptions.routes.js +2 -1
- package/dist/schemas/accounting.schemas.d.ts +6002 -0
- package/dist/schemas/accounting.schemas.d.ts.map +1 -0
- package/dist/schemas/accounting.schemas.js +341 -0
- package/dist/schemas/commodity-deals.schemas.d.ts +24 -24
- package/dist/schemas/farms.schemas.d.ts +610 -84
- package/dist/schemas/farms.schemas.d.ts.map +1 -1
- package/dist/schemas/farms.schemas.js +25 -4
- package/dist/schemas/field-activities.schemas.d.ts +28 -28
- package/dist/schemas/finance.schemas.d.ts +304 -46
- package/dist/schemas/finance.schemas.d.ts.map +1 -1
- package/dist/schemas/finance.schemas.js +23 -9
- package/dist/schemas/live-monitor.schemas.d.ts +6 -6
- package/dist/schemas/locale.schemas.d.ts +98 -0
- package/dist/schemas/locale.schemas.d.ts.map +1 -0
- package/dist/schemas/locale.schemas.js +55 -0
- package/dist/schemas/monitoring-visualization.schemas.d.ts +43 -12
- package/dist/schemas/monitoring-visualization.schemas.d.ts.map +1 -1
- package/dist/schemas/monitoring-visualization.schemas.js +5 -1
- package/dist/schemas/payments.schemas.d.ts +22 -22
- package/dist/schemas/staff.schemas.d.ts +30 -30
- package/dist/schemas/subscriptions.schemas.d.ts +77 -13
- package/dist/schemas/subscriptions.schemas.d.ts.map +1 -1
- package/dist/schemas/subscriptions.schemas.js +11 -10
- package/package.json +1 -1
|
@@ -139,6 +139,7 @@ export declare const commodityDealsRouter: {
|
|
|
139
139
|
updatedAt: string;
|
|
140
140
|
currency: string;
|
|
141
141
|
notes: string | null;
|
|
142
|
+
invoiceId: string | null;
|
|
142
143
|
buyerName: string | null;
|
|
143
144
|
transportCost: number;
|
|
144
145
|
organizationId: string;
|
|
@@ -147,7 +148,6 @@ export declare const commodityDealsRouter: {
|
|
|
147
148
|
miscellaneousCost: number;
|
|
148
149
|
invoiceNumber: string | null;
|
|
149
150
|
waybillId: string;
|
|
150
|
-
invoiceId: string | null;
|
|
151
151
|
handlerUserId: string | null;
|
|
152
152
|
dealCapital: number | null;
|
|
153
153
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -186,6 +186,7 @@ export declare const commodityDealsRouter: {
|
|
|
186
186
|
createdAt: string;
|
|
187
187
|
updatedAt: string;
|
|
188
188
|
notes: string | null;
|
|
189
|
+
invoiceId: string | null;
|
|
189
190
|
buyerName: string | null;
|
|
190
191
|
transportCost: number;
|
|
191
192
|
organizationId: string;
|
|
@@ -194,7 +195,6 @@ export declare const commodityDealsRouter: {
|
|
|
194
195
|
miscellaneousCost: number;
|
|
195
196
|
invoiceNumber: string | null;
|
|
196
197
|
waybillId: string;
|
|
197
|
-
invoiceId: string | null;
|
|
198
198
|
handlerUserId: string | null;
|
|
199
199
|
dealCapital: number | null;
|
|
200
200
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -242,6 +242,7 @@ export declare const commodityDealsRouter: {
|
|
|
242
242
|
updatedAt: string;
|
|
243
243
|
currency: string;
|
|
244
244
|
notes: string | null;
|
|
245
|
+
invoiceId: string | null;
|
|
245
246
|
buyerName: string | null;
|
|
246
247
|
transportCost: number;
|
|
247
248
|
organizationId: string;
|
|
@@ -250,7 +251,6 @@ export declare const commodityDealsRouter: {
|
|
|
250
251
|
miscellaneousCost: number;
|
|
251
252
|
invoiceNumber: string | null;
|
|
252
253
|
waybillId: string;
|
|
253
|
-
invoiceId: string | null;
|
|
254
254
|
handlerUserId: string | null;
|
|
255
255
|
dealCapital: number | null;
|
|
256
256
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -296,6 +296,7 @@ export declare const commodityDealsRouter: {
|
|
|
296
296
|
createdAt: string;
|
|
297
297
|
updatedAt: string;
|
|
298
298
|
notes: string | null;
|
|
299
|
+
invoiceId: string | null;
|
|
299
300
|
buyerName: string | null;
|
|
300
301
|
transportCost: number;
|
|
301
302
|
organizationId: string;
|
|
@@ -304,7 +305,6 @@ export declare const commodityDealsRouter: {
|
|
|
304
305
|
miscellaneousCost: number;
|
|
305
306
|
invoiceNumber: string | null;
|
|
306
307
|
waybillId: string;
|
|
307
|
-
invoiceId: string | null;
|
|
308
308
|
handlerUserId: string | null;
|
|
309
309
|
dealCapital: number | null;
|
|
310
310
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -378,6 +378,7 @@ export declare const commodityDealsRouter: {
|
|
|
378
378
|
updatedAt: string;
|
|
379
379
|
currency: string;
|
|
380
380
|
notes: string | null;
|
|
381
|
+
invoiceId: string | null;
|
|
381
382
|
buyerName: string | null;
|
|
382
383
|
transportCost: number;
|
|
383
384
|
organizationId: string;
|
|
@@ -386,7 +387,6 @@ export declare const commodityDealsRouter: {
|
|
|
386
387
|
miscellaneousCost: number;
|
|
387
388
|
invoiceNumber: string | null;
|
|
388
389
|
waybillId: string;
|
|
389
|
-
invoiceId: string | null;
|
|
390
390
|
handlerUserId: string | null;
|
|
391
391
|
dealCapital: number | null;
|
|
392
392
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -444,6 +444,7 @@ export declare const commodityDealsRouter: {
|
|
|
444
444
|
createdAt: string;
|
|
445
445
|
updatedAt: string;
|
|
446
446
|
notes: string | null;
|
|
447
|
+
invoiceId: string | null;
|
|
447
448
|
buyerName: string | null;
|
|
448
449
|
transportCost: number;
|
|
449
450
|
organizationId: string;
|
|
@@ -452,7 +453,6 @@ export declare const commodityDealsRouter: {
|
|
|
452
453
|
miscellaneousCost: number;
|
|
453
454
|
invoiceNumber: string | null;
|
|
454
455
|
waybillId: string;
|
|
455
|
-
invoiceId: string | null;
|
|
456
456
|
handlerUserId: string | null;
|
|
457
457
|
dealCapital: number | null;
|
|
458
458
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -2001,6 +2001,7 @@ export declare const commodityDealsRouter: {
|
|
|
2001
2001
|
updatedAt: string;
|
|
2002
2002
|
currency: string;
|
|
2003
2003
|
notes: string | null;
|
|
2004
|
+
invoiceId: string | null;
|
|
2004
2005
|
buyerName: string | null;
|
|
2005
2006
|
transportCost: number;
|
|
2006
2007
|
organizationId: string;
|
|
@@ -2009,7 +2010,6 @@ export declare const commodityDealsRouter: {
|
|
|
2009
2010
|
miscellaneousCost: number;
|
|
2010
2011
|
invoiceNumber: string | null;
|
|
2011
2012
|
waybillId: string;
|
|
2012
|
-
invoiceId: string | null;
|
|
2013
2013
|
handlerUserId: string | null;
|
|
2014
2014
|
dealCapital: number | null;
|
|
2015
2015
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -2048,6 +2048,7 @@ export declare const commodityDealsRouter: {
|
|
|
2048
2048
|
createdAt: string;
|
|
2049
2049
|
updatedAt: string;
|
|
2050
2050
|
notes: string | null;
|
|
2051
|
+
invoiceId: string | null;
|
|
2051
2052
|
buyerName: string | null;
|
|
2052
2053
|
transportCost: number;
|
|
2053
2054
|
organizationId: string;
|
|
@@ -2056,7 +2057,6 @@ export declare const commodityDealsRouter: {
|
|
|
2056
2057
|
miscellaneousCost: number;
|
|
2057
2058
|
invoiceNumber: string | null;
|
|
2058
2059
|
waybillId: string;
|
|
2059
|
-
invoiceId: string | null;
|
|
2060
2060
|
handlerUserId: string | null;
|
|
2061
2061
|
dealCapital: number | null;
|
|
2062
2062
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -2104,6 +2104,7 @@ export declare const commodityDealsRouter: {
|
|
|
2104
2104
|
updatedAt: string;
|
|
2105
2105
|
currency: string;
|
|
2106
2106
|
notes: string | null;
|
|
2107
|
+
invoiceId: string | null;
|
|
2107
2108
|
buyerName: string | null;
|
|
2108
2109
|
transportCost: number;
|
|
2109
2110
|
organizationId: string;
|
|
@@ -2112,7 +2113,6 @@ export declare const commodityDealsRouter: {
|
|
|
2112
2113
|
miscellaneousCost: number;
|
|
2113
2114
|
invoiceNumber: string | null;
|
|
2114
2115
|
waybillId: string;
|
|
2115
|
-
invoiceId: string | null;
|
|
2116
2116
|
handlerUserId: string | null;
|
|
2117
2117
|
dealCapital: number | null;
|
|
2118
2118
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -2158,6 +2158,7 @@ export declare const commodityDealsRouter: {
|
|
|
2158
2158
|
createdAt: string;
|
|
2159
2159
|
updatedAt: string;
|
|
2160
2160
|
notes: string | null;
|
|
2161
|
+
invoiceId: string | null;
|
|
2161
2162
|
buyerName: string | null;
|
|
2162
2163
|
transportCost: number;
|
|
2163
2164
|
organizationId: string;
|
|
@@ -2166,7 +2167,6 @@ export declare const commodityDealsRouter: {
|
|
|
2166
2167
|
miscellaneousCost: number;
|
|
2167
2168
|
invoiceNumber: string | null;
|
|
2168
2169
|
waybillId: string;
|
|
2169
|
-
invoiceId: string | null;
|
|
2170
2170
|
handlerUserId: string | null;
|
|
2171
2171
|
dealCapital: number | null;
|
|
2172
2172
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -2240,6 +2240,7 @@ export declare const commodityDealsRouter: {
|
|
|
2240
2240
|
updatedAt: string;
|
|
2241
2241
|
currency: string;
|
|
2242
2242
|
notes: string | null;
|
|
2243
|
+
invoiceId: string | null;
|
|
2243
2244
|
buyerName: string | null;
|
|
2244
2245
|
transportCost: number;
|
|
2245
2246
|
organizationId: string;
|
|
@@ -2248,7 +2249,6 @@ export declare const commodityDealsRouter: {
|
|
|
2248
2249
|
miscellaneousCost: number;
|
|
2249
2250
|
invoiceNumber: string | null;
|
|
2250
2251
|
waybillId: string;
|
|
2251
|
-
invoiceId: string | null;
|
|
2252
2252
|
handlerUserId: string | null;
|
|
2253
2253
|
dealCapital: number | null;
|
|
2254
2254
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -2306,6 +2306,7 @@ export declare const commodityDealsRouter: {
|
|
|
2306
2306
|
createdAt: string;
|
|
2307
2307
|
updatedAt: string;
|
|
2308
2308
|
notes: string | null;
|
|
2309
|
+
invoiceId: string | null;
|
|
2309
2310
|
buyerName: string | null;
|
|
2310
2311
|
transportCost: number;
|
|
2311
2312
|
organizationId: string;
|
|
@@ -2314,7 +2315,6 @@ export declare const commodityDealsRouter: {
|
|
|
2314
2315
|
miscellaneousCost: number;
|
|
2315
2316
|
invoiceNumber: string | null;
|
|
2316
2317
|
waybillId: string;
|
|
2317
|
-
invoiceId: string | null;
|
|
2318
2318
|
handlerUserId: string | null;
|
|
2319
2319
|
dealCapital: number | null;
|
|
2320
2320
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -2774,6 +2774,7 @@ export declare const commodityDealsRouter: {
|
|
|
2774
2774
|
updatedAt: string;
|
|
2775
2775
|
currency: string;
|
|
2776
2776
|
notes: string | null;
|
|
2777
|
+
invoiceId: string | null;
|
|
2777
2778
|
buyerName: string | null;
|
|
2778
2779
|
transportCost: number;
|
|
2779
2780
|
organizationId: string;
|
|
@@ -2782,7 +2783,6 @@ export declare const commodityDealsRouter: {
|
|
|
2782
2783
|
miscellaneousCost: number;
|
|
2783
2784
|
invoiceNumber: string | null;
|
|
2784
2785
|
waybillId: string;
|
|
2785
|
-
invoiceId: string | null;
|
|
2786
2786
|
handlerUserId: string | null;
|
|
2787
2787
|
dealCapital: number | null;
|
|
2788
2788
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -2821,6 +2821,7 @@ export declare const commodityDealsRouter: {
|
|
|
2821
2821
|
createdAt: string;
|
|
2822
2822
|
updatedAt: string;
|
|
2823
2823
|
notes: string | null;
|
|
2824
|
+
invoiceId: string | null;
|
|
2824
2825
|
buyerName: string | null;
|
|
2825
2826
|
transportCost: number;
|
|
2826
2827
|
organizationId: string;
|
|
@@ -2829,7 +2830,6 @@ export declare const commodityDealsRouter: {
|
|
|
2829
2830
|
miscellaneousCost: number;
|
|
2830
2831
|
invoiceNumber: string | null;
|
|
2831
2832
|
waybillId: string;
|
|
2832
|
-
invoiceId: string | null;
|
|
2833
2833
|
handlerUserId: string | null;
|
|
2834
2834
|
dealCapital: number | null;
|
|
2835
2835
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -2877,6 +2877,7 @@ export declare const commodityDealsRouter: {
|
|
|
2877
2877
|
updatedAt: string;
|
|
2878
2878
|
currency: string;
|
|
2879
2879
|
notes: string | null;
|
|
2880
|
+
invoiceId: string | null;
|
|
2880
2881
|
buyerName: string | null;
|
|
2881
2882
|
transportCost: number;
|
|
2882
2883
|
organizationId: string;
|
|
@@ -2885,7 +2886,6 @@ export declare const commodityDealsRouter: {
|
|
|
2885
2886
|
miscellaneousCost: number;
|
|
2886
2887
|
invoiceNumber: string | null;
|
|
2887
2888
|
waybillId: string;
|
|
2888
|
-
invoiceId: string | null;
|
|
2889
2889
|
handlerUserId: string | null;
|
|
2890
2890
|
dealCapital: number | null;
|
|
2891
2891
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -2931,6 +2931,7 @@ export declare const commodityDealsRouter: {
|
|
|
2931
2931
|
createdAt: string;
|
|
2932
2932
|
updatedAt: string;
|
|
2933
2933
|
notes: string | null;
|
|
2934
|
+
invoiceId: string | null;
|
|
2934
2935
|
buyerName: string | null;
|
|
2935
2936
|
transportCost: number;
|
|
2936
2937
|
organizationId: string;
|
|
@@ -2939,7 +2940,6 @@ export declare const commodityDealsRouter: {
|
|
|
2939
2940
|
miscellaneousCost: number;
|
|
2940
2941
|
invoiceNumber: string | null;
|
|
2941
2942
|
waybillId: string;
|
|
2942
|
-
invoiceId: string | null;
|
|
2943
2943
|
handlerUserId: string | null;
|
|
2944
2944
|
dealCapital: number | null;
|
|
2945
2945
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -3013,6 +3013,7 @@ export declare const commodityDealsRouter: {
|
|
|
3013
3013
|
updatedAt: string;
|
|
3014
3014
|
currency: string;
|
|
3015
3015
|
notes: string | null;
|
|
3016
|
+
invoiceId: string | null;
|
|
3016
3017
|
buyerName: string | null;
|
|
3017
3018
|
transportCost: number;
|
|
3018
3019
|
organizationId: string;
|
|
@@ -3021,7 +3022,6 @@ export declare const commodityDealsRouter: {
|
|
|
3021
3022
|
miscellaneousCost: number;
|
|
3022
3023
|
invoiceNumber: string | null;
|
|
3023
3024
|
waybillId: string;
|
|
3024
|
-
invoiceId: string | null;
|
|
3025
3025
|
handlerUserId: string | null;
|
|
3026
3026
|
dealCapital: number | null;
|
|
3027
3027
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -3079,6 +3079,7 @@ export declare const commodityDealsRouter: {
|
|
|
3079
3079
|
createdAt: string;
|
|
3080
3080
|
updatedAt: string;
|
|
3081
3081
|
notes: string | null;
|
|
3082
|
+
invoiceId: string | null;
|
|
3082
3083
|
buyerName: string | null;
|
|
3083
3084
|
transportCost: number;
|
|
3084
3085
|
organizationId: string;
|
|
@@ -3087,7 +3088,6 @@ export declare const commodityDealsRouter: {
|
|
|
3087
3088
|
miscellaneousCost: number;
|
|
3088
3089
|
invoiceNumber: string | null;
|
|
3089
3090
|
waybillId: string;
|
|
3090
|
-
invoiceId: string | null;
|
|
3091
3091
|
handlerUserId: string | null;
|
|
3092
3092
|
dealCapital: number | null;
|
|
3093
3093
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -3624,10 +3624,10 @@ export declare const commodityDealsRouter: {
|
|
|
3624
3624
|
status?: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced" | undefined;
|
|
3625
3625
|
currency?: string | undefined;
|
|
3626
3626
|
notes?: string | null | undefined;
|
|
3627
|
+
invoiceId?: string | undefined;
|
|
3627
3628
|
transportCost?: number | undefined;
|
|
3628
3629
|
purchaseCost?: number | undefined;
|
|
3629
3630
|
miscellaneousCost?: number | undefined;
|
|
3630
|
-
invoiceId?: string | undefined;
|
|
3631
3631
|
handlerUserId?: string | null | undefined;
|
|
3632
3632
|
dealCapital?: number | null | undefined;
|
|
3633
3633
|
companyFeeMode?: "percent_of_invoice" | "per_kg" | null | undefined;
|
|
@@ -3637,10 +3637,10 @@ export declare const commodityDealsRouter: {
|
|
|
3637
3637
|
status?: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced" | undefined;
|
|
3638
3638
|
currency?: string | undefined;
|
|
3639
3639
|
notes?: string | null | undefined;
|
|
3640
|
+
invoiceId?: string | undefined;
|
|
3640
3641
|
transportCost?: number | undefined;
|
|
3641
3642
|
purchaseCost?: number | undefined;
|
|
3642
3643
|
miscellaneousCost?: number | undefined;
|
|
3643
|
-
invoiceId?: string | undefined;
|
|
3644
3644
|
handlerUserId?: string | null | undefined;
|
|
3645
3645
|
dealCapital?: number | null | undefined;
|
|
3646
3646
|
companyFeeMode?: "percent_of_invoice" | "per_kg" | null | undefined;
|
|
@@ -3653,10 +3653,10 @@ export declare const commodityDealsRouter: {
|
|
|
3653
3653
|
status?: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced" | undefined;
|
|
3654
3654
|
currency?: string | undefined;
|
|
3655
3655
|
notes?: string | null | undefined;
|
|
3656
|
+
invoiceId?: string | undefined;
|
|
3656
3657
|
transportCost?: number | undefined;
|
|
3657
3658
|
purchaseCost?: number | undefined;
|
|
3658
3659
|
miscellaneousCost?: number | undefined;
|
|
3659
|
-
invoiceId?: string | undefined;
|
|
3660
3660
|
handlerUserId?: string | null | undefined;
|
|
3661
3661
|
dealCapital?: number | null | undefined;
|
|
3662
3662
|
companyFeeMode?: "percent_of_invoice" | "per_kg" | null | undefined;
|
|
@@ -3670,10 +3670,10 @@ export declare const commodityDealsRouter: {
|
|
|
3670
3670
|
status?: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced" | undefined;
|
|
3671
3671
|
currency?: string | undefined;
|
|
3672
3672
|
notes?: string | null | undefined;
|
|
3673
|
+
invoiceId?: string | undefined;
|
|
3673
3674
|
transportCost?: number | undefined;
|
|
3674
3675
|
purchaseCost?: number | undefined;
|
|
3675
3676
|
miscellaneousCost?: number | undefined;
|
|
3676
|
-
invoiceId?: string | undefined;
|
|
3677
3677
|
handlerUserId?: string | null | undefined;
|
|
3678
3678
|
dealCapital?: number | null | undefined;
|
|
3679
3679
|
companyFeeMode?: "percent_of_invoice" | "per_kg" | null | undefined;
|
|
@@ -3689,10 +3689,10 @@ export declare const commodityDealsRouter: {
|
|
|
3689
3689
|
status?: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced" | undefined;
|
|
3690
3690
|
currency?: string | undefined;
|
|
3691
3691
|
notes?: string | null | undefined;
|
|
3692
|
+
invoiceId?: string | undefined;
|
|
3692
3693
|
transportCost?: number | undefined;
|
|
3693
3694
|
purchaseCost?: number | undefined;
|
|
3694
3695
|
miscellaneousCost?: number | undefined;
|
|
3695
|
-
invoiceId?: string | undefined;
|
|
3696
3696
|
handlerUserId?: string | null | undefined;
|
|
3697
3697
|
dealCapital?: number | null | undefined;
|
|
3698
3698
|
companyFeeMode?: "percent_of_invoice" | "per_kg" | null | undefined;
|
|
@@ -3708,10 +3708,10 @@ export declare const commodityDealsRouter: {
|
|
|
3708
3708
|
status?: "cancelled" | "paid" | "draft" | "in_transit" | "invoiced" | undefined;
|
|
3709
3709
|
currency?: string | undefined;
|
|
3710
3710
|
notes?: string | null | undefined;
|
|
3711
|
+
invoiceId?: string | undefined;
|
|
3711
3712
|
transportCost?: number | undefined;
|
|
3712
3713
|
purchaseCost?: number | undefined;
|
|
3713
3714
|
miscellaneousCost?: number | undefined;
|
|
3714
|
-
invoiceId?: string | undefined;
|
|
3715
3715
|
handlerUserId?: string | null | undefined;
|
|
3716
3716
|
dealCapital?: number | null | undefined;
|
|
3717
3717
|
companyFeeMode?: "percent_of_invoice" | "per_kg" | null | undefined;
|
|
@@ -3832,6 +3832,7 @@ export declare const commodityDealsRouter: {
|
|
|
3832
3832
|
updatedAt: string;
|
|
3833
3833
|
currency: string;
|
|
3834
3834
|
notes: string | null;
|
|
3835
|
+
invoiceId: string | null;
|
|
3835
3836
|
buyerName: string | null;
|
|
3836
3837
|
transportCost: number;
|
|
3837
3838
|
organizationId: string;
|
|
@@ -3840,7 +3841,6 @@ export declare const commodityDealsRouter: {
|
|
|
3840
3841
|
miscellaneousCost: number;
|
|
3841
3842
|
invoiceNumber: string | null;
|
|
3842
3843
|
waybillId: string;
|
|
3843
|
-
invoiceId: string | null;
|
|
3844
3844
|
handlerUserId: string | null;
|
|
3845
3845
|
dealCapital: number | null;
|
|
3846
3846
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -3879,6 +3879,7 @@ export declare const commodityDealsRouter: {
|
|
|
3879
3879
|
createdAt: string;
|
|
3880
3880
|
updatedAt: string;
|
|
3881
3881
|
notes: string | null;
|
|
3882
|
+
invoiceId: string | null;
|
|
3882
3883
|
buyerName: string | null;
|
|
3883
3884
|
transportCost: number;
|
|
3884
3885
|
organizationId: string;
|
|
@@ -3887,7 +3888,6 @@ export declare const commodityDealsRouter: {
|
|
|
3887
3888
|
miscellaneousCost: number;
|
|
3888
3889
|
invoiceNumber: string | null;
|
|
3889
3890
|
waybillId: string;
|
|
3890
|
-
invoiceId: string | null;
|
|
3891
3891
|
handlerUserId: string | null;
|
|
3892
3892
|
dealCapital: number | null;
|
|
3893
3893
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -3935,6 +3935,7 @@ export declare const commodityDealsRouter: {
|
|
|
3935
3935
|
updatedAt: string;
|
|
3936
3936
|
currency: string;
|
|
3937
3937
|
notes: string | null;
|
|
3938
|
+
invoiceId: string | null;
|
|
3938
3939
|
buyerName: string | null;
|
|
3939
3940
|
transportCost: number;
|
|
3940
3941
|
organizationId: string;
|
|
@@ -3943,7 +3944,6 @@ export declare const commodityDealsRouter: {
|
|
|
3943
3944
|
miscellaneousCost: number;
|
|
3944
3945
|
invoiceNumber: string | null;
|
|
3945
3946
|
waybillId: string;
|
|
3946
|
-
invoiceId: string | null;
|
|
3947
3947
|
handlerUserId: string | null;
|
|
3948
3948
|
dealCapital: number | null;
|
|
3949
3949
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -3989,6 +3989,7 @@ export declare const commodityDealsRouter: {
|
|
|
3989
3989
|
createdAt: string;
|
|
3990
3990
|
updatedAt: string;
|
|
3991
3991
|
notes: string | null;
|
|
3992
|
+
invoiceId: string | null;
|
|
3992
3993
|
buyerName: string | null;
|
|
3993
3994
|
transportCost: number;
|
|
3994
3995
|
organizationId: string;
|
|
@@ -3997,7 +3998,6 @@ export declare const commodityDealsRouter: {
|
|
|
3997
3998
|
miscellaneousCost: number;
|
|
3998
3999
|
invoiceNumber: string | null;
|
|
3999
4000
|
waybillId: string;
|
|
4000
|
-
invoiceId: string | null;
|
|
4001
4001
|
handlerUserId: string | null;
|
|
4002
4002
|
dealCapital: number | null;
|
|
4003
4003
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -4071,6 +4071,7 @@ export declare const commodityDealsRouter: {
|
|
|
4071
4071
|
updatedAt: string;
|
|
4072
4072
|
currency: string;
|
|
4073
4073
|
notes: string | null;
|
|
4074
|
+
invoiceId: string | null;
|
|
4074
4075
|
buyerName: string | null;
|
|
4075
4076
|
transportCost: number;
|
|
4076
4077
|
organizationId: string;
|
|
@@ -4079,7 +4080,6 @@ export declare const commodityDealsRouter: {
|
|
|
4079
4080
|
miscellaneousCost: number;
|
|
4080
4081
|
invoiceNumber: string | null;
|
|
4081
4082
|
waybillId: string;
|
|
4082
|
-
invoiceId: string | null;
|
|
4083
4083
|
handlerUserId: string | null;
|
|
4084
4084
|
dealCapital: number | null;
|
|
4085
4085
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -4137,6 +4137,7 @@ export declare const commodityDealsRouter: {
|
|
|
4137
4137
|
createdAt: string;
|
|
4138
4138
|
updatedAt: string;
|
|
4139
4139
|
notes: string | null;
|
|
4140
|
+
invoiceId: string | null;
|
|
4140
4141
|
buyerName: string | null;
|
|
4141
4142
|
transportCost: number;
|
|
4142
4143
|
organizationId: string;
|
|
@@ -4145,7 +4146,6 @@ export declare const commodityDealsRouter: {
|
|
|
4145
4146
|
miscellaneousCost: number;
|
|
4146
4147
|
invoiceNumber: string | null;
|
|
4147
4148
|
waybillId: string;
|
|
4148
|
-
invoiceId: string | null;
|
|
4149
4149
|
handlerUserId: string | null;
|
|
4150
4150
|
dealCapital: number | null;
|
|
4151
4151
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -4815,6 +4815,7 @@ export declare const commodityDealsRouter: {
|
|
|
4815
4815
|
updatedAt: string;
|
|
4816
4816
|
currency: string;
|
|
4817
4817
|
notes: string | null;
|
|
4818
|
+
invoiceId: string | null;
|
|
4818
4819
|
buyerName: string | null;
|
|
4819
4820
|
transportCost: number;
|
|
4820
4821
|
organizationId: string;
|
|
@@ -4823,7 +4824,6 @@ export declare const commodityDealsRouter: {
|
|
|
4823
4824
|
miscellaneousCost: number;
|
|
4824
4825
|
invoiceNumber: string | null;
|
|
4825
4826
|
waybillId: string;
|
|
4826
|
-
invoiceId: string | null;
|
|
4827
4827
|
handlerUserId: string | null;
|
|
4828
4828
|
dealCapital: number | null;
|
|
4829
4829
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -4862,6 +4862,7 @@ export declare const commodityDealsRouter: {
|
|
|
4862
4862
|
createdAt: string;
|
|
4863
4863
|
updatedAt: string;
|
|
4864
4864
|
notes: string | null;
|
|
4865
|
+
invoiceId: string | null;
|
|
4865
4866
|
buyerName: string | null;
|
|
4866
4867
|
transportCost: number;
|
|
4867
4868
|
organizationId: string;
|
|
@@ -4870,7 +4871,6 @@ export declare const commodityDealsRouter: {
|
|
|
4870
4871
|
miscellaneousCost: number;
|
|
4871
4872
|
invoiceNumber: string | null;
|
|
4872
4873
|
waybillId: string;
|
|
4873
|
-
invoiceId: string | null;
|
|
4874
4874
|
handlerUserId: string | null;
|
|
4875
4875
|
dealCapital: number | null;
|
|
4876
4876
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -4918,6 +4918,7 @@ export declare const commodityDealsRouter: {
|
|
|
4918
4918
|
updatedAt: string;
|
|
4919
4919
|
currency: string;
|
|
4920
4920
|
notes: string | null;
|
|
4921
|
+
invoiceId: string | null;
|
|
4921
4922
|
buyerName: string | null;
|
|
4922
4923
|
transportCost: number;
|
|
4923
4924
|
organizationId: string;
|
|
@@ -4926,7 +4927,6 @@ export declare const commodityDealsRouter: {
|
|
|
4926
4927
|
miscellaneousCost: number;
|
|
4927
4928
|
invoiceNumber: string | null;
|
|
4928
4929
|
waybillId: string;
|
|
4929
|
-
invoiceId: string | null;
|
|
4930
4930
|
handlerUserId: string | null;
|
|
4931
4931
|
dealCapital: number | null;
|
|
4932
4932
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -4972,6 +4972,7 @@ export declare const commodityDealsRouter: {
|
|
|
4972
4972
|
createdAt: string;
|
|
4973
4973
|
updatedAt: string;
|
|
4974
4974
|
notes: string | null;
|
|
4975
|
+
invoiceId: string | null;
|
|
4975
4976
|
buyerName: string | null;
|
|
4976
4977
|
transportCost: number;
|
|
4977
4978
|
organizationId: string;
|
|
@@ -4980,7 +4981,6 @@ export declare const commodityDealsRouter: {
|
|
|
4980
4981
|
miscellaneousCost: number;
|
|
4981
4982
|
invoiceNumber: string | null;
|
|
4982
4983
|
waybillId: string;
|
|
4983
|
-
invoiceId: string | null;
|
|
4984
4984
|
handlerUserId: string | null;
|
|
4985
4985
|
dealCapital: number | null;
|
|
4986
4986
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -5054,6 +5054,7 @@ export declare const commodityDealsRouter: {
|
|
|
5054
5054
|
updatedAt: string;
|
|
5055
5055
|
currency: string;
|
|
5056
5056
|
notes: string | null;
|
|
5057
|
+
invoiceId: string | null;
|
|
5057
5058
|
buyerName: string | null;
|
|
5058
5059
|
transportCost: number;
|
|
5059
5060
|
organizationId: string;
|
|
@@ -5062,7 +5063,6 @@ export declare const commodityDealsRouter: {
|
|
|
5062
5063
|
miscellaneousCost: number;
|
|
5063
5064
|
invoiceNumber: string | null;
|
|
5064
5065
|
waybillId: string;
|
|
5065
|
-
invoiceId: string | null;
|
|
5066
5066
|
handlerUserId: string | null;
|
|
5067
5067
|
dealCapital: number | null;
|
|
5068
5068
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -5120,6 +5120,7 @@ export declare const commodityDealsRouter: {
|
|
|
5120
5120
|
createdAt: string;
|
|
5121
5121
|
updatedAt: string;
|
|
5122
5122
|
notes: string | null;
|
|
5123
|
+
invoiceId: string | null;
|
|
5123
5124
|
buyerName: string | null;
|
|
5124
5125
|
transportCost: number;
|
|
5125
5126
|
organizationId: string;
|
|
@@ -5128,7 +5129,6 @@ export declare const commodityDealsRouter: {
|
|
|
5128
5129
|
miscellaneousCost: number;
|
|
5129
5130
|
invoiceNumber: string | null;
|
|
5130
5131
|
waybillId: string;
|
|
5131
|
-
invoiceId: string | null;
|
|
5132
5132
|
handlerUserId: string | null;
|
|
5133
5133
|
dealCapital: number | null;
|
|
5134
5134
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -5799,6 +5799,7 @@ export declare const commodityDealsRouter: {
|
|
|
5799
5799
|
updatedAt: string;
|
|
5800
5800
|
currency: string;
|
|
5801
5801
|
notes: string | null;
|
|
5802
|
+
invoiceId: string | null;
|
|
5802
5803
|
buyerName: string | null;
|
|
5803
5804
|
transportCost: number;
|
|
5804
5805
|
organizationId: string;
|
|
@@ -5807,7 +5808,6 @@ export declare const commodityDealsRouter: {
|
|
|
5807
5808
|
miscellaneousCost: number;
|
|
5808
5809
|
invoiceNumber: string | null;
|
|
5809
5810
|
waybillId: string;
|
|
5810
|
-
invoiceId: string | null;
|
|
5811
5811
|
handlerUserId: string | null;
|
|
5812
5812
|
dealCapital: number | null;
|
|
5813
5813
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -5846,6 +5846,7 @@ export declare const commodityDealsRouter: {
|
|
|
5846
5846
|
createdAt: string;
|
|
5847
5847
|
updatedAt: string;
|
|
5848
5848
|
notes: string | null;
|
|
5849
|
+
invoiceId: string | null;
|
|
5849
5850
|
buyerName: string | null;
|
|
5850
5851
|
transportCost: number;
|
|
5851
5852
|
organizationId: string;
|
|
@@ -5854,7 +5855,6 @@ export declare const commodityDealsRouter: {
|
|
|
5854
5855
|
miscellaneousCost: number;
|
|
5855
5856
|
invoiceNumber: string | null;
|
|
5856
5857
|
waybillId: string;
|
|
5857
|
-
invoiceId: string | null;
|
|
5858
5858
|
handlerUserId: string | null;
|
|
5859
5859
|
dealCapital: number | null;
|
|
5860
5860
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -5902,6 +5902,7 @@ export declare const commodityDealsRouter: {
|
|
|
5902
5902
|
updatedAt: string;
|
|
5903
5903
|
currency: string;
|
|
5904
5904
|
notes: string | null;
|
|
5905
|
+
invoiceId: string | null;
|
|
5905
5906
|
buyerName: string | null;
|
|
5906
5907
|
transportCost: number;
|
|
5907
5908
|
organizationId: string;
|
|
@@ -5910,7 +5911,6 @@ export declare const commodityDealsRouter: {
|
|
|
5910
5911
|
miscellaneousCost: number;
|
|
5911
5912
|
invoiceNumber: string | null;
|
|
5912
5913
|
waybillId: string;
|
|
5913
|
-
invoiceId: string | null;
|
|
5914
5914
|
handlerUserId: string | null;
|
|
5915
5915
|
dealCapital: number | null;
|
|
5916
5916
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -5956,6 +5956,7 @@ export declare const commodityDealsRouter: {
|
|
|
5956
5956
|
createdAt: string;
|
|
5957
5957
|
updatedAt: string;
|
|
5958
5958
|
notes: string | null;
|
|
5959
|
+
invoiceId: string | null;
|
|
5959
5960
|
buyerName: string | null;
|
|
5960
5961
|
transportCost: number;
|
|
5961
5962
|
organizationId: string;
|
|
@@ -5964,7 +5965,6 @@ export declare const commodityDealsRouter: {
|
|
|
5964
5965
|
miscellaneousCost: number;
|
|
5965
5966
|
invoiceNumber: string | null;
|
|
5966
5967
|
waybillId: string;
|
|
5967
|
-
invoiceId: string | null;
|
|
5968
5968
|
handlerUserId: string | null;
|
|
5969
5969
|
dealCapital: number | null;
|
|
5970
5970
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -6038,6 +6038,7 @@ export declare const commodityDealsRouter: {
|
|
|
6038
6038
|
updatedAt: string;
|
|
6039
6039
|
currency: string;
|
|
6040
6040
|
notes: string | null;
|
|
6041
|
+
invoiceId: string | null;
|
|
6041
6042
|
buyerName: string | null;
|
|
6042
6043
|
transportCost: number;
|
|
6043
6044
|
organizationId: string;
|
|
@@ -6046,7 +6047,6 @@ export declare const commodityDealsRouter: {
|
|
|
6046
6047
|
miscellaneousCost: number;
|
|
6047
6048
|
invoiceNumber: string | null;
|
|
6048
6049
|
waybillId: string;
|
|
6049
|
-
invoiceId: string | null;
|
|
6050
6050
|
handlerUserId: string | null;
|
|
6051
6051
|
dealCapital: number | null;
|
|
6052
6052
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -6104,6 +6104,7 @@ export declare const commodityDealsRouter: {
|
|
|
6104
6104
|
createdAt: string;
|
|
6105
6105
|
updatedAt: string;
|
|
6106
6106
|
notes: string | null;
|
|
6107
|
+
invoiceId: string | null;
|
|
6107
6108
|
buyerName: string | null;
|
|
6108
6109
|
transportCost: number;
|
|
6109
6110
|
organizationId: string;
|
|
@@ -6112,7 +6113,6 @@ export declare const commodityDealsRouter: {
|
|
|
6112
6113
|
miscellaneousCost: number;
|
|
6113
6114
|
invoiceNumber: string | null;
|
|
6114
6115
|
waybillId: string;
|
|
6115
|
-
invoiceId: string | null;
|
|
6116
6116
|
handlerUserId: string | null;
|
|
6117
6117
|
dealCapital: number | null;
|
|
6118
6118
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -6742,6 +6742,7 @@ export declare const commodityDealsRouter: {
|
|
|
6742
6742
|
updatedAt: string;
|
|
6743
6743
|
currency: string;
|
|
6744
6744
|
notes: string | null;
|
|
6745
|
+
invoiceId: string | null;
|
|
6745
6746
|
buyerName: string | null;
|
|
6746
6747
|
transportCost: number;
|
|
6747
6748
|
organizationId: string;
|
|
@@ -6750,7 +6751,6 @@ export declare const commodityDealsRouter: {
|
|
|
6750
6751
|
miscellaneousCost: number;
|
|
6751
6752
|
invoiceNumber: string | null;
|
|
6752
6753
|
waybillId: string;
|
|
6753
|
-
invoiceId: string | null;
|
|
6754
6754
|
handlerUserId: string | null;
|
|
6755
6755
|
dealCapital: number | null;
|
|
6756
6756
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -6789,6 +6789,7 @@ export declare const commodityDealsRouter: {
|
|
|
6789
6789
|
createdAt: string;
|
|
6790
6790
|
updatedAt: string;
|
|
6791
6791
|
notes: string | null;
|
|
6792
|
+
invoiceId: string | null;
|
|
6792
6793
|
buyerName: string | null;
|
|
6793
6794
|
transportCost: number;
|
|
6794
6795
|
organizationId: string;
|
|
@@ -6797,7 +6798,6 @@ export declare const commodityDealsRouter: {
|
|
|
6797
6798
|
miscellaneousCost: number;
|
|
6798
6799
|
invoiceNumber: string | null;
|
|
6799
6800
|
waybillId: string;
|
|
6800
|
-
invoiceId: string | null;
|
|
6801
6801
|
handlerUserId: string | null;
|
|
6802
6802
|
dealCapital: number | null;
|
|
6803
6803
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -6845,6 +6845,7 @@ export declare const commodityDealsRouter: {
|
|
|
6845
6845
|
updatedAt: string;
|
|
6846
6846
|
currency: string;
|
|
6847
6847
|
notes: string | null;
|
|
6848
|
+
invoiceId: string | null;
|
|
6848
6849
|
buyerName: string | null;
|
|
6849
6850
|
transportCost: number;
|
|
6850
6851
|
organizationId: string;
|
|
@@ -6853,7 +6854,6 @@ export declare const commodityDealsRouter: {
|
|
|
6853
6854
|
miscellaneousCost: number;
|
|
6854
6855
|
invoiceNumber: string | null;
|
|
6855
6856
|
waybillId: string;
|
|
6856
|
-
invoiceId: string | null;
|
|
6857
6857
|
handlerUserId: string | null;
|
|
6858
6858
|
dealCapital: number | null;
|
|
6859
6859
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -6899,6 +6899,7 @@ export declare const commodityDealsRouter: {
|
|
|
6899
6899
|
createdAt: string;
|
|
6900
6900
|
updatedAt: string;
|
|
6901
6901
|
notes: string | null;
|
|
6902
|
+
invoiceId: string | null;
|
|
6902
6903
|
buyerName: string | null;
|
|
6903
6904
|
transportCost: number;
|
|
6904
6905
|
organizationId: string;
|
|
@@ -6907,7 +6908,6 @@ export declare const commodityDealsRouter: {
|
|
|
6907
6908
|
miscellaneousCost: number;
|
|
6908
6909
|
invoiceNumber: string | null;
|
|
6909
6910
|
waybillId: string;
|
|
6910
|
-
invoiceId: string | null;
|
|
6911
6911
|
handlerUserId: string | null;
|
|
6912
6912
|
dealCapital: number | null;
|
|
6913
6913
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -6981,6 +6981,7 @@ export declare const commodityDealsRouter: {
|
|
|
6981
6981
|
updatedAt: string;
|
|
6982
6982
|
currency: string;
|
|
6983
6983
|
notes: string | null;
|
|
6984
|
+
invoiceId: string | null;
|
|
6984
6985
|
buyerName: string | null;
|
|
6985
6986
|
transportCost: number;
|
|
6986
6987
|
organizationId: string;
|
|
@@ -6989,7 +6990,6 @@ export declare const commodityDealsRouter: {
|
|
|
6989
6990
|
miscellaneousCost: number;
|
|
6990
6991
|
invoiceNumber: string | null;
|
|
6991
6992
|
waybillId: string;
|
|
6992
|
-
invoiceId: string | null;
|
|
6993
6993
|
handlerUserId: string | null;
|
|
6994
6994
|
dealCapital: number | null;
|
|
6995
6995
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|
|
@@ -7047,6 +7047,7 @@ export declare const commodityDealsRouter: {
|
|
|
7047
7047
|
createdAt: string;
|
|
7048
7048
|
updatedAt: string;
|
|
7049
7049
|
notes: string | null;
|
|
7050
|
+
invoiceId: string | null;
|
|
7050
7051
|
buyerName: string | null;
|
|
7051
7052
|
transportCost: number;
|
|
7052
7053
|
organizationId: string;
|
|
@@ -7055,7 +7056,6 @@ export declare const commodityDealsRouter: {
|
|
|
7055
7056
|
miscellaneousCost: number;
|
|
7056
7057
|
invoiceNumber: string | null;
|
|
7057
7058
|
waybillId: string;
|
|
7058
|
-
invoiceId: string | null;
|
|
7059
7059
|
handlerUserId: string | null;
|
|
7060
7060
|
dealCapital: number | null;
|
|
7061
7061
|
companyFeeMode: "percent_of_invoice" | "per_kg" | null;
|