@indigina/wms-api 0.0.77 → 0.0.79
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/api/api.d.ts +3 -1
- package/api/replenishment.service.d.ts +42 -0
- package/fesm2022/indigina-wms-api.mjs +181 -6
- package/fesm2022/indigina-wms-api.mjs.map +1 -1
- package/model/dispatchGridView.d.ts +4 -4
- package/model/dispatchSummaryView.d.ts +4 -4
- package/model/dispatchView.d.ts +4 -4
- package/model/models.d.ts +5 -2
- package/model/packingProcesses.d.ts +20 -0
- package/model/pickingProcesses.d.ts +20 -0
- package/model/replenishmentAccess.d.ts +14 -0
- package/model/replenishmentAccessGridView.d.ts +18 -0
- package/model/replenishmentAccessView.d.ts +14 -0
- package/package.json +1 -1
- package/model/packingProcess.d.ts +0 -17
- package/model/pickingProcess.d.ts +0 -17
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @indigina/wms-api@0.0.
|
|
1
|
+
# @indigina/wms-api@0.0.79
|
|
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.79 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
package/api/api.d.ts
CHANGED
|
@@ -26,6 +26,8 @@ export * from './productQuantities.service';
|
|
|
26
26
|
import { ProductQuantitiesService } from './productQuantities.service';
|
|
27
27
|
export * from './reasons.service';
|
|
28
28
|
import { ReasonsService } from './reasons.service';
|
|
29
|
+
export * from './replenishment.service';
|
|
30
|
+
import { ReplenishmentService } from './replenishment.service';
|
|
29
31
|
export * from './settings.service';
|
|
30
32
|
import { SettingsService } from './settings.service';
|
|
31
33
|
export * from './summary.service';
|
|
@@ -40,4 +42,4 @@ export * from './user.service';
|
|
|
40
42
|
import { UserService } from './user.service';
|
|
41
43
|
export * from './usersInternal.service';
|
|
42
44
|
import { UsersInternalService } from './usersInternal.service';
|
|
43
|
-
export declare const APIS: (typeof AnalyticsService | typeof CarrierProviderIntegrationsService | typeof CompaniesService | typeof DcsService | typeof DeliveriesService | typeof DeliveryItemsService | typeof DispatchItemsService | typeof DispatchesService | typeof HealthService | typeof NotesService | typeof PermissionsService | typeof ProductMastersService | typeof ProductQuantitiesService | typeof ReasonsService | typeof SettingsService | typeof SummaryService | typeof TaskCompletionTimeService | typeof TaskOperationsService | typeof TaskUserRecordsService | typeof UserService | typeof UsersInternalService)[];
|
|
45
|
+
export declare const APIS: (typeof AnalyticsService | typeof CarrierProviderIntegrationsService | typeof CompaniesService | typeof DcsService | typeof DeliveriesService | typeof DeliveryItemsService | typeof DispatchItemsService | typeof DispatchesService | typeof HealthService | typeof NotesService | typeof PermissionsService | typeof ProductMastersService | typeof ProductQuantitiesService | typeof ReasonsService | typeof ReplenishmentService | typeof SettingsService | typeof SummaryService | typeof TaskCompletionTimeService | typeof TaskOperationsService | typeof TaskUserRecordsService | typeof UserService | typeof UsersInternalService)[];
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ReplenishmentAccess } from '../model/replenishmentAccess';
|
|
4
|
+
import { Configuration } from '../configuration';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ReplenishmentService {
|
|
7
|
+
protected httpClient: HttpClient;
|
|
8
|
+
protected basePath: string;
|
|
9
|
+
defaultHeaders: HttpHeaders;
|
|
10
|
+
configuration: Configuration;
|
|
11
|
+
encoder: HttpParameterCodec;
|
|
12
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
13
|
+
private addToHttpParams;
|
|
14
|
+
private addToHttpParamsRecursive;
|
|
15
|
+
/**
|
|
16
|
+
* Getting replenishment access
|
|
17
|
+
* @param $skip
|
|
18
|
+
* @param $top
|
|
19
|
+
* @param $orderby
|
|
20
|
+
* @param $filter
|
|
21
|
+
* @param $search
|
|
22
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
23
|
+
* @param reportProgress flag to report request and response progress.
|
|
24
|
+
*/
|
|
25
|
+
getAccess($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
26
|
+
httpHeaderAccept?: 'application/json';
|
|
27
|
+
context?: HttpContext;
|
|
28
|
+
transferCache?: boolean;
|
|
29
|
+
}): Observable<ReplenishmentAccess>;
|
|
30
|
+
getAccess($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
31
|
+
httpHeaderAccept?: 'application/json';
|
|
32
|
+
context?: HttpContext;
|
|
33
|
+
transferCache?: boolean;
|
|
34
|
+
}): Observable<HttpResponse<ReplenishmentAccess>>;
|
|
35
|
+
getAccess($skip?: number, $top?: number, $orderby?: string, $filter?: string, $search?: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
36
|
+
httpHeaderAccept?: 'application/json';
|
|
37
|
+
context?: HttpContext;
|
|
38
|
+
transferCache?: boolean;
|
|
39
|
+
}): Observable<HttpEvent<ReplenishmentAccess>>;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReplenishmentService, [null, { optional: true; }, { optional: true; }]>;
|
|
41
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ReplenishmentService>;
|
|
42
|
+
}
|
|
@@ -4204,6 +4204,155 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
4204
4204
|
type: Optional
|
|
4205
4205
|
}] }] });
|
|
4206
4206
|
|
|
4207
|
+
/**
|
|
4208
|
+
* Wms.API.Client
|
|
4209
|
+
*
|
|
4210
|
+
*
|
|
4211
|
+
*
|
|
4212
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4213
|
+
* https://openapi-generator.tech
|
|
4214
|
+
* Do not edit the class manually.
|
|
4215
|
+
*/
|
|
4216
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
4217
|
+
class ReplenishmentService {
|
|
4218
|
+
httpClient;
|
|
4219
|
+
basePath = 'http://localhost';
|
|
4220
|
+
defaultHeaders = new HttpHeaders();
|
|
4221
|
+
configuration = new Configuration();
|
|
4222
|
+
encoder;
|
|
4223
|
+
constructor(httpClient, basePath, configuration) {
|
|
4224
|
+
this.httpClient = httpClient;
|
|
4225
|
+
if (configuration) {
|
|
4226
|
+
this.configuration = configuration;
|
|
4227
|
+
}
|
|
4228
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
4229
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
4230
|
+
if (firstBasePath != undefined) {
|
|
4231
|
+
basePath = firstBasePath;
|
|
4232
|
+
}
|
|
4233
|
+
if (typeof basePath !== 'string') {
|
|
4234
|
+
basePath = this.basePath;
|
|
4235
|
+
}
|
|
4236
|
+
this.configuration.basePath = basePath;
|
|
4237
|
+
}
|
|
4238
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
4239
|
+
}
|
|
4240
|
+
// @ts-ignore
|
|
4241
|
+
addToHttpParams(httpParams, value, key) {
|
|
4242
|
+
if (typeof value === "object" && value instanceof Date === false) {
|
|
4243
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
4244
|
+
}
|
|
4245
|
+
else {
|
|
4246
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
4247
|
+
}
|
|
4248
|
+
return httpParams;
|
|
4249
|
+
}
|
|
4250
|
+
addToHttpParamsRecursive(httpParams, value, key) {
|
|
4251
|
+
if (value == null) {
|
|
4252
|
+
return httpParams;
|
|
4253
|
+
}
|
|
4254
|
+
if (typeof value === "object") {
|
|
4255
|
+
if (Array.isArray(value)) {
|
|
4256
|
+
value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
|
|
4257
|
+
}
|
|
4258
|
+
else if (value instanceof Date) {
|
|
4259
|
+
if (key != null) {
|
|
4260
|
+
httpParams = httpParams.append(key, value.toISOString().substring(0, 10));
|
|
4261
|
+
}
|
|
4262
|
+
else {
|
|
4263
|
+
throw Error("key may not be null if value is Date");
|
|
4264
|
+
}
|
|
4265
|
+
}
|
|
4266
|
+
else {
|
|
4267
|
+
Object.keys(value).forEach(k => httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k));
|
|
4268
|
+
}
|
|
4269
|
+
}
|
|
4270
|
+
else if (key != null) {
|
|
4271
|
+
httpParams = httpParams.append(key, value);
|
|
4272
|
+
}
|
|
4273
|
+
else {
|
|
4274
|
+
throw Error("key may not be null if value is not object or array");
|
|
4275
|
+
}
|
|
4276
|
+
return httpParams;
|
|
4277
|
+
}
|
|
4278
|
+
getAccess($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
4279
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
4280
|
+
if ($skip !== undefined && $skip !== null) {
|
|
4281
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
4282
|
+
}
|
|
4283
|
+
if ($top !== undefined && $top !== null) {
|
|
4284
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
4285
|
+
}
|
|
4286
|
+
if ($orderby !== undefined && $orderby !== null) {
|
|
4287
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
4288
|
+
}
|
|
4289
|
+
if ($filter !== undefined && $filter !== null) {
|
|
4290
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
4291
|
+
}
|
|
4292
|
+
if ($search !== undefined && $search !== null) {
|
|
4293
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $search, '$search');
|
|
4294
|
+
}
|
|
4295
|
+
let localVarHeaders = this.defaultHeaders;
|
|
4296
|
+
let localVarHttpHeaderAcceptSelected = options && options.httpHeaderAccept;
|
|
4297
|
+
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
4298
|
+
// to determine the Accept header
|
|
4299
|
+
const httpHeaderAccepts = [
|
|
4300
|
+
'application/json'
|
|
4301
|
+
];
|
|
4302
|
+
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
4303
|
+
}
|
|
4304
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
4305
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
4306
|
+
}
|
|
4307
|
+
let localVarHttpContext = options && options.context;
|
|
4308
|
+
if (localVarHttpContext === undefined) {
|
|
4309
|
+
localVarHttpContext = new HttpContext();
|
|
4310
|
+
}
|
|
4311
|
+
let localVarTransferCache = options && options.transferCache;
|
|
4312
|
+
if (localVarTransferCache === undefined) {
|
|
4313
|
+
localVarTransferCache = true;
|
|
4314
|
+
}
|
|
4315
|
+
let responseType_ = 'json';
|
|
4316
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
4317
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
4318
|
+
responseType_ = 'text';
|
|
4319
|
+
}
|
|
4320
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
4321
|
+
responseType_ = 'json';
|
|
4322
|
+
}
|
|
4323
|
+
else {
|
|
4324
|
+
responseType_ = 'blob';
|
|
4325
|
+
}
|
|
4326
|
+
}
|
|
4327
|
+
let localVarPath = `/replenishment/access`;
|
|
4328
|
+
return this.httpClient.request('get', `${this.configuration.basePath}${localVarPath}`, {
|
|
4329
|
+
context: localVarHttpContext,
|
|
4330
|
+
params: localVarQueryParameters,
|
|
4331
|
+
responseType: responseType_,
|
|
4332
|
+
withCredentials: this.configuration.withCredentials,
|
|
4333
|
+
headers: localVarHeaders,
|
|
4334
|
+
observe: observe,
|
|
4335
|
+
transferCache: localVarTransferCache,
|
|
4336
|
+
reportProgress: reportProgress
|
|
4337
|
+
});
|
|
4338
|
+
}
|
|
4339
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ReplenishmentService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4340
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ReplenishmentService, providedIn: 'root' });
|
|
4341
|
+
}
|
|
4342
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ReplenishmentService, decorators: [{
|
|
4343
|
+
type: Injectable,
|
|
4344
|
+
args: [{
|
|
4345
|
+
providedIn: 'root'
|
|
4346
|
+
}]
|
|
4347
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
4348
|
+
type: Optional
|
|
4349
|
+
}, {
|
|
4350
|
+
type: Inject,
|
|
4351
|
+
args: [BASE_PATH]
|
|
4352
|
+
}] }, { type: Configuration, decorators: [{
|
|
4353
|
+
type: Optional
|
|
4354
|
+
}] }] });
|
|
4355
|
+
|
|
4207
4356
|
/**
|
|
4208
4357
|
* Wms.API.Client
|
|
4209
4358
|
*
|
|
@@ -6404,7 +6553,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
6404
6553
|
type: Optional
|
|
6405
6554
|
}] }] });
|
|
6406
6555
|
|
|
6407
|
-
const APIS = [AnalyticsService, CarrierProviderIntegrationsService, CompaniesService, DcsService, DeliveriesService, DeliveryItemsService, DispatchItemsService, DispatchesService, HealthService, NotesService, PermissionsService, ProductMastersService, ProductQuantitiesService, ReasonsService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UsersInternalService];
|
|
6556
|
+
const APIS = [AnalyticsService, CarrierProviderIntegrationsService, CompaniesService, DcsService, DeliveriesService, DeliveryItemsService, DispatchItemsService, DispatchesService, HealthService, NotesService, PermissionsService, ProductMastersService, ProductQuantitiesService, ReasonsService, ReplenishmentService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UsersInternalService];
|
|
6408
6557
|
|
|
6409
6558
|
/**
|
|
6410
6559
|
* Wms.API.Client
|
|
@@ -6647,12 +6796,15 @@ const OrderType = {
|
|
|
6647
6796
|
* https://openapi-generator.tech
|
|
6648
6797
|
* Do not edit the class manually.
|
|
6649
6798
|
*/
|
|
6650
|
-
const
|
|
6799
|
+
const PackingProcesses = {
|
|
6651
6800
|
OrderPacking: 'OrderPacking',
|
|
6652
6801
|
WebOrderPacking: 'WebOrderPacking',
|
|
6653
6802
|
ClusterPacking: 'ClusterPacking',
|
|
6654
6803
|
DispatchPacking: 'DispatchPacking',
|
|
6655
|
-
SkuPacking: 'SkuPacking'
|
|
6804
|
+
SkuPacking: 'SkuPacking',
|
|
6805
|
+
PickPack: 'PickPack',
|
|
6806
|
+
PickPackBySku: 'PickPackBySku',
|
|
6807
|
+
BatchPicking: 'BatchPicking'
|
|
6656
6808
|
};
|
|
6657
6809
|
|
|
6658
6810
|
/**
|
|
@@ -6664,12 +6816,15 @@ const PackingProcess = {
|
|
|
6664
6816
|
* https://openapi-generator.tech
|
|
6665
6817
|
* Do not edit the class manually.
|
|
6666
6818
|
*/
|
|
6667
|
-
const
|
|
6819
|
+
const PickingProcesses = {
|
|
6668
6820
|
OrderPicking: 'OrderPicking',
|
|
6669
6821
|
OrderPickingToTempBin: 'OrderPickingToTempBin',
|
|
6670
6822
|
WavePicking: 'WavePicking',
|
|
6671
6823
|
FastDispatch: 'FastDispatch',
|
|
6672
|
-
PickBySku: 'PickBySku'
|
|
6824
|
+
PickBySku: 'PickBySku',
|
|
6825
|
+
PickPack: 'PickPack',
|
|
6826
|
+
PickPackBySku: 'PickPackBySku',
|
|
6827
|
+
BatchPicking: 'BatchPicking'
|
|
6673
6828
|
};
|
|
6674
6829
|
|
|
6675
6830
|
/**
|
|
@@ -6813,6 +6968,26 @@ const RecordType = {
|
|
|
6813
6968
|
* Do not edit the class manually.
|
|
6814
6969
|
*/
|
|
6815
6970
|
|
|
6971
|
+
/**
|
|
6972
|
+
* Wms.API.Client
|
|
6973
|
+
*
|
|
6974
|
+
*
|
|
6975
|
+
*
|
|
6976
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
6977
|
+
* https://openapi-generator.tech
|
|
6978
|
+
* Do not edit the class manually.
|
|
6979
|
+
*/
|
|
6980
|
+
|
|
6981
|
+
/**
|
|
6982
|
+
* Wms.API.Client
|
|
6983
|
+
*
|
|
6984
|
+
*
|
|
6985
|
+
*
|
|
6986
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
6987
|
+
* https://openapi-generator.tech
|
|
6988
|
+
* Do not edit the class manually.
|
|
6989
|
+
*/
|
|
6990
|
+
|
|
6816
6991
|
/**
|
|
6817
6992
|
* Wms.API.Client
|
|
6818
6993
|
*
|
|
@@ -6895,5 +7070,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
6895
7070
|
* Generated bundle index. Do not edit.
|
|
6896
7071
|
*/
|
|
6897
7072
|
|
|
6898
|
-
export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CompaniesService, Configuration, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchItemsService, DispatchesService, HealthService, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType,
|
|
7073
|
+
export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CompaniesService, Configuration, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchItemsService, DispatchesService, HealthService, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackingProcesses, PermissionsService, PickingProcesses, ProductMastersService, ProductQuantitiesService, QcType, ReasonType, ReasonsService, RecordType, ReplenishmentService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserCompanyType, UserService, UsersInternalService };
|
|
6899
7074
|
//# sourceMappingURL=indigina-wms-api.mjs.map
|