@indigina/dcm-api 0.0.26 → 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 (45) hide show
  1. package/README.md +2 -2
  2. package/api/shipments.service.d.ts +185 -11
  3. package/esm2022/api/shipments.service.mjs +398 -1
  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/entityList.mjs +12 -0
  11. package/esm2022/model/entityState.mjs +18 -0
  12. package/esm2022/model/models.mjs +19 -3
  13. package/esm2022/model/note.mjs +12 -0
  14. package/esm2022/model/notes.mjs +2 -0
  15. package/esm2022/model/shipmentContainer.mjs +2 -0
  16. package/esm2022/model/shipmentContainers.mjs +2 -0
  17. package/esm2022/model/{shipmentsList.mjs → shipmentItems.mjs} +1 -1
  18. package/esm2022/model/shipmentProduct.mjs +12 -0
  19. package/esm2022/model/shipmentProducts.mjs +2 -0
  20. package/esm2022/model/shipmentRouting.mjs +12 -0
  21. package/esm2022/model/shipmentTimelineItem.mjs +12 -0
  22. package/esm2022/model/shipments.mjs +2 -0
  23. package/fesm2022/indigina-dcm-api.mjs +513 -1
  24. package/fesm2022/indigina-dcm-api.mjs.map +1 -1
  25. package/model/auditLog.d.ts +25 -0
  26. package/model/auditLogs.d.ts +15 -0
  27. package/model/containerType.d.ts +16 -0
  28. package/model/document.d.ts +21 -0
  29. package/model/documentType.d.ts +26 -0
  30. package/model/documents.d.ts +15 -0
  31. package/model/entityList.d.ts +14 -0
  32. package/model/entityState.d.ts +18 -0
  33. package/model/models.d.ts +18 -2
  34. package/model/note.d.ts +17 -0
  35. package/model/notes.d.ts +15 -0
  36. package/model/shipmentContainer.d.ts +29 -0
  37. package/model/shipmentContainers.d.ts +15 -0
  38. package/model/{shipmentItemsList.d.ts → shipmentItems.d.ts} +1 -1
  39. package/model/shipmentProduct.d.ts +34 -0
  40. package/model/shipmentProducts.d.ts +15 -0
  41. package/model/shipmentRouting.d.ts +22 -0
  42. package/model/shipmentTimelineItem.d.ts +15 -0
  43. package/model/{shipmentsList.d.ts → shipments.d.ts} +1 -1
  44. package/package.json +1 -1
  45. package/esm2022/model/shipmentItemsList.mjs +0 -2
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @indigina/dcm-api@0.0.26
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.26 --save
24
+ npm install @indigina/dcm-api@0.0.28 --save
25
25
  ```
26
26
 
27
27
  _without publishing (not recommended):_
@@ -1,12 +1,19 @@
1
1
  import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
- import { ShipmentItemsList } from '../model/shipmentItemsList';
3
+ import { AuditLogs } from '../model/auditLogs';
4
+ import { Documents } from '../model/documents';
5
+ import { Notes } from '../model/notes';
6
+ import { ShipmentContainers } from '../model/shipmentContainers';
7
+ import { ShipmentItems } from '../model/shipmentItems';
8
+ import { ShipmentProducts } from '../model/shipmentProducts';
9
+ import { ShipmentRouting } from '../model/shipmentRouting';
4
10
  import { ShipmentState } from '../model/shipmentState';
5
11
  import { ShipmentSummary } from '../model/shipmentSummary';
12
+ import { ShipmentTimelineItem } from '../model/shipmentTimelineItem';
13
+ import { Shipments } from '../model/shipments';
6
14
  import { ShipmentsApprovalCount } from '../model/shipmentsApprovalCount';
7
15
  import { ShipmentsCount } from '../model/shipmentsCount';
8
16
  import { ShipmentsInTransitCount } from '../model/shipmentsInTransitCount';
9
- import { ShipmentsList } from '../model/shipmentsList';
10
17
  import { Configuration } from '../configuration';
11
18
  import * as i0 from "@angular/core";
12
19
  export declare class ShipmentsService {
@@ -18,6 +25,79 @@ export declare class ShipmentsService {
18
25
  constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
19
26
  private addToHttpParams;
20
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>>;
21
101
  /**
22
102
  * Shipment items list
23
103
  * @param id
@@ -28,17 +108,90 @@ export declare class ShipmentsService {
28
108
  httpHeaderAccept?: 'application/json';
29
109
  context?: HttpContext;
30
110
  transferCache?: boolean;
31
- }): Observable<ShipmentItemsList>;
111
+ }): Observable<ShipmentItems>;
32
112
  getShipmentItems(id: string, observe?: 'response', reportProgress?: boolean, options?: {
33
113
  httpHeaderAccept?: 'application/json';
34
114
  context?: HttpContext;
35
115
  transferCache?: boolean;
36
- }): Observable<HttpResponse<ShipmentItemsList>>;
116
+ }): Observable<HttpResponse<ShipmentItems>>;
37
117
  getShipmentItems(id: string, observe?: 'events', reportProgress?: boolean, options?: {
38
118
  httpHeaderAccept?: 'application/json';
39
119
  context?: HttpContext;
40
120
  transferCache?: boolean;
41
- }): Observable<HttpEvent<ShipmentItemsList>>;
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>>;
169
+ /**
170
+ * Getting a shipment products
171
+ * @param id
172
+ * @param $skip
173
+ * @param $top
174
+ * @param $orderby
175
+ * @param $filter
176
+ * @param $search
177
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
178
+ * @param reportProgress flag to report request and response progress.
179
+ */
180
+ getShipmentProducts(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
181
+ httpHeaderAccept?: 'application/json';
182
+ context?: HttpContext;
183
+ transferCache?: boolean;
184
+ }): Observable<ShipmentProducts>;
185
+ getShipmentProducts(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
186
+ httpHeaderAccept?: 'application/json';
187
+ context?: HttpContext;
188
+ transferCache?: boolean;
189
+ }): Observable<HttpResponse<ShipmentProducts>>;
190
+ getShipmentProducts(id: string, $skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
191
+ httpHeaderAccept?: 'application/json';
192
+ context?: HttpContext;
193
+ transferCache?: boolean;
194
+ }): Observable<HttpEvent<ShipmentProducts>>;
42
195
  /**
43
196
  * Getting a shipment summary by id
44
197
  * @param id
@@ -60,6 +213,27 @@ export declare class ShipmentsService {
60
213
  context?: HttpContext;
61
214
  transferCache?: boolean;
62
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>>>;
63
237
  /**
64
238
  * Shipments list
65
239
  * @param $skip
@@ -74,17 +248,17 @@ export declare class ShipmentsService {
74
248
  httpHeaderAccept?: 'application/json';
75
249
  context?: HttpContext;
76
250
  transferCache?: boolean;
77
- }): Observable<ShipmentsList>;
251
+ }): Observable<Shipments>;
78
252
  getShipments($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
79
253
  httpHeaderAccept?: 'application/json';
80
254
  context?: HttpContext;
81
255
  transferCache?: boolean;
82
- }): Observable<HttpResponse<ShipmentsList>>;
256
+ }): Observable<HttpResponse<Shipments>>;
83
257
  getShipments($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
84
258
  httpHeaderAccept?: 'application/json';
85
259
  context?: HttpContext;
86
260
  transferCache?: boolean;
87
- }): Observable<HttpEvent<ShipmentsList>>;
261
+ }): Observable<HttpEvent<Shipments>>;
88
262
  /**
89
263
  * Approval waiting shipments
90
264
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
@@ -140,17 +314,17 @@ export declare class ShipmentsService {
140
314
  httpHeaderAccept?: 'application/json';
141
315
  context?: HttpContext;
142
316
  transferCache?: boolean;
143
- }): Observable<ShipmentsList>;
317
+ }): Observable<Shipments>;
144
318
  getShipmentsFromIndex($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
145
319
  httpHeaderAccept?: 'application/json';
146
320
  context?: HttpContext;
147
321
  transferCache?: boolean;
148
- }): Observable<HttpResponse<ShipmentsList>>;
322
+ }): Observable<HttpResponse<Shipments>>;
149
323
  getShipmentsFromIndex($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
150
324
  httpHeaderAccept?: 'application/json';
151
325
  context?: HttpContext;
152
326
  transferCache?: boolean;
153
- }): Observable<HttpEvent<ShipmentsList>>;
327
+ }): Observable<HttpEvent<Shipments>>;
154
328
  /**
155
329
  * In transit shipments
156
330
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.