@indigina/dcm-api 0.0.106 → 0.0.107
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.107
|
|
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.107 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -3780,6 +3780,40 @@ class ShipmentsService extends BaseService {
|
|
|
3780
3780
|
reportProgress: reportProgress
|
|
3781
3781
|
});
|
|
3782
3782
|
}
|
|
3783
|
+
getShipmentsPendingInvoicesCount(observe = 'body', reportProgress = false, options) {
|
|
3784
|
+
let localVarHeaders = this.defaultHeaders;
|
|
3785
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
3786
|
+
'application/json'
|
|
3787
|
+
]);
|
|
3788
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3789
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
3790
|
+
}
|
|
3791
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3792
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
3793
|
+
let responseType_ = 'json';
|
|
3794
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
3795
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
3796
|
+
responseType_ = 'text';
|
|
3797
|
+
}
|
|
3798
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3799
|
+
responseType_ = 'json';
|
|
3800
|
+
}
|
|
3801
|
+
else {
|
|
3802
|
+
responseType_ = 'blob';
|
|
3803
|
+
}
|
|
3804
|
+
}
|
|
3805
|
+
let localVarPath = `/shipments/vendorPendingInvoices/count`;
|
|
3806
|
+
const { basePath, withCredentials } = this.configuration;
|
|
3807
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
3808
|
+
context: localVarHttpContext,
|
|
3809
|
+
responseType: responseType_,
|
|
3810
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
3811
|
+
headers: localVarHeaders,
|
|
3812
|
+
observe: observe,
|
|
3813
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
3814
|
+
reportProgress: reportProgress
|
|
3815
|
+
});
|
|
3816
|
+
}
|
|
3783
3817
|
updateShipmentState(id, state, observe = 'body', reportProgress = false, options) {
|
|
3784
3818
|
if (id === null || id === undefined) {
|
|
3785
3819
|
throw new Error('Required parameter id was null or undefined when calling updateShipmentState.');
|