@indigina/wms-api 0.0.189 → 0.0.190
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 +157 -0
- package/fesm2022/indigina-wms-api.mjs.map +1 -1
- package/package.json +1 -1
- package/types/indigina-wms-api.d.ts +155 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @indigina/wms-api@0.0.
|
|
1
|
+
# @indigina/wms-api@0.0.190
|
|
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.190 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -8144,6 +8144,52 @@ class SalesOrdersService extends BaseService {
|
|
|
8144
8144
|
reportProgress: reportProgress
|
|
8145
8145
|
});
|
|
8146
8146
|
}
|
|
8147
|
+
createSalesOrderCancellation(salesOrderCancellationCreate, observe = 'body', reportProgress = false, options) {
|
|
8148
|
+
if (salesOrderCancellationCreate === null || salesOrderCancellationCreate === undefined) {
|
|
8149
|
+
throw new Error('Required parameter salesOrderCancellationCreate was null or undefined when calling createSalesOrderCancellation.');
|
|
8150
|
+
}
|
|
8151
|
+
let localVarHeaders = this.defaultHeaders;
|
|
8152
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
8153
|
+
'application/json'
|
|
8154
|
+
]);
|
|
8155
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
8156
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
8157
|
+
}
|
|
8158
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
8159
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
8160
|
+
// to determine the Content-Type header
|
|
8161
|
+
const consumes = [
|
|
8162
|
+
'application/json'
|
|
8163
|
+
];
|
|
8164
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
8165
|
+
if (httpContentTypeSelected !== undefined) {
|
|
8166
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
8167
|
+
}
|
|
8168
|
+
let responseType_ = 'json';
|
|
8169
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
8170
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
8171
|
+
responseType_ = 'text';
|
|
8172
|
+
}
|
|
8173
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
8174
|
+
responseType_ = 'json';
|
|
8175
|
+
}
|
|
8176
|
+
else {
|
|
8177
|
+
responseType_ = 'blob';
|
|
8178
|
+
}
|
|
8179
|
+
}
|
|
8180
|
+
let localVarPath = `/salesOrders/cancellations`;
|
|
8181
|
+
const { basePath, withCredentials } = this.configuration;
|
|
8182
|
+
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
8183
|
+
context: localVarHttpContext,
|
|
8184
|
+
body: salesOrderCancellationCreate,
|
|
8185
|
+
responseType: responseType_,
|
|
8186
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
8187
|
+
headers: localVarHeaders,
|
|
8188
|
+
observe: observe,
|
|
8189
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
8190
|
+
reportProgress: reportProgress
|
|
8191
|
+
});
|
|
8192
|
+
}
|
|
8147
8193
|
deleteSalesOrder(id, observe = 'body', reportProgress = false, options) {
|
|
8148
8194
|
if (id === null || id === undefined) {
|
|
8149
8195
|
throw new Error('Required parameter id was null or undefined when calling deleteSalesOrder.');
|
|
@@ -8179,6 +8225,43 @@ class SalesOrdersService extends BaseService {
|
|
|
8179
8225
|
reportProgress: reportProgress
|
|
8180
8226
|
});
|
|
8181
8227
|
}
|
|
8228
|
+
getCancellableSalesOrders(searchTerm, observe = 'body', reportProgress = false, options) {
|
|
8229
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
8230
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'searchTerm', searchTerm, QueryParamStyle.Form, true);
|
|
8231
|
+
let localVarHeaders = this.defaultHeaders;
|
|
8232
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
8233
|
+
'application/json'
|
|
8234
|
+
]);
|
|
8235
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
8236
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
8237
|
+
}
|
|
8238
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
8239
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
8240
|
+
let responseType_ = 'json';
|
|
8241
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
8242
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
8243
|
+
responseType_ = 'text';
|
|
8244
|
+
}
|
|
8245
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
8246
|
+
responseType_ = 'json';
|
|
8247
|
+
}
|
|
8248
|
+
else {
|
|
8249
|
+
responseType_ = 'blob';
|
|
8250
|
+
}
|
|
8251
|
+
}
|
|
8252
|
+
let localVarPath = `/salesOrders/cancellable`;
|
|
8253
|
+
const { basePath, withCredentials } = this.configuration;
|
|
8254
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
8255
|
+
context: localVarHttpContext,
|
|
8256
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
8257
|
+
responseType: responseType_,
|
|
8258
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
8259
|
+
headers: localVarHeaders,
|
|
8260
|
+
observe: observe,
|
|
8261
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
8262
|
+
reportProgress: reportProgress
|
|
8263
|
+
});
|
|
8264
|
+
}
|
|
8182
8265
|
getSalesOrder(id, observe = 'body', reportProgress = false, options) {
|
|
8183
8266
|
if (id === null || id === undefined) {
|
|
8184
8267
|
throw new Error('Required parameter id was null or undefined when calling getSalesOrder.');
|
|
@@ -8216,6 +8299,40 @@ class SalesOrdersService extends BaseService {
|
|
|
8216
8299
|
reportProgress: reportProgress
|
|
8217
8300
|
});
|
|
8218
8301
|
}
|
|
8302
|
+
getSalesOrderCancellationReasons(observe = 'body', reportProgress = false, options) {
|
|
8303
|
+
let localVarHeaders = this.defaultHeaders;
|
|
8304
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
8305
|
+
'application/json'
|
|
8306
|
+
]);
|
|
8307
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
8308
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
8309
|
+
}
|
|
8310
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
8311
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
8312
|
+
let responseType_ = 'json';
|
|
8313
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
8314
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
8315
|
+
responseType_ = 'text';
|
|
8316
|
+
}
|
|
8317
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
8318
|
+
responseType_ = 'json';
|
|
8319
|
+
}
|
|
8320
|
+
else {
|
|
8321
|
+
responseType_ = 'blob';
|
|
8322
|
+
}
|
|
8323
|
+
}
|
|
8324
|
+
let localVarPath = `/salesOrders/cancellation-reasons`;
|
|
8325
|
+
const { basePath, withCredentials } = this.configuration;
|
|
8326
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
8327
|
+
context: localVarHttpContext,
|
|
8328
|
+
responseType: responseType_,
|
|
8329
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
8330
|
+
headers: localVarHeaders,
|
|
8331
|
+
observe: observe,
|
|
8332
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
8333
|
+
reportProgress: reportProgress
|
|
8334
|
+
});
|
|
8335
|
+
}
|
|
8219
8336
|
getSalesOrderItems(id, $skip, $top, $orderby, $filter, observe = 'body', reportProgress = false, options) {
|
|
8220
8337
|
if (id === null || id === undefined) {
|
|
8221
8338
|
throw new Error('Required parameter id was null or undefined when calling getSalesOrderItems.');
|
|
@@ -11682,6 +11799,16 @@ const AddressType = {
|
|
|
11682
11799
|
* Do not edit the class manually.
|
|
11683
11800
|
*/
|
|
11684
11801
|
|
|
11802
|
+
/**
|
|
11803
|
+
* Wms.API.Client
|
|
11804
|
+
*
|
|
11805
|
+
*
|
|
11806
|
+
*
|
|
11807
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11808
|
+
* https://openapi-generator.tech
|
|
11809
|
+
* Do not edit the class manually.
|
|
11810
|
+
*/
|
|
11811
|
+
|
|
11685
11812
|
/**
|
|
11686
11813
|
* Wms.API.Client
|
|
11687
11814
|
*
|
|
@@ -12572,6 +12699,36 @@ const ReprintStatuses = {
|
|
|
12572
12699
|
Completed: 'Completed'
|
|
12573
12700
|
};
|
|
12574
12701
|
|
|
12702
|
+
/**
|
|
12703
|
+
* Wms.API.Client
|
|
12704
|
+
*
|
|
12705
|
+
*
|
|
12706
|
+
*
|
|
12707
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12708
|
+
* https://openapi-generator.tech
|
|
12709
|
+
* Do not edit the class manually.
|
|
12710
|
+
*/
|
|
12711
|
+
|
|
12712
|
+
/**
|
|
12713
|
+
* Wms.API.Client
|
|
12714
|
+
*
|
|
12715
|
+
*
|
|
12716
|
+
*
|
|
12717
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12718
|
+
* https://openapi-generator.tech
|
|
12719
|
+
* Do not edit the class manually.
|
|
12720
|
+
*/
|
|
12721
|
+
|
|
12722
|
+
/**
|
|
12723
|
+
* Wms.API.Client
|
|
12724
|
+
*
|
|
12725
|
+
*
|
|
12726
|
+
*
|
|
12727
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12728
|
+
* https://openapi-generator.tech
|
|
12729
|
+
* Do not edit the class manually.
|
|
12730
|
+
*/
|
|
12731
|
+
|
|
12575
12732
|
/**
|
|
12576
12733
|
* Wms.API.Client
|
|
12577
12734
|
*
|