@deepintel-ltd/farmpro-contracts 1.36.11 → 1.36.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/routes/commodity-deals.routes.d.ts +63 -63
- package/dist/routes/market-intelligence.routes.d.ts +684 -0
- package/dist/routes/market-intelligence.routes.d.ts.map +1 -1
- package/dist/routes/market-intelligence.routes.js +61 -0
- package/dist/routes/nutrient-plan.routes.d.ts +97 -0
- package/dist/routes/nutrient-plan.routes.d.ts.map +1 -1
- package/dist/routes/organizations.routes.d.ts +49 -0
- package/dist/routes/organizations.routes.d.ts.map +1 -1
- package/dist/routes/trade-cash-events.routes.d.ts +6 -6
- package/dist/schemas/commodity-deals.schemas.d.ts +39 -39
- package/dist/schemas/commodity-deals.schemas.d.ts.map +1 -1
- package/dist/schemas/commodity-deals.schemas.js +1 -0
- package/dist/schemas/farm-fertilizers.schemas.d.ts +175 -0
- package/dist/schemas/farm-fertilizers.schemas.d.ts.map +1 -1
- package/dist/schemas/farm-fertilizers.schemas.js +25 -0
- package/dist/schemas/organizations.schemas.d.ts +42 -0
- package/dist/schemas/organizations.schemas.d.ts.map +1 -1
- package/dist/schemas/organizations.schemas.js +3 -0
- package/dist/schemas/trade-cash-events.schemas.d.ts +8 -8
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizations.routes.d.ts","sourceRoot":"","sources":["../../src/routes/organizations.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAyBxB,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"organizations.routes.d.ts","sourceRoot":"","sources":["../../src/routes/organizations.routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAyBxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6O9B,CAAC"}
|
|
@@ -3563,9 +3563,9 @@ export declare const tradeCashEventsRouter: {
|
|
|
3563
3563
|
}, "strip", z.ZodTypeAny, {
|
|
3564
3564
|
received: number;
|
|
3565
3565
|
currency: string;
|
|
3566
|
+
asOf: string;
|
|
3566
3567
|
available: number;
|
|
3567
3568
|
computedAt: string;
|
|
3568
|
-
asOf: string;
|
|
3569
3569
|
returnedToFunders: number;
|
|
3570
3570
|
inSourcing: number;
|
|
3571
3571
|
unallocatedSpend: number;
|
|
@@ -3637,9 +3637,9 @@ export declare const tradeCashEventsRouter: {
|
|
|
3637
3637
|
}, {
|
|
3638
3638
|
received: number;
|
|
3639
3639
|
currency: string;
|
|
3640
|
+
asOf: string;
|
|
3640
3641
|
available: number;
|
|
3641
3642
|
computedAt: string;
|
|
3642
|
-
asOf: string;
|
|
3643
3643
|
returnedToFunders: number;
|
|
3644
3644
|
inSourcing: number;
|
|
3645
3645
|
unallocatedSpend: number;
|
|
@@ -3715,9 +3715,9 @@ export declare const tradeCashEventsRouter: {
|
|
|
3715
3715
|
attributes: {
|
|
3716
3716
|
received: number;
|
|
3717
3717
|
currency: string;
|
|
3718
|
+
asOf: string;
|
|
3718
3719
|
available: number;
|
|
3719
3720
|
computedAt: string;
|
|
3720
|
-
asOf: string;
|
|
3721
3721
|
returnedToFunders: number;
|
|
3722
3722
|
inSourcing: number;
|
|
3723
3723
|
unallocatedSpend: number;
|
|
@@ -3793,9 +3793,9 @@ export declare const tradeCashEventsRouter: {
|
|
|
3793
3793
|
attributes: {
|
|
3794
3794
|
received: number;
|
|
3795
3795
|
currency: string;
|
|
3796
|
+
asOf: string;
|
|
3796
3797
|
available: number;
|
|
3797
3798
|
computedAt: string;
|
|
3798
|
-
asOf: string;
|
|
3799
3799
|
returnedToFunders: number;
|
|
3800
3800
|
inSourcing: number;
|
|
3801
3801
|
unallocatedSpend: number;
|
|
@@ -3873,9 +3873,9 @@ export declare const tradeCashEventsRouter: {
|
|
|
3873
3873
|
attributes: {
|
|
3874
3874
|
received: number;
|
|
3875
3875
|
currency: string;
|
|
3876
|
+
asOf: string;
|
|
3876
3877
|
available: number;
|
|
3877
3878
|
computedAt: string;
|
|
3878
|
-
asOf: string;
|
|
3879
3879
|
returnedToFunders: number;
|
|
3880
3880
|
inSourcing: number;
|
|
3881
3881
|
unallocatedSpend: number;
|
|
@@ -3953,9 +3953,9 @@ export declare const tradeCashEventsRouter: {
|
|
|
3953
3953
|
attributes: {
|
|
3954
3954
|
received: number;
|
|
3955
3955
|
currency: string;
|
|
3956
|
+
asOf: string;
|
|
3956
3957
|
available: number;
|
|
3957
3958
|
computedAt: string;
|
|
3958
|
-
asOf: string;
|
|
3959
3959
|
returnedToFunders: number;
|
|
3960
3960
|
inSourcing: number;
|
|
3961
3961
|
unallocatedSpend: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const commodityDealStatusSchema: z.ZodEnum<["draft", "in_transit", "invoiced", "paid", "cancelled"]>;
|
|
3
|
-
export declare const companyFeeModeSchema: z.ZodEnum<["percent_of_invoice", "percent_of_returns", "per_kg"]>;
|
|
3
|
+
export declare const companyFeeModeSchema: z.ZodEnum<["percent_of_invoice", "percent_of_returns", "percent_of_gross", "per_kg"]>;
|
|
4
4
|
export declare const dealParticipantShareSchema: z.ZodObject<{
|
|
5
5
|
id: z.ZodOptional<z.ZodString>;
|
|
6
6
|
userId: z.ZodString;
|
|
@@ -101,7 +101,7 @@ export declare const commodityDealAttributesSchema: z.ZodObject<{
|
|
|
101
101
|
status: z.ZodEnum<["draft", "in_transit", "invoiced", "paid", "cancelled"]>;
|
|
102
102
|
notes: z.ZodNullable<z.ZodString>;
|
|
103
103
|
dealCapital: z.ZodNullable<z.ZodNumber>;
|
|
104
|
-
companyFeeMode: z.ZodNullable<z.ZodEnum<["percent_of_invoice", "percent_of_returns", "per_kg"]>>;
|
|
104
|
+
companyFeeMode: z.ZodNullable<z.ZodEnum<["percent_of_invoice", "percent_of_returns", "percent_of_gross", "per_kg"]>>;
|
|
105
105
|
companyFeeValue: z.ZodNullable<z.ZodNumber>;
|
|
106
106
|
totalWeightKg: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
107
107
|
supplierId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -207,7 +207,7 @@ export declare const commodityDealAttributesSchema: z.ZodObject<{
|
|
|
207
207
|
waybillId: string;
|
|
208
208
|
handlerUserId: string | null;
|
|
209
209
|
dealCapital: number | null;
|
|
210
|
-
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "per_kg" | null;
|
|
210
|
+
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "percent_of_gross" | "per_kg" | null;
|
|
211
211
|
companyFeeValue: number | null;
|
|
212
212
|
computed: {
|
|
213
213
|
totalCost: number;
|
|
@@ -259,7 +259,7 @@ export declare const commodityDealAttributesSchema: z.ZodObject<{
|
|
|
259
259
|
waybillId: string;
|
|
260
260
|
handlerUserId: string | null;
|
|
261
261
|
dealCapital: number | null;
|
|
262
|
-
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "per_kg" | null;
|
|
262
|
+
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "percent_of_gross" | "per_kg" | null;
|
|
263
263
|
companyFeeValue: number | null;
|
|
264
264
|
computed: {
|
|
265
265
|
totalCost: number;
|
|
@@ -310,7 +310,7 @@ export declare const createCommodityDealAttributesSchema: z.ZodObject<{
|
|
|
310
310
|
handlerUserId: z.ZodOptional<z.ZodString>;
|
|
311
311
|
supplierId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
312
312
|
dealCapital: z.ZodOptional<z.ZodNumber>;
|
|
313
|
-
companyFeeMode: z.ZodOptional<z.ZodEnum<["percent_of_invoice", "percent_of_returns", "per_kg"]>>;
|
|
313
|
+
companyFeeMode: z.ZodOptional<z.ZodEnum<["percent_of_invoice", "percent_of_returns", "percent_of_gross", "per_kg"]>>;
|
|
314
314
|
companyFeeValue: z.ZodOptional<z.ZodNumber>;
|
|
315
315
|
}, "strip", z.ZodTypeAny, {
|
|
316
316
|
currency: string;
|
|
@@ -324,7 +324,7 @@ export declare const createCommodityDealAttributesSchema: z.ZodObject<{
|
|
|
324
324
|
supplierId?: string | null | undefined;
|
|
325
325
|
handlerUserId?: string | undefined;
|
|
326
326
|
dealCapital?: number | undefined;
|
|
327
|
-
companyFeeMode?: "percent_of_invoice" | "percent_of_returns" | "per_kg" | undefined;
|
|
327
|
+
companyFeeMode?: "percent_of_invoice" | "percent_of_returns" | "percent_of_gross" | "per_kg" | undefined;
|
|
328
328
|
companyFeeValue?: number | undefined;
|
|
329
329
|
}, {
|
|
330
330
|
purchaseCost: number;
|
|
@@ -338,7 +338,7 @@ export declare const createCommodityDealAttributesSchema: z.ZodObject<{
|
|
|
338
338
|
supplierId?: string | null | undefined;
|
|
339
339
|
handlerUserId?: string | undefined;
|
|
340
340
|
dealCapital?: number | undefined;
|
|
341
|
-
companyFeeMode?: "percent_of_invoice" | "percent_of_returns" | "per_kg" | undefined;
|
|
341
|
+
companyFeeMode?: "percent_of_invoice" | "percent_of_returns" | "percent_of_gross" | "per_kg" | undefined;
|
|
342
342
|
companyFeeValue?: number | undefined;
|
|
343
343
|
}>;
|
|
344
344
|
export declare const updateCommodityDealAttributesSchema: z.ZodObject<{
|
|
@@ -353,7 +353,7 @@ export declare const updateCommodityDealAttributesSchema: z.ZodObject<{
|
|
|
353
353
|
handlerUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
354
354
|
supplierId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
355
355
|
dealCapital: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
356
|
-
companyFeeMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["percent_of_invoice", "percent_of_returns", "per_kg"]>>>;
|
|
356
|
+
companyFeeMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["percent_of_invoice", "percent_of_returns", "percent_of_gross", "per_kg"]>>>;
|
|
357
357
|
companyFeeValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
358
358
|
/** Set ISO datetime to mark paid out; null to mark unpaid. */
|
|
359
359
|
staffCommissionPaidAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -369,7 +369,7 @@ export declare const updateCommodityDealAttributesSchema: z.ZodObject<{
|
|
|
369
369
|
supplierId?: string | null | undefined;
|
|
370
370
|
handlerUserId?: string | null | undefined;
|
|
371
371
|
dealCapital?: number | null | undefined;
|
|
372
|
-
companyFeeMode?: "percent_of_invoice" | "percent_of_returns" | "per_kg" | null | undefined;
|
|
372
|
+
companyFeeMode?: "percent_of_invoice" | "percent_of_returns" | "percent_of_gross" | "per_kg" | null | undefined;
|
|
373
373
|
companyFeeValue?: number | null | undefined;
|
|
374
374
|
staffCommissionPaidAt?: string | null | undefined;
|
|
375
375
|
}, {
|
|
@@ -384,7 +384,7 @@ export declare const updateCommodityDealAttributesSchema: z.ZodObject<{
|
|
|
384
384
|
supplierId?: string | null | undefined;
|
|
385
385
|
handlerUserId?: string | null | undefined;
|
|
386
386
|
dealCapital?: number | null | undefined;
|
|
387
|
-
companyFeeMode?: "percent_of_invoice" | "percent_of_returns" | "per_kg" | null | undefined;
|
|
387
|
+
companyFeeMode?: "percent_of_invoice" | "percent_of_returns" | "percent_of_gross" | "per_kg" | null | undefined;
|
|
388
388
|
companyFeeValue?: number | null | undefined;
|
|
389
389
|
staffCommissionPaidAt?: string | null | undefined;
|
|
390
390
|
}>;
|
|
@@ -402,7 +402,7 @@ export declare const createCommodityDealSchema: z.ZodObject<{
|
|
|
402
402
|
handlerUserId: z.ZodOptional<z.ZodString>;
|
|
403
403
|
supplierId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
404
404
|
dealCapital: z.ZodOptional<z.ZodNumber>;
|
|
405
|
-
companyFeeMode: z.ZodOptional<z.ZodEnum<["percent_of_invoice", "percent_of_returns", "per_kg"]>>;
|
|
405
|
+
companyFeeMode: z.ZodOptional<z.ZodEnum<["percent_of_invoice", "percent_of_returns", "percent_of_gross", "per_kg"]>>;
|
|
406
406
|
companyFeeValue: z.ZodOptional<z.ZodNumber>;
|
|
407
407
|
}, "strip", z.ZodTypeAny, {
|
|
408
408
|
currency: string;
|
|
@@ -416,7 +416,7 @@ export declare const createCommodityDealSchema: z.ZodObject<{
|
|
|
416
416
|
supplierId?: string | null | undefined;
|
|
417
417
|
handlerUserId?: string | undefined;
|
|
418
418
|
dealCapital?: number | undefined;
|
|
419
|
-
companyFeeMode?: "percent_of_invoice" | "percent_of_returns" | "per_kg" | undefined;
|
|
419
|
+
companyFeeMode?: "percent_of_invoice" | "percent_of_returns" | "percent_of_gross" | "per_kg" | undefined;
|
|
420
420
|
companyFeeValue?: number | undefined;
|
|
421
421
|
}, {
|
|
422
422
|
purchaseCost: number;
|
|
@@ -430,7 +430,7 @@ export declare const createCommodityDealSchema: z.ZodObject<{
|
|
|
430
430
|
supplierId?: string | null | undefined;
|
|
431
431
|
handlerUserId?: string | undefined;
|
|
432
432
|
dealCapital?: number | undefined;
|
|
433
|
-
companyFeeMode?: "percent_of_invoice" | "percent_of_returns" | "per_kg" | undefined;
|
|
433
|
+
companyFeeMode?: "percent_of_invoice" | "percent_of_returns" | "percent_of_gross" | "per_kg" | undefined;
|
|
434
434
|
companyFeeValue?: number | undefined;
|
|
435
435
|
}>;
|
|
436
436
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -447,7 +447,7 @@ export declare const createCommodityDealSchema: z.ZodObject<{
|
|
|
447
447
|
supplierId?: string | null | undefined;
|
|
448
448
|
handlerUserId?: string | undefined;
|
|
449
449
|
dealCapital?: number | undefined;
|
|
450
|
-
companyFeeMode?: "percent_of_invoice" | "percent_of_returns" | "per_kg" | undefined;
|
|
450
|
+
companyFeeMode?: "percent_of_invoice" | "percent_of_returns" | "percent_of_gross" | "per_kg" | undefined;
|
|
451
451
|
companyFeeValue?: number | undefined;
|
|
452
452
|
};
|
|
453
453
|
}, {
|
|
@@ -464,7 +464,7 @@ export declare const createCommodityDealSchema: z.ZodObject<{
|
|
|
464
464
|
supplierId?: string | null | undefined;
|
|
465
465
|
handlerUserId?: string | undefined;
|
|
466
466
|
dealCapital?: number | undefined;
|
|
467
|
-
companyFeeMode?: "percent_of_invoice" | "percent_of_returns" | "per_kg" | undefined;
|
|
467
|
+
companyFeeMode?: "percent_of_invoice" | "percent_of_returns" | "percent_of_gross" | "per_kg" | undefined;
|
|
468
468
|
companyFeeValue?: number | undefined;
|
|
469
469
|
};
|
|
470
470
|
}>;
|
|
@@ -483,7 +483,7 @@ export declare const updateCommodityDealSchema: z.ZodObject<{
|
|
|
483
483
|
handlerUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
484
484
|
supplierId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
485
485
|
dealCapital: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
486
|
-
companyFeeMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["percent_of_invoice", "percent_of_returns", "per_kg"]>>>;
|
|
486
|
+
companyFeeMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<["percent_of_invoice", "percent_of_returns", "percent_of_gross", "per_kg"]>>>;
|
|
487
487
|
companyFeeValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
488
488
|
/** Set ISO datetime to mark paid out; null to mark unpaid. */
|
|
489
489
|
staffCommissionPaidAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -499,7 +499,7 @@ export declare const updateCommodityDealSchema: z.ZodObject<{
|
|
|
499
499
|
supplierId?: string | null | undefined;
|
|
500
500
|
handlerUserId?: string | null | undefined;
|
|
501
501
|
dealCapital?: number | null | undefined;
|
|
502
|
-
companyFeeMode?: "percent_of_invoice" | "percent_of_returns" | "per_kg" | null | undefined;
|
|
502
|
+
companyFeeMode?: "percent_of_invoice" | "percent_of_returns" | "percent_of_gross" | "per_kg" | null | undefined;
|
|
503
503
|
companyFeeValue?: number | null | undefined;
|
|
504
504
|
staffCommissionPaidAt?: string | null | undefined;
|
|
505
505
|
}, {
|
|
@@ -514,7 +514,7 @@ export declare const updateCommodityDealSchema: z.ZodObject<{
|
|
|
514
514
|
supplierId?: string | null | undefined;
|
|
515
515
|
handlerUserId?: string | null | undefined;
|
|
516
516
|
dealCapital?: number | null | undefined;
|
|
517
|
-
companyFeeMode?: "percent_of_invoice" | "percent_of_returns" | "per_kg" | null | undefined;
|
|
517
|
+
companyFeeMode?: "percent_of_invoice" | "percent_of_returns" | "percent_of_gross" | "per_kg" | null | undefined;
|
|
518
518
|
companyFeeValue?: number | null | undefined;
|
|
519
519
|
staffCommissionPaidAt?: string | null | undefined;
|
|
520
520
|
}>;
|
|
@@ -532,7 +532,7 @@ export declare const updateCommodityDealSchema: z.ZodObject<{
|
|
|
532
532
|
supplierId?: string | null | undefined;
|
|
533
533
|
handlerUserId?: string | null | undefined;
|
|
534
534
|
dealCapital?: number | null | undefined;
|
|
535
|
-
companyFeeMode?: "percent_of_invoice" | "percent_of_returns" | "per_kg" | null | undefined;
|
|
535
|
+
companyFeeMode?: "percent_of_invoice" | "percent_of_returns" | "percent_of_gross" | "per_kg" | null | undefined;
|
|
536
536
|
companyFeeValue?: number | null | undefined;
|
|
537
537
|
staffCommissionPaidAt?: string | null | undefined;
|
|
538
538
|
};
|
|
@@ -551,7 +551,7 @@ export declare const updateCommodityDealSchema: z.ZodObject<{
|
|
|
551
551
|
supplierId?: string | null | undefined;
|
|
552
552
|
handlerUserId?: string | null | undefined;
|
|
553
553
|
dealCapital?: number | null | undefined;
|
|
554
|
-
companyFeeMode?: "percent_of_invoice" | "percent_of_returns" | "per_kg" | null | undefined;
|
|
554
|
+
companyFeeMode?: "percent_of_invoice" | "percent_of_returns" | "percent_of_gross" | "per_kg" | null | undefined;
|
|
555
555
|
companyFeeValue?: number | null | undefined;
|
|
556
556
|
staffCommissionPaidAt?: string | null | undefined;
|
|
557
557
|
};
|
|
@@ -647,7 +647,7 @@ export declare const commodityDealResourceSchema: z.ZodObject<{
|
|
|
647
647
|
status: z.ZodEnum<["draft", "in_transit", "invoiced", "paid", "cancelled"]>;
|
|
648
648
|
notes: z.ZodNullable<z.ZodString>;
|
|
649
649
|
dealCapital: z.ZodNullable<z.ZodNumber>;
|
|
650
|
-
companyFeeMode: z.ZodNullable<z.ZodEnum<["percent_of_invoice", "percent_of_returns", "per_kg"]>>;
|
|
650
|
+
companyFeeMode: z.ZodNullable<z.ZodEnum<["percent_of_invoice", "percent_of_returns", "percent_of_gross", "per_kg"]>>;
|
|
651
651
|
companyFeeValue: z.ZodNullable<z.ZodNumber>;
|
|
652
652
|
totalWeightKg: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
653
653
|
supplierId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -753,7 +753,7 @@ export declare const commodityDealResourceSchema: z.ZodObject<{
|
|
|
753
753
|
waybillId: string;
|
|
754
754
|
handlerUserId: string | null;
|
|
755
755
|
dealCapital: number | null;
|
|
756
|
-
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "per_kg" | null;
|
|
756
|
+
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "percent_of_gross" | "per_kg" | null;
|
|
757
757
|
companyFeeValue: number | null;
|
|
758
758
|
computed: {
|
|
759
759
|
totalCost: number;
|
|
@@ -805,7 +805,7 @@ export declare const commodityDealResourceSchema: z.ZodObject<{
|
|
|
805
805
|
waybillId: string;
|
|
806
806
|
handlerUserId: string | null;
|
|
807
807
|
dealCapital: number | null;
|
|
808
|
-
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "per_kg" | null;
|
|
808
|
+
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "percent_of_gross" | "per_kg" | null;
|
|
809
809
|
companyFeeValue: number | null;
|
|
810
810
|
computed: {
|
|
811
811
|
totalCost: number;
|
|
@@ -868,7 +868,7 @@ export declare const commodityDealResourceSchema: z.ZodObject<{
|
|
|
868
868
|
waybillId: string;
|
|
869
869
|
handlerUserId: string | null;
|
|
870
870
|
dealCapital: number | null;
|
|
871
|
-
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "per_kg" | null;
|
|
871
|
+
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "percent_of_gross" | "per_kg" | null;
|
|
872
872
|
companyFeeValue: number | null;
|
|
873
873
|
computed: {
|
|
874
874
|
totalCost: number;
|
|
@@ -927,7 +927,7 @@ export declare const commodityDealResourceSchema: z.ZodObject<{
|
|
|
927
927
|
waybillId: string;
|
|
928
928
|
handlerUserId: string | null;
|
|
929
929
|
dealCapital: number | null;
|
|
930
|
-
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "per_kg" | null;
|
|
930
|
+
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "percent_of_gross" | "per_kg" | null;
|
|
931
931
|
companyFeeValue: number | null;
|
|
932
932
|
computed: {
|
|
933
933
|
totalCost: number;
|
|
@@ -996,7 +996,7 @@ export declare const commodityDealResponseSchema: z.ZodObject<{
|
|
|
996
996
|
status: z.ZodEnum<["draft", "in_transit", "invoiced", "paid", "cancelled"]>;
|
|
997
997
|
notes: z.ZodNullable<z.ZodString>;
|
|
998
998
|
dealCapital: z.ZodNullable<z.ZodNumber>;
|
|
999
|
-
companyFeeMode: z.ZodNullable<z.ZodEnum<["percent_of_invoice", "percent_of_returns", "per_kg"]>>;
|
|
999
|
+
companyFeeMode: z.ZodNullable<z.ZodEnum<["percent_of_invoice", "percent_of_returns", "percent_of_gross", "per_kg"]>>;
|
|
1000
1000
|
companyFeeValue: z.ZodNullable<z.ZodNumber>;
|
|
1001
1001
|
totalWeightKg: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1002
1002
|
supplierId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1102,7 +1102,7 @@ export declare const commodityDealResponseSchema: z.ZodObject<{
|
|
|
1102
1102
|
waybillId: string;
|
|
1103
1103
|
handlerUserId: string | null;
|
|
1104
1104
|
dealCapital: number | null;
|
|
1105
|
-
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "per_kg" | null;
|
|
1105
|
+
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "percent_of_gross" | "per_kg" | null;
|
|
1106
1106
|
companyFeeValue: number | null;
|
|
1107
1107
|
computed: {
|
|
1108
1108
|
totalCost: number;
|
|
@@ -1154,7 +1154,7 @@ export declare const commodityDealResponseSchema: z.ZodObject<{
|
|
|
1154
1154
|
waybillId: string;
|
|
1155
1155
|
handlerUserId: string | null;
|
|
1156
1156
|
dealCapital: number | null;
|
|
1157
|
-
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "per_kg" | null;
|
|
1157
|
+
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "percent_of_gross" | "per_kg" | null;
|
|
1158
1158
|
companyFeeValue: number | null;
|
|
1159
1159
|
computed: {
|
|
1160
1160
|
totalCost: number;
|
|
@@ -1217,7 +1217,7 @@ export declare const commodityDealResponseSchema: z.ZodObject<{
|
|
|
1217
1217
|
waybillId: string;
|
|
1218
1218
|
handlerUserId: string | null;
|
|
1219
1219
|
dealCapital: number | null;
|
|
1220
|
-
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "per_kg" | null;
|
|
1220
|
+
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "percent_of_gross" | "per_kg" | null;
|
|
1221
1221
|
companyFeeValue: number | null;
|
|
1222
1222
|
computed: {
|
|
1223
1223
|
totalCost: number;
|
|
@@ -1276,7 +1276,7 @@ export declare const commodityDealResponseSchema: z.ZodObject<{
|
|
|
1276
1276
|
waybillId: string;
|
|
1277
1277
|
handlerUserId: string | null;
|
|
1278
1278
|
dealCapital: number | null;
|
|
1279
|
-
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "per_kg" | null;
|
|
1279
|
+
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "percent_of_gross" | "per_kg" | null;
|
|
1280
1280
|
companyFeeValue: number | null;
|
|
1281
1281
|
computed: {
|
|
1282
1282
|
totalCost: number;
|
|
@@ -1365,7 +1365,7 @@ export declare const commodityDealResponseSchema: z.ZodObject<{
|
|
|
1365
1365
|
waybillId: string;
|
|
1366
1366
|
handlerUserId: string | null;
|
|
1367
1367
|
dealCapital: number | null;
|
|
1368
|
-
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "per_kg" | null;
|
|
1368
|
+
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "percent_of_gross" | "per_kg" | null;
|
|
1369
1369
|
companyFeeValue: number | null;
|
|
1370
1370
|
computed: {
|
|
1371
1371
|
totalCost: number;
|
|
@@ -1436,7 +1436,7 @@ export declare const commodityDealResponseSchema: z.ZodObject<{
|
|
|
1436
1436
|
waybillId: string;
|
|
1437
1437
|
handlerUserId: string | null;
|
|
1438
1438
|
dealCapital: number | null;
|
|
1439
|
-
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "per_kg" | null;
|
|
1439
|
+
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "percent_of_gross" | "per_kg" | null;
|
|
1440
1440
|
companyFeeValue: number | null;
|
|
1441
1441
|
computed: {
|
|
1442
1442
|
totalCost: number;
|
|
@@ -1516,7 +1516,7 @@ export declare const commodityDealListResponseSchema: z.ZodObject<{
|
|
|
1516
1516
|
status: z.ZodEnum<["draft", "in_transit", "invoiced", "paid", "cancelled"]>;
|
|
1517
1517
|
notes: z.ZodNullable<z.ZodString>;
|
|
1518
1518
|
dealCapital: z.ZodNullable<z.ZodNumber>;
|
|
1519
|
-
companyFeeMode: z.ZodNullable<z.ZodEnum<["percent_of_invoice", "percent_of_returns", "per_kg"]>>;
|
|
1519
|
+
companyFeeMode: z.ZodNullable<z.ZodEnum<["percent_of_invoice", "percent_of_returns", "percent_of_gross", "per_kg"]>>;
|
|
1520
1520
|
companyFeeValue: z.ZodNullable<z.ZodNumber>;
|
|
1521
1521
|
totalWeightKg: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1522
1522
|
supplierId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1622,7 +1622,7 @@ export declare const commodityDealListResponseSchema: z.ZodObject<{
|
|
|
1622
1622
|
waybillId: string;
|
|
1623
1623
|
handlerUserId: string | null;
|
|
1624
1624
|
dealCapital: number | null;
|
|
1625
|
-
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "per_kg" | null;
|
|
1625
|
+
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "percent_of_gross" | "per_kg" | null;
|
|
1626
1626
|
companyFeeValue: number | null;
|
|
1627
1627
|
computed: {
|
|
1628
1628
|
totalCost: number;
|
|
@@ -1674,7 +1674,7 @@ export declare const commodityDealListResponseSchema: z.ZodObject<{
|
|
|
1674
1674
|
waybillId: string;
|
|
1675
1675
|
handlerUserId: string | null;
|
|
1676
1676
|
dealCapital: number | null;
|
|
1677
|
-
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "per_kg" | null;
|
|
1677
|
+
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "percent_of_gross" | "per_kg" | null;
|
|
1678
1678
|
companyFeeValue: number | null;
|
|
1679
1679
|
computed: {
|
|
1680
1680
|
totalCost: number;
|
|
@@ -1737,7 +1737,7 @@ export declare const commodityDealListResponseSchema: z.ZodObject<{
|
|
|
1737
1737
|
waybillId: string;
|
|
1738
1738
|
handlerUserId: string | null;
|
|
1739
1739
|
dealCapital: number | null;
|
|
1740
|
-
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "per_kg" | null;
|
|
1740
|
+
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "percent_of_gross" | "per_kg" | null;
|
|
1741
1741
|
companyFeeValue: number | null;
|
|
1742
1742
|
computed: {
|
|
1743
1743
|
totalCost: number;
|
|
@@ -1796,7 +1796,7 @@ export declare const commodityDealListResponseSchema: z.ZodObject<{
|
|
|
1796
1796
|
waybillId: string;
|
|
1797
1797
|
handlerUserId: string | null;
|
|
1798
1798
|
dealCapital: number | null;
|
|
1799
|
-
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "per_kg" | null;
|
|
1799
|
+
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "percent_of_gross" | "per_kg" | null;
|
|
1800
1800
|
companyFeeValue: number | null;
|
|
1801
1801
|
computed: {
|
|
1802
1802
|
totalCost: number;
|
|
@@ -1885,7 +1885,7 @@ export declare const commodityDealListResponseSchema: z.ZodObject<{
|
|
|
1885
1885
|
waybillId: string;
|
|
1886
1886
|
handlerUserId: string | null;
|
|
1887
1887
|
dealCapital: number | null;
|
|
1888
|
-
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "per_kg" | null;
|
|
1888
|
+
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "percent_of_gross" | "per_kg" | null;
|
|
1889
1889
|
companyFeeValue: number | null;
|
|
1890
1890
|
computed: {
|
|
1891
1891
|
totalCost: number;
|
|
@@ -1956,7 +1956,7 @@ export declare const commodityDealListResponseSchema: z.ZodObject<{
|
|
|
1956
1956
|
waybillId: string;
|
|
1957
1957
|
handlerUserId: string | null;
|
|
1958
1958
|
dealCapital: number | null;
|
|
1959
|
-
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "per_kg" | null;
|
|
1959
|
+
companyFeeMode: "percent_of_invoice" | "percent_of_returns" | "percent_of_gross" | "per_kg" | null;
|
|
1960
1960
|
companyFeeValue: number | null;
|
|
1961
1961
|
computed: {
|
|
1962
1962
|
totalCost: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commodity-deals.schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/commodity-deals.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,yBAAyB,qEAMpC,CAAC;AAEH,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"commodity-deals.schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/commodity-deals.schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,yBAAyB,qEAMpC,CAAC;AAEH,eAAO,MAAM,oBAAoB,uFAK/B,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;EAQrC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;IAUtC,iDAAiD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQjD,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;IAQtC,+CAA+C;;IAE/C,sDAAsD;;IAEtD,oDAAoD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiBpD,gFAAgF;;;;;;;;;;;;QAvClF,iDAAiD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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