@indigina/dcm-api 0.0.68 → 0.0.70
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 +49 -10
- package/fesm2022/indigina-dcm-api.mjs.map +1 -1
- package/index.d.ts +129 -50
- 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.70
|
|
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.70 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -562,6 +562,55 @@ class ContainersService extends BaseService {
|
|
|
562
562
|
reportProgress: reportProgress
|
|
563
563
|
});
|
|
564
564
|
}
|
|
565
|
+
getContainerDeliveryItems(containerIds, $skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
566
|
+
if (containerIds === null || containerIds === undefined) {
|
|
567
|
+
throw new Error('Required parameter containerIds was null or undefined when calling getContainerDeliveryItems.');
|
|
568
|
+
}
|
|
569
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
570
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
571
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
572
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
573
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
574
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $search, '$search');
|
|
575
|
+
if (containerIds) {
|
|
576
|
+
containerIds.forEach((element) => {
|
|
577
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, 'containerIds');
|
|
578
|
+
});
|
|
579
|
+
}
|
|
580
|
+
let localVarHeaders = this.defaultHeaders;
|
|
581
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
582
|
+
'application/json'
|
|
583
|
+
]);
|
|
584
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
585
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
586
|
+
}
|
|
587
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
588
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
589
|
+
let responseType_ = 'json';
|
|
590
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
591
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
592
|
+
responseType_ = 'text';
|
|
593
|
+
}
|
|
594
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
595
|
+
responseType_ = 'json';
|
|
596
|
+
}
|
|
597
|
+
else {
|
|
598
|
+
responseType_ = 'blob';
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
let localVarPath = `/containers/delivery-items`;
|
|
602
|
+
const { basePath, withCredentials } = this.configuration;
|
|
603
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
604
|
+
context: localVarHttpContext,
|
|
605
|
+
params: localVarQueryParameters,
|
|
606
|
+
responseType: responseType_,
|
|
607
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
608
|
+
headers: localVarHeaders,
|
|
609
|
+
observe: observe,
|
|
610
|
+
transferCache: localVarTransferCache,
|
|
611
|
+
reportProgress: reportProgress
|
|
612
|
+
});
|
|
613
|
+
}
|
|
565
614
|
getContainerItems(id, $skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
566
615
|
if (id === null || id === undefined) {
|
|
567
616
|
throw new Error('Required parameter id was null or undefined when calling getContainerItems.');
|
|
@@ -3084,16 +3133,6 @@ const APIS = [AuditLogsService, BookingsService, CompaniesService, ContainersSer
|
|
|
3084
3133
|
* Do not edit the class manually.
|
|
3085
3134
|
*/
|
|
3086
3135
|
|
|
3087
|
-
/**
|
|
3088
|
-
* Dcm.API.Client
|
|
3089
|
-
*
|
|
3090
|
-
*
|
|
3091
|
-
*
|
|
3092
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3093
|
-
* https://openapi-generator.tech
|
|
3094
|
-
* Do not edit the class manually.
|
|
3095
|
-
*/
|
|
3096
|
-
|
|
3097
3136
|
/**
|
|
3098
3137
|
* Dcm.API.Client
|
|
3099
3138
|
*
|