@indigina/wms-api 0.0.192 → 0.0.193
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/wms-api@0.0.
|
|
1
|
+
# @indigina/wms-api@0.0.193
|
|
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.193 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -1584,47 +1584,6 @@ class CartonsService extends BaseService {
|
|
|
1584
1584
|
reportProgress: reportProgress
|
|
1585
1585
|
});
|
|
1586
1586
|
}
|
|
1587
|
-
getCartonsFromIndex($skip, $top, $orderby, $filter, searchTerm, observe = 'body', reportProgress = false, options) {
|
|
1588
|
-
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
1589
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
|
|
1590
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
|
|
1591
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
|
|
1592
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
|
|
1593
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'searchTerm', searchTerm, QueryParamStyle.Form, true);
|
|
1594
|
-
let localVarHeaders = this.defaultHeaders;
|
|
1595
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1596
|
-
'application/json'
|
|
1597
|
-
]);
|
|
1598
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1599
|
-
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1600
|
-
}
|
|
1601
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1602
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
1603
|
-
let responseType_ = 'json';
|
|
1604
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
1605
|
-
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1606
|
-
responseType_ = 'text';
|
|
1607
|
-
}
|
|
1608
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1609
|
-
responseType_ = 'json';
|
|
1610
|
-
}
|
|
1611
|
-
else {
|
|
1612
|
-
responseType_ = 'blob';
|
|
1613
|
-
}
|
|
1614
|
-
}
|
|
1615
|
-
let localVarPath = `/cartons/search`;
|
|
1616
|
-
const { basePath, withCredentials } = this.configuration;
|
|
1617
|
-
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1618
|
-
context: localVarHttpContext,
|
|
1619
|
-
params: localVarQueryParameters.toHttpParams(),
|
|
1620
|
-
responseType: responseType_,
|
|
1621
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
1622
|
-
headers: localVarHeaders,
|
|
1623
|
-
observe: observe,
|
|
1624
|
-
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
1625
|
-
reportProgress: reportProgress
|
|
1626
|
-
});
|
|
1627
|
-
}
|
|
1628
1587
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: CartonsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1629
1588
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: CartonsService, providedIn: 'root' });
|
|
1630
1589
|
}
|