@indigina/dcm-api 0.0.79 → 0.0.80
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 +51 -0
- package/fesm2022/indigina-dcm-api.mjs.map +1 -1
- package/index.d.ts +36 -1
- 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.80
|
|
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.80 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -1251,6 +1251,47 @@ class DcsService extends BaseService {
|
|
|
1251
1251
|
reportProgress: reportProgress
|
|
1252
1252
|
});
|
|
1253
1253
|
}
|
|
1254
|
+
getDeliveryBookingDcs(containerIds, observe = 'body', reportProgress = false, options) {
|
|
1255
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1256
|
+
if (containerIds) {
|
|
1257
|
+
containerIds.forEach((element) => {
|
|
1258
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, 'containerIds');
|
|
1259
|
+
});
|
|
1260
|
+
}
|
|
1261
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1262
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1263
|
+
'application/json'
|
|
1264
|
+
]);
|
|
1265
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1266
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1267
|
+
}
|
|
1268
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1269
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1270
|
+
let responseType_ = 'json';
|
|
1271
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1272
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1273
|
+
responseType_ = 'text';
|
|
1274
|
+
}
|
|
1275
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1276
|
+
responseType_ = 'json';
|
|
1277
|
+
}
|
|
1278
|
+
else {
|
|
1279
|
+
responseType_ = 'blob';
|
|
1280
|
+
}
|
|
1281
|
+
}
|
|
1282
|
+
let localVarPath = `/deliveryBookings/dcs`;
|
|
1283
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1284
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1285
|
+
context: localVarHttpContext,
|
|
1286
|
+
params: localVarQueryParameters,
|
|
1287
|
+
responseType: responseType_,
|
|
1288
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1289
|
+
headers: localVarHeaders,
|
|
1290
|
+
observe: observe,
|
|
1291
|
+
transferCache: localVarTransferCache,
|
|
1292
|
+
reportProgress: reportProgress
|
|
1293
|
+
});
|
|
1294
|
+
}
|
|
1254
1295
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DcsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1255
1296
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: DcsService, providedIn: 'root' });
|
|
1256
1297
|
}
|
|
@@ -3801,6 +3842,16 @@ const ContainerType = {
|
|
|
3801
3842
|
* Do not edit the class manually.
|
|
3802
3843
|
*/
|
|
3803
3844
|
|
|
3845
|
+
/**
|
|
3846
|
+
* Dcm.API.Client
|
|
3847
|
+
*
|
|
3848
|
+
*
|
|
3849
|
+
*
|
|
3850
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3851
|
+
* https://openapi-generator.tech
|
|
3852
|
+
* Do not edit the class manually.
|
|
3853
|
+
*/
|
|
3854
|
+
|
|
3804
3855
|
/**
|
|
3805
3856
|
* Dcm.API.Client
|
|
3806
3857
|
*
|