@indigina/dcm-api 0.0.28 → 0.0.30
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/README.md +2 -2
- package/api/api.d.ts +7 -1
- package/api/auditLogs.service.d.ts +43 -0
- package/api/containers.service.d.ts +27 -0
- package/api/documents.service.d.ts +43 -0
- package/api/notes.service.d.ts +43 -0
- package/api/shipments.service.d.ts +15 -118
- package/esm2022/api/api.mjs +8 -2
- package/esm2022/api/auditLogs.service.mjs +162 -0
- package/esm2022/api/containers.service.mjs +66 -2
- package/esm2022/api/documents.service.mjs +162 -0
- package/esm2022/api/notes.service.mjs +162 -0
- package/esm2022/api/shipments.service.mjs +8 -247
- package/esm2022/model/containerTypes.mjs +16 -0
- package/esm2022/model/journeySegmentTypes.mjs +15 -0
- package/esm2022/model/models.mjs +4 -2
- package/esm2022/model/shipmentContainer.mjs +1 -1
- package/esm2022/model/shipmentProduct.mjs +1 -1
- package/esm2022/model/shipmentRouting.mjs +1 -11
- package/esm2022/model/shipmentTimelineItem.mjs +1 -11
- package/esm2022/model/timelineEventTypes.mjs +26 -0
- package/fesm2022/indigina-dcm-api.mjs +496 -193
- package/fesm2022/indigina-dcm-api.mjs.map +1 -1
- package/model/containerTypes.d.ts +16 -0
- package/model/{containerType.d.ts → journeySegmentTypes.d.ts} +4 -5
- package/model/models.d.ts +3 -1
- package/model/shipmentContainer.d.ts +4 -4
- package/model/shipmentProduct.d.ts +4 -5
- package/model/shipmentRouting.d.ts +4 -0
- package/model/shipmentTimelineItem.d.ts +4 -1
- package/model/timelineEventTypes.d.ts +26 -0
- package/package.json +1 -1
- package/esm2022/model/containerType.mjs +0 -16
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dcm.API.Client
|
|
3
|
+
* DCM API Client for Angular applications
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
export type ContainerTypes = 'CfsCfs' | 'CfsCy' | 'CyCy';
|
|
12
|
+
export declare const ContainerTypes: {
|
|
13
|
+
CfsCfs: ContainerTypes;
|
|
14
|
+
CfsCy: ContainerTypes;
|
|
15
|
+
CyCy: ContainerTypes;
|
|
16
|
+
};
|
|
@@ -8,9 +8,8 @@
|
|
|
8
8
|
* https://openapi-generator.tech
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
|
-
export type
|
|
12
|
-
export declare const
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
CyCy: ContainerType;
|
|
11
|
+
export type JourneySegmentTypes = 'Mother' | 'Feeder';
|
|
12
|
+
export declare const JourneySegmentTypes: {
|
|
13
|
+
Mother: JourneySegmentTypes;
|
|
14
|
+
Feeder: JourneySegmentTypes;
|
|
16
15
|
};
|
package/model/models.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export * from './column';
|
|
|
5
5
|
export * from './commandStatusResult';
|
|
6
6
|
export * from './company';
|
|
7
7
|
export * from './consignee';
|
|
8
|
-
export * from './
|
|
8
|
+
export * from './containerTypes';
|
|
9
9
|
export * from './containersCount';
|
|
10
10
|
export * from './containersToDeliverCount';
|
|
11
11
|
export * from './country';
|
|
@@ -22,6 +22,7 @@ export * from './embedTokenDto';
|
|
|
22
22
|
export * from './entityList';
|
|
23
23
|
export * from './entityState';
|
|
24
24
|
export * from './failures';
|
|
25
|
+
export * from './journeySegmentTypes';
|
|
25
26
|
export * from './modelError';
|
|
26
27
|
export * from './note';
|
|
27
28
|
export * from './notes';
|
|
@@ -49,6 +50,7 @@ export * from './shipmentsCount';
|
|
|
49
50
|
export * from './shipmentsInTransitCount';
|
|
50
51
|
export * from './summaryDashboardReports';
|
|
51
52
|
export * from './supplier';
|
|
53
|
+
export * from './timelineEventTypes';
|
|
52
54
|
export * from './transportCarrier';
|
|
53
55
|
export * from './transportLocation';
|
|
54
56
|
export * from './user';
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
* https://openapi-generator.tech
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
|
-
import {
|
|
11
|
+
import { ContainerTypes } from './containerTypes';
|
|
12
12
|
export interface ShipmentContainer {
|
|
13
13
|
id: string;
|
|
14
14
|
number: string;
|
|
15
15
|
sealNumber: string;
|
|
16
|
-
|
|
16
|
+
containerSize: string;
|
|
17
17
|
bcn: boolean;
|
|
18
18
|
goh: boolean;
|
|
19
19
|
packsQuantity: number | null;
|
|
@@ -22,8 +22,8 @@ export interface ShipmentContainer {
|
|
|
22
22
|
cbm: number | null;
|
|
23
23
|
weight: number | null;
|
|
24
24
|
dangerousGoodsClass: string;
|
|
25
|
-
gateInDate: string;
|
|
26
|
-
containerType:
|
|
25
|
+
gateInDate: string | null;
|
|
26
|
+
containerType: ContainerTypes;
|
|
27
27
|
}
|
|
28
28
|
export declare namespace ShipmentContainer {
|
|
29
29
|
}
|
|
@@ -14,19 +14,18 @@ export interface ShipmentProduct {
|
|
|
14
14
|
lineNo: number | null;
|
|
15
15
|
code: string;
|
|
16
16
|
description: string;
|
|
17
|
-
supplierId: string | null;
|
|
18
17
|
supplier: string;
|
|
19
|
-
|
|
18
|
+
poQuantity: number;
|
|
20
19
|
totalBookedQuantity: number | null;
|
|
21
20
|
bookedQuantity: number;
|
|
22
21
|
packsQuantity: number;
|
|
23
22
|
shippedQuantity: number;
|
|
24
23
|
tolerance: string;
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
qcApproved: boolean | null;
|
|
25
|
+
qcApprovedDate: string | null;
|
|
27
26
|
exDate: string | null;
|
|
28
27
|
deliveryDate: string | null;
|
|
29
|
-
|
|
28
|
+
dcCountry: string;
|
|
30
29
|
unitCostIncCurrency: string;
|
|
31
30
|
commodityCode: string;
|
|
32
31
|
colour: string;
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
* https://openapi-generator.tech
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
|
+
import { JourneySegmentTypes } from './journeySegmentTypes';
|
|
11
12
|
export interface ShipmentRouting {
|
|
12
13
|
carrierName: string;
|
|
13
14
|
vesselName: string;
|
|
@@ -19,4 +20,7 @@ export interface ShipmentRouting {
|
|
|
19
20
|
destinationPort: string;
|
|
20
21
|
voyage: string;
|
|
21
22
|
closingDate: string | null;
|
|
23
|
+
type: JourneySegmentTypes;
|
|
24
|
+
}
|
|
25
|
+
export declare namespace ShipmentRouting {
|
|
22
26
|
}
|
|
@@ -8,8 +8,11 @@
|
|
|
8
8
|
* https://openapi-generator.tech
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
|
+
import { TimelineEventTypes } from './timelineEventTypes';
|
|
11
12
|
export interface ShipmentTimelineItem {
|
|
12
13
|
date: string;
|
|
13
|
-
|
|
14
|
+
type: TimelineEventTypes;
|
|
14
15
|
additionalInfo: string;
|
|
15
16
|
}
|
|
17
|
+
export declare namespace ShipmentTimelineItem {
|
|
18
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dcm.API.Client
|
|
3
|
+
* DCM API Client for Angular applications
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
export type TimelineEventTypes = 'BookingCreated' | 'ShipmentCreated' | 'ApprovalRequested' | 'CargoReady' | 'ApprovalDeadline' | 'Approved' | 'Etd' | 'Departure' | 'ConfirmedOnBoard' | 'Eta' | 'Arrival' | 'ProjectedDelivered' | 'Pod';
|
|
12
|
+
export declare const TimelineEventTypes: {
|
|
13
|
+
BookingCreated: TimelineEventTypes;
|
|
14
|
+
ShipmentCreated: TimelineEventTypes;
|
|
15
|
+
ApprovalRequested: TimelineEventTypes;
|
|
16
|
+
CargoReady: TimelineEventTypes;
|
|
17
|
+
ApprovalDeadline: TimelineEventTypes;
|
|
18
|
+
Approved: TimelineEventTypes;
|
|
19
|
+
Etd: TimelineEventTypes;
|
|
20
|
+
Departure: TimelineEventTypes;
|
|
21
|
+
ConfirmedOnBoard: TimelineEventTypes;
|
|
22
|
+
Eta: TimelineEventTypes;
|
|
23
|
+
Arrival: TimelineEventTypes;
|
|
24
|
+
ProjectedDelivered: TimelineEventTypes;
|
|
25
|
+
Pod: TimelineEventTypes;
|
|
26
|
+
};
|
package/package.json
CHANGED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Dcm.API.Client
|
|
3
|
-
* DCM API Client for Angular applications
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
-
* https://openapi-generator.tech
|
|
9
|
-
* Do not edit the class manually.
|
|
10
|
-
*/
|
|
11
|
-
export const ContainerType = {
|
|
12
|
-
CfsCfs: 'CFS/CFS',
|
|
13
|
-
CfsCy: 'CFS/CY',
|
|
14
|
-
CyCy: 'CY/CY'
|
|
15
|
-
};
|
|
16
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGFpbmVyVHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL21vZGVsL2NvbnRhaW5lclR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7OztHQVNHO0FBS0gsTUFBTSxDQUFDLE1BQU0sYUFBYSxHQUFHO0lBQ3pCLE1BQU0sRUFBRSxTQUEwQjtJQUNsQyxLQUFLLEVBQUUsUUFBeUI7SUFDaEMsSUFBSSxFQUFFLE9BQXdCO0NBQ2pDLENBQUMiL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