@indigina/wms-api 0.0.112 → 0.0.114
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 +97 -0
- package/fesm2022/indigina-wms-api.mjs.map +1 -1
- package/index.d.ts +50 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @indigina/wms-api@0.0.
|
|
1
|
+
# @indigina/wms-api@0.0.114
|
|
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.114 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -1009,6 +1009,47 @@ class CartonPicksService extends BaseService {
|
|
|
1009
1009
|
reportProgress: reportProgress
|
|
1010
1010
|
});
|
|
1011
1011
|
}
|
|
1012
|
+
getCartonPicksFromIndex($skip, $top, $orderby, $filter, searchTerm, observe = 'body', reportProgress = false, options) {
|
|
1013
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
1014
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
1015
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
1016
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
1017
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
1018
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, searchTerm, 'searchTerm');
|
|
1019
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1020
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1021
|
+
'application/json'
|
|
1022
|
+
]);
|
|
1023
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1024
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1025
|
+
}
|
|
1026
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1027
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1028
|
+
let responseType_ = 'json';
|
|
1029
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1030
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1031
|
+
responseType_ = 'text';
|
|
1032
|
+
}
|
|
1033
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1034
|
+
responseType_ = 'json';
|
|
1035
|
+
}
|
|
1036
|
+
else {
|
|
1037
|
+
responseType_ = 'blob';
|
|
1038
|
+
}
|
|
1039
|
+
}
|
|
1040
|
+
let localVarPath = `/cartonPicks/search`;
|
|
1041
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1042
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1043
|
+
context: localVarHttpContext,
|
|
1044
|
+
params: localVarQueryParameters,
|
|
1045
|
+
responseType: responseType_,
|
|
1046
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1047
|
+
headers: localVarHeaders,
|
|
1048
|
+
observe: observe,
|
|
1049
|
+
transferCache: localVarTransferCache,
|
|
1050
|
+
reportProgress: reportProgress
|
|
1051
|
+
});
|
|
1052
|
+
}
|
|
1012
1053
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: CartonPicksService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1013
1054
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: CartonPicksService, providedIn: 'root' });
|
|
1014
1055
|
}
|
|
@@ -3326,6 +3367,62 @@ class NotesService extends BaseService {
|
|
|
3326
3367
|
reportProgress: reportProgress
|
|
3327
3368
|
});
|
|
3328
3369
|
}
|
|
3370
|
+
updateNote(id, note, propertiesToUpdate, observe = 'body', reportProgress = false, options) {
|
|
3371
|
+
if (id === null || id === undefined) {
|
|
3372
|
+
throw new Error('Required parameter id was null or undefined when calling updateNote.');
|
|
3373
|
+
}
|
|
3374
|
+
if (note === null || note === undefined) {
|
|
3375
|
+
throw new Error('Required parameter note was null or undefined when calling updateNote.');
|
|
3376
|
+
}
|
|
3377
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
3378
|
+
if (propertiesToUpdate) {
|
|
3379
|
+
propertiesToUpdate.forEach((element) => {
|
|
3380
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, 'propertiesToUpdate');
|
|
3381
|
+
});
|
|
3382
|
+
}
|
|
3383
|
+
let localVarHeaders = this.defaultHeaders;
|
|
3384
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
3385
|
+
'application/json'
|
|
3386
|
+
]);
|
|
3387
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3388
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
3389
|
+
}
|
|
3390
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3391
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
3392
|
+
// to determine the Content-Type header
|
|
3393
|
+
const consumes = [
|
|
3394
|
+
'application/json'
|
|
3395
|
+
];
|
|
3396
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
3397
|
+
if (httpContentTypeSelected !== undefined) {
|
|
3398
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
3399
|
+
}
|
|
3400
|
+
let responseType_ = 'json';
|
|
3401
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
3402
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
3403
|
+
responseType_ = 'text';
|
|
3404
|
+
}
|
|
3405
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3406
|
+
responseType_ = 'json';
|
|
3407
|
+
}
|
|
3408
|
+
else {
|
|
3409
|
+
responseType_ = 'blob';
|
|
3410
|
+
}
|
|
3411
|
+
}
|
|
3412
|
+
let localVarPath = `/notes/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
|
|
3413
|
+
const { basePath, withCredentials } = this.configuration;
|
|
3414
|
+
return this.httpClient.request('put', `${basePath}${localVarPath}`, {
|
|
3415
|
+
context: localVarHttpContext,
|
|
3416
|
+
body: note,
|
|
3417
|
+
params: localVarQueryParameters,
|
|
3418
|
+
responseType: responseType_,
|
|
3419
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
3420
|
+
headers: localVarHeaders,
|
|
3421
|
+
observe: observe,
|
|
3422
|
+
transferCache: localVarTransferCache,
|
|
3423
|
+
reportProgress: reportProgress
|
|
3424
|
+
});
|
|
3425
|
+
}
|
|
3329
3426
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: NotesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3330
3427
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: NotesService, providedIn: 'root' });
|
|
3331
3428
|
}
|