@indigina/wms-api 0.0.105 → 0.0.107
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 +203 -2
- package/fesm2022/indigina-wms-api.mjs.map +1 -1
- package/index.d.ts +198 -3
- 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.107
|
|
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.107 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -3764,6 +3764,156 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
3764
3764
|
type: Optional
|
|
3765
3765
|
}] }] });
|
|
3766
3766
|
|
|
3767
|
+
/**
|
|
3768
|
+
* Wms.API.Client
|
|
3769
|
+
*
|
|
3770
|
+
*
|
|
3771
|
+
*
|
|
3772
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3773
|
+
* https://openapi-generator.tech
|
|
3774
|
+
* Do not edit the class manually.
|
|
3775
|
+
*/
|
|
3776
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
3777
|
+
class ReplenishmentRecordsService extends BaseService {
|
|
3778
|
+
httpClient;
|
|
3779
|
+
constructor(httpClient, basePath, configuration) {
|
|
3780
|
+
super(basePath, configuration);
|
|
3781
|
+
this.httpClient = httpClient;
|
|
3782
|
+
}
|
|
3783
|
+
cancelReplenishmentRecord(id, observe = 'body', reportProgress = false, options) {
|
|
3784
|
+
if (id === null || id === undefined) {
|
|
3785
|
+
throw new Error('Required parameter id was null or undefined when calling cancelReplenishmentRecord.');
|
|
3786
|
+
}
|
|
3787
|
+
let localVarHeaders = this.defaultHeaders;
|
|
3788
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
3789
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3790
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
3791
|
+
}
|
|
3792
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3793
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
3794
|
+
let responseType_ = 'json';
|
|
3795
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
3796
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
3797
|
+
responseType_ = 'text';
|
|
3798
|
+
}
|
|
3799
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3800
|
+
responseType_ = 'json';
|
|
3801
|
+
}
|
|
3802
|
+
else {
|
|
3803
|
+
responseType_ = 'blob';
|
|
3804
|
+
}
|
|
3805
|
+
}
|
|
3806
|
+
let localVarPath = `/replenishmentRecords/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/cancel`;
|
|
3807
|
+
const { basePath, withCredentials } = this.configuration;
|
|
3808
|
+
return this.httpClient.request('put', `${basePath}${localVarPath}`, {
|
|
3809
|
+
context: localVarHttpContext,
|
|
3810
|
+
responseType: responseType_,
|
|
3811
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
3812
|
+
headers: localVarHeaders,
|
|
3813
|
+
observe: observe,
|
|
3814
|
+
transferCache: localVarTransferCache,
|
|
3815
|
+
reportProgress: reportProgress
|
|
3816
|
+
});
|
|
3817
|
+
}
|
|
3818
|
+
getReplenishmentRecords($skip, $top, $orderby, $filter, $search, replenishmentStatuses, hasAllocatedUsers, observe = 'body', reportProgress = false, options) {
|
|
3819
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
3820
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
3821
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
3822
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
3823
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
3824
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $search, '$search');
|
|
3825
|
+
if (replenishmentStatuses) {
|
|
3826
|
+
replenishmentStatuses.forEach((element) => {
|
|
3827
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, 'replenishmentStatuses');
|
|
3828
|
+
});
|
|
3829
|
+
}
|
|
3830
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, hasAllocatedUsers, 'hasAllocatedUsers');
|
|
3831
|
+
let localVarHeaders = this.defaultHeaders;
|
|
3832
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
3833
|
+
'application/json'
|
|
3834
|
+
]);
|
|
3835
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3836
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
3837
|
+
}
|
|
3838
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3839
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
3840
|
+
let responseType_ = 'json';
|
|
3841
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
3842
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
3843
|
+
responseType_ = 'text';
|
|
3844
|
+
}
|
|
3845
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3846
|
+
responseType_ = 'json';
|
|
3847
|
+
}
|
|
3848
|
+
else {
|
|
3849
|
+
responseType_ = 'blob';
|
|
3850
|
+
}
|
|
3851
|
+
}
|
|
3852
|
+
let localVarPath = `/replenishmentRecords`;
|
|
3853
|
+
const { basePath, withCredentials } = this.configuration;
|
|
3854
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
3855
|
+
context: localVarHttpContext,
|
|
3856
|
+
params: localVarQueryParameters,
|
|
3857
|
+
responseType: responseType_,
|
|
3858
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
3859
|
+
headers: localVarHeaders,
|
|
3860
|
+
observe: observe,
|
|
3861
|
+
transferCache: localVarTransferCache,
|
|
3862
|
+
reportProgress: reportProgress
|
|
3863
|
+
});
|
|
3864
|
+
}
|
|
3865
|
+
unallocateReplenishmentRecord(id, observe = 'body', reportProgress = false, options) {
|
|
3866
|
+
if (id === null || id === undefined) {
|
|
3867
|
+
throw new Error('Required parameter id was null or undefined when calling unallocateReplenishmentRecord.');
|
|
3868
|
+
}
|
|
3869
|
+
let localVarHeaders = this.defaultHeaders;
|
|
3870
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
3871
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3872
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
3873
|
+
}
|
|
3874
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3875
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
3876
|
+
let responseType_ = 'json';
|
|
3877
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
3878
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
3879
|
+
responseType_ = 'text';
|
|
3880
|
+
}
|
|
3881
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3882
|
+
responseType_ = 'json';
|
|
3883
|
+
}
|
|
3884
|
+
else {
|
|
3885
|
+
responseType_ = 'blob';
|
|
3886
|
+
}
|
|
3887
|
+
}
|
|
3888
|
+
let localVarPath = `/replenishmentRecords/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/unallocate`;
|
|
3889
|
+
const { basePath, withCredentials } = this.configuration;
|
|
3890
|
+
return this.httpClient.request('put', `${basePath}${localVarPath}`, {
|
|
3891
|
+
context: localVarHttpContext,
|
|
3892
|
+
responseType: responseType_,
|
|
3893
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
3894
|
+
headers: localVarHeaders,
|
|
3895
|
+
observe: observe,
|
|
3896
|
+
transferCache: localVarTransferCache,
|
|
3897
|
+
reportProgress: reportProgress
|
|
3898
|
+
});
|
|
3899
|
+
}
|
|
3900
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ReplenishmentRecordsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3901
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ReplenishmentRecordsService, providedIn: 'root' });
|
|
3902
|
+
}
|
|
3903
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ReplenishmentRecordsService, decorators: [{
|
|
3904
|
+
type: Injectable,
|
|
3905
|
+
args: [{
|
|
3906
|
+
providedIn: 'root'
|
|
3907
|
+
}]
|
|
3908
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
3909
|
+
type: Optional
|
|
3910
|
+
}, {
|
|
3911
|
+
type: Inject,
|
|
3912
|
+
args: [BASE_PATH]
|
|
3913
|
+
}] }, { type: Configuration, decorators: [{
|
|
3914
|
+
type: Optional
|
|
3915
|
+
}] }] });
|
|
3916
|
+
|
|
3767
3917
|
/**
|
|
3768
3918
|
* Wms.API.Client
|
|
3769
3919
|
*
|
|
@@ -5562,7 +5712,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
5562
5712
|
type: Optional
|
|
5563
5713
|
}] }] });
|
|
5564
5714
|
|
|
5565
|
-
const APIS = [AnalyticsService, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonsService, CompaniesService, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DispatchBoxesService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, HealthService, NotesService, PendoService, PermissionsService, ProductMastersService, ProductQuantitiesService, ReasonsService, ReplenishmentService, ReturnedItemsService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UsersInternalService, WavePickReleasesService, WavesByPickReleaseIdService];
|
|
5715
|
+
const APIS = [AnalyticsService, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonsService, CompaniesService, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DispatchBoxesService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, HealthService, NotesService, PendoService, PermissionsService, ProductMastersService, ProductQuantitiesService, ReasonsService, ReplenishmentService, ReplenishmentRecordsService, ReturnedItemsService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UsersInternalService, WavePickReleasesService, WavesByPickReleaseIdService];
|
|
5566
5716
|
|
|
5567
5717
|
/**
|
|
5568
5718
|
* Wms.API.Client
|
|
@@ -6086,6 +6236,57 @@ const RecordType = {
|
|
|
6086
6236
|
* https://openapi-generator.tech
|
|
6087
6237
|
* Do not edit the class manually.
|
|
6088
6238
|
*/
|
|
6239
|
+
const ReplenishmentStages = {
|
|
6240
|
+
Unallocated: 'Unallocated',
|
|
6241
|
+
ForcedBulkScan: 'ForcedBulkScan',
|
|
6242
|
+
ForcedPickFaceScan: 'ForcedPickFaceScan',
|
|
6243
|
+
SystemBulkScan: 'SystemBulkScan',
|
|
6244
|
+
SystemPickFaceScan: 'SystemPickFaceScan',
|
|
6245
|
+
SystemFloorSpotScan: 'SystemFloorSpotScan',
|
|
6246
|
+
SystemFloorSpotComplete: 'SystemFloorSpotComplete',
|
|
6247
|
+
FloorSpotQtyToPick: 'FloorSpotQtyToPick',
|
|
6248
|
+
FloorSpotPickFaceScan: 'FloorSpotPickFaceScan',
|
|
6249
|
+
Complete: 'Complete'
|
|
6250
|
+
};
|
|
6251
|
+
|
|
6252
|
+
/**
|
|
6253
|
+
* Wms.API.Client
|
|
6254
|
+
*
|
|
6255
|
+
*
|
|
6256
|
+
*
|
|
6257
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
6258
|
+
* https://openapi-generator.tech
|
|
6259
|
+
* Do not edit the class manually.
|
|
6260
|
+
*/
|
|
6261
|
+
const ReplenishmentStatuses = {
|
|
6262
|
+
Active: 'Active',
|
|
6263
|
+
Complete: 'Complete',
|
|
6264
|
+
Cancel: 'Cancel'
|
|
6265
|
+
};
|
|
6266
|
+
|
|
6267
|
+
/**
|
|
6268
|
+
* Wms.API.Client
|
|
6269
|
+
*
|
|
6270
|
+
*
|
|
6271
|
+
*
|
|
6272
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
6273
|
+
* https://openapi-generator.tech
|
|
6274
|
+
* Do not edit the class manually.
|
|
6275
|
+
*/
|
|
6276
|
+
|
|
6277
|
+
/**
|
|
6278
|
+
* Wms.API.Client
|
|
6279
|
+
*
|
|
6280
|
+
*
|
|
6281
|
+
*
|
|
6282
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
6283
|
+
* https://openapi-generator.tech
|
|
6284
|
+
* Do not edit the class manually.
|
|
6285
|
+
*/
|
|
6286
|
+
const ReplenishmentTypes = {
|
|
6287
|
+
Forced: 'Forced',
|
|
6288
|
+
System: 'System'
|
|
6289
|
+
};
|
|
6089
6290
|
|
|
6090
6291
|
/**
|
|
6091
6292
|
* Wms.API.Client
|
|
@@ -6328,5 +6529,5 @@ function provideApi(configOrBasePath) {
|
|
|
6328
6529
|
* Generated bundle index. Do not edit.
|
|
6329
6530
|
*/
|
|
6330
6531
|
|
|
6331
|
-
export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonsService, CompaniesService, Configuration, DcLocationStatus, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchBoxesService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, DocumentGenerationStatuses, HealthService, LocationType, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackingProcesses, PendoService, PermissionsService, PickReleaseHistoryTypes, PickingProcesses, ProductMastersService, ProductQuantitiesService, QcType, ReasonType, ReasonsService, RecordType, ReplenishmentService, ReturnedItemsService, SettingsService, StorageType, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UnitOfMeasurementTypes, UserCompanyType, UserService, UsersInternalService, WavePickReleaseMethods, WavePickReleaseStatuses, WavePickReleasesService, WaveStatuses, WavesByPickReleaseIdService, provideApi };
|
|
6532
|
+
export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonsService, CompaniesService, Configuration, DcLocationStatus, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchBoxesService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, DocumentGenerationStatuses, HealthService, LocationType, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackingProcesses, PendoService, PermissionsService, PickReleaseHistoryTypes, PickingProcesses, ProductMastersService, ProductQuantitiesService, QcType, ReasonType, ReasonsService, RecordType, ReplenishmentRecordsService, ReplenishmentService, ReplenishmentStages, ReplenishmentStatuses, ReplenishmentTypes, ReturnedItemsService, SettingsService, StorageType, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UnitOfMeasurementTypes, UserCompanyType, UserService, UsersInternalService, WavePickReleaseMethods, WavePickReleaseStatuses, WavePickReleasesService, WaveStatuses, WavesByPickReleaseIdService, provideApi };
|
|
6332
6533
|
//# sourceMappingURL=indigina-wms-api.mjs.map
|