@indigina/dcm-api 0.0.67 → 0.0.69
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 +82 -10
- package/fesm2022/indigina-dcm-api.mjs.map +1 -1
- package/index.d.ts +225 -90
- 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.69
|
|
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.69 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -480,6 +480,88 @@ class ContainersService extends BaseService {
|
|
|
480
480
|
super(basePath, configuration);
|
|
481
481
|
this.httpClient = httpClient;
|
|
482
482
|
}
|
|
483
|
+
getContainerDeliveries($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
484
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
485
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
486
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
487
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
488
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
489
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $search, '$search');
|
|
490
|
+
let localVarHeaders = this.defaultHeaders;
|
|
491
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
492
|
+
'application/json'
|
|
493
|
+
]);
|
|
494
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
495
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
496
|
+
}
|
|
497
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
498
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
499
|
+
let responseType_ = 'json';
|
|
500
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
501
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
502
|
+
responseType_ = 'text';
|
|
503
|
+
}
|
|
504
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
505
|
+
responseType_ = 'json';
|
|
506
|
+
}
|
|
507
|
+
else {
|
|
508
|
+
responseType_ = 'blob';
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
let localVarPath = `/containers/deliveries`;
|
|
512
|
+
const { basePath, withCredentials } = this.configuration;
|
|
513
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
514
|
+
context: localVarHttpContext,
|
|
515
|
+
params: localVarQueryParameters,
|
|
516
|
+
responseType: responseType_,
|
|
517
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
518
|
+
headers: localVarHeaders,
|
|
519
|
+
observe: observe,
|
|
520
|
+
transferCache: localVarTransferCache,
|
|
521
|
+
reportProgress: reportProgress
|
|
522
|
+
});
|
|
523
|
+
}
|
|
524
|
+
getContainerDeliveriesFromIndex($skip, $top, $orderby, $filter, searchTerm, observe = 'body', reportProgress = false, options) {
|
|
525
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
526
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
527
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
528
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
529
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
530
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, searchTerm, 'searchTerm');
|
|
531
|
+
let localVarHeaders = this.defaultHeaders;
|
|
532
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
533
|
+
'application/json'
|
|
534
|
+
]);
|
|
535
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
536
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
537
|
+
}
|
|
538
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
539
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
540
|
+
let responseType_ = 'json';
|
|
541
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
542
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
543
|
+
responseType_ = 'text';
|
|
544
|
+
}
|
|
545
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
546
|
+
responseType_ = 'json';
|
|
547
|
+
}
|
|
548
|
+
else {
|
|
549
|
+
responseType_ = 'blob';
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
let localVarPath = `/containers/deliveries/search`;
|
|
553
|
+
const { basePath, withCredentials } = this.configuration;
|
|
554
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
555
|
+
context: localVarHttpContext,
|
|
556
|
+
params: localVarQueryParameters,
|
|
557
|
+
responseType: responseType_,
|
|
558
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
559
|
+
headers: localVarHeaders,
|
|
560
|
+
observe: observe,
|
|
561
|
+
transferCache: localVarTransferCache,
|
|
562
|
+
reportProgress: reportProgress
|
|
563
|
+
});
|
|
564
|
+
}
|
|
483
565
|
getContainerItems(id, $skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
484
566
|
if (id === null || id === undefined) {
|
|
485
567
|
throw new Error('Required parameter id was null or undefined when calling getContainerItems.');
|
|
@@ -3002,16 +3084,6 @@ const APIS = [AuditLogsService, BookingsService, CompaniesService, ContainersSer
|
|
|
3002
3084
|
* Do not edit the class manually.
|
|
3003
3085
|
*/
|
|
3004
3086
|
|
|
3005
|
-
/**
|
|
3006
|
-
* Dcm.API.Client
|
|
3007
|
-
*
|
|
3008
|
-
*
|
|
3009
|
-
*
|
|
3010
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3011
|
-
* https://openapi-generator.tech
|
|
3012
|
-
* Do not edit the class manually.
|
|
3013
|
-
*/
|
|
3014
|
-
|
|
3015
3087
|
/**
|
|
3016
3088
|
* Dcm.API.Client
|
|
3017
3089
|
*
|