@indigina/wms-api 0.0.193 → 0.0.194
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.194
|
|
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.194 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -2239,6 +2239,40 @@ class CompaniesService extends BaseService {
|
|
|
2239
2239
|
super(basePath, configuration);
|
|
2240
2240
|
this.httpClient = httpClient;
|
|
2241
2241
|
}
|
|
2242
|
+
getClientShipToCompanies(observe = 'body', reportProgress = false, options) {
|
|
2243
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2244
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
2245
|
+
'application/json'
|
|
2246
|
+
]);
|
|
2247
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2248
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
2249
|
+
}
|
|
2250
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2251
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2252
|
+
let responseType_ = 'json';
|
|
2253
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2254
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
2255
|
+
responseType_ = 'text';
|
|
2256
|
+
}
|
|
2257
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2258
|
+
responseType_ = 'json';
|
|
2259
|
+
}
|
|
2260
|
+
else {
|
|
2261
|
+
responseType_ = 'blob';
|
|
2262
|
+
}
|
|
2263
|
+
}
|
|
2264
|
+
let localVarPath = `/companies/clients/ship-to`;
|
|
2265
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2266
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
2267
|
+
context: localVarHttpContext,
|
|
2268
|
+
responseType: responseType_,
|
|
2269
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2270
|
+
headers: localVarHeaders,
|
|
2271
|
+
observe: observe,
|
|
2272
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
2273
|
+
reportProgress: reportProgress
|
|
2274
|
+
});
|
|
2275
|
+
}
|
|
2242
2276
|
getClients($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
2243
2277
|
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
2244
2278
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
|