@indigina/wms-api 0.0.191 → 0.0.192
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.192
|
|
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.192 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -8178,9 +8178,9 @@ class SalesOrdersService extends BaseService {
|
|
|
8178
8178
|
reportProgress: reportProgress
|
|
8179
8179
|
});
|
|
8180
8180
|
}
|
|
8181
|
-
createSalesOrderCancellation(
|
|
8182
|
-
if (
|
|
8183
|
-
throw new Error('Required parameter
|
|
8181
|
+
createSalesOrderCancellation(salesOrderCancellationCreateModel, observe = 'body', reportProgress = false, options) {
|
|
8182
|
+
if (salesOrderCancellationCreateModel === null || salesOrderCancellationCreateModel === undefined) {
|
|
8183
|
+
throw new Error('Required parameter salesOrderCancellationCreateModel was null or undefined when calling createSalesOrderCancellation.');
|
|
8184
8184
|
}
|
|
8185
8185
|
let localVarHeaders = this.defaultHeaders;
|
|
8186
8186
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
@@ -8215,7 +8215,7 @@ class SalesOrdersService extends BaseService {
|
|
|
8215
8215
|
const { basePath, withCredentials } = this.configuration;
|
|
8216
8216
|
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
8217
8217
|
context: localVarHttpContext,
|
|
8218
|
-
body:
|
|
8218
|
+
body: salesOrderCancellationCreateModel,
|
|
8219
8219
|
responseType: responseType_,
|
|
8220
8220
|
...(withCredentials ? { withCredentials } : {}),
|
|
8221
8221
|
headers: localVarHeaders,
|
|
@@ -8367,6 +8367,46 @@ class SalesOrdersService extends BaseService {
|
|
|
8367
8367
|
reportProgress: reportProgress
|
|
8368
8368
|
});
|
|
8369
8369
|
}
|
|
8370
|
+
getSalesOrderCancellations($skip, $top, $orderby, $filter, observe = 'body', reportProgress = false, options) {
|
|
8371
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
8372
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
|
|
8373
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
|
|
8374
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
|
|
8375
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
|
|
8376
|
+
let localVarHeaders = this.defaultHeaders;
|
|
8377
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
8378
|
+
'application/json'
|
|
8379
|
+
]);
|
|
8380
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
8381
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
8382
|
+
}
|
|
8383
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
8384
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
8385
|
+
let responseType_ = 'json';
|
|
8386
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
8387
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
8388
|
+
responseType_ = 'text';
|
|
8389
|
+
}
|
|
8390
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
8391
|
+
responseType_ = 'json';
|
|
8392
|
+
}
|
|
8393
|
+
else {
|
|
8394
|
+
responseType_ = 'blob';
|
|
8395
|
+
}
|
|
8396
|
+
}
|
|
8397
|
+
let localVarPath = `/salesOrders/cancellations`;
|
|
8398
|
+
const { basePath, withCredentials } = this.configuration;
|
|
8399
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
8400
|
+
context: localVarHttpContext,
|
|
8401
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
8402
|
+
responseType: responseType_,
|
|
8403
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
8404
|
+
headers: localVarHeaders,
|
|
8405
|
+
observe: observe,
|
|
8406
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
8407
|
+
reportProgress: reportProgress
|
|
8408
|
+
});
|
|
8409
|
+
}
|
|
8370
8410
|
getSalesOrderItems(id, $skip, $top, $orderby, $filter, observe = 'body', reportProgress = false, options) {
|
|
8371
8411
|
if (id === null || id === undefined) {
|
|
8372
8412
|
throw new Error('Required parameter id was null or undefined when calling getSalesOrderItems.');
|
|
@@ -12818,6 +12858,16 @@ const SalesOrderCompletionIssue = {
|
|
|
12818
12858
|
* Do not edit the class manually.
|
|
12819
12859
|
*/
|
|
12820
12860
|
|
|
12861
|
+
/**
|
|
12862
|
+
* Wms.API.Client
|
|
12863
|
+
*
|
|
12864
|
+
*
|
|
12865
|
+
*
|
|
12866
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12867
|
+
* https://openapi-generator.tech
|
|
12868
|
+
* Do not edit the class manually.
|
|
12869
|
+
*/
|
|
12870
|
+
|
|
12821
12871
|
/**
|
|
12822
12872
|
* Wms.API.Client
|
|
12823
12873
|
*
|