b2m-utils 0.0.262 → 0.0.263
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/CarrierDocumentConfigTypeKeyEnum.d.ts +4 -0
- package/build/enums/InputTypeEnum.d.ts +3 -0
- package/build/enums/index.d.ts +2 -0
- package/build/index.esm.js +12 -1
- package/build/index.esm.js.gz +0 -0
- package/build/index.esm.js.map +1 -1
- package/build/index.js +11 -0
- package/build/index.js.gz +0 -0
- package/build/index.js.map +1 -1
- package/build/types/CarrierDocument/index.d.ts +2 -0
- package/build/types/CarrierDocumentConfig/index.d.ts +12 -0
- package/build/types/CarrierDocumentConfigType/index.d.ts +17 -0
- package/build/types/index.d.ts +4 -0
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import Carrier from "../Carrier";
|
|
2
|
+
import CarrierDocumentConfig from "../CarrierDocumentConfig";
|
|
2
3
|
import Dates from "../Dates";
|
|
3
4
|
export type CarrierDocument = {
|
|
4
5
|
id: number;
|
|
@@ -7,5 +8,6 @@ export type CarrierDocument = {
|
|
|
7
8
|
value: string;
|
|
8
9
|
carrier?: Carrier;
|
|
9
10
|
documentType?: DocumentType;
|
|
11
|
+
CarrierDocumentConfig?: CarrierDocumentConfig[];
|
|
10
12
|
} & Dates;
|
|
11
13
|
export default CarrierDocument;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import Dates from "../Dates";
|
|
2
|
+
import CarrierDocument from "../CarrierDocument";
|
|
3
|
+
import CarrierDocumentConfigType from "../CarrierDocumentConfigType";
|
|
4
|
+
export type CarrierDocumentConfig = {
|
|
5
|
+
id: number;
|
|
6
|
+
carrierDocumentId: number;
|
|
7
|
+
configTypeId: number;
|
|
8
|
+
value: string;
|
|
9
|
+
carrierDocument?: CarrierDocument;
|
|
10
|
+
configType?: CarrierDocumentConfigType;
|
|
11
|
+
} & Dates;
|
|
12
|
+
export default CarrierDocumentConfig;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import CarrierDocumentConfig from "../CarrierDocumentConfig";
|
|
2
|
+
import Dates from "../Dates";
|
|
3
|
+
export type CarrierDocumentConfigType = {
|
|
4
|
+
id: number;
|
|
5
|
+
key: string;
|
|
6
|
+
name: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
inputType: string;
|
|
9
|
+
dataType: string;
|
|
10
|
+
defaultValue?: string;
|
|
11
|
+
options?: string;
|
|
12
|
+
validationRules?: string;
|
|
13
|
+
category?: string;
|
|
14
|
+
isActive: boolean;
|
|
15
|
+
CarrierDocumentConfig?: CarrierDocumentConfig[];
|
|
16
|
+
} & Dates;
|
|
17
|
+
export default CarrierDocumentConfigType;
|
package/build/types/index.d.ts
CHANGED
|
@@ -10,6 +10,10 @@ export * from './Carrier';
|
|
|
10
10
|
export { default as Carrier } from './Carrier';
|
|
11
11
|
export * from './CarrierDocument';
|
|
12
12
|
export { default as CarrierDocument } from './CarrierDocument';
|
|
13
|
+
export * from './CarrierDocumentConfig';
|
|
14
|
+
export { default as CarrierDocumentConfig } from './CarrierDocumentConfig';
|
|
15
|
+
export * from './CarrierDocumentConfigType';
|
|
16
|
+
export { default as CarrierDocumentConfigType } from './CarrierDocumentConfigType';
|
|
13
17
|
export * from './City';
|
|
14
18
|
export { default as City } from './City';
|
|
15
19
|
export * from './ContainerType';
|