@indigina/wms-api 0.0.153 → 0.0.155
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 +180 -2
- package/fesm2022/indigina-wms-api.mjs.map +1 -1
- package/package.json +1 -1
- package/types/indigina-wms-api.d.ts +228 -34
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @indigina/wms-api@0.0.
|
|
1
|
+
# @indigina/wms-api@0.0.155
|
|
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.155 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -7474,6 +7474,120 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
7474
7474
|
type: Optional
|
|
7475
7475
|
}] }] });
|
|
7476
7476
|
|
|
7477
|
+
/**
|
|
7478
|
+
* Wms.API.Client
|
|
7479
|
+
*
|
|
7480
|
+
*
|
|
7481
|
+
*
|
|
7482
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7483
|
+
* https://openapi-generator.tech
|
|
7484
|
+
* Do not edit the class manually.
|
|
7485
|
+
*/
|
|
7486
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
7487
|
+
class WaveHistoryService extends BaseService {
|
|
7488
|
+
httpClient;
|
|
7489
|
+
constructor(httpClient, basePath, configuration) {
|
|
7490
|
+
super(basePath, configuration);
|
|
7491
|
+
this.httpClient = httpClient;
|
|
7492
|
+
}
|
|
7493
|
+
getWavesByHistoryType(waveHistoryType, $skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
7494
|
+
if (waveHistoryType === null || waveHistoryType === undefined) {
|
|
7495
|
+
throw new Error('Required parameter waveHistoryType was null or undefined when calling getWavesByHistoryType.');
|
|
7496
|
+
}
|
|
7497
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
7498
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
|
|
7499
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
|
|
7500
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
|
|
7501
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
|
|
7502
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$search', $search, QueryParamStyle.Form, true);
|
|
7503
|
+
let localVarHeaders = this.defaultHeaders;
|
|
7504
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
7505
|
+
'application/json'
|
|
7506
|
+
]);
|
|
7507
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
7508
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
7509
|
+
}
|
|
7510
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
7511
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
7512
|
+
let responseType_ = 'json';
|
|
7513
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
7514
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
7515
|
+
responseType_ = 'text';
|
|
7516
|
+
}
|
|
7517
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
7518
|
+
responseType_ = 'json';
|
|
7519
|
+
}
|
|
7520
|
+
else {
|
|
7521
|
+
responseType_ = 'blob';
|
|
7522
|
+
}
|
|
7523
|
+
}
|
|
7524
|
+
let localVarPath = `/waveHistories/${this.configuration.encodeParam({ name: "waveHistoryType", value: waveHistoryType, in: "path", style: "simple", explode: false, dataType: "WaveHistoryTypes", dataFormat: undefined })}`;
|
|
7525
|
+
const { basePath, withCredentials } = this.configuration;
|
|
7526
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
7527
|
+
context: localVarHttpContext,
|
|
7528
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
7529
|
+
responseType: responseType_,
|
|
7530
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
7531
|
+
headers: localVarHeaders,
|
|
7532
|
+
observe: observe,
|
|
7533
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
7534
|
+
reportProgress: reportProgress
|
|
7535
|
+
});
|
|
7536
|
+
}
|
|
7537
|
+
unlockWave(waveId, observe = 'body', reportProgress = false, options) {
|
|
7538
|
+
if (waveId === null || waveId === undefined) {
|
|
7539
|
+
throw new Error('Required parameter waveId was null or undefined when calling unlockWave.');
|
|
7540
|
+
}
|
|
7541
|
+
let localVarHeaders = this.defaultHeaders;
|
|
7542
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
7543
|
+
'application/json'
|
|
7544
|
+
]);
|
|
7545
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
7546
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
7547
|
+
}
|
|
7548
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
7549
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
7550
|
+
let responseType_ = 'json';
|
|
7551
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
7552
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
7553
|
+
responseType_ = 'text';
|
|
7554
|
+
}
|
|
7555
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
7556
|
+
responseType_ = 'json';
|
|
7557
|
+
}
|
|
7558
|
+
else {
|
|
7559
|
+
responseType_ = 'blob';
|
|
7560
|
+
}
|
|
7561
|
+
}
|
|
7562
|
+
let localVarPath = `/waveHistories/unlock/${this.configuration.encodeParam({ name: "waveId", value: waveId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
|
|
7563
|
+
const { basePath, withCredentials } = this.configuration;
|
|
7564
|
+
return this.httpClient.request('patch', `${basePath}${localVarPath}`, {
|
|
7565
|
+
context: localVarHttpContext,
|
|
7566
|
+
responseType: responseType_,
|
|
7567
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
7568
|
+
headers: localVarHeaders,
|
|
7569
|
+
observe: observe,
|
|
7570
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
7571
|
+
reportProgress: reportProgress
|
|
7572
|
+
});
|
|
7573
|
+
}
|
|
7574
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: WaveHistoryService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7575
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: WaveHistoryService, providedIn: 'root' });
|
|
7576
|
+
}
|
|
7577
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: WaveHistoryService, decorators: [{
|
|
7578
|
+
type: Injectable,
|
|
7579
|
+
args: [{
|
|
7580
|
+
providedIn: 'root'
|
|
7581
|
+
}]
|
|
7582
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
7583
|
+
type: Optional
|
|
7584
|
+
}, {
|
|
7585
|
+
type: Inject,
|
|
7586
|
+
args: [BASE_PATH]
|
|
7587
|
+
}] }, { type: Configuration, decorators: [{
|
|
7588
|
+
type: Optional
|
|
7589
|
+
}] }] });
|
|
7590
|
+
|
|
7477
7591
|
/**
|
|
7478
7592
|
* Wms.API.Client
|
|
7479
7593
|
*
|
|
@@ -7956,7 +8070,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
7956
8070
|
type: Optional
|
|
7957
8071
|
}] }] });
|
|
7958
8072
|
|
|
7959
|
-
const APIS = [AnalyticsService, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, CompaniesService, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DispatchBoxesService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, HealthService, LicencePlateSerialsService, NotesService, PendoService, PermissionsService, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ReasonsService, ReplenishmentAccessService, ReplenishmentRecordsService, ReturnedItemsService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UserCompaniesService, UserPrintersService, UsersInternalService, WaveConfigGroupsService, WavePickReleasesService, WavePickingAccessService, WavesByPickReleaseIdService];
|
|
8073
|
+
const APIS = [AnalyticsService, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, CompaniesService, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DispatchBoxesService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, HealthService, LicencePlateSerialsService, NotesService, PendoService, PermissionsService, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ReasonsService, ReplenishmentAccessService, ReplenishmentRecordsService, ReturnedItemsService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UserCompaniesService, UserPrintersService, UsersInternalService, WaveConfigGroupsService, WaveHistoryService, WavePickReleasesService, WavePickingAccessService, WavesByPickReleaseIdService];
|
|
8074
|
+
|
|
8075
|
+
/**
|
|
8076
|
+
* Wms.API.Client
|
|
8077
|
+
*
|
|
8078
|
+
*
|
|
8079
|
+
*
|
|
8080
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8081
|
+
* https://openapi-generator.tech
|
|
8082
|
+
* Do not edit the class manually.
|
|
8083
|
+
*/
|
|
7960
8084
|
|
|
7961
8085
|
/**
|
|
7962
8086
|
* Wms.API.Client
|
|
@@ -8037,6 +8161,13 @@ const APIS = [AnalyticsService, CarrierProviderIntegrationsService, CartonDelive
|
|
|
8037
8161
|
* https://openapi-generator.tech
|
|
8038
8162
|
* Do not edit the class manually.
|
|
8039
8163
|
*/
|
|
8164
|
+
const ClusterPackStatuses = {
|
|
8165
|
+
ToBeProcessed: 'ToBeProcessed',
|
|
8166
|
+
PartiallySuccessful: 'PartiallySuccessful',
|
|
8167
|
+
AllSuccessful: 'AllSuccessful',
|
|
8168
|
+
AllFailed: 'AllFailed',
|
|
8169
|
+
NoLongerRequired: 'NoLongerRequired'
|
|
8170
|
+
};
|
|
8040
8171
|
|
|
8041
8172
|
/**
|
|
8042
8173
|
* Wms.API.Client
|
|
@@ -8748,6 +8879,16 @@ const UnitOfMeasurementTypes = {
|
|
|
8748
8879
|
* Do not edit the class manually.
|
|
8749
8880
|
*/
|
|
8750
8881
|
|
|
8882
|
+
/**
|
|
8883
|
+
* Wms.API.Client
|
|
8884
|
+
*
|
|
8885
|
+
*
|
|
8886
|
+
*
|
|
8887
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8888
|
+
* https://openapi-generator.tech
|
|
8889
|
+
* Do not edit the class manually.
|
|
8890
|
+
*/
|
|
8891
|
+
|
|
8751
8892
|
/**
|
|
8752
8893
|
* Wms.API.Client
|
|
8753
8894
|
*
|
|
@@ -8800,6 +8941,43 @@ const UserCompanyType = {
|
|
|
8800
8941
|
* Do not edit the class manually.
|
|
8801
8942
|
*/
|
|
8802
8943
|
|
|
8944
|
+
/**
|
|
8945
|
+
* Wms.API.Client
|
|
8946
|
+
*
|
|
8947
|
+
*
|
|
8948
|
+
*
|
|
8949
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8950
|
+
* https://openapi-generator.tech
|
|
8951
|
+
* Do not edit the class manually.
|
|
8952
|
+
*/
|
|
8953
|
+
|
|
8954
|
+
/**
|
|
8955
|
+
* Wms.API.Client
|
|
8956
|
+
*
|
|
8957
|
+
*
|
|
8958
|
+
*
|
|
8959
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8960
|
+
* https://openapi-generator.tech
|
|
8961
|
+
* Do not edit the class manually.
|
|
8962
|
+
*/
|
|
8963
|
+
|
|
8964
|
+
/**
|
|
8965
|
+
* Wms.API.Client
|
|
8966
|
+
*
|
|
8967
|
+
*
|
|
8968
|
+
*
|
|
8969
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8970
|
+
* https://openapi-generator.tech
|
|
8971
|
+
* Do not edit the class manually.
|
|
8972
|
+
*/
|
|
8973
|
+
const WaveHistoryTypes = {
|
|
8974
|
+
All: 'All',
|
|
8975
|
+
ToBePrinted: 'ToBePrinted',
|
|
8976
|
+
Active: 'Active',
|
|
8977
|
+
Complete: 'Complete',
|
|
8978
|
+
Closed: 'Closed'
|
|
8979
|
+
};
|
|
8980
|
+
|
|
8803
8981
|
/**
|
|
8804
8982
|
* Wms.API.Client
|
|
8805
8983
|
*
|
|
@@ -8946,5 +9124,5 @@ function provideApi(configOrBasePath) {
|
|
|
8946
9124
|
* Generated bundle index. Do not edit.
|
|
8947
9125
|
*/
|
|
8948
9126
|
|
|
8949
|
-
export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, CompaniesService, Configuration, DcLocationStatus, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchBoxesService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, DocumentGenerationStatuses, DocumentTypes, HealthService, LicencePlateSerialsService, LocationType, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackingProcesses, PendoService, PermissionsService, PickReleaseHistoryTypes, PickingProcesses, PrintTypes, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ProductStatus, QcType, ReasonType, ReasonsService, RecordType, ReplenishmentAccessService, ReplenishmentRecordsService, ReplenishmentStages, ReplenishmentStatuses, ReplenishmentTypes, ReturnedItemsService, SettingsService, StorageType, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UnitOfMeasurementTypes, UserCompaniesService, UserCompanyType, UserPrintersService, UserService, UsersInternalService, WaveConfigGroupsService, WavePickReleaseMethods, WavePickReleaseStatuses, WavePickReleasesService, WavePickingAccessService, WaveStatuses, WavesByPickReleaseIdService, provideApi };
|
|
9127
|
+
export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, ClusterPackStatuses, CompaniesService, Configuration, DcLocationStatus, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchBoxesService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, DocumentGenerationStatuses, DocumentTypes, HealthService, LicencePlateSerialsService, LocationType, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackingProcesses, PendoService, PermissionsService, PickReleaseHistoryTypes, PickingProcesses, PrintTypes, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ProductStatus, QcType, ReasonType, ReasonsService, RecordType, ReplenishmentAccessService, ReplenishmentRecordsService, ReplenishmentStages, ReplenishmentStatuses, ReplenishmentTypes, ReturnedItemsService, SettingsService, StorageType, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UnitOfMeasurementTypes, UserCompaniesService, UserCompanyType, UserPrintersService, UserService, UsersInternalService, WaveConfigGroupsService, WaveHistoryService, WaveHistoryTypes, WavePickReleaseMethods, WavePickReleaseStatuses, WavePickReleasesService, WavePickingAccessService, WaveStatuses, WavesByPickReleaseIdService, provideApi };
|
|
8950
9128
|
//# sourceMappingURL=indigina-wms-api.mjs.map
|