b2m-utils 0.0.9 → 0.0.11
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/types/ContainerType/index.d.ts +6 -0
- package/build/types/Dates/index.d.ts +5 -0
- package/build/types/Domain/index.d.ts +11 -0
- package/build/types/DomainDivision/index.d.ts +12 -0
- package/build/types/FreightPlace/index.d.ts +16 -0
- package/build/types/FreightPlaceCountry/index.d.ts +6 -0
- package/build/types/FreightPlaceRegion/index.d.ts +6 -0
- package/build/types/Modal/index.d.ts +6 -0
- package/build/types/ProcessFreightForwarder/index.d.ts +27 -0
- package/build/types/ProcessShippingCompany/index.d.ts +10 -0
- package/build/types/SpotStatus/index.d.ts +6 -0
- package/build/types/TrackProcess/index.d.ts +53 -0
- package/build/types/TrackProcessContainer/index.d.ts +12 -0
- package/build/types/TrackProcessDispatcher/index.d.ts +18 -0
- package/build/types/TrackProcessInvoice/index.d.ts +10 -0
- package/build/types/TrackProcessObservation/index.d.ts +8 -0
- package/build/types/TrackProcessTerminal/index.d.ts +10 -0
- package/build/types/User/index.d.ts +10 -0
- package/build/types/index.d.ts +36 -0
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import Dates from "../Dates";
|
|
2
|
+
import Domain from "../Domain";
|
|
3
|
+
import TrackProcess from "../TrackProcess";
|
|
4
|
+
export type DomainDivision = {
|
|
5
|
+
id: number;
|
|
6
|
+
domainId: number;
|
|
7
|
+
code: string;
|
|
8
|
+
name: string;
|
|
9
|
+
domain: Domain;
|
|
10
|
+
TrackProcess: TrackProcess[];
|
|
11
|
+
} & Dates;
|
|
12
|
+
export default DomainDivision;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import Dates from "../Dates";
|
|
2
|
+
import FreightPlaceCountry from "../FreightPlaceCountry";
|
|
3
|
+
import FreightPlaceRegion from "../FreightPlaceRegion";
|
|
4
|
+
export type FreightPlace = {
|
|
5
|
+
id: number;
|
|
6
|
+
freightPlaceTypeId: number;
|
|
7
|
+
freightPlaceCountryId: number;
|
|
8
|
+
freightPlaceRegionId: number;
|
|
9
|
+
iata: string;
|
|
10
|
+
icao: string;
|
|
11
|
+
name: string;
|
|
12
|
+
location: string;
|
|
13
|
+
freightPlaceCountry: FreightPlaceCountry;
|
|
14
|
+
freightPlaceRegion: FreightPlaceRegion;
|
|
15
|
+
} & Dates;
|
|
16
|
+
export default FreightPlace;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import Dates from "../Dates";
|
|
2
|
+
export type ProcessFreightForwarder = {
|
|
3
|
+
processId: number;
|
|
4
|
+
forwarderId: number;
|
|
5
|
+
priorityId: number;
|
|
6
|
+
incotermId: number;
|
|
7
|
+
shipownerId: number;
|
|
8
|
+
cntrTypeId: number;
|
|
9
|
+
cntrQtd: number;
|
|
10
|
+
shipmentTypeId: number;
|
|
11
|
+
currencyId: number;
|
|
12
|
+
freightValuePP: number;
|
|
13
|
+
freightValueCC: number;
|
|
14
|
+
freightTax: number;
|
|
15
|
+
house: string;
|
|
16
|
+
houseAt: string;
|
|
17
|
+
master: string;
|
|
18
|
+
rawWeight: number;
|
|
19
|
+
cubedWeight: number;
|
|
20
|
+
volume: number;
|
|
21
|
+
etdAt: string;
|
|
22
|
+
etaAt: string;
|
|
23
|
+
departureAt: string;
|
|
24
|
+
mooringAt: string;
|
|
25
|
+
comments: string;
|
|
26
|
+
} & Dates;
|
|
27
|
+
export default ProcessFreightForwarder;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import Dates from "../Dates";
|
|
2
|
+
import Domain from "../Domain";
|
|
3
|
+
import DomainDivision from "../DomainDivision";
|
|
4
|
+
import FreightPlace from "../FreightPlace";
|
|
5
|
+
import { Modal } from "../Modal";
|
|
6
|
+
import ProcessFreightForwarder from "../ProcessFreightForwarder";
|
|
7
|
+
import { ProcessShippingCompany } from "../ProcessShippingCompany";
|
|
8
|
+
import { SpotStatus } from "../SpotStatus";
|
|
9
|
+
import TrackProcessContainer from "../TrackProcessContainer";
|
|
10
|
+
import TrackProcessDispatcher from "../TrackProcessDispatcher";
|
|
11
|
+
import TrackProcessInvoice from "../TrackProcessInvoice";
|
|
12
|
+
import TrackProcessObservation from "../TrackProcessObservation";
|
|
13
|
+
import TrackProcessTerminal from "../TrackProcessTerminal";
|
|
14
|
+
import User from "../User";
|
|
15
|
+
export type TrackProcess = {
|
|
16
|
+
id: number;
|
|
17
|
+
domainId: number;
|
|
18
|
+
userId: number;
|
|
19
|
+
statusId: number;
|
|
20
|
+
divisionId: number;
|
|
21
|
+
originId: number;
|
|
22
|
+
destinationId: number;
|
|
23
|
+
modalId: number;
|
|
24
|
+
deliveryAt: string;
|
|
25
|
+
shipper: string;
|
|
26
|
+
po: string;
|
|
27
|
+
invoice: string;
|
|
28
|
+
partNumber: string;
|
|
29
|
+
comments: string;
|
|
30
|
+
deadlineAt: string;
|
|
31
|
+
finalizedAt: string;
|
|
32
|
+
period: string;
|
|
33
|
+
clearanceForecastAt: string;
|
|
34
|
+
arrivalForecastAt: string;
|
|
35
|
+
terminalComments: string;
|
|
36
|
+
transportComments: string;
|
|
37
|
+
deletedAt: string;
|
|
38
|
+
ProcessFreightForwarder: ProcessFreightForwarder[];
|
|
39
|
+
ProcessShippingCompany: ProcessShippingCompany[];
|
|
40
|
+
TrackProcessContainer: TrackProcessContainer[];
|
|
41
|
+
TrackProcessDispatcher: TrackProcessDispatcher[];
|
|
42
|
+
TrackProcessInvoice: TrackProcessInvoice[];
|
|
43
|
+
TrackProcessObservation: TrackProcessObservation[];
|
|
44
|
+
TrackProcessTerminal: TrackProcessTerminal[];
|
|
45
|
+
domainDivision?: DomainDivision;
|
|
46
|
+
domain: Domain;
|
|
47
|
+
freightPlaceOrigin?: FreightPlace;
|
|
48
|
+
freightPlaceDestination?: FreightPlace;
|
|
49
|
+
modal?: Modal;
|
|
50
|
+
status: SpotStatus;
|
|
51
|
+
user: User;
|
|
52
|
+
} & Dates;
|
|
53
|
+
export default TrackProcess;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import ContainerType from "../ContainerType";
|
|
2
|
+
import Dates from "../Dates";
|
|
3
|
+
import TrackProcess from "../TrackProcess";
|
|
4
|
+
export type TrackProcessContainer = {
|
|
5
|
+
id: number;
|
|
6
|
+
processId: number;
|
|
7
|
+
containerTypeId: number;
|
|
8
|
+
name?: string;
|
|
9
|
+
containerType: ContainerType;
|
|
10
|
+
trackProcess: TrackProcess;
|
|
11
|
+
} & Dates;
|
|
12
|
+
export default TrackProcessContainer;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Dates } from "../Dates";
|
|
2
|
+
export type TrackProcessDispatcher = {
|
|
3
|
+
dispatcherId: number;
|
|
4
|
+
dispatcherReference: string;
|
|
5
|
+
didaNumber: string;
|
|
6
|
+
diRegisterAt: string;
|
|
7
|
+
clearanceAt: string;
|
|
8
|
+
clearanceForecastAt: string;
|
|
9
|
+
channelId: number;
|
|
10
|
+
diTax: number;
|
|
11
|
+
commodityValue: number;
|
|
12
|
+
insuranceCurrencyId: number;
|
|
13
|
+
insuranceTax: number;
|
|
14
|
+
insuranceValue: number;
|
|
15
|
+
insuranceValueReais: number;
|
|
16
|
+
comments: string;
|
|
17
|
+
} & Dates;
|
|
18
|
+
export default TrackProcessDispatcher;
|
package/build/types/index.d.ts
CHANGED
|
@@ -2,3 +2,39 @@ export * from './AnyObject';
|
|
|
2
2
|
export { default as AnyObject } from './AnyObject';
|
|
3
3
|
export * from './Auth';
|
|
4
4
|
export { default as Auth } from './Auth';
|
|
5
|
+
export * from './ContainerType';
|
|
6
|
+
export { default as ContainerType } from './ContainerType';
|
|
7
|
+
export * from './Dates';
|
|
8
|
+
export { default as Dates } from './Dates';
|
|
9
|
+
export * from './Domain';
|
|
10
|
+
export { default as Domain } from './Domain';
|
|
11
|
+
export * from './DomainDivision';
|
|
12
|
+
export { default as DomainDivision } from './DomainDivision';
|
|
13
|
+
export * from './FreightPlace';
|
|
14
|
+
export { default as FreightPlace } from './FreightPlace';
|
|
15
|
+
export * from './FreightPlaceCountry';
|
|
16
|
+
export { default as FreightPlaceCountry } from './FreightPlaceCountry';
|
|
17
|
+
export * from './FreightPlaceRegion';
|
|
18
|
+
export { default as FreightPlaceRegion } from './FreightPlaceRegion';
|
|
19
|
+
export * from './Modal';
|
|
20
|
+
export { default as Modal } from './Modal';
|
|
21
|
+
export * from './ProcessFreightForwarder';
|
|
22
|
+
export { default as ProcessFreightForwarder } from './ProcessFreightForwarder';
|
|
23
|
+
export * from './ProcessShippingCompany';
|
|
24
|
+
export { default as ProcessShippingCompany } from './ProcessShippingCompany';
|
|
25
|
+
export * from './SpotStatus';
|
|
26
|
+
export { default as SpotStatus } from './SpotStatus';
|
|
27
|
+
export * from './TrackProcess';
|
|
28
|
+
export { default as TrackProcess } from './TrackProcess';
|
|
29
|
+
export * from './TrackProcessContainer';
|
|
30
|
+
export { default as TrackProcessContainer } from './TrackProcessContainer';
|
|
31
|
+
export * from './TrackProcessDispatcher';
|
|
32
|
+
export { default as TrackProcessDispatcher } from './TrackProcessDispatcher';
|
|
33
|
+
export * from './TrackProcessInvoice';
|
|
34
|
+
export { default as TrackProcessInvoice } from './TrackProcessInvoice';
|
|
35
|
+
export * from './TrackProcessObservation';
|
|
36
|
+
export { default as TrackProcessObservation } from './TrackProcessObservation';
|
|
37
|
+
export * from './TrackProcessTerminal';
|
|
38
|
+
export { default as TrackProcessTerminal } from './TrackProcessTerminal';
|
|
39
|
+
export * from './User';
|
|
40
|
+
export { default as User } from './User';
|