@indigina/wms-api 0.0.189 → 0.0.191
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 +191 -0
- package/fesm2022/indigina-wms-api.mjs.map +1 -1
- package/package.json +1 -1
- package/types/indigina-wms-api.d.ts +177 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @indigina/wms-api@0.0.
|
|
1
|
+
# @indigina/wms-api@0.0.191
|
|
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.191 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -5359,6 +5359,40 @@ class DispatchesService extends BaseService {
|
|
|
5359
5359
|
reportProgress: reportProgress
|
|
5360
5360
|
});
|
|
5361
5361
|
}
|
|
5362
|
+
getStarDispatchClients(observe = 'body', reportProgress = false, options) {
|
|
5363
|
+
let localVarHeaders = this.defaultHeaders;
|
|
5364
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
5365
|
+
'application/json'
|
|
5366
|
+
]);
|
|
5367
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
5368
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
5369
|
+
}
|
|
5370
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
5371
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
5372
|
+
let responseType_ = 'json';
|
|
5373
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
5374
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
5375
|
+
responseType_ = 'text';
|
|
5376
|
+
}
|
|
5377
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
5378
|
+
responseType_ = 'json';
|
|
5379
|
+
}
|
|
5380
|
+
else {
|
|
5381
|
+
responseType_ = 'blob';
|
|
5382
|
+
}
|
|
5383
|
+
}
|
|
5384
|
+
let localVarPath = `/dispatches/star-dispatches/clients`;
|
|
5385
|
+
const { basePath, withCredentials } = this.configuration;
|
|
5386
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
5387
|
+
context: localVarHttpContext,
|
|
5388
|
+
responseType: responseType_,
|
|
5389
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
5390
|
+
headers: localVarHeaders,
|
|
5391
|
+
observe: observe,
|
|
5392
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
5393
|
+
reportProgress: reportProgress
|
|
5394
|
+
});
|
|
5395
|
+
}
|
|
5362
5396
|
getStarDispatches($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
5363
5397
|
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
5364
5398
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
|
|
@@ -8144,6 +8178,52 @@ class SalesOrdersService extends BaseService {
|
|
|
8144
8178
|
reportProgress: reportProgress
|
|
8145
8179
|
});
|
|
8146
8180
|
}
|
|
8181
|
+
createSalesOrderCancellation(salesOrderCancellationCreate, observe = 'body', reportProgress = false, options) {
|
|
8182
|
+
if (salesOrderCancellationCreate === null || salesOrderCancellationCreate === undefined) {
|
|
8183
|
+
throw new Error('Required parameter salesOrderCancellationCreate was null or undefined when calling createSalesOrderCancellation.');
|
|
8184
|
+
}
|
|
8185
|
+
let localVarHeaders = this.defaultHeaders;
|
|
8186
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
8187
|
+
'application/json'
|
|
8188
|
+
]);
|
|
8189
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
8190
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
8191
|
+
}
|
|
8192
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
8193
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
8194
|
+
// to determine the Content-Type header
|
|
8195
|
+
const consumes = [
|
|
8196
|
+
'application/json'
|
|
8197
|
+
];
|
|
8198
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
8199
|
+
if (httpContentTypeSelected !== undefined) {
|
|
8200
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
8201
|
+
}
|
|
8202
|
+
let responseType_ = 'json';
|
|
8203
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
8204
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
8205
|
+
responseType_ = 'text';
|
|
8206
|
+
}
|
|
8207
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
8208
|
+
responseType_ = 'json';
|
|
8209
|
+
}
|
|
8210
|
+
else {
|
|
8211
|
+
responseType_ = 'blob';
|
|
8212
|
+
}
|
|
8213
|
+
}
|
|
8214
|
+
let localVarPath = `/salesOrders/cancellations`;
|
|
8215
|
+
const { basePath, withCredentials } = this.configuration;
|
|
8216
|
+
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
8217
|
+
context: localVarHttpContext,
|
|
8218
|
+
body: salesOrderCancellationCreate,
|
|
8219
|
+
responseType: responseType_,
|
|
8220
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
8221
|
+
headers: localVarHeaders,
|
|
8222
|
+
observe: observe,
|
|
8223
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
8224
|
+
reportProgress: reportProgress
|
|
8225
|
+
});
|
|
8226
|
+
}
|
|
8147
8227
|
deleteSalesOrder(id, observe = 'body', reportProgress = false, options) {
|
|
8148
8228
|
if (id === null || id === undefined) {
|
|
8149
8229
|
throw new Error('Required parameter id was null or undefined when calling deleteSalesOrder.');
|
|
@@ -8179,6 +8259,43 @@ class SalesOrdersService extends BaseService {
|
|
|
8179
8259
|
reportProgress: reportProgress
|
|
8180
8260
|
});
|
|
8181
8261
|
}
|
|
8262
|
+
getCancellableSalesOrders(searchTerm, observe = 'body', reportProgress = false, options) {
|
|
8263
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
8264
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'searchTerm', searchTerm, QueryParamStyle.Form, true);
|
|
8265
|
+
let localVarHeaders = this.defaultHeaders;
|
|
8266
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
8267
|
+
'application/json'
|
|
8268
|
+
]);
|
|
8269
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
8270
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
8271
|
+
}
|
|
8272
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
8273
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
8274
|
+
let responseType_ = 'json';
|
|
8275
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
8276
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
8277
|
+
responseType_ = 'text';
|
|
8278
|
+
}
|
|
8279
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
8280
|
+
responseType_ = 'json';
|
|
8281
|
+
}
|
|
8282
|
+
else {
|
|
8283
|
+
responseType_ = 'blob';
|
|
8284
|
+
}
|
|
8285
|
+
}
|
|
8286
|
+
let localVarPath = `/salesOrders/cancellable`;
|
|
8287
|
+
const { basePath, withCredentials } = this.configuration;
|
|
8288
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
8289
|
+
context: localVarHttpContext,
|
|
8290
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
8291
|
+
responseType: responseType_,
|
|
8292
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
8293
|
+
headers: localVarHeaders,
|
|
8294
|
+
observe: observe,
|
|
8295
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
8296
|
+
reportProgress: reportProgress
|
|
8297
|
+
});
|
|
8298
|
+
}
|
|
8182
8299
|
getSalesOrder(id, observe = 'body', reportProgress = false, options) {
|
|
8183
8300
|
if (id === null || id === undefined) {
|
|
8184
8301
|
throw new Error('Required parameter id was null or undefined when calling getSalesOrder.');
|
|
@@ -8216,6 +8333,40 @@ class SalesOrdersService extends BaseService {
|
|
|
8216
8333
|
reportProgress: reportProgress
|
|
8217
8334
|
});
|
|
8218
8335
|
}
|
|
8336
|
+
getSalesOrderCancellationReasons(observe = 'body', reportProgress = false, options) {
|
|
8337
|
+
let localVarHeaders = this.defaultHeaders;
|
|
8338
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
8339
|
+
'application/json'
|
|
8340
|
+
]);
|
|
8341
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
8342
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
8343
|
+
}
|
|
8344
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
8345
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
8346
|
+
let responseType_ = 'json';
|
|
8347
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
8348
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
8349
|
+
responseType_ = 'text';
|
|
8350
|
+
}
|
|
8351
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
8352
|
+
responseType_ = 'json';
|
|
8353
|
+
}
|
|
8354
|
+
else {
|
|
8355
|
+
responseType_ = 'blob';
|
|
8356
|
+
}
|
|
8357
|
+
}
|
|
8358
|
+
let localVarPath = `/salesOrders/cancellation-reasons`;
|
|
8359
|
+
const { basePath, withCredentials } = this.configuration;
|
|
8360
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
8361
|
+
context: localVarHttpContext,
|
|
8362
|
+
responseType: responseType_,
|
|
8363
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
8364
|
+
headers: localVarHeaders,
|
|
8365
|
+
observe: observe,
|
|
8366
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
8367
|
+
reportProgress: reportProgress
|
|
8368
|
+
});
|
|
8369
|
+
}
|
|
8219
8370
|
getSalesOrderItems(id, $skip, $top, $orderby, $filter, observe = 'body', reportProgress = false, options) {
|
|
8220
8371
|
if (id === null || id === undefined) {
|
|
8221
8372
|
throw new Error('Required parameter id was null or undefined when calling getSalesOrderItems.');
|
|
@@ -11682,6 +11833,16 @@ const AddressType = {
|
|
|
11682
11833
|
* Do not edit the class manually.
|
|
11683
11834
|
*/
|
|
11684
11835
|
|
|
11836
|
+
/**
|
|
11837
|
+
* Wms.API.Client
|
|
11838
|
+
*
|
|
11839
|
+
*
|
|
11840
|
+
*
|
|
11841
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11842
|
+
* https://openapi-generator.tech
|
|
11843
|
+
* Do not edit the class manually.
|
|
11844
|
+
*/
|
|
11845
|
+
|
|
11685
11846
|
/**
|
|
11686
11847
|
* Wms.API.Client
|
|
11687
11848
|
*
|
|
@@ -12572,6 +12733,36 @@ const ReprintStatuses = {
|
|
|
12572
12733
|
Completed: 'Completed'
|
|
12573
12734
|
};
|
|
12574
12735
|
|
|
12736
|
+
/**
|
|
12737
|
+
* Wms.API.Client
|
|
12738
|
+
*
|
|
12739
|
+
*
|
|
12740
|
+
*
|
|
12741
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12742
|
+
* https://openapi-generator.tech
|
|
12743
|
+
* Do not edit the class manually.
|
|
12744
|
+
*/
|
|
12745
|
+
|
|
12746
|
+
/**
|
|
12747
|
+
* Wms.API.Client
|
|
12748
|
+
*
|
|
12749
|
+
*
|
|
12750
|
+
*
|
|
12751
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12752
|
+
* https://openapi-generator.tech
|
|
12753
|
+
* Do not edit the class manually.
|
|
12754
|
+
*/
|
|
12755
|
+
|
|
12756
|
+
/**
|
|
12757
|
+
* Wms.API.Client
|
|
12758
|
+
*
|
|
12759
|
+
*
|
|
12760
|
+
*
|
|
12761
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12762
|
+
* https://openapi-generator.tech
|
|
12763
|
+
* Do not edit the class manually.
|
|
12764
|
+
*/
|
|
12765
|
+
|
|
12575
12766
|
/**
|
|
12576
12767
|
* Wms.API.Client
|
|
12577
12768
|
*
|