@indigina/dcm-api 0.0.52 → 0.0.53

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.
@@ -0,0 +1,18 @@
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 ContainerBookedState = 'ToBooked' | 'Booked' | 'Confirmed' | 'Delivered' | 'ToReschedule' | 'Amended';
11
+ export declare const ContainerBookedState: {
12
+ ToBooked: ContainerBookedState;
13
+ Booked: ContainerBookedState;
14
+ Confirmed: ContainerBookedState;
15
+ Delivered: ContainerBookedState;
16
+ ToReschedule: ContainerBookedState;
17
+ Amended: ContainerBookedState;
18
+ };
@@ -0,0 +1,41 @@
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 { ContainerBookedState } from './containerBookedState';
11
+ import { ContainerType } from './containerType';
12
+ import { ContainerSize } from './containerSize';
13
+ import { ContainerShipmentView } from './containerShipmentView';
14
+ export interface ContainerGridView {
15
+ id: string;
16
+ shipmentId: string;
17
+ number: string;
18
+ bookedState?: ContainerBookedState;
19
+ size?: ContainerSize;
20
+ containerType?: ContainerType;
21
+ goh?: boolean;
22
+ gateInDate?: string | null;
23
+ projectedDeliveryDate?: string | null;
24
+ bookedDeliveryDate?: string | null;
25
+ deliveryDaysLate?: number | null;
26
+ earliestDeliveryDate?: string | null;
27
+ latestDeliveryDate?: string | null;
28
+ deliveryRef?: string;
29
+ customsClearedDate?: string | null;
30
+ dcDescription?: string;
31
+ podDate?: string | null;
32
+ shipment?: ContainerShipmentView;
33
+ packsQuantity: number | null;
34
+ shippedQuantity: number | null;
35
+ customerRef: string;
36
+ dangerousGoodsClass: string;
37
+ weight: number | null;
38
+ cbm: number | null;
39
+ }
40
+ export declare namespace ContainerGridView {
41
+ }
@@ -8,18 +8,18 @@
8
8
  * Do not edit the class manually.
9
9
  */
10
10
  export interface ContainerItemView {
11
- id: string;
12
- poNumber: string | null;
13
- supplier: string;
14
- department: string;
15
- destinationDc: string;
16
- lineNo: number | null;
11
+ containerId: string;
12
+ poNumber: string;
17
13
  productCode: string;
14
+ lineNo: number | null;
18
15
  productDescription?: string;
19
16
  colour: string;
20
17
  size: string;
21
- lineQuantity: number;
22
- actualQuantity: number;
18
+ supplierName: string;
19
+ department: string;
20
+ destinationDc: string;
21
+ poQty: number;
22
+ shippedQuantity: number | null;
23
23
  exDate: string | null;
24
24
  deliveryDate: string | null;
25
25
  }
@@ -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 { ShipmentState } from './shipmentState';
11
+ import { Port } from './port';
12
+ import { Country } from './country';
13
+ import { TransportMode } from './transportMode';
14
+ export interface ContainerShipmentView {
15
+ type?: TransportMode | null;
16
+ houseBillRef?: string;
17
+ reference: string;
18
+ state?: ShipmentState | null;
19
+ agentRef?: string;
20
+ routingVehicleName?: string;
21
+ etd?: string | null;
22
+ hasShipped?: string | null;
23
+ eta?: string | null;
24
+ ata?: string | null;
25
+ etaPod?: string | null;
26
+ inlandEta?: string | null;
27
+ destinationPortId?: string | null;
28
+ destinationPort?: Port;
29
+ originPortId?: string | null;
30
+ originPort?: Port;
31
+ exportCountryId?: string | null;
32
+ exportCountry?: Country;
33
+ clientId?: string | null;
34
+ clientName?: string;
35
+ fndName?: string;
36
+ }
37
+ export declare namespace ContainerShipmentView {
38
+ }
@@ -0,0 +1,40 @@
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 ContainerSize = 'Lcl' | 'Twenty' | 'Forty' | 'FortyHс' | 'FortyFive' | 'Ld2' | 'Ld3' | 'Ld4' | 'Ld7' | 'Ld8' | 'Ld11' | 'MainDeckPallet' | 'P9ALowerDeckPallet' | 'SharedUnknown' | 'BoxedTrailer' | 'TiltTrailer' | 'RoadTrainBoxed' | 'RoadTrainTilt' | 'StepFrameBoxed' | 'StepFrameTilt' | 'Road1' | 'Road2' | 'TwentyNor' | 'FortyNor' | 'FortyHcnor' | 'OtherAir' | 'OtherSea' | 'OtherRoad';
11
+ export declare const ContainerSize: {
12
+ Lcl: ContainerSize;
13
+ Twenty: ContainerSize;
14
+ Forty: ContainerSize;
15
+ FortyH: ContainerSize;
16
+ FortyFive: ContainerSize;
17
+ Ld2: ContainerSize;
18
+ Ld3: ContainerSize;
19
+ Ld4: ContainerSize;
20
+ Ld7: ContainerSize;
21
+ Ld8: ContainerSize;
22
+ Ld11: ContainerSize;
23
+ MainDeckPallet: ContainerSize;
24
+ P9ALowerDeckPallet: ContainerSize;
25
+ SharedUnknown: ContainerSize;
26
+ BoxedTrailer: ContainerSize;
27
+ TiltTrailer: ContainerSize;
28
+ RoadTrainBoxed: ContainerSize;
29
+ RoadTrainTilt: ContainerSize;
30
+ StepFrameBoxed: ContainerSize;
31
+ StepFrameTilt: ContainerSize;
32
+ Road1: ContainerSize;
33
+ Road2: ContainerSize;
34
+ TwentyNor: ContainerSize;
35
+ FortyNor: ContainerSize;
36
+ FortyHcnor: ContainerSize;
37
+ OtherAir: ContainerSize;
38
+ OtherSea: ContainerSize;
39
+ OtherRoad: ContainerSize;
40
+ };
@@ -7,9 +7,9 @@
7
7
  * https://openapi-generator.tech
8
8
  * Do not edit the class manually.
9
9
  */
10
- export type ContainerTypes = 'CfsCfs' | 'CfsCy' | 'CyCy';
11
- export declare const ContainerTypes: {
12
- CfsCfs: ContainerTypes;
13
- CfsCy: ContainerTypes;
14
- CyCy: ContainerTypes;
10
+ export type ContainerType = 'CfsCfs' | 'CfsCy' | 'CyCy';
11
+ export declare const ContainerType: {
12
+ CfsCfs: ContainerType;
13
+ CfsCy: ContainerType;
14
+ CyCy: ContainerType;
15
15
  };
@@ -7,44 +7,29 @@
7
7
  * https://openapi-generator.tech
8
8
  * Do not edit the class manually.
9
9
  */
10
+ import { ContainerBookedState } from './containerBookedState';
11
+ import { ContainerType } from './containerType';
12
+ import { ContainerSize } from './containerSize';
13
+ import { ContainerShipmentView } from './containerShipmentView';
10
14
  export interface ContainerView {
11
15
  id: string;
16
+ shipmentId: string;
12
17
  number: string;
13
- containerState?: string;
14
- size?: string;
15
- transportMode?: string;
16
- containerMode?: string;
17
- goodsonHangers?: boolean;
18
- shipmentHouseBillRef?: string;
19
- shipmentRef?: string;
20
- shipmentState?: string;
21
- agentRef?: string;
22
- shipmentExportCountryName?: string;
23
- shipmentOriginPortName?: string;
24
- shipmentDestinationPortName?: string;
25
- fndName?: string;
26
- shipmentDestinationPortCountryName?: string;
27
- vesselName?: string;
28
- shipmentEtd?: string | null;
29
- shipmentAtd?: string | null;
30
- etaPod?: string | null;
31
- shipmentAta?: string | null;
32
- etaInland?: string | null;
33
- shipmentEta?: string | null;
18
+ bookedState?: ContainerBookedState | null;
19
+ size?: ContainerSize | null;
20
+ containerType?: ContainerType | null;
21
+ goh?: boolean;
22
+ gateInDate?: string | null;
34
23
  projectedDeliveryDate?: string | null;
35
24
  bookedDeliveryDate?: string | null;
36
- deliveryDaysLate?: number;
25
+ deliveryDaysLate?: number | null;
37
26
  earliestDeliveryDate?: string | null;
38
27
  latestDeliveryDate?: string | null;
39
28
  deliveryRef?: string;
40
29
  customsClearedDate?: string | null;
41
30
  dcDescription?: string;
42
- poDate?: string | null;
43
- gateInDate?: string | null;
44
- client?: string;
45
- clientRef?: string;
46
- packsQuantity?: number | null;
47
- shippedQuantity?: number | null;
48
- weight?: number | null;
49
- cbm?: number | null;
31
+ podDate?: string | null;
32
+ shipment?: ContainerShipmentView;
33
+ }
34
+ export declare namespace ContainerView {
50
35
  }
@@ -7,8 +7,8 @@
7
7
  * https://openapi-generator.tech
8
8
  * Do not edit the class manually.
9
9
  */
10
- import { ContainerView } from './containerView';
10
+ import { ContainerGridView } from './containerGridView';
11
11
  export interface Containers {
12
12
  total: number;
13
- data: Array<ContainerView>;
13
+ data: Array<ContainerGridView>;
14
14
  }
package/model/models.d.ts CHANGED
@@ -11,9 +11,13 @@ export * from './column';
11
11
  export * from './commandStatusResult';
12
12
  export * from './company';
13
13
  export * from './consignee';
14
+ export * from './containerBookedState';
15
+ export * from './containerGridView';
14
16
  export * from './containerItemView';
15
17
  export * from './containerItems';
16
- export * from './containerTypes';
18
+ export * from './containerShipmentView';
19
+ export * from './containerSize';
20
+ export * from './containerType';
17
21
  export * from './containerView';
18
22
  export * from './containers';
19
23
  export * from './containersCount';
@@ -41,6 +45,7 @@ export * from './noteSourceTypes';
41
45
  export * from './noteView';
42
46
  export * from './notes';
43
47
  export * from './pendingMessagesCount';
48
+ export * from './poItemState';
44
49
  export * from './poItemSummary';
45
50
  export * from './poItemTotals';
46
51
  export * from './port';
@@ -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 type PoItemState = 'NotAllocated' | 'Allocated' | 'Complete' | 'Deleted';
11
+ export declare const PoItemState: {
12
+ NotAllocated: PoItemState;
13
+ Allocated: PoItemState;
14
+ Complete: PoItemState;
15
+ Deleted: PoItemState;
16
+ };
@@ -8,7 +8,7 @@
8
8
  * Do not edit the class manually.
9
9
  */
10
10
  import { ShipmentTerm } from './shipmentTerm';
11
- import { PurchaseOrderState } from './purchaseOrderState';
11
+ import { PoItemState } from './poItemState';
12
12
  import { Dc } from './dc';
13
13
  export interface PurchaseOrderItem {
14
14
  id: string;
@@ -31,7 +31,7 @@ export interface PurchaseOrderItem {
31
31
  colour: string;
32
32
  attributeList: string;
33
33
  size: string;
34
- state: PurchaseOrderState | null;
34
+ state: PoItemState | null;
35
35
  customerDeliveryRef: string;
36
36
  restrictSplit: boolean | null;
37
37
  buyersItemNumber: string;
@@ -11,7 +11,7 @@ import { Consignee } from './consignee';
11
11
  import { ShipmentState } from './shipmentState';
12
12
  import { ShipmentApprovalType } from './shipmentApprovalType';
13
13
  import { User } from './user';
14
- import { ContainerTypes } from './containerTypes';
14
+ import { ContainerType } from './containerType';
15
15
  import { Port } from './port';
16
16
  import { ApprovalContainerInfo } from './approvalContainerInfo';
17
17
  import { Country } from './country';
@@ -23,7 +23,7 @@ export interface ShipmentApproval {
23
23
  state: ShipmentState | null;
24
24
  approvalType: ShipmentApprovalType | null;
25
25
  type: TransportMode | null;
26
- containerMode: ContainerTypes | null;
26
+ containerMode: ContainerType | null;
27
27
  destinationPortId: string | null;
28
28
  destinationPort: Port | null;
29
29
  originPortId: string | null;
@@ -7,7 +7,7 @@
7
7
  * https://openapi-generator.tech
8
8
  * Do not edit the class manually.
9
9
  */
10
- import { ContainerTypes } from './containerTypes';
10
+ import { ContainerType } from './containerType';
11
11
  import { ApprovalContainerRules } from './approvalContainerRules';
12
12
  export interface ShipmentContainer {
13
13
  id: string;
@@ -23,7 +23,7 @@ export interface ShipmentContainer {
23
23
  weight: number | null;
24
24
  dangerousGoodsClass: string;
25
25
  gateInDate: string | null;
26
- containerType: ContainerTypes | null;
26
+ containerType: ContainerType | null;
27
27
  rules: ApprovalContainerRules;
28
28
  }
29
29
  export declare namespace ShipmentContainer {
@@ -8,7 +8,7 @@
8
8
  * Do not edit the class manually.
9
9
  */
10
10
  import { TimelineEventStates } from './timelineEventStates';
11
- import { ContainerTypes } from './containerTypes';
11
+ import { ContainerType } from './containerType';
12
12
  import { TransportMode } from './transportMode';
13
13
  import { TimelineEventTypes } from './timelineEventTypes';
14
14
  export interface TransportationShipmentTimelineItem {
@@ -17,7 +17,7 @@ export interface TransportationShipmentTimelineItem {
17
17
  type: TimelineEventTypes;
18
18
  subText: string;
19
19
  shipmentType: TransportMode | null;
20
- containerType: ContainerTypes | null;
20
+ containerType: ContainerType | null;
21
21
  delayDuration: number | null;
22
22
  originalPortName: string;
23
23
  destinationPortName: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indigina/dcm-api",
3
- "version": "0.0.52",
3
+ "version": "0.0.53",
4
4
  "description": "OpenAPI client for @indigina/dcm-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {