b2m-utils 0.0.126 → 0.0.127

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.
Binary file
package/build/index.js.gz CHANGED
Binary file
@@ -0,0 +1,15 @@
1
+ import CarrierDocument from "../CarrierDocument";
2
+ import Cte from "../Cte";
3
+ import Dates from "../Dates";
4
+ import Domain from "../Domain";
5
+ export type Carrier = {
6
+ id: number;
7
+ domainId: number;
8
+ name: string;
9
+ cnpj: string;
10
+ divergenceTolerance: string;
11
+ CarrierDocument?: CarrierDocument[];
12
+ domain?: Domain;
13
+ Cte?: Cte[];
14
+ } & Dates;
15
+ export default Carrier;
@@ -0,0 +1,11 @@
1
+ import Carrier from "../Carrier";
2
+ import Dates from "../Dates";
3
+ export type CarrierDocument = {
4
+ id: number;
5
+ carrierId: number;
6
+ typeId: number;
7
+ value: string;
8
+ carrier?: Carrier;
9
+ documentType?: DocumentType;
10
+ } & Dates;
11
+ export default CarrierDocument;
@@ -0,0 +1,82 @@
1
+ import Carrier from "../Carrier";
2
+ import City from "../City";
3
+ import CteCost from "../CteCost";
4
+ import CteType from "../CteType";
5
+ import Dates from "../Dates";
6
+ import Domain from "../Domain";
7
+ import File from "../File";
8
+ import ServiceType from "../ServiceType";
9
+ export type Cte = {
10
+ id: number;
11
+ domainId: number;
12
+ carrierId: number;
13
+ typeId: number;
14
+ serviceTypeId: number;
15
+ cityOriginId: number;
16
+ cityDestinationId: number;
17
+ fileId: number;
18
+ cfop: string;
19
+ number: string;
20
+ sender: string;
21
+ senderAddress: string;
22
+ senderCity: string;
23
+ senderZipcode: string;
24
+ senderCNPJ: string;
25
+ senderIE: string;
26
+ senderPhone: string;
27
+ recipient: string;
28
+ recipientAddress: string;
29
+ recipientCity: string;
30
+ recipientZipcode: string;
31
+ recipientCNPJ: string;
32
+ recipientIE: string;
33
+ recipientPhone: string;
34
+ shipper: string;
35
+ shipperAddress: string;
36
+ shipperCity: string;
37
+ shipperZipcode: string;
38
+ shipperCNPJ: string;
39
+ shipperIE: string;
40
+ shipperPhone: string;
41
+ receiver: string;
42
+ receiverAddress: string;
43
+ receiverCity: string;
44
+ receiverZipcode: string;
45
+ receiverCNPJ: string;
46
+ receiverIE: string;
47
+ receiverPhone: string;
48
+ taker: string;
49
+ takerAddress: string;
50
+ takerCity: string;
51
+ takerZipcode: string;
52
+ takerCNPJ: string;
53
+ takerIE: string;
54
+ takerPhone: string;
55
+ takerService: string;
56
+ deliveryForecastAt: string;
57
+ series: number;
58
+ modal: string;
59
+ protocolNumber?: number;
60
+ freightValue?: number;
61
+ icmsValue?: number;
62
+ pisValue?: number;
63
+ cofinsValue?: number;
64
+ commodityProdPredomin?: string;
65
+ commodityType?: string;
66
+ commodityValue?: number;
67
+ commodityPairs?: number;
68
+ commodityVolumes?: number;
69
+ cubedWeight?: number;
70
+ weight?: number;
71
+ taxedWeight?: number;
72
+ observations?: string;
73
+ CteCost?: CteCost[];
74
+ carrier?: Carrier;
75
+ cityDestination?: City;
76
+ cityOrigin?: City;
77
+ cteType?: CteType;
78
+ domain?: Domain;
79
+ file?: File;
80
+ serviceType?: ServiceType;
81
+ } & Dates;
82
+ export default Cte;
@@ -0,0 +1,10 @@
1
+ import Cte from "../Cte";
2
+ import Dates from "../Dates";
3
+ export type CteCost = {
4
+ id: number;
5
+ cteId: number;
6
+ name: string;
7
+ value: number;
8
+ cte?: Cte;
9
+ } & Dates;
10
+ export default CteCost;
@@ -0,0 +1,8 @@
1
+ import Cte from "../Cte";
2
+ import Dates from "../Dates";
3
+ export type CteType = {
4
+ id: number;
5
+ name: string;
6
+ Cte?: Cte[];
7
+ } & Dates;
8
+ export default CteType;
@@ -0,0 +1,8 @@
1
+ import CarrierDocument from "../CarrierDocument";
2
+ import Dates from "../Dates";
3
+ export type DocumentType = {
4
+ id: number;
5
+ name: string;
6
+ CarrierDocument?: CarrierDocument[];
7
+ } & Dates;
8
+ export default DocumentType;
@@ -0,0 +1,8 @@
1
+ import Cte from "../Cte";
2
+ import Dates from "../Dates";
3
+ export type ServiceType = {
4
+ id: number;
5
+ name: string;
6
+ Cte?: Cte[];
7
+ } & Dates;
8
+ export default ServiceType;
@@ -6,16 +6,28 @@ export * from './ApplicationColumn';
6
6
  export { default as ApplicationColumn } from './ApplicationColumn';
7
7
  export * from './Auth';
8
8
  export { default as Auth } from './Auth';
9
+ export * from './Carrier';
10
+ export { default as Carrier } from './Carrier';
11
+ export * from './CarrierDocument';
12
+ export { default as CarrierDocument } from './CarrierDocument';
9
13
  export * from './City';
10
14
  export { default as City } from './City';
11
15
  export * from './ContainerType';
12
16
  export { default as ContainerType } from './ContainerType';
13
17
  export * from './Country';
14
18
  export { default as Country } from './Country';
19
+ export * from './Cte';
20
+ export { default as Cte } from './Cte';
21
+ export * from './CteCost';
22
+ export { default as CteCost } from './CteCost';
23
+ export * from './CteType';
24
+ export { default as CteType } from './CteType';
15
25
  export * from './Currency';
16
26
  export { default as Currency } from './Currency';
17
27
  export * from './Dates';
18
28
  export { default as Dates } from './Dates';
29
+ export * from './DocumentType';
30
+ export { default as DocumentType } from './DocumentType';
19
31
  export * from './Domain';
20
32
  export { default as Domain } from './Domain';
21
33
  export * from './DomainApplication';
@@ -94,6 +106,8 @@ export * from './RatecardModal';
94
106
  export { default as RatecardModal } from './RatecardModal';
95
107
  export * from './RatecardProvider';
96
108
  export { default as RatecardProvider } from './RatecardProvider';
109
+ export * from './ServiceType';
110
+ export { default as ServiceType } from './ServiceType';
97
111
  export * from './ShipmentType';
98
112
  export { default as ShipmentType } from './ShipmentType';
99
113
  export * from './Shipowner';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "b2m-utils",
3
- "version": "0.0.126",
3
+ "version": "0.0.127",
4
4
  "description": "B2M Utils",
5
5
  "main": "build/index.js",
6
6
  "module": "build/index.esm.js",