@indigina/dcm-api 0.0.83 → 0.0.85
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/fesm2022/indigina-dcm-api.mjs +40 -0
- package/fesm2022/indigina-dcm-api.mjs.map +1 -1
- package/index.d.ts +22 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @indigina/dcm-api@0.0.
|
|
1
|
+
# @indigina/dcm-api@0.0.85
|
|
2
2
|
|
|
3
3
|
DCM API Client for Angular applications
|
|
4
4
|
|
|
@@ -24,7 +24,7 @@ Navigate to the folder of your consuming project and run one of next commands.
|
|
|
24
24
|
_published:_
|
|
25
25
|
|
|
26
26
|
```console
|
|
27
|
-
npm install @indigina/dcm-api@0.0.
|
|
27
|
+
npm install @indigina/dcm-api@0.0.85 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -562,6 +562,46 @@ class ContainersService extends BaseService {
|
|
|
562
562
|
reportProgress: reportProgress
|
|
563
563
|
});
|
|
564
564
|
}
|
|
565
|
+
getContainerDeliveryBookingItems(dcClientDeliveryBookingId, observe = 'body', reportProgress = false, options) {
|
|
566
|
+
if (dcClientDeliveryBookingId === null || dcClientDeliveryBookingId === undefined) {
|
|
567
|
+
throw new Error('Required parameter dcClientDeliveryBookingId was null or undefined when calling getContainerDeliveryBookingItems.');
|
|
568
|
+
}
|
|
569
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
570
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, dcClientDeliveryBookingId, 'dcClientDeliveryBookingId');
|
|
571
|
+
let localVarHeaders = this.defaultHeaders;
|
|
572
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
573
|
+
'application/json'
|
|
574
|
+
]);
|
|
575
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
576
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
577
|
+
}
|
|
578
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
579
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
580
|
+
let responseType_ = 'json';
|
|
581
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
582
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
583
|
+
responseType_ = 'text';
|
|
584
|
+
}
|
|
585
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
586
|
+
responseType_ = 'json';
|
|
587
|
+
}
|
|
588
|
+
else {
|
|
589
|
+
responseType_ = 'blob';
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
let localVarPath = `/containers/delivery-booking-items`;
|
|
593
|
+
const { basePath, withCredentials } = this.configuration;
|
|
594
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
595
|
+
context: localVarHttpContext,
|
|
596
|
+
params: localVarQueryParameters,
|
|
597
|
+
responseType: responseType_,
|
|
598
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
599
|
+
headers: localVarHeaders,
|
|
600
|
+
observe: observe,
|
|
601
|
+
transferCache: localVarTransferCache,
|
|
602
|
+
reportProgress: reportProgress
|
|
603
|
+
});
|
|
604
|
+
}
|
|
565
605
|
getContainerDeliveryItems(containerIds, observe = 'body', reportProgress = false, options) {
|
|
566
606
|
if (containerIds === null || containerIds === undefined) {
|
|
567
607
|
throw new Error('Required parameter containerIds was null or undefined when calling getContainerDeliveryItems.');
|