b2m-utils 0.0.210 → 0.0.212
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/CteVehicleTypeEnum.d.ts +8 -0
- package/build/enums/index.d.ts +1 -0
- package/build/index.esm.js +11 -1
- package/build/index.esm.js.gz +0 -0
- package/build/index.esm.js.map +1 -1
- package/build/index.js +10 -0
- package/build/index.js.gz +0 -0
- package/build/index.js.map +1 -1
- package/build/types/Cte/index.d.ts +9 -0
- package/build/types/CteTag/index.d.ts +14 -0
- package/build/types/CteTagRelation/index.d.ts +14 -0
- package/build/types/CteVehicleType/index.d.ts +6 -0
- package/build/types/RatecardLaneFee/index.d.ts +5 -0
- package/build/types/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -4,11 +4,14 @@ import CteAuditValue from "../CteAuditedValue";
|
|
|
4
4
|
import CteChat from "../CteChat";
|
|
5
5
|
import CteCost from "../CteCost";
|
|
6
6
|
import CteStatus from "../CteStatus";
|
|
7
|
+
import CteTagRelation from "../CteTagRelation";
|
|
7
8
|
import CteType from "../CteType";
|
|
9
|
+
import CteVehicleType from "../CteVehicleType";
|
|
8
10
|
import Dates from "../Dates";
|
|
9
11
|
import Domain from "../Domain";
|
|
10
12
|
import File from "../File";
|
|
11
13
|
import InvoiceCte from "../InvoiceCte";
|
|
14
|
+
import Modal from "../Modal";
|
|
12
15
|
import ServiceType from "../ServiceType";
|
|
13
16
|
import User from "../User";
|
|
14
17
|
export type Cte = {
|
|
@@ -16,6 +19,8 @@ export type Cte = {
|
|
|
16
19
|
domainId: number;
|
|
17
20
|
approvedByUserId?: number;
|
|
18
21
|
carrierId?: number;
|
|
22
|
+
modalId?: number;
|
|
23
|
+
vehicleTypeId?: number;
|
|
19
24
|
statusId?: number;
|
|
20
25
|
typeId?: number;
|
|
21
26
|
serviceTypeId?: number;
|
|
@@ -97,18 +102,22 @@ export type Cte = {
|
|
|
97
102
|
specialApprovalObservations?: string;
|
|
98
103
|
isCollect?: number;
|
|
99
104
|
isCollectReverse?: number;
|
|
105
|
+
distance?: number;
|
|
100
106
|
CteCost?: CteCost[];
|
|
101
107
|
carrier?: Carrier;
|
|
102
108
|
cityDestination?: City;
|
|
103
109
|
cityOrigin?: City;
|
|
104
110
|
cteType?: CteType;
|
|
111
|
+
cte_vehicle_types?: CteVehicleType;
|
|
105
112
|
domain?: Domain;
|
|
106
113
|
file?: File;
|
|
114
|
+
modals?: Modal;
|
|
107
115
|
serviceType?: ServiceType;
|
|
108
116
|
cteStatus?: CteStatus;
|
|
109
117
|
cte_audited_values?: CteAuditValue[];
|
|
110
118
|
users?: User;
|
|
111
119
|
cte_chats?: CteChat[];
|
|
112
120
|
invoice_ctes?: InvoiceCte[];
|
|
121
|
+
cte_tag_relations?: CteTagRelation[];
|
|
113
122
|
} & Dates;
|
|
114
123
|
export default Cte;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import CteTagRelation from "../CteTagRelation";
|
|
2
|
+
import Dates from "../Dates";
|
|
3
|
+
import Domain from "../Domain";
|
|
4
|
+
export type CteTag = {
|
|
5
|
+
id: number;
|
|
6
|
+
domainId: number;
|
|
7
|
+
name: string;
|
|
8
|
+
color?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
deletedAt?: string;
|
|
11
|
+
cte_tag_relations?: CteTagRelation[];
|
|
12
|
+
domain?: Domain;
|
|
13
|
+
} & Dates;
|
|
14
|
+
export default CteTag;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import Cte from "../Cte";
|
|
2
|
+
import CteTag from "../CteTag";
|
|
3
|
+
import User from "../User";
|
|
4
|
+
export type CteTagRelation = {
|
|
5
|
+
id: number;
|
|
6
|
+
cteId: number;
|
|
7
|
+
tagId: number;
|
|
8
|
+
createdByUserId?: number;
|
|
9
|
+
createdAt: string;
|
|
10
|
+
cte?: Cte;
|
|
11
|
+
cte_tag?: CteTag;
|
|
12
|
+
user?: User;
|
|
13
|
+
};
|
|
14
|
+
export default CteTagRelation;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import CteVehicleType from "../CteVehicleType";
|
|
1
2
|
import Currency from "../Currency";
|
|
2
3
|
import Dates from "../Dates";
|
|
3
4
|
import Fee from "../Fee";
|
|
@@ -9,10 +10,14 @@ export type RatecardLaneFee = {
|
|
|
9
10
|
currencyId?: number;
|
|
10
11
|
minWeight?: number;
|
|
11
12
|
maxWeight?: number;
|
|
13
|
+
minKm?: number;
|
|
14
|
+
maxKm?: number;
|
|
15
|
+
vehicleTypeId?: number;
|
|
12
16
|
value: number;
|
|
13
17
|
total?: number;
|
|
14
18
|
currency?: Currency;
|
|
15
19
|
fee?: Fee;
|
|
16
20
|
ratecardLane?: RatecardLane;
|
|
21
|
+
cteVehicleType?: CteVehicleType;
|
|
17
22
|
} & Dates;
|
|
18
23
|
export default RatecardLaneFee;
|
package/build/types/index.d.ts
CHANGED
|
@@ -30,6 +30,8 @@ export * from './CteCost';
|
|
|
30
30
|
export { default as CteCost } from './CteCost';
|
|
31
31
|
export * from './CteType';
|
|
32
32
|
export { default as CteType } from './CteType';
|
|
33
|
+
export * from './CteVehicleType';
|
|
34
|
+
export { default as CteVehicleType } from './CteVehicleType';
|
|
33
35
|
export * from './Currency';
|
|
34
36
|
export { default as Currency } from './Currency';
|
|
35
37
|
export * from './Dates';
|