@indigina/dcm-api 0.0.45 → 0.0.47
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 +3 -1
- package/api/purchaseOrders.service.d.ts +116 -0
- package/api/shipments.service.d.ts +4 -4
- package/fesm2022/indigina-dcm-api.mjs +358 -18
- package/fesm2022/indigina-dcm-api.mjs.map +1 -1
- package/model/approvalContainerInfo.d.ts +1 -1
- package/model/dc.d.ts +16 -0
- package/model/models.d.ts +9 -1
- package/model/purchaseOrderGridView.d.ts +44 -0
- package/model/purchaseOrderItem.d.ts +44 -0
- package/model/purchaseOrderItems.d.ts +14 -0
- package/model/purchaseOrderState.d.ts +19 -0
- package/model/purchaseOrderSummary.d.ts +42 -0
- package/model/purchaseOrderView.d.ts +38 -0
- package/model/purchaseOrders.d.ts +14 -0
- package/model/shipment.d.ts +2 -2
- package/model/shipmentApproval.d.ts +2 -2
- package/model/shipmentSummary.d.ts +2 -2
- package/model/{shipmentType.d.ts → transportMode.d.ts} +5 -5
- package/model/transportationShipmentTimelineItem.d.ts +2 -2
- package/package.json +1 -1
package/model/dc.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dcm.API.Client
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
import { Country } from './country';
|
|
11
|
+
export interface Dc {
|
|
12
|
+
id: string;
|
|
13
|
+
countryOfOriginId?: string;
|
|
14
|
+
countryOfOrigin?: Country;
|
|
15
|
+
description?: string;
|
|
16
|
+
}
|
package/model/models.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export * from './country';
|
|
|
15
15
|
export * from './currentUser';
|
|
16
16
|
export * from './dashboardReportGroup';
|
|
17
17
|
export * from './dashboardReports';
|
|
18
|
+
export * from './dc';
|
|
18
19
|
export * from './deliveryShipmentTimelineItem';
|
|
19
20
|
export * from './departmentShipment';
|
|
20
21
|
export * from './document';
|
|
@@ -35,6 +36,13 @@ export * from './notes';
|
|
|
35
36
|
export * from './pendingMessagesCount';
|
|
36
37
|
export * from './port';
|
|
37
38
|
export * from './powerBiTenant';
|
|
39
|
+
export * from './purchaseOrderGridView';
|
|
40
|
+
export * from './purchaseOrderItem';
|
|
41
|
+
export * from './purchaseOrderItems';
|
|
42
|
+
export * from './purchaseOrderState';
|
|
43
|
+
export * from './purchaseOrderSummary';
|
|
44
|
+
export * from './purchaseOrderView';
|
|
45
|
+
export * from './purchaseOrders';
|
|
38
46
|
export * from './recordTypes';
|
|
39
47
|
export * from './setNewFeaturesVisibilityCommand';
|
|
40
48
|
export * from './settingValue';
|
|
@@ -60,7 +68,6 @@ export * from './shipmentSummary';
|
|
|
60
68
|
export * from './shipmentTerm';
|
|
61
69
|
export * from './shipmentTimelineInner';
|
|
62
70
|
export * from './shipmentTimelineItem';
|
|
63
|
-
export * from './shipmentType';
|
|
64
71
|
export * from './shipments';
|
|
65
72
|
export * from './shipmentsApprovalCount';
|
|
66
73
|
export * from './shipmentsCount';
|
|
@@ -71,6 +78,7 @@ export * from './timelineEventStates';
|
|
|
71
78
|
export * from './timelineEventTypes';
|
|
72
79
|
export * from './transportCarrier';
|
|
73
80
|
export * from './transportLocation';
|
|
81
|
+
export * from './transportMode';
|
|
74
82
|
export * from './transportationShipmentTimelineItem';
|
|
75
83
|
export * from './user';
|
|
76
84
|
export * from './userApplication';
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dcm.API.Client
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
import { ShipmentTerm } from './shipmentTerm';
|
|
11
|
+
import { PurchaseOrderState } from './purchaseOrderState';
|
|
12
|
+
import { TransportMode } from './transportMode';
|
|
13
|
+
export interface PurchaseOrderGridView {
|
|
14
|
+
poNumber: string;
|
|
15
|
+
clientId: string | null;
|
|
16
|
+
clientName: string;
|
|
17
|
+
supplierId?: string | null;
|
|
18
|
+
supplierName: string;
|
|
19
|
+
supplierCode: string;
|
|
20
|
+
currencyId: string | null;
|
|
21
|
+
currencyCode: string;
|
|
22
|
+
currencyDescription: string;
|
|
23
|
+
buyer: string;
|
|
24
|
+
poDate: string;
|
|
25
|
+
shippingTermLocation: string;
|
|
26
|
+
deliveryDate: string | null;
|
|
27
|
+
state: PurchaseOrderState;
|
|
28
|
+
shippingTerms: ShipmentTerm;
|
|
29
|
+
transportMode: TransportMode;
|
|
30
|
+
noOfLines: number;
|
|
31
|
+
totalUnits: number;
|
|
32
|
+
exDate: string | null;
|
|
33
|
+
createdDate: string;
|
|
34
|
+
consigneeId: string | null;
|
|
35
|
+
consigneeName: string;
|
|
36
|
+
total: number;
|
|
37
|
+
createdUserId: string;
|
|
38
|
+
createdBy: string;
|
|
39
|
+
countryOfOriginId: string | null;
|
|
40
|
+
countryOfOrigin: string;
|
|
41
|
+
distributionCenter: string;
|
|
42
|
+
}
|
|
43
|
+
export declare namespace PurchaseOrderGridView {
|
|
44
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dcm.API.Client
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
import { ShipmentTerm } from './shipmentTerm';
|
|
11
|
+
import { PurchaseOrderState } from './purchaseOrderState';
|
|
12
|
+
import { Dc } from './dc';
|
|
13
|
+
export interface PurchaseOrderItem {
|
|
14
|
+
code: string;
|
|
15
|
+
description: string;
|
|
16
|
+
price: number | null;
|
|
17
|
+
qcApproved: boolean | null;
|
|
18
|
+
qcApprovedDate: string | null;
|
|
19
|
+
ean: string;
|
|
20
|
+
lineNo: number | null;
|
|
21
|
+
quantity: number;
|
|
22
|
+
totalBookedQuantity: number | null;
|
|
23
|
+
estimatedCbm: number | null;
|
|
24
|
+
exDate: string | null;
|
|
25
|
+
deliveryDate: string | null;
|
|
26
|
+
commodityCode: string;
|
|
27
|
+
season: string;
|
|
28
|
+
seasonYear: number | null;
|
|
29
|
+
productCategory: string;
|
|
30
|
+
colour: string;
|
|
31
|
+
attributeList: string;
|
|
32
|
+
size: string;
|
|
33
|
+
state: PurchaseOrderState | null;
|
|
34
|
+
customerDeliveryRef: string;
|
|
35
|
+
restrictSplit: boolean | null;
|
|
36
|
+
buyersItemNumber: string;
|
|
37
|
+
latestExDate: string | null;
|
|
38
|
+
shippingTerms: ShipmentTerm | null;
|
|
39
|
+
purchaseOrderId: string | null;
|
|
40
|
+
dcId: string | null;
|
|
41
|
+
dc?: Dc;
|
|
42
|
+
}
|
|
43
|
+
export declare namespace PurchaseOrderItem {
|
|
44
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dcm.API.Client
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
import { PurchaseOrderItem } from './purchaseOrderItem';
|
|
11
|
+
export interface PurchaseOrderItems {
|
|
12
|
+
total: number;
|
|
13
|
+
data: Array<PurchaseOrderItem>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dcm.API.Client
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
export type PurchaseOrderState = 'Draft' | 'NotAllocated' | 'PartlyAllocated' | 'FullyAllocated' | 'Commit' | 'Complete' | 'Deleted';
|
|
11
|
+
export declare const PurchaseOrderState: {
|
|
12
|
+
Draft: PurchaseOrderState;
|
|
13
|
+
NotAllocated: PurchaseOrderState;
|
|
14
|
+
PartlyAllocated: PurchaseOrderState;
|
|
15
|
+
FullyAllocated: PurchaseOrderState;
|
|
16
|
+
Commit: PurchaseOrderState;
|
|
17
|
+
Complete: PurchaseOrderState;
|
|
18
|
+
Deleted: PurchaseOrderState;
|
|
19
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dcm.API.Client
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
import { ShipmentTerm } from './shipmentTerm';
|
|
11
|
+
import { PurchaseOrderState } from './purchaseOrderState';
|
|
12
|
+
import { TransportMode } from './transportMode';
|
|
13
|
+
export interface PurchaseOrderSummary {
|
|
14
|
+
poNumber: string;
|
|
15
|
+
clientId: string | null;
|
|
16
|
+
clientName: string;
|
|
17
|
+
supplierId?: string | null;
|
|
18
|
+
supplierName: string;
|
|
19
|
+
supplierCode: string;
|
|
20
|
+
currencyId: string | null;
|
|
21
|
+
currencyCode: string;
|
|
22
|
+
currencyDescription: string;
|
|
23
|
+
buyer: string;
|
|
24
|
+
poDate: string;
|
|
25
|
+
shippingTermLocation: string;
|
|
26
|
+
deliveryDate: string | null;
|
|
27
|
+
state: PurchaseOrderState;
|
|
28
|
+
shippingTerms: ShipmentTerm;
|
|
29
|
+
transportMode: TransportMode;
|
|
30
|
+
noOfLines: number;
|
|
31
|
+
totalUnits: number;
|
|
32
|
+
exDate: string | null;
|
|
33
|
+
createdDate: string;
|
|
34
|
+
consigneeId: string | null;
|
|
35
|
+
consigneeName: string;
|
|
36
|
+
'class'?: string;
|
|
37
|
+
originPort?: string;
|
|
38
|
+
destinationPort?: string;
|
|
39
|
+
paymentTerms?: number | null;
|
|
40
|
+
}
|
|
41
|
+
export declare namespace PurchaseOrderSummary {
|
|
42
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dcm.API.Client
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
import { ShipmentTerm } from './shipmentTerm';
|
|
11
|
+
import { PurchaseOrderState } from './purchaseOrderState';
|
|
12
|
+
import { TransportMode } from './transportMode';
|
|
13
|
+
export interface PurchaseOrderView {
|
|
14
|
+
poNumber: string;
|
|
15
|
+
clientId: string | null;
|
|
16
|
+
clientName: string;
|
|
17
|
+
supplierId?: string | null;
|
|
18
|
+
supplierName: string;
|
|
19
|
+
supplierCode: string;
|
|
20
|
+
currencyId: string | null;
|
|
21
|
+
currencyCode: string;
|
|
22
|
+
currencyDescription: string;
|
|
23
|
+
buyer: string;
|
|
24
|
+
poDate: string;
|
|
25
|
+
shippingTermLocation: string;
|
|
26
|
+
deliveryDate: string | null;
|
|
27
|
+
state: PurchaseOrderState | null;
|
|
28
|
+
shippingTerms: ShipmentTerm | null;
|
|
29
|
+
transportMode: TransportMode | null;
|
|
30
|
+
noOfLines: number;
|
|
31
|
+
totalUnits: number;
|
|
32
|
+
exDate: string | null;
|
|
33
|
+
createdDate: string;
|
|
34
|
+
consigneeId: string | null;
|
|
35
|
+
consigneeName: string;
|
|
36
|
+
}
|
|
37
|
+
export declare namespace PurchaseOrderView {
|
|
38
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dcm.API.Client
|
|
3
|
+
*
|
|
4
|
+
*
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
import { PurchaseOrderGridView } from './purchaseOrderGridView';
|
|
11
|
+
export interface PurchaseOrders {
|
|
12
|
+
total: number;
|
|
13
|
+
data: Array<PurchaseOrderGridView>;
|
|
14
|
+
}
|
package/model/shipment.d.ts
CHANGED
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
import { ShipmentState } from './shipmentState';
|
|
11
11
|
import { Company } from './company';
|
|
12
12
|
import { DepartmentShipment } from './departmentShipment';
|
|
13
|
-
import { ShipmentType } from './shipmentType';
|
|
14
13
|
import { ShipmentApprovalType } from './shipmentApprovalType';
|
|
15
14
|
import { User } from './user';
|
|
16
15
|
import { Port } from './port';
|
|
17
16
|
import { Country } from './country';
|
|
17
|
+
import { TransportMode } from './transportMode';
|
|
18
18
|
import { TransportCarrier } from './transportCarrier';
|
|
19
19
|
import { TransportLocation } from './transportLocation';
|
|
20
20
|
export interface Shipment {
|
|
@@ -22,7 +22,7 @@ export interface Shipment {
|
|
|
22
22
|
clientId: string | null;
|
|
23
23
|
state: ShipmentState;
|
|
24
24
|
approvalType: ShipmentApprovalType;
|
|
25
|
-
type:
|
|
25
|
+
type: TransportMode;
|
|
26
26
|
departmentShipments: Array<DepartmentShipment> | null;
|
|
27
27
|
destinationPortId: string | null;
|
|
28
28
|
destinationPort: Port;
|
|
@@ -9,19 +9,19 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import { Consignee } from './consignee';
|
|
11
11
|
import { ShipmentState } from './shipmentState';
|
|
12
|
-
import { ShipmentType } from './shipmentType';
|
|
13
12
|
import { ShipmentApprovalType } from './shipmentApprovalType';
|
|
14
13
|
import { User } from './user';
|
|
15
14
|
import { ContainerTypes } from './containerTypes';
|
|
16
15
|
import { Port } from './port';
|
|
17
16
|
import { ApprovalContainerInfo } from './approvalContainerInfo';
|
|
18
17
|
import { Country } from './country';
|
|
18
|
+
import { TransportMode } from './transportMode';
|
|
19
19
|
export interface ShipmentApproval {
|
|
20
20
|
id: string;
|
|
21
21
|
clientId: string | null;
|
|
22
22
|
state: ShipmentState | null;
|
|
23
23
|
approvalType: ShipmentApprovalType | null;
|
|
24
|
-
type:
|
|
24
|
+
type: TransportMode | null;
|
|
25
25
|
containerMode: ContainerTypes | null;
|
|
26
26
|
destinationPortId: string | null;
|
|
27
27
|
destinationPort: Port | null;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { ShipmentTerm } from './shipmentTerm';
|
|
11
11
|
import { Consignee } from './consignee';
|
|
12
12
|
import { ShipmentState } from './shipmentState';
|
|
13
|
-
import {
|
|
13
|
+
import { TransportMode } from './transportMode';
|
|
14
14
|
import { Supplier } from './supplier';
|
|
15
15
|
export interface ShipmentSummary {
|
|
16
16
|
id: string;
|
|
@@ -20,7 +20,7 @@ export interface ShipmentSummary {
|
|
|
20
20
|
supplierId: string | null;
|
|
21
21
|
supplier: Supplier | null;
|
|
22
22
|
state: ShipmentState | null;
|
|
23
|
-
type:
|
|
23
|
+
type: TransportMode | null;
|
|
24
24
|
shippingTerms: ShipmentTerm | null;
|
|
25
25
|
shippingTermLocation: string | null;
|
|
26
26
|
bookingReferenceList: string | null;
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
* https://openapi-generator.tech
|
|
8
8
|
* Do not edit the class manually.
|
|
9
9
|
*/
|
|
10
|
-
export type
|
|
11
|
-
export declare const
|
|
12
|
-
Air:
|
|
13
|
-
Sea:
|
|
14
|
-
Road:
|
|
10
|
+
export type TransportMode = 'Air' | 'Sea' | 'Road';
|
|
11
|
+
export declare const TransportMode: {
|
|
12
|
+
Air: TransportMode;
|
|
13
|
+
Sea: TransportMode;
|
|
14
|
+
Road: TransportMode;
|
|
15
15
|
};
|
|
@@ -7,16 +7,16 @@
|
|
|
7
7
|
* https://openapi-generator.tech
|
|
8
8
|
* Do not edit the class manually.
|
|
9
9
|
*/
|
|
10
|
-
import { ShipmentType } from './shipmentType';
|
|
11
10
|
import { TimelineEventStates } from './timelineEventStates';
|
|
12
11
|
import { ContainerTypes } from './containerTypes';
|
|
12
|
+
import { TransportMode } from './transportMode';
|
|
13
13
|
import { TimelineEventTypes } from './timelineEventTypes';
|
|
14
14
|
export interface TransportationShipmentTimelineItem {
|
|
15
15
|
date: string;
|
|
16
16
|
completedDate: string | null;
|
|
17
17
|
type: TimelineEventTypes;
|
|
18
18
|
subText: string;
|
|
19
|
-
shipmentType:
|
|
19
|
+
shipmentType: TransportMode | null;
|
|
20
20
|
containerType: ContainerTypes | null;
|
|
21
21
|
delayDuration: number | null;
|
|
22
22
|
originalPortName: string;
|