@indigina/dcm-api 0.0.8 → 0.0.10
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/shipments.service.d.ts +26 -0
- package/api/user.service.d.ts +41 -0
- package/esm2022/api/shipments.service.mjs +63 -2
- package/esm2022/api/user.service.mjs +89 -1
- package/esm2022/model/company.mjs +13 -0
- package/esm2022/model/country.mjs +13 -0
- package/esm2022/model/departmentShipment.mjs +13 -0
- package/esm2022/model/models.mjs +14 -1
- package/esm2022/model/pendingMessagesCount.mjs +13 -0
- package/esm2022/model/port.mjs +2 -0
- package/esm2022/model/shipment.mjs +2 -0
- package/esm2022/model/shipmentApprovalType.mjs +16 -0
- package/esm2022/model/shipmentState.mjs +23 -0
- package/esm2022/model/shipmentType.mjs +17 -0
- package/esm2022/model/shipmentsList.mjs +2 -0
- package/esm2022/model/transportCarrier.mjs +13 -0
- package/esm2022/model/transportLocation.mjs +13 -0
- package/esm2022/model/user.mjs +13 -0
- package/fesm2022/indigina-dcm-api.mjs +291 -2
- package/fesm2022/indigina-dcm-api.mjs.map +1 -1
- package/model/company.d.ts +15 -0
- package/model/country.d.ts +15 -0
- package/model/departmentShipment.d.ts +16 -0
- package/model/models.d.ts +13 -0
- package/model/pendingMessagesCount.d.ts +14 -0
- package/model/port.d.ts +17 -0
- package/model/shipment.d.ts +63 -0
- package/model/shipmentApprovalType.d.ts +16 -0
- package/model/shipmentState.d.ts +23 -0
- package/model/shipmentType.d.ts +17 -0
- package/model/shipmentsList.d.ts +16 -0
- package/model/transportCarrier.d.ts +14 -0
- package/model/transportLocation.d.ts +15 -0
- package/model/user.d.ts +15 -0
- package/package.json +1 -1
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dcm.API.Client
|
|
3
|
+
* DCM API Client for Angular applications
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export type ShipmentState = 'Draft' | 'RequestAuthorisation' | 'AuthorisedToShip' | 'Amend' | 'Confirmed' | 'Delivered' | 'Arrived' | 'CancellationRequested' | 'Cancelled';
|
|
13
|
+
export declare const ShipmentState: {
|
|
14
|
+
Draft: ShipmentState;
|
|
15
|
+
RequestAuthorisation: ShipmentState;
|
|
16
|
+
AuthorisedToShip: ShipmentState;
|
|
17
|
+
Amend: ShipmentState;
|
|
18
|
+
Confirmed: ShipmentState;
|
|
19
|
+
Delivered: ShipmentState;
|
|
20
|
+
Arrived: ShipmentState;
|
|
21
|
+
CancellationRequested: ShipmentState;
|
|
22
|
+
Cancelled: ShipmentState;
|
|
23
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dcm.API.Client
|
|
3
|
+
* DCM API Client for Angular applications
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export type ShipmentType = 'Air' | 'Sea' | 'Road';
|
|
13
|
+
export declare const ShipmentType: {
|
|
14
|
+
Air: ShipmentType;
|
|
15
|
+
Sea: ShipmentType;
|
|
16
|
+
Road: ShipmentType;
|
|
17
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dcm.API.Client
|
|
3
|
+
* DCM API Client for Angular applications
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { Shipment } from './shipment';
|
|
13
|
+
export interface ShipmentsList {
|
|
14
|
+
total: number;
|
|
15
|
+
data: Array<Shipment>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dcm.API.Client
|
|
3
|
+
* DCM API Client for Angular applications
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export interface TransportCarrier {
|
|
13
|
+
carrierEnumId: number | null;
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dcm.API.Client
|
|
3
|
+
* DCM API Client for Angular applications
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export interface TransportLocation {
|
|
13
|
+
id: string;
|
|
14
|
+
name: string;
|
|
15
|
+
}
|
package/model/user.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dcm.API.Client
|
|
3
|
+
* DCM API Client for Angular applications
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export interface User {
|
|
13
|
+
id: string;
|
|
14
|
+
fullName: string;
|
|
15
|
+
}
|