b2m-utils 0.0.298 → 0.0.299
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/RatecardConfigKeyEnum.d.ts +3 -0
- package/build/enums/index.d.ts +1 -0
- package/build/index.esm.js +6 -1
- package/build/index.esm.js.gz +0 -0
- package/build/index.esm.js.map +1 -1
- package/build/index.js +5 -0
- package/build/index.js.gz +0 -0
- package/build/index.js.map +1 -1
- package/build/types/RatecardConfig/index.d.ts +12 -0
- package/build/types/RatecardConfigValue/index.d.ts +12 -0
- package/build/types/index.d.ts +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import Dates from "../Dates";
|
|
2
|
+
import RatecardConfigValue from "../RatecardConfigValue";
|
|
3
|
+
export type RatecardConfig = {
|
|
4
|
+
id: number;
|
|
5
|
+
configKey: string;
|
|
6
|
+
name: string;
|
|
7
|
+
configType: string;
|
|
8
|
+
description?: string | null;
|
|
9
|
+
defaultValue?: string | null;
|
|
10
|
+
RatecardConfigValue?: RatecardConfigValue[];
|
|
11
|
+
} & Dates;
|
|
12
|
+
export default RatecardConfig;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import Dates from "../Dates";
|
|
2
|
+
import Ratecard from "../Ratecard";
|
|
3
|
+
import RatecardConfig from "../RatecardConfig";
|
|
4
|
+
export type RatecardConfigValue = {
|
|
5
|
+
id: number;
|
|
6
|
+
ratecardId: number;
|
|
7
|
+
configId: number;
|
|
8
|
+
configValue: string;
|
|
9
|
+
ratecard?: Ratecard;
|
|
10
|
+
ratecardConfig?: RatecardConfig;
|
|
11
|
+
} & Dates;
|
|
12
|
+
export default RatecardConfigValue;
|
package/build/types/index.d.ts
CHANGED
|
@@ -150,6 +150,10 @@ export * from './RatecardFeeConfig';
|
|
|
150
150
|
export { default as RatecardFeeConfig } from './RatecardFeeConfig';
|
|
151
151
|
export * from './RatecardCityDistance';
|
|
152
152
|
export { default as RatecardCityDistance } from './RatecardCityDistance';
|
|
153
|
+
export * from './RatecardConfig';
|
|
154
|
+
export { default as RatecardConfig } from './RatecardConfig';
|
|
155
|
+
export * from './RatecardConfigValue';
|
|
156
|
+
export { default as RatecardConfigValue } from './RatecardConfigValue';
|
|
153
157
|
export * from './RatecardLane';
|
|
154
158
|
export { default as RatecardLane } from './RatecardLane';
|
|
155
159
|
export * from './RatecardLaneFee';
|