@indigina/dcm-api 0.0.97 → 0.0.99
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
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @indigina/dcm-api@0.0.
|
|
1
|
+
# @indigina/dcm-api@0.0.99
|
|
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.99 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -3218,10 +3218,12 @@ class ShipmentsService extends BaseService {
|
|
|
3218
3218
|
reportProgress: reportProgress
|
|
3219
3219
|
});
|
|
3220
3220
|
}
|
|
3221
|
-
getShipmentProductTotals(shipmentId, observe = 'body', reportProgress = false, options) {
|
|
3221
|
+
getShipmentProductTotals(shipmentId, containerId, observe = 'body', reportProgress = false, options) {
|
|
3222
3222
|
if (shipmentId === null || shipmentId === undefined) {
|
|
3223
3223
|
throw new Error('Required parameter shipmentId was null or undefined when calling getShipmentProductTotals.');
|
|
3224
3224
|
}
|
|
3225
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
3226
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'containerId', containerId, QueryParamStyle.Form, true);
|
|
3225
3227
|
let localVarHeaders = this.defaultHeaders;
|
|
3226
3228
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
3227
3229
|
'application/json'
|
|
@@ -3247,6 +3249,7 @@ class ShipmentsService extends BaseService {
|
|
|
3247
3249
|
const { basePath, withCredentials } = this.configuration;
|
|
3248
3250
|
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
3249
3251
|
context: localVarHttpContext,
|
|
3252
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
3250
3253
|
responseType: responseType_,
|
|
3251
3254
|
...(withCredentials ? { withCredentials } : {}),
|
|
3252
3255
|
headers: localVarHeaders,
|