@indigina/wms-api 0.0.108 → 0.0.109
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.109
|
|
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.109 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -3856,6 +3856,47 @@ class ReplenishmentRecordsService extends BaseService {
|
|
|
3856
3856
|
reportProgress: reportProgress
|
|
3857
3857
|
});
|
|
3858
3858
|
}
|
|
3859
|
+
getReplenishmentRecordsFromIndex($skip, $top, $orderby, $filter, searchTerm, observe = 'body', reportProgress = false, options) {
|
|
3860
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
3861
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
3862
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
3863
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
3864
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
3865
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, searchTerm, 'searchTerm');
|
|
3866
|
+
let localVarHeaders = this.defaultHeaders;
|
|
3867
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
3868
|
+
'application/json'
|
|
3869
|
+
]);
|
|
3870
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3871
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
3872
|
+
}
|
|
3873
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3874
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
3875
|
+
let responseType_ = 'json';
|
|
3876
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
3877
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
3878
|
+
responseType_ = 'text';
|
|
3879
|
+
}
|
|
3880
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3881
|
+
responseType_ = 'json';
|
|
3882
|
+
}
|
|
3883
|
+
else {
|
|
3884
|
+
responseType_ = 'blob';
|
|
3885
|
+
}
|
|
3886
|
+
}
|
|
3887
|
+
let localVarPath = `/replenishmentRecords/search`;
|
|
3888
|
+
const { basePath, withCredentials } = this.configuration;
|
|
3889
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
3890
|
+
context: localVarHttpContext,
|
|
3891
|
+
params: localVarQueryParameters,
|
|
3892
|
+
responseType: responseType_,
|
|
3893
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
3894
|
+
headers: localVarHeaders,
|
|
3895
|
+
observe: observe,
|
|
3896
|
+
transferCache: localVarTransferCache,
|
|
3897
|
+
reportProgress: reportProgress
|
|
3898
|
+
});
|
|
3899
|
+
}
|
|
3859
3900
|
unallocateReplenishmentRecord(id, observe = 'body', reportProgress = false, options) {
|
|
3860
3901
|
if (id === null || id === undefined) {
|
|
3861
3902
|
throw new Error('Required parameter id was null or undefined when calling unallocateReplenishmentRecord.');
|