@indigina/dcm-api 0.0.27 → 0.0.28

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 +155 -3
  3. package/esm2022/api/shipments.service.mjs +352 -2
  4. package/esm2022/model/auditLog.mjs +2 -0
  5. package/esm2022/model/auditLogs.mjs +2 -0
  6. package/esm2022/model/containerType.mjs +16 -0
  7. package/esm2022/model/document.mjs +2 -0
  8. package/esm2022/model/documentType.mjs +26 -0
  9. package/esm2022/model/documents.mjs +2 -0
  10. package/esm2022/model/entityState.mjs +18 -0
  11. package/esm2022/model/models.mjs +14 -1
  12. package/esm2022/model/note.mjs +12 -0
  13. package/esm2022/model/notes.mjs +2 -0
  14. package/esm2022/model/shipmentContainer.mjs +2 -0
  15. package/esm2022/model/shipmentContainers.mjs +2 -0
  16. package/esm2022/model/shipmentProduct.mjs +1 -1
  17. package/esm2022/model/shipmentRouting.mjs +12 -0
  18. package/esm2022/model/shipmentTimelineItem.mjs +12 -0
  19. package/fesm2022/indigina-dcm-api.mjs +445 -2
  20. package/fesm2022/indigina-dcm-api.mjs.map +1 -1
  21. package/model/auditLog.d.ts +25 -0
  22. package/model/auditLogs.d.ts +15 -0
  23. package/model/containerType.d.ts +16 -0
  24. package/model/document.d.ts +21 -0
  25. package/model/documentType.d.ts +26 -0
  26. package/model/documents.d.ts +15 -0
  27. package/model/entityState.d.ts +18 -0
  28. package/model/models.d.ts +13 -0
  29. package/model/note.d.ts +17 -0
  30. package/model/notes.d.ts +15 -0
  31. package/model/shipmentContainer.d.ts +29 -0
  32. package/model/shipmentContainers.d.ts +15 -0
  33. package/model/shipmentProduct.d.ts +4 -4
  34. package/model/shipmentRouting.d.ts +22 -0
  35. package/model/shipmentTimelineItem.d.ts +15 -0
  36. package/package.json +1 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @indigina/dcm-api@0.0.27
1
+ ## @indigina/dcm-api@0.0.28
2
2
 
3
3
  The version of the OpenAPI document: v1
4
4
 
@@ -21,7 +21,7 @@ Navigate to the folder of your consuming project and run one of next commands.
21
21
  _published:_
22
22
 
23
23
  ```
24
- npm install @indigina/dcm-api@0.0.27 --save
24
+ npm install @indigina/dcm-api@0.0.28 --save
25
25
  ```
26
26
 
27
27
  _without publishing (not recommended):_
@@ -1,9 +1,15 @@
1
1
  import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
+ import { AuditLogs } from '../model/auditLogs';
4
+ import { Documents } from '../model/documents';
5
+ import { Notes } from '../model/notes';
6
+ import { ShipmentContainers } from '../model/shipmentContainers';
3
7
  import { ShipmentItems } from '../model/shipmentItems';
4
8
  import { ShipmentProducts } from '../model/shipmentProducts';
9
+ import { ShipmentRouting } from '../model/shipmentRouting';
5
10
  import { ShipmentState } from '../model/shipmentState';
6
11
  import { ShipmentSummary } from '../model/shipmentSummary';
12
+ import { ShipmentTimelineItem } from '../model/shipmentTimelineItem';
7
13
  import { Shipments } from '../model/shipments';
8
14
  import { ShipmentsApprovalCount } from '../model/shipmentsApprovalCount';
9
15
  import { ShipmentsCount } from '../model/shipmentsCount';
@@ -19,6 +25,79 @@ export declare class ShipmentsService {
19
25
  constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
20
26
  private addToHttpParams;
21
27
  private addToHttpParamsRecursive;
28
+ /**
29
+ * Getting a shipment routing by id
30
+ * @param id
31
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
32
+ * @param reportProgress flag to report request and response progress.
33
+ */
34
+ getSShipmentRouting(id: string, observe?: 'body', reportProgress?: boolean, options?: {
35
+ httpHeaderAccept?: 'application/json';
36
+ context?: HttpContext;
37
+ transferCache?: boolean;
38
+ }): Observable<ShipmentRouting>;
39
+ getSShipmentRouting(id: string, observe?: 'response', reportProgress?: boolean, options?: {
40
+ httpHeaderAccept?: 'application/json';
41
+ context?: HttpContext;
42
+ transferCache?: boolean;
43
+ }): Observable<HttpResponse<ShipmentRouting>>;
44
+ getSShipmentRouting(id: string, observe?: 'events', reportProgress?: boolean, options?: {
45
+ httpHeaderAccept?: 'application/json';
46
+ context?: HttpContext;
47
+ transferCache?: boolean;
48
+ }): Observable<HttpEvent<ShipmentRouting>>;
49
+ /**
50
+ * Getting a shipment containers
51
+ * @param id
52
+ * @param $skip
53
+ * @param $top
54
+ * @param $orderby
55
+ * @param $filter
56
+ * @param $search
57
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
58
+ * @param reportProgress flag to report request and response progress.
59
+ */
60
+ getShipmentContainers(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
61
+ httpHeaderAccept?: 'application/json';
62
+ context?: HttpContext;
63
+ transferCache?: boolean;
64
+ }): Observable<ShipmentContainers>;
65
+ getShipmentContainers(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
66
+ httpHeaderAccept?: 'application/json';
67
+ context?: HttpContext;
68
+ transferCache?: boolean;
69
+ }): Observable<HttpResponse<ShipmentContainers>>;
70
+ getShipmentContainers(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
71
+ httpHeaderAccept?: 'application/json';
72
+ context?: HttpContext;
73
+ transferCache?: boolean;
74
+ }): Observable<HttpEvent<ShipmentContainers>>;
75
+ /**
76
+ * Getting a shipment documents
77
+ * @param id
78
+ * @param $skip
79
+ * @param $top
80
+ * @param $orderby
81
+ * @param $filter
82
+ * @param $search
83
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
84
+ * @param reportProgress flag to report request and response progress.
85
+ */
86
+ getShipmentDocuments(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
87
+ httpHeaderAccept?: 'application/json';
88
+ context?: HttpContext;
89
+ transferCache?: boolean;
90
+ }): Observable<Documents>;
91
+ getShipmentDocuments(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
92
+ httpHeaderAccept?: 'application/json';
93
+ context?: HttpContext;
94
+ transferCache?: boolean;
95
+ }): Observable<HttpResponse<Documents>>;
96
+ getShipmentDocuments(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
97
+ httpHeaderAccept?: 'application/json';
98
+ context?: HttpContext;
99
+ transferCache?: boolean;
100
+ }): Observable<HttpEvent<Documents>>;
22
101
  /**
23
102
  * Shipment items list
24
103
  * @param id
@@ -40,23 +119,75 @@ export declare class ShipmentsService {
40
119
  context?: HttpContext;
41
120
  transferCache?: boolean;
42
121
  }): Observable<HttpEvent<ShipmentItems>>;
122
+ /**
123
+ * Getting a shipment logs
124
+ * @param id
125
+ * @param $skip
126
+ * @param $top
127
+ * @param $orderby
128
+ * @param $filter
129
+ * @param $search
130
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
131
+ * @param reportProgress flag to report request and response progress.
132
+ */
133
+ getShipmentLogs(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
134
+ httpHeaderAccept?: 'application/json';
135
+ context?: HttpContext;
136
+ transferCache?: boolean;
137
+ }): Observable<AuditLogs>;
138
+ getShipmentLogs(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
139
+ httpHeaderAccept?: 'application/json';
140
+ context?: HttpContext;
141
+ transferCache?: boolean;
142
+ }): Observable<HttpResponse<AuditLogs>>;
143
+ getShipmentLogs(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
144
+ httpHeaderAccept?: 'application/json';
145
+ context?: HttpContext;
146
+ transferCache?: boolean;
147
+ }): Observable<HttpEvent<AuditLogs>>;
148
+ /**
149
+ * Getting a shipment notes
150
+ * @param id
151
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
152
+ * @param reportProgress flag to report request and response progress.
153
+ */
154
+ getShipmentNotes(id: string, observe?: 'body', reportProgress?: boolean, options?: {
155
+ httpHeaderAccept?: 'application/json';
156
+ context?: HttpContext;
157
+ transferCache?: boolean;
158
+ }): Observable<Notes>;
159
+ getShipmentNotes(id: string, observe?: 'response', reportProgress?: boolean, options?: {
160
+ httpHeaderAccept?: 'application/json';
161
+ context?: HttpContext;
162
+ transferCache?: boolean;
163
+ }): Observable<HttpResponse<Notes>>;
164
+ getShipmentNotes(id: string, observe?: 'events', reportProgress?: boolean, options?: {
165
+ httpHeaderAccept?: 'application/json';
166
+ context?: HttpContext;
167
+ transferCache?: boolean;
168
+ }): Observable<HttpEvent<Notes>>;
43
169
  /**
44
170
  * Getting a shipment products
45
171
  * @param id
172
+ * @param $skip
173
+ * @param $top
174
+ * @param $orderby
175
+ * @param $filter
176
+ * @param $search
46
177
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
47
178
  * @param reportProgress flag to report request and response progress.
48
179
  */
49
- getShipmentProducts(id: string, observe?: 'body', reportProgress?: boolean, options?: {
180
+ getShipmentProducts(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
50
181
  httpHeaderAccept?: 'application/json';
51
182
  context?: HttpContext;
52
183
  transferCache?: boolean;
53
184
  }): Observable<ShipmentProducts>;
54
- getShipmentProducts(id: string, observe?: 'response', reportProgress?: boolean, options?: {
185
+ getShipmentProducts(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
55
186
  httpHeaderAccept?: 'application/json';
56
187
  context?: HttpContext;
57
188
  transferCache?: boolean;
58
189
  }): Observable<HttpResponse<ShipmentProducts>>;
59
- getShipmentProducts(id: string, observe?: 'events', reportProgress?: boolean, options?: {
190
+ getShipmentProducts(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
60
191
  httpHeaderAccept?: 'application/json';
61
192
  context?: HttpContext;
62
193
  transferCache?: boolean;
@@ -82,6 +213,27 @@ export declare class ShipmentsService {
82
213
  context?: HttpContext;
83
214
  transferCache?: boolean;
84
215
  }): Observable<HttpEvent<ShipmentSummary>>;
216
+ /**
217
+ * Getting a shipment timeline
218
+ * @param id
219
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
220
+ * @param reportProgress flag to report request and response progress.
221
+ */
222
+ getShipmentTimeline(id: string, observe?: 'body', reportProgress?: boolean, options?: {
223
+ httpHeaderAccept?: 'application/json';
224
+ context?: HttpContext;
225
+ transferCache?: boolean;
226
+ }): Observable<Array<ShipmentTimelineItem>>;
227
+ getShipmentTimeline(id: string, observe?: 'response', reportProgress?: boolean, options?: {
228
+ httpHeaderAccept?: 'application/json';
229
+ context?: HttpContext;
230
+ transferCache?: boolean;
231
+ }): Observable<HttpResponse<Array<ShipmentTimelineItem>>>;
232
+ getShipmentTimeline(id: string, observe?: 'events', reportProgress?: boolean, options?: {
233
+ httpHeaderAccept?: 'application/json';
234
+ context?: HttpContext;
235
+ transferCache?: boolean;
236
+ }): Observable<HttpEvent<Array<ShipmentTimelineItem>>>;
85
237
  /**
86
238
  * Shipments list
87
239
  * @param $skip