b2m-utils 0.0.209 → 0.0.211

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.
@@ -5,10 +5,12 @@ import CteChat from "../CteChat";
5
5
  import CteCost from "../CteCost";
6
6
  import CteStatus from "../CteStatus";
7
7
  import CteType from "../CteType";
8
+ import CteVehicleType from "../CteVehicleType";
8
9
  import Dates from "../Dates";
9
10
  import Domain from "../Domain";
10
11
  import File from "../File";
11
12
  import InvoiceCte from "../InvoiceCte";
13
+ import Modal from "../Modal";
12
14
  import ServiceType from "../ServiceType";
13
15
  import User from "../User";
14
16
  export type Cte = {
@@ -16,6 +18,8 @@ export type Cte = {
16
18
  domainId: number;
17
19
  approvedByUserId?: number;
18
20
  carrierId?: number;
21
+ modalId?: number;
22
+ vehicleTypeId?: number;
19
23
  statusId?: number;
20
24
  typeId?: number;
21
25
  serviceTypeId?: number;
@@ -97,13 +101,16 @@ export type Cte = {
97
101
  specialApprovalObservations?: string;
98
102
  isCollect?: number;
99
103
  isCollectReverse?: number;
104
+ distance?: number;
100
105
  CteCost?: CteCost[];
101
106
  carrier?: Carrier;
102
107
  cityDestination?: City;
103
108
  cityOrigin?: City;
104
109
  cteType?: CteType;
110
+ cte_vehicle_types?: CteVehicleType;
105
111
  domain?: Domain;
106
112
  file?: File;
113
+ modals?: Modal;
107
114
  serviceType?: ServiceType;
108
115
  cteStatus?: CteStatus;
109
116
  cte_audited_values?: CteAuditValue[];
@@ -0,0 +1,6 @@
1
+ import { Dates } from "../Dates";
2
+ export type CteVehicleType = {
3
+ id: number;
4
+ name: string;
5
+ } & Dates;
6
+ export default CteVehicleType;
@@ -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;
@@ -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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "b2m-utils",
3
- "version": "0.0.209",
3
+ "version": "0.0.211",
4
4
  "description": "B2M Utils",
5
5
  "main": "build/index.js",
6
6
  "module": "build/index.esm.js",