b2m-utils 0.0.249 → 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.
@@ -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;
@@ -1,14 +1,15 @@
1
1
  import Dates from "../Dates";
2
2
  import Fee from "../Fee";
3
+ import FeeConfig from "../FeeConfig";
3
4
  import Ratecard from "../Ratecard";
4
5
  export type RatecardFeeConfig = {
5
6
  id: number;
6
7
  ratecardId: number;
7
8
  feeId: number;
8
- configKey: string;
9
+ configId: number;
9
10
  configValue: string;
10
- configType: string;
11
11
  fee?: Fee;
12
12
  ratecard?: Ratecard;
13
+ feeConfig?: FeeConfig;
13
14
  } & Dates;
14
15
  export default RatecardFeeConfig;
@@ -140,6 +140,8 @@ 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';
143
145
  export * from './RatecardFeeConfig';
144
146
  export { default as RatecardFeeConfig } from './RatecardFeeConfig';
145
147
  export * from './RatecardCityDistance';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "b2m-utils",
3
- "version": "0.0.249",
3
+ "version": "0.0.250",
4
4
  "description": "B2M Utils",
5
5
  "main": "build/index.js",
6
6
  "module": "build/index.esm.js",