b2m-utils 0.0.248 → 0.0.250
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/build/enums/RatecardFeeConfigKeyEnum.d.ts +13 -0
- package/build/enums/RatecardFeeConfigTypeEnum.d.ts +6 -0
- package/build/enums/index.d.ts +2 -0
- package/build/index.esm.js +30 -1
- package/build/index.esm.js.gz +0 -0
- package/build/index.esm.js.map +1 -1
- package/build/index.js +29 -0
- package/build/index.js.gz +0 -0
- package/build/index.js.map +1 -1
- package/build/types/Fee/index.d.ts +2 -0
- package/build/types/FeeConfig/index.d.ts +12 -0
- package/build/types/Ratecard/index.d.ts +2 -0
- package/build/types/RatecardFeeConfig/index.d.ts +15 -0
- package/build/types/index.d.ts +4 -0
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@ import Dates from "../Dates";
|
|
|
3
3
|
import FeeCategory from "../FeeCategory";
|
|
4
4
|
import FeeCalculationType from "../FeeCalculationType";
|
|
5
5
|
import RatecardFeeAlias from "../RatecardFeeAlias";
|
|
6
|
+
import RatecardFeeConfig from "../RatecardFeeConfig";
|
|
6
7
|
export type Fee = {
|
|
7
8
|
id: number;
|
|
8
9
|
parentId?: number;
|
|
@@ -20,5 +21,6 @@ export type Fee = {
|
|
|
20
21
|
parentFee?: Fee;
|
|
21
22
|
OtherFee?: Fee[];
|
|
22
23
|
RatecardFeeAlias?: RatecardFeeAlias[];
|
|
24
|
+
RatecardFeeConfig?: RatecardFeeConfig[];
|
|
23
25
|
} & Dates;
|
|
24
26
|
export default Fee;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import Dates from "../Dates";
|
|
2
|
+
import RatecardFeeConfig from "../RatecardFeeConfig";
|
|
3
|
+
export type FeeConfig = {
|
|
4
|
+
id: number;
|
|
5
|
+
configKey: string;
|
|
6
|
+
name: string;
|
|
7
|
+
configType: string;
|
|
8
|
+
description?: string | null;
|
|
9
|
+
defaultValue?: string | null;
|
|
10
|
+
RatecardFeeConfig?: RatecardFeeConfig[];
|
|
11
|
+
} & Dates;
|
|
12
|
+
export default FeeConfig;
|
|
@@ -10,6 +10,7 @@ import RatecardOriginCity from "../RatecardOriginCity";
|
|
|
10
10
|
import RatecardProvider from "../RatecardProvider";
|
|
11
11
|
import RatecardRegion from "../RatecardRegion";
|
|
12
12
|
import RatecardRegionCity from "../RatecardRegionCity";
|
|
13
|
+
import RatecardFeeConfig from "../RatecardFeeConfig";
|
|
13
14
|
export type Ratecard = {
|
|
14
15
|
id: number;
|
|
15
16
|
domainId: number;
|
|
@@ -28,6 +29,7 @@ export type Ratecard = {
|
|
|
28
29
|
carrier?: RatecardProvider;
|
|
29
30
|
modal?: RatecardModal;
|
|
30
31
|
RatecardConditionalFee?: RatecardConditionalFee[];
|
|
32
|
+
RatecardFeeConfig?: RatecardFeeConfig[];
|
|
31
33
|
RatecardFeeAlias?: RatecardFeeAlias[];
|
|
32
34
|
RatecardCityDistance?: RatecardCityDistance[];
|
|
33
35
|
RatecardLane?: RatecardLane[];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import Dates from "../Dates";
|
|
2
|
+
import Fee from "../Fee";
|
|
3
|
+
import FeeConfig from "../FeeConfig";
|
|
4
|
+
import Ratecard from "../Ratecard";
|
|
5
|
+
export type RatecardFeeConfig = {
|
|
6
|
+
id: number;
|
|
7
|
+
ratecardId: number;
|
|
8
|
+
feeId: number;
|
|
9
|
+
configId: number;
|
|
10
|
+
configValue: string;
|
|
11
|
+
fee?: Fee;
|
|
12
|
+
ratecard?: Ratecard;
|
|
13
|
+
feeConfig?: FeeConfig;
|
|
14
|
+
} & Dates;
|
|
15
|
+
export default RatecardFeeConfig;
|
package/build/types/index.d.ts
CHANGED
|
@@ -140,6 +140,10 @@ export * from './RatecardConditionalFeeType';
|
|
|
140
140
|
export { default as RatecardConditionalFeeType } from './RatecardConditionalFeeType';
|
|
141
141
|
export * from './RatecardFeeAlias';
|
|
142
142
|
export { default as RatecardFeeAlias } from './RatecardFeeAlias';
|
|
143
|
+
export * from './FeeConfig';
|
|
144
|
+
export { default as FeeConfig } from './FeeConfig';
|
|
145
|
+
export * from './RatecardFeeConfig';
|
|
146
|
+
export { default as RatecardFeeConfig } from './RatecardFeeConfig';
|
|
143
147
|
export * from './RatecardCityDistance';
|
|
144
148
|
export { default as RatecardCityDistance } from './RatecardCityDistance';
|
|
145
149
|
export * from './RatecardLane';
|