@indigina/wms-api 0.0.127 → 0.0.129

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.127
1
+ # @indigina/wms-api@0.0.129
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.127 --save
27
+ npm install @indigina/wms-api@0.0.129 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -4048,7 +4048,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
4048
4048
  * Do not edit the class manually.
4049
4049
  */
4050
4050
  /* tslint:disable:no-unused-variable member-ordering */
4051
- class ReplenishmentAccessesService extends BaseService {
4051
+ class ReplenishmentAccessService extends BaseService {
4052
4052
  httpClient;
4053
4053
  constructor(httpClient, basePath, configuration) {
4054
4054
  super(basePath, configuration);
@@ -4305,10 +4305,10 @@ class ReplenishmentAccessesService extends BaseService {
4305
4305
  reportProgress: reportProgress
4306
4306
  });
4307
4307
  }
4308
- 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 });
4309
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ReplenishmentAccessesService, providedIn: 'root' });
4308
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ReplenishmentAccessService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
4309
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ReplenishmentAccessService, providedIn: 'root' });
4310
4310
  }
4311
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ReplenishmentAccessesService, decorators: [{
4311
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ReplenishmentAccessService, decorators: [{
4312
4312
  type: Injectable,
4313
4313
  args: [{
4314
4314
  providedIn: 'root'
@@ -6396,6 +6396,43 @@ class WavePickingAccessService extends BaseService {
6396
6396
  reportProgress: reportProgress
6397
6397
  });
6398
6398
  }
6399
+ getWavePickingAccess(id, observe = 'body', reportProgress = false, options) {
6400
+ if (id === null || id === undefined) {
6401
+ throw new Error('Required parameter id was null or undefined when calling getWavePickingAccess.');
6402
+ }
6403
+ let localVarHeaders = this.defaultHeaders;
6404
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
6405
+ 'application/json'
6406
+ ]);
6407
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
6408
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
6409
+ }
6410
+ const localVarHttpContext = options?.context ?? new HttpContext();
6411
+ const localVarTransferCache = options?.transferCache ?? true;
6412
+ let responseType_ = 'json';
6413
+ if (localVarHttpHeaderAcceptSelected) {
6414
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
6415
+ responseType_ = 'text';
6416
+ }
6417
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
6418
+ responseType_ = 'json';
6419
+ }
6420
+ else {
6421
+ responseType_ = 'blob';
6422
+ }
6423
+ }
6424
+ let localVarPath = `/wavePickingAccesses/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
6425
+ const { basePath, withCredentials } = this.configuration;
6426
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
6427
+ context: localVarHttpContext,
6428
+ responseType: responseType_,
6429
+ ...(withCredentials ? { withCredentials } : {}),
6430
+ headers: localVarHeaders,
6431
+ observe: observe,
6432
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
6433
+ reportProgress: reportProgress
6434
+ });
6435
+ }
6399
6436
  getWavePickingAccesses($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
6400
6437
  let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
6401
6438
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
@@ -6437,6 +6474,55 @@ class WavePickingAccessService extends BaseService {
6437
6474
  reportProgress: reportProgress
6438
6475
  });
6439
6476
  }
6477
+ updateWavePickingAccess(id, wavePickingAccess, observe = 'body', reportProgress = false, options) {
6478
+ if (id === null || id === undefined) {
6479
+ throw new Error('Required parameter id was null or undefined when calling updateWavePickingAccess.');
6480
+ }
6481
+ if (wavePickingAccess === null || wavePickingAccess === undefined) {
6482
+ throw new Error('Required parameter wavePickingAccess was null or undefined when calling updateWavePickingAccess.');
6483
+ }
6484
+ let localVarHeaders = this.defaultHeaders;
6485
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
6486
+ 'application/json'
6487
+ ]);
6488
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
6489
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
6490
+ }
6491
+ const localVarHttpContext = options?.context ?? new HttpContext();
6492
+ const localVarTransferCache = options?.transferCache ?? true;
6493
+ // to determine the Content-Type header
6494
+ const consumes = [
6495
+ 'application/json'
6496
+ ];
6497
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
6498
+ if (httpContentTypeSelected !== undefined) {
6499
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
6500
+ }
6501
+ let responseType_ = 'json';
6502
+ if (localVarHttpHeaderAcceptSelected) {
6503
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
6504
+ responseType_ = 'text';
6505
+ }
6506
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
6507
+ responseType_ = 'json';
6508
+ }
6509
+ else {
6510
+ responseType_ = 'blob';
6511
+ }
6512
+ }
6513
+ let localVarPath = `/wavePickingAccesses/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
6514
+ const { basePath, withCredentials } = this.configuration;
6515
+ return this.httpClient.request('put', `${basePath}${localVarPath}`, {
6516
+ context: localVarHttpContext,
6517
+ body: wavePickingAccess,
6518
+ responseType: responseType_,
6519
+ ...(withCredentials ? { withCredentials } : {}),
6520
+ headers: localVarHeaders,
6521
+ observe: observe,
6522
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
6523
+ reportProgress: reportProgress
6524
+ });
6525
+ }
6440
6526
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: WavePickingAccessService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
6441
6527
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: WavePickingAccessService, providedIn: 'root' });
6442
6528
  }
@@ -6531,7 +6617,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
6531
6617
  type: Optional
6532
6618
  }] }] });
6533
6619
 
6534
- const APIS = [AnalyticsService, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, CompaniesService, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DispatchBoxesService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, HealthService, NotesService, PendoService, PermissionsService, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ReasonsService, ReplenishmentAccessesService, ReplenishmentRecordsService, ReturnedItemsService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UserPrintersService, UsersInternalService, WavePickReleasesService, WavePickingAccessService, WavesByPickReleaseIdService];
6620
+ const APIS = [AnalyticsService, CarrierProviderIntegrationsService, CartonDeliveryItemsService, CartonMovementHistoriesService, CartonPicksService, CartonsService, CompaniesService, DcLocationsService, DcUnitOfMeasurementService, DcsService, DeliveriesService, DeliveryItemsService, DispatchBoxesService, DispatchItemQuantityChangesService, DispatchItemsService, DispatchesService, HealthService, NotesService, PendoService, PermissionsService, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ReasonsService, ReplenishmentAccessService, ReplenishmentRecordsService, ReturnedItemsService, SettingsService, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UserService, UserPrintersService, UsersInternalService, WavePickReleasesService, WavePickingAccessService, WavesByPickReleaseIdService];
6535
6621
 
6536
6622
  /**
6537
6623
  * Wms.API.Client
@@ -7351,6 +7437,16 @@ const WavePickReleaseStatuses = {
7351
7437
  * Do not edit the class manually.
7352
7438
  */
7353
7439
 
7440
+ /**
7441
+ * Wms.API.Client
7442
+ *
7443
+ *
7444
+ *
7445
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
7446
+ * https://openapi-generator.tech
7447
+ * Do not edit the class manually.
7448
+ */
7449
+
7354
7450
  /**
7355
7451
  * Wms.API.Client
7356
7452
  *
@@ -7418,5 +7514,5 @@ function provideApi(configOrBasePath) {
7418
7514
  * Generated bundle index. Do not edit.
7419
7515
  */
7420
7516
 
7421
- 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, PrintTypes, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ProductStatus, QcType, ReasonType, ReasonsService, RecordType, ReplenishmentAccessesService, ReplenishmentRecordsService, ReplenishmentStages, ReplenishmentStatuses, ReplenishmentTypes, ReturnedItemsService, SettingsService, StorageType, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UnitOfMeasurementTypes, UserCompanyType, UserPrintersService, UserService, UsersInternalService, WavePickReleaseMethods, WavePickReleaseStatuses, WavePickReleasesService, WavePickingAccessService, WaveStatuses, WavesByPickReleaseIdService, provideApi };
7517
+ 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, PrintTypes, PrintersService, ProductMasterSuppliersService, ProductMastersService, ProductQuantitiesService, ProductStatus, QcType, ReasonType, ReasonsService, RecordType, ReplenishmentAccessService, ReplenishmentRecordsService, ReplenishmentStages, ReplenishmentStatuses, ReplenishmentTypes, ReturnedItemsService, SettingsService, StorageType, SummaryService, TaskCompletionTimeService, TaskOperationsService, TaskUserRecordsService, UnitOfMeasurementTypes, UserCompanyType, UserPrintersService, UserService, UsersInternalService, WavePickReleaseMethods, WavePickReleaseStatuses, WavePickReleasesService, WavePickingAccessService, WaveStatuses, WavesByPickReleaseIdService, provideApi };
7422
7518
  //# sourceMappingURL=indigina-wms-api.mjs.map