@indigina/wms-api 0.0.117 → 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 CHANGED
@@ -1,4 +1,4 @@
1
- # @indigina/wms-api@0.0.117
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.117 --save
27
+ npm install @indigina/wms-api@0.0.119 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -3639,6 +3639,80 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
3639
3639
  type: Optional
3640
3640
  }] }] });
3641
3641
 
3642
+ /**
3643
+ * Wms.API.Client
3644
+ *
3645
+ *
3646
+ *
3647
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3648
+ * https://openapi-generator.tech
3649
+ * Do not edit the class manually.
3650
+ */
3651
+ /* tslint:disable:no-unused-variable member-ordering */
3652
+ class ProductMasterSuppliersService extends BaseService {
3653
+ httpClient;
3654
+ constructor(httpClient, basePath, configuration) {
3655
+ super(basePath, configuration);
3656
+ this.httpClient = httpClient;
3657
+ }
3658
+ getProductMastersBySupplier($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
3659
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
3660
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
3661
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
3662
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
3663
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
3664
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$search', $search, QueryParamStyle.Form, true);
3665
+ let localVarHeaders = this.defaultHeaders;
3666
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
3667
+ 'application/json'
3668
+ ]);
3669
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3670
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
3671
+ }
3672
+ const localVarHttpContext = options?.context ?? new HttpContext();
3673
+ const localVarTransferCache = options?.transferCache ?? true;
3674
+ let responseType_ = 'json';
3675
+ if (localVarHttpHeaderAcceptSelected) {
3676
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
3677
+ responseType_ = 'text';
3678
+ }
3679
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3680
+ responseType_ = 'json';
3681
+ }
3682
+ else {
3683
+ responseType_ = 'blob';
3684
+ }
3685
+ }
3686
+ let localVarPath = `/productMasterSuppliers/productMasters`;
3687
+ const { basePath, withCredentials } = this.configuration;
3688
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
3689
+ context: localVarHttpContext,
3690
+ params: localVarQueryParameters.toHttpParams(),
3691
+ responseType: responseType_,
3692
+ ...(withCredentials ? { withCredentials } : {}),
3693
+ headers: localVarHeaders,
3694
+ observe: observe,
3695
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3696
+ reportProgress: reportProgress
3697
+ });
3698
+ }
3699
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ProductMasterSuppliersService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3700
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ProductMasterSuppliersService, providedIn: 'root' });
3701
+ }
3702
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ProductMasterSuppliersService, decorators: [{
3703
+ type: Injectable,
3704
+ args: [{
3705
+ providedIn: 'root'
3706
+ }]
3707
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
3708
+ type: Optional
3709
+ }, {
3710
+ type: Inject,
3711
+ args: [BASE_PATH]
3712
+ }] }, { type: Configuration, decorators: [{
3713
+ type: Optional
3714
+ }] }] });
3715
+
3642
3716
  /**
3643
3717
  * Wms.API.Client
3644
3718
  *
@@ -3871,15 +3945,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
3871
3945
  * Do not edit the class manually.
3872
3946
  */
3873
3947
  /* tslint:disable:no-unused-variable member-ordering */
3874
- class ReplenishmentService extends BaseService {
3948
+ class ReplenishmentAccessesService extends BaseService {
3875
3949
  httpClient;
3876
3950
  constructor(httpClient, basePath, configuration) {
3877
3951
  super(basePath, configuration);
3878
3952
  this.httpClient = httpClient;
3879
3953
  }
3880
- createAccess(replenishmentAccess, observe = 'body', reportProgress = false, options) {
3954
+ createReplenishmentAccess(replenishmentAccess, observe = 'body', reportProgress = false, options) {
3881
3955
  if (replenishmentAccess === null || replenishmentAccess === undefined) {
3882
- throw new Error('Required parameter replenishmentAccess was null or undefined when calling createAccess.');
3956
+ throw new Error('Required parameter replenishmentAccess was null or undefined when calling createReplenishmentAccess.');
3883
3957
  }
3884
3958
  let localVarHeaders = this.defaultHeaders;
3885
3959
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
@@ -3910,7 +3984,7 @@ class ReplenishmentService extends BaseService {
3910
3984
  responseType_ = 'blob';
3911
3985
  }
3912
3986
  }
3913
- let localVarPath = `/replenishment/access`;
3987
+ let localVarPath = `/replenishmentAccesses`;
3914
3988
  const { basePath, withCredentials } = this.configuration;
3915
3989
  return this.httpClient.request('post', `${basePath}${localVarPath}`, {
3916
3990
  context: localVarHttpContext,
@@ -3923,9 +3997,9 @@ class ReplenishmentService extends BaseService {
3923
3997
  reportProgress: reportProgress
3924
3998
  });
3925
3999
  }
3926
- deleteAccess(id, observe = 'body', reportProgress = false, options) {
4000
+ deleteReplenishmentAccess(id, observe = 'body', reportProgress = false, options) {
3927
4001
  if (id === null || id === undefined) {
3928
- throw new Error('Required parameter id was null or undefined when calling deleteAccess.');
4002
+ throw new Error('Required parameter id was null or undefined when calling deleteReplenishmentAccess.');
3929
4003
  }
3930
4004
  let localVarHeaders = this.defaultHeaders;
3931
4005
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
@@ -3948,7 +4022,7 @@ class ReplenishmentService extends BaseService {
3948
4022
  responseType_ = 'blob';
3949
4023
  }
3950
4024
  }
3951
- let localVarPath = `/replenishment/access/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
4025
+ let localVarPath = `/replenishmentAccesses/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
3952
4026
  const { basePath, withCredentials } = this.configuration;
3953
4027
  return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
3954
4028
  context: localVarHttpContext,
@@ -3960,7 +4034,44 @@ class ReplenishmentService extends BaseService {
3960
4034
  reportProgress: reportProgress
3961
4035
  });
3962
4036
  }
3963
- getAccessClients($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
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) {
3964
4075
  let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
3965
4076
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
3966
4077
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
@@ -3988,7 +4099,7 @@ class ReplenishmentService extends BaseService {
3988
4099
  responseType_ = 'blob';
3989
4100
  }
3990
4101
  }
3991
- let localVarPath = `/replenishment/accesses/clients`;
4102
+ let localVarPath = `/replenishmentAccesses/clients`;
3992
4103
  const { basePath, withCredentials } = this.configuration;
3993
4104
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
3994
4105
  context: localVarHttpContext,
@@ -4001,7 +4112,7 @@ class ReplenishmentService extends BaseService {
4001
4112
  reportProgress: reportProgress
4002
4113
  });
4003
4114
  }
4004
- getAccesses($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
4115
+ getReplenishmentAccesses($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
4005
4116
  let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
4006
4117
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
4007
4118
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
@@ -4029,7 +4140,7 @@ class ReplenishmentService extends BaseService {
4029
4140
  responseType_ = 'blob';
4030
4141
  }
4031
4142
  }
4032
- let localVarPath = `/replenishment/accesses`;
4143
+ let localVarPath = `/replenishmentAccesses`;
4033
4144
  const { basePath, withCredentials } = this.configuration;
4034
4145
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
4035
4146
  context: localVarHttpContext,
@@ -4042,12 +4153,12 @@ class ReplenishmentService extends BaseService {
4042
4153
  reportProgress: reportProgress
4043
4154
  });
4044
4155
  }
4045
- updateAccess(id, replenishmentAccess, propertiesToUpdate, observe = 'body', reportProgress = false, options) {
4156
+ updateReplenishmentAccess(id, replenishmentAccess, propertiesToUpdate, observe = 'body', reportProgress = false, options) {
4046
4157
  if (id === null || id === undefined) {
4047
- throw new Error('Required parameter id was null or undefined when calling updateAccess.');
4158
+ throw new Error('Required parameter id was null or undefined when calling updateReplenishmentAccess.');
4048
4159
  }
4049
4160
  if (replenishmentAccess === null || replenishmentAccess === undefined) {
4050
- throw new Error('Required parameter replenishmentAccess was null or undefined when calling updateAccess.');
4161
+ throw new Error('Required parameter replenishmentAccess was null or undefined when calling updateReplenishmentAccess.');
4051
4162
  }
4052
4163
  let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
4053
4164
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'propertiesToUpdate', propertiesToUpdate, QueryParamStyle.Form, true);
@@ -4080,7 +4191,7 @@ class ReplenishmentService extends BaseService {
4080
4191
  responseType_ = 'blob';
4081
4192
  }
4082
4193
  }
4083
- let localVarPath = `/replenishment/access/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
4194
+ let localVarPath = `/replenishmentAccesses/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
4084
4195
  const { basePath, withCredentials } = this.configuration;
4085
4196
  return this.httpClient.request('put', `${basePath}${localVarPath}`, {
4086
4197
  context: localVarHttpContext,
@@ -4094,10 +4205,10 @@ class ReplenishmentService extends BaseService {
4094
4205
  reportProgress: reportProgress
4095
4206
  });
4096
4207
  }
4097
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ReplenishmentService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
4098
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ReplenishmentService, providedIn: 'root' });
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' });
4099
4210
  }
4100
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ReplenishmentService, decorators: [{
4211
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ReplenishmentAccessesService, decorators: [{
4101
4212
  type: Injectable,
4102
4213
  args: [{
4103
4214
  providedIn: 'root'
@@ -6094,7 +6205,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
6094
6205
  type: Optional
6095
6206
  }] }] });
6096
6207
 
6097
- const APIS = [AnalyticsService, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, 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];
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];
6098
6209
 
6099
6210
  /**
6100
6211
  * Wms.API.Client
@@ -6548,6 +6659,20 @@ const PickingProcesses = {
6548
6659
  * Do not edit the class manually.
6549
6660
  */
6550
6661
 
6662
+ /**
6663
+ * Wms.API.Client
6664
+ *
6665
+ *
6666
+ *
6667
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6668
+ * https://openapi-generator.tech
6669
+ * Do not edit the class manually.
6670
+ */
6671
+ const ProductStatus = {
6672
+ InDevelopment: 'InDevelopment',
6673
+ InProduction: 'InProduction'
6674
+ };
6675
+
6551
6676
  /**
6552
6677
  * Wms.API.Client
6553
6678
  *
@@ -6629,6 +6754,16 @@ const RecordType = {
6629
6754
  * Do not edit the class manually.
6630
6755
  */
6631
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
+
6632
6767
  /**
6633
6768
  * Wms.API.Client
6634
6769
  *
@@ -6931,5 +7066,5 @@ function provideApi(configOrBasePath) {
6931
7066
  * Generated bundle index. Do not edit.
6932
7067
  */
6933
7068
 
6934
- 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, 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 };
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 };
6935
7070
  //# sourceMappingURL=indigina-wms-api.mjs.map