@indigina/wms-api 0.0.118 → 0.0.119
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 +67 -20
- package/fesm2022/indigina-wms-api.mjs.map +1 -1
- package/package.json +1 -1
- package/types/indigina-wms-api.d.ts +70 -30
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @indigina/wms-api@0.0.
|
|
1
|
+
# @indigina/wms-api@0.0.119
|
|
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.119 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -3945,15 +3945,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
3945
3945
|
* Do not edit the class manually.
|
|
3946
3946
|
*/
|
|
3947
3947
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
3948
|
-
class
|
|
3948
|
+
class ReplenishmentAccessesService extends BaseService {
|
|
3949
3949
|
httpClient;
|
|
3950
3950
|
constructor(httpClient, basePath, configuration) {
|
|
3951
3951
|
super(basePath, configuration);
|
|
3952
3952
|
this.httpClient = httpClient;
|
|
3953
3953
|
}
|
|
3954
|
-
|
|
3954
|
+
createReplenishmentAccess(replenishmentAccess, observe = 'body', reportProgress = false, options) {
|
|
3955
3955
|
if (replenishmentAccess === null || replenishmentAccess === undefined) {
|
|
3956
|
-
throw new Error('Required parameter replenishmentAccess was null or undefined when calling
|
|
3956
|
+
throw new Error('Required parameter replenishmentAccess was null or undefined when calling createReplenishmentAccess.');
|
|
3957
3957
|
}
|
|
3958
3958
|
let localVarHeaders = this.defaultHeaders;
|
|
3959
3959
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
@@ -3984,7 +3984,7 @@ class ReplenishmentService extends BaseService {
|
|
|
3984
3984
|
responseType_ = 'blob';
|
|
3985
3985
|
}
|
|
3986
3986
|
}
|
|
3987
|
-
let localVarPath = `/
|
|
3987
|
+
let localVarPath = `/replenishmentAccesses`;
|
|
3988
3988
|
const { basePath, withCredentials } = this.configuration;
|
|
3989
3989
|
return this.httpClient.request('post', `${basePath}${localVarPath}`, {
|
|
3990
3990
|
context: localVarHttpContext,
|
|
@@ -3997,9 +3997,9 @@ class ReplenishmentService extends BaseService {
|
|
|
3997
3997
|
reportProgress: reportProgress
|
|
3998
3998
|
});
|
|
3999
3999
|
}
|
|
4000
|
-
|
|
4000
|
+
deleteReplenishmentAccess(id, observe = 'body', reportProgress = false, options) {
|
|
4001
4001
|
if (id === null || id === undefined) {
|
|
4002
|
-
throw new Error('Required parameter id was null or undefined when calling
|
|
4002
|
+
throw new Error('Required parameter id was null or undefined when calling deleteReplenishmentAccess.');
|
|
4003
4003
|
}
|
|
4004
4004
|
let localVarHeaders = this.defaultHeaders;
|
|
4005
4005
|
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
@@ -4022,7 +4022,7 @@ class ReplenishmentService extends BaseService {
|
|
|
4022
4022
|
responseType_ = 'blob';
|
|
4023
4023
|
}
|
|
4024
4024
|
}
|
|
4025
|
-
let localVarPath = `/
|
|
4025
|
+
let localVarPath = `/replenishmentAccesses/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
|
|
4026
4026
|
const { basePath, withCredentials } = this.configuration;
|
|
4027
4027
|
return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
|
|
4028
4028
|
context: localVarHttpContext,
|
|
@@ -4034,7 +4034,44 @@ class ReplenishmentService extends BaseService {
|
|
|
4034
4034
|
reportProgress: reportProgress
|
|
4035
4035
|
});
|
|
4036
4036
|
}
|
|
4037
|
-
|
|
4037
|
+
getReplenishmentAccess(id, observe = 'body', reportProgress = false, options) {
|
|
4038
|
+
if (id === null || id === undefined) {
|
|
4039
|
+
throw new Error('Required parameter id was null or undefined when calling getReplenishmentAccess.');
|
|
4040
|
+
}
|
|
4041
|
+
let localVarHeaders = this.defaultHeaders;
|
|
4042
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
4043
|
+
'application/json'
|
|
4044
|
+
]);
|
|
4045
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
4046
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
4047
|
+
}
|
|
4048
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
4049
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
4050
|
+
let responseType_ = 'json';
|
|
4051
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
4052
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
4053
|
+
responseType_ = 'text';
|
|
4054
|
+
}
|
|
4055
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
4056
|
+
responseType_ = 'json';
|
|
4057
|
+
}
|
|
4058
|
+
else {
|
|
4059
|
+
responseType_ = 'blob';
|
|
4060
|
+
}
|
|
4061
|
+
}
|
|
4062
|
+
let localVarPath = `/replenishmentAccesses/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
|
|
4063
|
+
const { basePath, withCredentials } = this.configuration;
|
|
4064
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
4065
|
+
context: localVarHttpContext,
|
|
4066
|
+
responseType: responseType_,
|
|
4067
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
4068
|
+
headers: localVarHeaders,
|
|
4069
|
+
observe: observe,
|
|
4070
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
4071
|
+
reportProgress: reportProgress
|
|
4072
|
+
});
|
|
4073
|
+
}
|
|
4074
|
+
getReplenishmentAccessClients($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
4038
4075
|
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
4039
4076
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
|
|
4040
4077
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
|
|
@@ -4062,7 +4099,7 @@ class ReplenishmentService extends BaseService {
|
|
|
4062
4099
|
responseType_ = 'blob';
|
|
4063
4100
|
}
|
|
4064
4101
|
}
|
|
4065
|
-
let localVarPath = `/
|
|
4102
|
+
let localVarPath = `/replenishmentAccesses/clients`;
|
|
4066
4103
|
const { basePath, withCredentials } = this.configuration;
|
|
4067
4104
|
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
4068
4105
|
context: localVarHttpContext,
|
|
@@ -4075,7 +4112,7 @@ class ReplenishmentService extends BaseService {
|
|
|
4075
4112
|
reportProgress: reportProgress
|
|
4076
4113
|
});
|
|
4077
4114
|
}
|
|
4078
|
-
|
|
4115
|
+
getReplenishmentAccesses($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
|
|
4079
4116
|
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
4080
4117
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
|
|
4081
4118
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
|
|
@@ -4103,7 +4140,7 @@ class ReplenishmentService extends BaseService {
|
|
|
4103
4140
|
responseType_ = 'blob';
|
|
4104
4141
|
}
|
|
4105
4142
|
}
|
|
4106
|
-
let localVarPath = `/
|
|
4143
|
+
let localVarPath = `/replenishmentAccesses`;
|
|
4107
4144
|
const { basePath, withCredentials } = this.configuration;
|
|
4108
4145
|
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
4109
4146
|
context: localVarHttpContext,
|
|
@@ -4116,12 +4153,12 @@ class ReplenishmentService extends BaseService {
|
|
|
4116
4153
|
reportProgress: reportProgress
|
|
4117
4154
|
});
|
|
4118
4155
|
}
|
|
4119
|
-
|
|
4156
|
+
updateReplenishmentAccess(id, replenishmentAccess, propertiesToUpdate, observe = 'body', reportProgress = false, options) {
|
|
4120
4157
|
if (id === null || id === undefined) {
|
|
4121
|
-
throw new Error('Required parameter id was null or undefined when calling
|
|
4158
|
+
throw new Error('Required parameter id was null or undefined when calling updateReplenishmentAccess.');
|
|
4122
4159
|
}
|
|
4123
4160
|
if (replenishmentAccess === null || replenishmentAccess === undefined) {
|
|
4124
|
-
throw new Error('Required parameter replenishmentAccess was null or undefined when calling
|
|
4161
|
+
throw new Error('Required parameter replenishmentAccess was null or undefined when calling updateReplenishmentAccess.');
|
|
4125
4162
|
}
|
|
4126
4163
|
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
4127
4164
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'propertiesToUpdate', propertiesToUpdate, QueryParamStyle.Form, true);
|
|
@@ -4154,7 +4191,7 @@ class ReplenishmentService extends BaseService {
|
|
|
4154
4191
|
responseType_ = 'blob';
|
|
4155
4192
|
}
|
|
4156
4193
|
}
|
|
4157
|
-
let localVarPath = `/
|
|
4194
|
+
let localVarPath = `/replenishmentAccesses/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
|
|
4158
4195
|
const { basePath, withCredentials } = this.configuration;
|
|
4159
4196
|
return this.httpClient.request('put', `${basePath}${localVarPath}`, {
|
|
4160
4197
|
context: localVarHttpContext,
|
|
@@ -4168,10 +4205,10 @@ class ReplenishmentService extends BaseService {
|
|
|
4168
4205
|
reportProgress: reportProgress
|
|
4169
4206
|
});
|
|
4170
4207
|
}
|
|
4171
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
4172
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
4208
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ReplenishmentAccessesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4209
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ReplenishmentAccessesService, providedIn: 'root' });
|
|
4173
4210
|
}
|
|
4174
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type:
|
|
4211
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ReplenishmentAccessesService, decorators: [{
|
|
4175
4212
|
type: Injectable,
|
|
4176
4213
|
args: [{
|
|
4177
4214
|
providedIn: 'root'
|
|
@@ -6168,7 +6205,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
6168
6205
|
type: Optional
|
|
6169
6206
|
}] }] });
|
|
6170
6207
|
|
|
6171
|
-
const APIS = [AnalyticsService, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, CompaniesService, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DispatchBoxesService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, HealthService, NotesService, PendoService, PermissionsService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ReasonsService,
|
|
6208
|
+
const APIS = [AnalyticsService, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, CompaniesService, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DispatchBoxesService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, HealthService, NotesService, PendoService, PermissionsService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ReasonsService, ReplenishmentAccessesService, ReplenishmentRecordsService, ReturnedItemsService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UsersInternalService, WavePickReleasesService, WavesByPickReleaseIdService];
|
|
6172
6209
|
|
|
6173
6210
|
/**
|
|
6174
6211
|
* Wms.API.Client
|
|
@@ -6717,6 +6754,16 @@ const RecordType = {
|
|
|
6717
6754
|
* Do not edit the class manually.
|
|
6718
6755
|
*/
|
|
6719
6756
|
|
|
6757
|
+
/**
|
|
6758
|
+
* Wms.API.Client
|
|
6759
|
+
*
|
|
6760
|
+
*
|
|
6761
|
+
*
|
|
6762
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
6763
|
+
* https://openapi-generator.tech
|
|
6764
|
+
* Do not edit the class manually.
|
|
6765
|
+
*/
|
|
6766
|
+
|
|
6720
6767
|
/**
|
|
6721
6768
|
* Wms.API.Client
|
|
6722
6769
|
*
|
|
@@ -7019,5 +7066,5 @@ function provideApi(configOrBasePath) {
|
|
|
7019
7066
|
* Generated bundle index. Do not edit.
|
|
7020
7067
|
*/
|
|
7021
7068
|
|
|
7022
|
-
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, HealthService, LocationType, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackingProcesses, PendoService, PermissionsService, PickReleaseHistoryTypes, PickingProcesses, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ProductStatus, QcType, ReasonType, ReasonsService, RecordType,
|
|
7069
|
+
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, HealthService, LocationType, NoteCategory, NoteSourceType, NotesService, OrderStatus, OrderType, PackingProcesses, PendoService, PermissionsService, PickReleaseHistoryTypes, PickingProcesses, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ProductStatus, QcType, ReasonType, ReasonsService, RecordType, ReplenishmentAccessesService, ReplenishmentRecordsService, ReplenishmentStages, ReplenishmentStatuses, ReplenishmentTypes, ReturnedItemsService, SettingsService, StorageType, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UnitOfMeasurementTypes, UserCompanyType, UserService, UsersInternalService, WavePickReleaseMethods, WavePickReleaseStatuses, WavePickReleasesService, WaveStatuses, WavesByPickReleaseIdService, provideApi };
|
|
7023
7070
|
//# sourceMappingURL=indigina-wms-api.mjs.map
|