@indigina/wms-api 0.0.124 → 0.0.126

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.124
1
+ # @indigina/wms-api@0.0.126
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.124 --save
27
+ npm install @indigina/wms-api@0.0.126 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -2225,15 +2225,13 @@ class DeliveriesService extends BaseService {
2225
2225
  reportProgress: reportProgress
2226
2226
  });
2227
2227
  }
2228
- setDelivery(id, delivery, propertiesToUpdate, observe = 'body', reportProgress = false, options) {
2228
+ setDelivery(id, delivery, observe = 'body', reportProgress = false, options) {
2229
2229
  if (id === null || id === undefined) {
2230
2230
  throw new Error('Required parameter id was null or undefined when calling setDelivery.');
2231
2231
  }
2232
2232
  if (delivery === null || delivery === undefined) {
2233
2233
  throw new Error('Required parameter delivery was null or undefined when calling setDelivery.');
2234
2234
  }
2235
- let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
2236
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'propertiesToUpdate', propertiesToUpdate, QueryParamStyle.Form, true);
2237
2235
  let localVarHeaders = this.defaultHeaders;
2238
2236
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
2239
2237
  'application/json'
@@ -2268,7 +2266,6 @@ class DeliveriesService extends BaseService {
2268
2266
  return this.httpClient.request('put', `${basePath}${localVarPath}`, {
2269
2267
  context: localVarHttpContext,
2270
2268
  body: delivery,
2271
- params: localVarQueryParameters.toHttpParams(),
2272
2269
  responseType: responseType_,
2273
2270
  ...(withCredentials ? { withCredentials } : {}),
2274
2271
  headers: localVarHeaders,
@@ -2507,15 +2504,13 @@ class DeliveryItemsService extends BaseService {
2507
2504
  reportProgress: reportProgress
2508
2505
  });
2509
2506
  }
2510
- setDeliveryItem(id, deliveryItem, propertiesToUpdate, observe = 'body', reportProgress = false, options) {
2507
+ setDeliveryItem(id, deliveryItem, observe = 'body', reportProgress = false, options) {
2511
2508
  if (id === null || id === undefined) {
2512
2509
  throw new Error('Required parameter id was null or undefined when calling setDeliveryItem.');
2513
2510
  }
2514
2511
  if (deliveryItem === null || deliveryItem === undefined) {
2515
2512
  throw new Error('Required parameter deliveryItem was null or undefined when calling setDeliveryItem.');
2516
2513
  }
2517
- let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
2518
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'propertiesToUpdate', propertiesToUpdate, QueryParamStyle.Form, true);
2519
2514
  let localVarHeaders = this.defaultHeaders;
2520
2515
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
2521
2516
  'application/json'
@@ -2550,7 +2545,6 @@ class DeliveryItemsService extends BaseService {
2550
2545
  return this.httpClient.request('put', `${basePath}${localVarPath}`, {
2551
2546
  context: localVarHttpContext,
2552
2547
  body: deliveryItem,
2553
- params: localVarQueryParameters.toHttpParams(),
2554
2548
  responseType: responseType_,
2555
2549
  ...(withCredentials ? { withCredentials } : {}),
2556
2550
  headers: localVarHeaders,
@@ -6365,6 +6359,43 @@ class WavePickingAccessService extends BaseService {
6365
6359
  super(basePath, configuration);
6366
6360
  this.httpClient = httpClient;
6367
6361
  }
6362
+ deleteWavePickingAccess(id, observe = 'body', reportProgress = false, options) {
6363
+ if (id === null || id === undefined) {
6364
+ throw new Error('Required parameter id was null or undefined when calling deleteWavePickingAccess.');
6365
+ }
6366
+ let localVarHeaders = this.defaultHeaders;
6367
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
6368
+ 'application/json'
6369
+ ]);
6370
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
6371
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
6372
+ }
6373
+ const localVarHttpContext = options?.context ?? new HttpContext();
6374
+ const localVarTransferCache = options?.transferCache ?? true;
6375
+ let responseType_ = 'json';
6376
+ if (localVarHttpHeaderAcceptSelected) {
6377
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
6378
+ responseType_ = 'text';
6379
+ }
6380
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
6381
+ responseType_ = 'json';
6382
+ }
6383
+ else {
6384
+ responseType_ = 'blob';
6385
+ }
6386
+ }
6387
+ let localVarPath = `/wavePickingAccesses/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
6388
+ const { basePath, withCredentials } = this.configuration;
6389
+ return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
6390
+ context: localVarHttpContext,
6391
+ responseType: responseType_,
6392
+ ...(withCredentials ? { withCredentials } : {}),
6393
+ headers: localVarHeaders,
6394
+ observe: observe,
6395
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
6396
+ reportProgress: reportProgress
6397
+ });
6398
+ }
6368
6399
  getWavePickingAccesses($skip, $top, $orderby, $filter, $search, observe = 'body', reportProgress = false, options) {
6369
6400
  let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
6370
6401
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);