@indigina/wms-api 0.0.101 → 0.0.102
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-wms-api.mjs +7 -5
- package/fesm2022/indigina-wms-api.mjs.map +1 -1
- package/index.d.ts +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @indigina/wms-api@0.0.
|
|
1
|
+
# @indigina/wms-api@0.0.102
|
|
2
2
|
|
|
3
3
|
WMS 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/wms-api@0.0.
|
|
27
|
+
npm install @indigina/wms-api@0.0.102 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -2729,10 +2729,7 @@ class DispatchesService extends BaseService {
|
|
|
2729
2729
|
reportProgress: reportProgress
|
|
2730
2730
|
});
|
|
2731
2731
|
}
|
|
2732
|
-
|
|
2733
|
-
if (orderStatus === null || orderStatus === undefined) {
|
|
2734
|
-
throw new Error('Required parameter orderStatus was null or undefined when calling getDispatchesByOrderStatus.');
|
|
2735
|
-
}
|
|
2732
|
+
getDispatches($skip, $top, $orderby, $filter, $search, tabName, orderStatuses, observe = 'body', reportProgress = false, options) {
|
|
2736
2733
|
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
2737
2734
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
2738
2735
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
@@ -2740,6 +2737,11 @@ class DispatchesService extends BaseService {
|
|
|
2740
2737
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
2741
2738
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $search, '$search');
|
|
2742
2739
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, tabName, 'tabName');
|
|
2740
|
+
if (orderStatuses) {
|
|
2741
|
+
orderStatuses.forEach((element) => {
|
|
2742
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, 'orderStatuses');
|
|
2743
|
+
});
|
|
2744
|
+
}
|
|
2743
2745
|
let localVarHeaders = this.defaultHeaders;
|
|
2744
2746
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2745
2747
|
'application/json'
|
|
@@ -2761,7 +2763,7 @@ class DispatchesService extends BaseService {
|
|
|
2761
2763
|
responseType_ = 'blob';
|
|
2762
2764
|
}
|
|
2763
2765
|
}
|
|
2764
|
-
let localVarPath = `/dispatches
|
|
2766
|
+
let localVarPath = `/dispatches`;
|
|
2765
2767
|
const { basePath, withCredentials } = this.configuration;
|
|
2766
2768
|
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
2767
2769
|
context: localVarHttpContext,
|