@indigina/dcm-api 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.
Files changed (36) hide show
  1. package/README.md +2 -2
  2. package/api/shipments.service.d.ts +48 -0
  3. package/esm2022/api/shipments.service.mjs +110 -2
  4. package/esm2022/model/company.mjs +13 -0
  5. package/esm2022/model/country.mjs +13 -0
  6. package/esm2022/model/departmentShipment.mjs +13 -0
  7. package/esm2022/model/models.mjs +15 -1
  8. package/esm2022/model/port.mjs +2 -0
  9. package/esm2022/model/shipment.mjs +2 -0
  10. package/esm2022/model/shipmentApprovalType.mjs +16 -0
  11. package/esm2022/model/shipmentItem.mjs +13 -0
  12. package/esm2022/model/shipmentItemsList.mjs +2 -0
  13. package/esm2022/model/shipmentState.mjs +23 -0
  14. package/esm2022/model/shipmentType.mjs +17 -0
  15. package/esm2022/model/shipmentsList.mjs +2 -0
  16. package/esm2022/model/transportCarrier.mjs +13 -0
  17. package/esm2022/model/transportLocation.mjs +13 -0
  18. package/esm2022/model/user.mjs +13 -0
  19. package/fesm2022/indigina-dcm-api.mjs +250 -2
  20. package/fesm2022/indigina-dcm-api.mjs.map +1 -1
  21. package/model/company.d.ts +15 -0
  22. package/model/country.d.ts +15 -0
  23. package/model/departmentShipment.d.ts +16 -0
  24. package/model/models.d.ts +14 -0
  25. package/model/port.d.ts +18 -0
  26. package/model/shipment.d.ts +63 -0
  27. package/model/shipmentApprovalType.d.ts +16 -0
  28. package/model/shipmentItem.d.ts +24 -0
  29. package/model/shipmentItemsList.d.ts +16 -0
  30. package/model/shipmentState.d.ts +23 -0
  31. package/model/shipmentType.d.ts +17 -0
  32. package/model/shipmentsList.d.ts +16 -0
  33. package/model/transportCarrier.d.ts +15 -0
  34. package/model/transportLocation.d.ts +15 -0
  35. package/model/user.d.ts +15 -0
  36. package/package.json +1 -1
@@ -0,0 +1,63 @@
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 { ShipmentState } from './shipmentState';
13
+ import { Company } from './company';
14
+ import { DepartmentShipment } from './departmentShipment';
15
+ import { ShipmentType } from './shipmentType';
16
+ import { ShipmentApprovalType } from './shipmentApprovalType';
17
+ import { User } from './user';
18
+ import { Port } from './port';
19
+ import { Country } from './country';
20
+ import { TransportCarrier } from './transportCarrier';
21
+ import { TransportLocation } from './transportLocation';
22
+ export interface Shipment {
23
+ id: string;
24
+ clientId: string | null;
25
+ state: ShipmentState;
26
+ approvalType: ShipmentApprovalType;
27
+ type: ShipmentType;
28
+ departmentShipments: Array<DepartmentShipment> | null;
29
+ destinationPortId: string | null;
30
+ destinationPort: Port;
31
+ originPortId: string | null;
32
+ originPort: Port;
33
+ client: Company;
34
+ bookingReferenceList: string | null;
35
+ collectionScheduledSupplierDate: string | null;
36
+ deliveryTransportLocationId: string | null;
37
+ deliveryTransportLocation: TransportLocation;
38
+ etd: string | null;
39
+ eta: string | null;
40
+ etaPod: string | null;
41
+ approvalDeadline: string | null;
42
+ originAgentRef: string | null;
43
+ masterBillRef: string | null;
44
+ houseBillRef: string | null;
45
+ routingVehicleName: string | null;
46
+ noOfLines: number | null;
47
+ totalBookedQuantity: number | null;
48
+ createUserId: string | null;
49
+ user: User;
50
+ lastApprovalDate: string | null;
51
+ lastApprovalUserId: string | null;
52
+ lastApprovalUser: User;
53
+ shipmentConfirmDate: string | null;
54
+ shipmentConfirmUserId: string | null;
55
+ shipmentConfirmUser: User;
56
+ exportCountryId: string | null;
57
+ exportCountry: Country;
58
+ transportCarrierId: string | null;
59
+ transportCarrier: TransportCarrier;
60
+ reference: string | null;
61
+ }
62
+ export declare namespace Shipment {
63
+ }
@@ -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
+ export type ShipmentApprovalType = 'Auto' | 'Manual';
13
+ export declare const ShipmentApprovalType: {
14
+ Auto: ShipmentApprovalType;
15
+ Manual: ShipmentApprovalType;
16
+ };
@@ -0,0 +1,24 @@
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 ShipmentItem {
13
+ id: string;
14
+ poNumber: string;
15
+ lineNo: number | null;
16
+ productCode: string;
17
+ supplier: string;
18
+ container: string;
19
+ bookedQuantity: number;
20
+ shippedQuantity: number;
21
+ poQty: number;
22
+ tolerance: string;
23
+ containerShipmentLineItems: Array<string>;
24
+ }
@@ -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 { ShipmentItem } from './shipmentItem';
13
+ export interface ShipmentItemsList {
14
+ total: number;
15
+ data: Array<ShipmentItem>;
16
+ }
@@ -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,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 TransportCarrier {
13
+ carrierEnumId: number | null;
14
+ name: string;
15
+ }
@@ -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
+ }
@@ -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
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indigina/dcm-api",
3
- "version": "0.0.9",
3
+ "version": "0.0.11",
4
4
  "description": "OpenAPI client for @indigina/dcm-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {