@indigina/dcm-api 0.0.47 → 0.0.48
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/fesm2022/indigina-dcm-api.mjs +30 -10
- package/fesm2022/indigina-dcm-api.mjs.map +1 -1
- package/model/approvalContainerRules.d.ts +13 -0
- package/model/approvalItemRules.d.ts +15 -0
- package/model/approvalRules.d.ts +16 -0
- package/model/models.d.ts +3 -0
- package/model/shipmentApproval.d.ts +2 -0
- package/model/shipmentContainer.d.ts +2 -0
- package/model/shipmentProduct.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,13 @@
|
|
|
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 interface ApprovalContainerRules {
|
|
11
|
+
containerUtilisationRulePass: boolean;
|
|
12
|
+
containerUtilisationRuleSizeAllowed: boolean;
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
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 interface ApprovalItemRules {
|
|
11
|
+
unbookedPoLinesRulePass: boolean;
|
|
12
|
+
toleranceRulePass: boolean;
|
|
13
|
+
unMatchPoLineDcConsigneeCountryRulePass: boolean;
|
|
14
|
+
requiredByDateMetRulePass: boolean;
|
|
15
|
+
}
|
|
@@ -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
|
+
export interface ApprovalRules {
|
|
11
|
+
unbookedPoLinesRulePass: boolean;
|
|
12
|
+
toleranceRulePass: boolean;
|
|
13
|
+
unMatchPoLineDcConsigneeCountryRulePass: boolean;
|
|
14
|
+
requiredByDateMetRulePass: boolean;
|
|
15
|
+
containerUtilisationRulePass: boolean;
|
|
16
|
+
}
|
package/model/models.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
export * from './approvalContainerInfo';
|
|
2
|
+
export * from './approvalContainerRules';
|
|
3
|
+
export * from './approvalItemRules';
|
|
4
|
+
export * from './approvalRules';
|
|
2
5
|
export * from './approvalShipmentTimelineItem';
|
|
3
6
|
export * from './approvalTypes';
|
|
4
7
|
export * from './auditLog';
|
|
@@ -16,6 +16,7 @@ import { Port } from './port';
|
|
|
16
16
|
import { ApprovalContainerInfo } from './approvalContainerInfo';
|
|
17
17
|
import { Country } from './country';
|
|
18
18
|
import { TransportMode } from './transportMode';
|
|
19
|
+
import { ApprovalRules } from './approvalRules';
|
|
19
20
|
export interface ShipmentApproval {
|
|
20
21
|
id: string;
|
|
21
22
|
clientId: string | null;
|
|
@@ -56,6 +57,7 @@ export interface ShipmentApproval {
|
|
|
56
57
|
consignee: Consignee | null;
|
|
57
58
|
reference: string | null;
|
|
58
59
|
containers: Array<ApprovalContainerInfo>;
|
|
60
|
+
rules: ApprovalRules;
|
|
59
61
|
}
|
|
60
62
|
export declare namespace ShipmentApproval {
|
|
61
63
|
}
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
* Do not edit the class manually.
|
|
9
9
|
*/
|
|
10
10
|
import { ContainerTypes } from './containerTypes';
|
|
11
|
+
import { ApprovalContainerRules } from './approvalContainerRules';
|
|
11
12
|
export interface ShipmentContainer {
|
|
12
13
|
id: string;
|
|
13
14
|
number: string;
|
|
@@ -23,6 +24,7 @@ export interface ShipmentContainer {
|
|
|
23
24
|
dangerousGoodsClass: string;
|
|
24
25
|
gateInDate: string | null;
|
|
25
26
|
containerType: ContainerTypes | null;
|
|
27
|
+
rules: ApprovalContainerRules;
|
|
26
28
|
}
|
|
27
29
|
export declare namespace ShipmentContainer {
|
|
28
30
|
}
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
* https://openapi-generator.tech
|
|
8
8
|
* Do not edit the class manually.
|
|
9
9
|
*/
|
|
10
|
+
import { ApprovalItemRules } from './approvalItemRules';
|
|
10
11
|
export interface ShipmentProduct {
|
|
11
12
|
id: string;
|
|
12
13
|
poNumber: string | null;
|
|
@@ -29,4 +30,5 @@ export interface ShipmentProduct {
|
|
|
29
30
|
commodityCode: string;
|
|
30
31
|
colour: string;
|
|
31
32
|
size: string;
|
|
33
|
+
rules: ApprovalItemRules;
|
|
32
34
|
}
|