@indigina/wms-api 0.0.112 → 0.0.113
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 +41 -0
- package/fesm2022/indigina-wms-api.mjs.map +1 -1
- package/index.d.ts +25 -0
- 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.113
|
|
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.113 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -1009,6 +1009,47 @@ class CartonPicksService extends BaseService {
|
|
|
1009
1009
|
reportProgress: reportProgress
|
|
1010
1010
|
});
|
|
1011
1011
|
}
|
|
1012
|
+
getCartonPicksFromIndex($skip, $top, $orderby, $filter, searchTerm, observe = 'body', reportProgress = false, options) {
|
|
1013
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1014
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
1015
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
1016
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
1017
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
1018
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, searchTerm, 'searchTerm');
|
|
1019
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1020
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1021
|
+
'application/json'
|
|
1022
|
+
]);
|
|
1023
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1024
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1025
|
+
}
|
|
1026
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1027
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1028
|
+
let responseType_ = 'json';
|
|
1029
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1030
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1031
|
+
responseType_ = 'text';
|
|
1032
|
+
}
|
|
1033
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1034
|
+
responseType_ = 'json';
|
|
1035
|
+
}
|
|
1036
|
+
else {
|
|
1037
|
+
responseType_ = 'blob';
|
|
1038
|
+
}
|
|
1039
|
+
}
|
|
1040
|
+
let localVarPath = `/cartonPicks/search`;
|
|
1041
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1042
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1043
|
+
context: localVarHttpContext,
|
|
1044
|
+
params: localVarQueryParameters,
|
|
1045
|
+
responseType: responseType_,
|
|
1046
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1047
|
+
headers: localVarHeaders,
|
|
1048
|
+
observe: observe,
|
|
1049
|
+
transferCache: localVarTransferCache,
|
|
1050
|
+
reportProgress: reportProgress
|
|
1051
|
+
});
|
|
1052
|
+
}
|
|
1012
1053
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: CartonPicksService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1013
1054
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: CartonPicksService, providedIn: 'root' });
|
|
1014
1055
|
}
|