b2m-utils 0.0.306 → 0.0.308
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/functions/calculateTotalPercentageFees/index.d.ts +3 -2
- package/build/index.esm.js +22 -16
- package/build/index.esm.js.gz +0 -0
- package/build/index.esm.js.map +1 -1
- package/build/index.js +22 -16
- package/build/index.js.gz +0 -0
- package/build/index.js.map +1 -1
- package/build/types/Cte/index.d.ts +4 -0
- package/build/types/CteInvoice/index.d.ts +23 -0
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@ import City from "../City";
|
|
|
3
3
|
import CteAuditValue from "../CteAuditedValue";
|
|
4
4
|
import CteChat from "../CteChat";
|
|
5
5
|
import CteCost from "../CteCost";
|
|
6
|
+
import CteInvoice from "../CteInvoice";
|
|
6
7
|
import CteStatus from "../CteStatus";
|
|
7
8
|
import CteTagRelation from "../CteTagRelation";
|
|
8
9
|
import CteType from "../CteType";
|
|
@@ -103,10 +104,13 @@ export type Cte = {
|
|
|
103
104
|
isRedelivery?: number;
|
|
104
105
|
hasSpecialApproval?: number;
|
|
105
106
|
specialApprovalObservations?: string;
|
|
107
|
+
isAppointment?: number;
|
|
108
|
+
auditObservations?: string;
|
|
106
109
|
isCollect?: number;
|
|
107
110
|
isCollectReverse?: number;
|
|
108
111
|
distance?: number;
|
|
109
112
|
CteCost?: CteCost[];
|
|
113
|
+
cte_invoices?: CteInvoice[];
|
|
110
114
|
carrier?: Carrier;
|
|
111
115
|
cityDestination?: City;
|
|
112
116
|
cityOrigin?: City;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import Cte from "../Cte";
|
|
2
|
+
import Dates from "../Dates";
|
|
3
|
+
export type CteInvoice = {
|
|
4
|
+
id: number;
|
|
5
|
+
cteId: number;
|
|
6
|
+
type: string;
|
|
7
|
+
key?: string;
|
|
8
|
+
number?: string;
|
|
9
|
+
series?: string;
|
|
10
|
+
model?: string;
|
|
11
|
+
issueDate?: string;
|
|
12
|
+
forecastDate?: string;
|
|
13
|
+
value?: number;
|
|
14
|
+
icmsBase?: number;
|
|
15
|
+
icmsValue?: number;
|
|
16
|
+
productValue?: number;
|
|
17
|
+
weight?: number;
|
|
18
|
+
pin?: string;
|
|
19
|
+
documentType?: string;
|
|
20
|
+
description?: string;
|
|
21
|
+
ctes?: Cte;
|
|
22
|
+
} & Dates;
|
|
23
|
+
export default CteInvoice;
|