@indigina/wms-api 0.0.187 → 0.0.188
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.188
|
|
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.188 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -5359,6 +5359,47 @@ class DispatchesService extends BaseService {
|
|
|
5359
5359
|
reportProgress: reportProgress
|
|
5360
5360
|
});
|
|
5361
5361
|
}
|
|
5362
|
+
getStarDispatches($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
5363
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
5364
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
|
|
5365
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
|
|
5366
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
|
|
5367
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
|
|
5368
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$search', $search, QueryParamStyle.Form, true);
|
|
5369
|
+
let localVarHeaders = this.defaultHeaders;
|
|
5370
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
5371
|
+
'application/json'
|
|
5372
|
+
]);
|
|
5373
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
5374
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
5375
|
+
}
|
|
5376
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
5377
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
5378
|
+
let responseType_ = 'json';
|
|
5379
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
5380
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
5381
|
+
responseType_ = 'text';
|
|
5382
|
+
}
|
|
5383
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
5384
|
+
responseType_ = 'json';
|
|
5385
|
+
}
|
|
5386
|
+
else {
|
|
5387
|
+
responseType_ = 'blob';
|
|
5388
|
+
}
|
|
5389
|
+
}
|
|
5390
|
+
let localVarPath = `/dispatches/star-dispatches`;
|
|
5391
|
+
const { basePath, withCredentials } = this.configuration;
|
|
5392
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
5393
|
+
context: localVarHttpContext,
|
|
5394
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
5395
|
+
responseType: responseType_,
|
|
5396
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
5397
|
+
headers: localVarHeaders,
|
|
5398
|
+
observe: observe,
|
|
5399
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
5400
|
+
reportProgress: reportProgress
|
|
5401
|
+
});
|
|
5402
|
+
}
|
|
5362
5403
|
releaseOnHoldDispatches(ids, observe = 'body', reportProgress = false, options) {
|
|
5363
5404
|
if (ids === null || ids === undefined) {
|
|
5364
5405
|
throw new Error('Required parameter ids was null or undefined when calling releaseOnHoldDispatches.');
|
|
@@ -5436,6 +5477,47 @@ class DispatchesService extends BaseService {
|
|
|
5436
5477
|
reportProgress: reportProgress
|
|
5437
5478
|
});
|
|
5438
5479
|
}
|
|
5480
|
+
setDispatchStar(id, starred, observe = 'body', reportProgress = false, options) {
|
|
5481
|
+
if (id === null || id === undefined) {
|
|
5482
|
+
throw new Error('Required parameter id was null or undefined when calling setDispatchStar.');
|
|
5483
|
+
}
|
|
5484
|
+
if (starred === null || starred === undefined) {
|
|
5485
|
+
throw new Error('Required parameter starred was null or undefined when calling setDispatchStar.');
|
|
5486
|
+
}
|
|
5487
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
5488
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'starred', starred, QueryParamStyle.Form, true);
|
|
5489
|
+
let localVarHeaders = this.defaultHeaders;
|
|
5490
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
5491
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
5492
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
5493
|
+
}
|
|
5494
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
5495
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
5496
|
+
let responseType_ = 'json';
|
|
5497
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
5498
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
5499
|
+
responseType_ = 'text';
|
|
5500
|
+
}
|
|
5501
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
5502
|
+
responseType_ = 'json';
|
|
5503
|
+
}
|
|
5504
|
+
else {
|
|
5505
|
+
responseType_ = 'blob';
|
|
5506
|
+
}
|
|
5507
|
+
}
|
|
5508
|
+
let localVarPath = `/dispatches/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/star`;
|
|
5509
|
+
const { basePath, withCredentials } = this.configuration;
|
|
5510
|
+
return this.httpClient.request('patch', `${basePath}${localVarPath}`, {
|
|
5511
|
+
context: localVarHttpContext,
|
|
5512
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
5513
|
+
responseType: responseType_,
|
|
5514
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
5515
|
+
headers: localVarHeaders,
|
|
5516
|
+
observe: observe,
|
|
5517
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
5518
|
+
reportProgress: reportProgress
|
|
5519
|
+
});
|
|
5520
|
+
}
|
|
5439
5521
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: DispatchesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5440
5522
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: DispatchesService, providedIn: 'root' });
|
|
5441
5523
|
}
|
|
@@ -11826,6 +11908,16 @@ const CountType = {
|
|
|
11826
11908
|
* Do not edit the class manually.
|
|
11827
11909
|
*/
|
|
11828
11910
|
|
|
11911
|
+
/**
|
|
11912
|
+
* Wms.API.Client
|
|
11913
|
+
*
|
|
11914
|
+
*
|
|
11915
|
+
*
|
|
11916
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11917
|
+
* https://openapi-generator.tech
|
|
11918
|
+
* Do not edit the class manually.
|
|
11919
|
+
*/
|
|
11920
|
+
|
|
11829
11921
|
/**
|
|
11830
11922
|
* Wms.API.Client
|
|
11831
11923
|
*
|