@indigina/wms-api 0.0.96 → 0.0.98
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 +117 -2
- package/fesm2022/indigina-wms-api.mjs.map +1 -1
- package/index.d.ts +119 -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.98
|
|
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.98 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -3649,6 +3649,121 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
3649
3649
|
type: Optional
|
|
3650
3650
|
}] }] });
|
|
3651
3651
|
|
|
3652
|
+
/**
|
|
3653
|
+
* Wms.API.Client
|
|
3654
|
+
*
|
|
3655
|
+
*
|
|
3656
|
+
*
|
|
3657
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3658
|
+
* https://openapi-generator.tech
|
|
3659
|
+
* Do not edit the class manually.
|
|
3660
|
+
*/
|
|
3661
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
3662
|
+
class ReturnedItemsService extends BaseService {
|
|
3663
|
+
httpClient;
|
|
3664
|
+
constructor(httpClient, basePath, configuration) {
|
|
3665
|
+
super(basePath, configuration);
|
|
3666
|
+
this.httpClient = httpClient;
|
|
3667
|
+
}
|
|
3668
|
+
getReturnedItems($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
3669
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
3670
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
3671
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
3672
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
3673
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
3674
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $search, '$search');
|
|
3675
|
+
let localVarHeaders = this.defaultHeaders;
|
|
3676
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
3677
|
+
'application/json'
|
|
3678
|
+
]);
|
|
3679
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3680
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
3681
|
+
}
|
|
3682
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3683
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
3684
|
+
let responseType_ = 'json';
|
|
3685
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
3686
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
3687
|
+
responseType_ = 'text';
|
|
3688
|
+
}
|
|
3689
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3690
|
+
responseType_ = 'json';
|
|
3691
|
+
}
|
|
3692
|
+
else {
|
|
3693
|
+
responseType_ = 'blob';
|
|
3694
|
+
}
|
|
3695
|
+
}
|
|
3696
|
+
let localVarPath = `/deliveryItems/returnedItems`;
|
|
3697
|
+
const { basePath, withCredentials } = this.configuration;
|
|
3698
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
3699
|
+
context: localVarHttpContext,
|
|
3700
|
+
params: localVarQueryParameters,
|
|
3701
|
+
responseType: responseType_,
|
|
3702
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
3703
|
+
headers: localVarHeaders,
|
|
3704
|
+
observe: observe,
|
|
3705
|
+
transferCache: localVarTransferCache,
|
|
3706
|
+
reportProgress: reportProgress
|
|
3707
|
+
});
|
|
3708
|
+
}
|
|
3709
|
+
getReturnedItemsFromIndex($skip, $top, $orderby, $filter, searchTerm, observe = 'body', reportProgress = false, options) {
|
|
3710
|
+
let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
|
|
3711
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $skip, '$skip');
|
|
3712
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $top, '$top');
|
|
3713
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $orderby, '$orderby');
|
|
3714
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, $filter, '$filter');
|
|
3715
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, searchTerm, 'searchTerm');
|
|
3716
|
+
let localVarHeaders = this.defaultHeaders;
|
|
3717
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
3718
|
+
'application/json'
|
|
3719
|
+
]);
|
|
3720
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3721
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
3722
|
+
}
|
|
3723
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3724
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
3725
|
+
let responseType_ = 'json';
|
|
3726
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
3727
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
3728
|
+
responseType_ = 'text';
|
|
3729
|
+
}
|
|
3730
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3731
|
+
responseType_ = 'json';
|
|
3732
|
+
}
|
|
3733
|
+
else {
|
|
3734
|
+
responseType_ = 'blob';
|
|
3735
|
+
}
|
|
3736
|
+
}
|
|
3737
|
+
let localVarPath = `/deliveryItems/returnedItems/search`;
|
|
3738
|
+
const { basePath, withCredentials } = this.configuration;
|
|
3739
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
3740
|
+
context: localVarHttpContext,
|
|
3741
|
+
params: localVarQueryParameters,
|
|
3742
|
+
responseType: responseType_,
|
|
3743
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
3744
|
+
headers: localVarHeaders,
|
|
3745
|
+
observe: observe,
|
|
3746
|
+
transferCache: localVarTransferCache,
|
|
3747
|
+
reportProgress: reportProgress
|
|
3748
|
+
});
|
|
3749
|
+
}
|
|
3750
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ReturnedItemsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3751
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ReturnedItemsService, providedIn: 'root' });
|
|
3752
|
+
}
|
|
3753
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ReturnedItemsService, decorators: [{
|
|
3754
|
+
type: Injectable,
|
|
3755
|
+
args: [{
|
|
3756
|
+
providedIn: 'root'
|
|
3757
|
+
}]
|
|
3758
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
3759
|
+
type: Optional
|
|
3760
|
+
}, {
|
|
3761
|
+
type: Inject,
|
|
3762
|
+
args: [BASE_PATH]
|
|
3763
|
+
}] }, { type: Configuration, decorators: [{
|
|
3764
|
+
type: Optional
|
|
3765
|
+
}] }] });
|
|
3766
|
+
|
|
3652
3767
|
/**
|
|
3653
3768
|
* Wms.API.Client
|
|
3654
3769
|
*
|
|
@@ -5137,7 +5252,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
5137
5252
|
type: Optional
|
|
5138
5253
|
}] }] });
|
|
5139
5254
|
|
|
5140
|
-
const APIS = [AnalyticsService, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonsService, CompaniesService, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DispatchBoxesService, DispatchItemsService, DispatchesService, HealthService, NotesService, PendoService, PermissionsService, ProductMastersService, ProductQuantitiesService, ReasonsService, ReplenishmentService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UsersInternalService];
|
|
5255
|
+
const APIS = [AnalyticsService, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonsService, CompaniesService, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DispatchBoxesService, DispatchItemsService, DispatchesService, HealthService, NotesService, PendoService, PermissionsService, ProductMastersService, ProductQuantitiesService, ReasonsService, ReplenishmentService, ReturnedItemsService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UsersInternalService];
|
|
5141
5256
|
|
|
5142
5257
|
/**
|
|
5143
5258
|
* Wms.API.Client
|
|
@@ -5795,5 +5910,5 @@ function provideApi(configOrBasePath) {
|
|
|
5795
5910
|
* Generated bundle index. Do not edit.
|
|
5796
5911
|
*/
|
|
5797
5912
|
|
|
5798
|
-
export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonsService, CompaniesService, Configuration, DcLocationStatus, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchBoxesService, DispatchItemsService, DispatchesService, HealthService, LocationType, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackingProcesses, PendoService, PermissionsService, PickingProcesses, ProductMastersService, ProductQuantitiesService, QcType, ReasonType, ReasonsService, RecordType, ReplenishmentService, SettingsService, StorageType, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UnitOfMeasurementTypes, UserCompanyType, UserService, UsersInternalService, provideApi };
|
|
5913
|
+
export { APIS, AnalyticsService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonsService, CompaniesService, Configuration, DcLocationStatus, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DeliveryType, DeviceType, DispatchBoxesService, DispatchItemsService, DispatchesService, HealthService, LocationType, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackingProcesses, PendoService, PermissionsService, PickingProcesses, ProductMastersService, ProductQuantitiesService, QcType, ReasonType, ReasonsService, RecordType, ReplenishmentService, ReturnedItemsService, SettingsService, StorageType, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UnitOfMeasurementTypes, UserCompanyType, UserService, UsersInternalService, provideApi };
|
|
5799
5914
|
//# sourceMappingURL=indigina-wms-api.mjs.map
|