@indigina/wms-api 0.0.141 → 0.0.143
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.143
|
|
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.143 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -974,6 +974,46 @@ class CartonDeliveryItemsService extends BaseService {
|
|
|
974
974
|
reportProgress: reportProgress
|
|
975
975
|
});
|
|
976
976
|
}
|
|
977
|
+
getCartonIdsByDeliveryItemIds(ids, observe = 'body', reportProgress = false, options) {
|
|
978
|
+
if (ids === null || ids === undefined) {
|
|
979
|
+
throw new Error('Required parameter ids was null or undefined when calling getCartonIdsByDeliveryItemIds.');
|
|
980
|
+
}
|
|
981
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
982
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'ids', ids, QueryParamStyle.Form, true);
|
|
983
|
+
let localVarHeaders = this.defaultHeaders;
|
|
984
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
985
|
+
'application/json'
|
|
986
|
+
]);
|
|
987
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
988
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
989
|
+
}
|
|
990
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
991
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
992
|
+
let responseType_ = 'json';
|
|
993
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
994
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
995
|
+
responseType_ = 'text';
|
|
996
|
+
}
|
|
997
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
998
|
+
responseType_ = 'json';
|
|
999
|
+
}
|
|
1000
|
+
else {
|
|
1001
|
+
responseType_ = 'blob';
|
|
1002
|
+
}
|
|
1003
|
+
}
|
|
1004
|
+
let localVarPath = `/cartons/deliveryItems/cartonIds`;
|
|
1005
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1006
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1007
|
+
context: localVarHttpContext,
|
|
1008
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
1009
|
+
responseType: responseType_,
|
|
1010
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1011
|
+
headers: localVarHeaders,
|
|
1012
|
+
observe: observe,
|
|
1013
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
1014
|
+
reportProgress: reportProgress
|
|
1015
|
+
});
|
|
1016
|
+
}
|
|
977
1017
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: CartonDeliveryItemsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
978
1018
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: CartonDeliveryItemsService, providedIn: 'root' });
|
|
979
1019
|
}
|
|
@@ -3348,6 +3388,47 @@ class LicencePlateSerialsService extends BaseService {
|
|
|
3348
3388
|
reportProgress: reportProgress
|
|
3349
3389
|
});
|
|
3350
3390
|
}
|
|
3391
|
+
getLicencePlateSerialsFromIndex($skip, $top, $orderby, $filter, searchTerm, observe = 'body', reportProgress = false, options) {
|
|
3392
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
3393
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
|
|
3394
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
|
|
3395
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
|
|
3396
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
|
|
3397
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'searchTerm', searchTerm, QueryParamStyle.Form, true);
|
|
3398
|
+
let localVarHeaders = this.defaultHeaders;
|
|
3399
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
3400
|
+
'application/json'
|
|
3401
|
+
]);
|
|
3402
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3403
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
3404
|
+
}
|
|
3405
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3406
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
3407
|
+
let responseType_ = 'json';
|
|
3408
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
3409
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
3410
|
+
responseType_ = 'text';
|
|
3411
|
+
}
|
|
3412
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3413
|
+
responseType_ = 'json';
|
|
3414
|
+
}
|
|
3415
|
+
else {
|
|
3416
|
+
responseType_ = 'blob';
|
|
3417
|
+
}
|
|
3418
|
+
}
|
|
3419
|
+
let localVarPath = `/licencePlateSerials/search`;
|
|
3420
|
+
const { basePath, withCredentials } = this.configuration;
|
|
3421
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
3422
|
+
context: localVarHttpContext,
|
|
3423
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
3424
|
+
responseType: responseType_,
|
|
3425
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
3426
|
+
headers: localVarHeaders,
|
|
3427
|
+
observe: observe,
|
|
3428
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
3429
|
+
reportProgress: reportProgress
|
|
3430
|
+
});
|
|
3431
|
+
}
|
|
3351
3432
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: LicencePlateSerialsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3352
3433
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: LicencePlateSerialsService, providedIn: 'root' });
|
|
3353
3434
|
}
|