@indigina/wms-api 0.0.103 → 0.0.105

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.103
1
+ # @indigina/wms-api@0.0.105
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.103 --save
27
+ npm install @indigina/wms-api@0.0.105 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -2817,6 +2817,43 @@ class DispatchesService extends BaseService {
2817
2817
  reportProgress: reportProgress
2818
2818
  });
2819
2819
  }
2820
+ getPrintDetails(id, observe = 'body', reportProgress = false, options) {
2821
+ if (id === null || id === undefined) {
2822
+ throw new Error('Required parameter id was null or undefined when calling getPrintDetails.');
2823
+ }
2824
+ let localVarHeaders = this.defaultHeaders;
2825
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
2826
+ 'application/json'
2827
+ ]);
2828
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2829
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
2830
+ }
2831
+ const localVarHttpContext = options?.context ?? new HttpContext();
2832
+ const localVarTransferCache = options?.transferCache ?? true;
2833
+ let responseType_ = 'json';
2834
+ if (localVarHttpHeaderAcceptSelected) {
2835
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
2836
+ responseType_ = 'text';
2837
+ }
2838
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2839
+ responseType_ = 'json';
2840
+ }
2841
+ else {
2842
+ responseType_ = 'blob';
2843
+ }
2844
+ }
2845
+ let localVarPath = `/dispatches/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}/print-details`;
2846
+ const { basePath, withCredentials } = this.configuration;
2847
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
2848
+ context: localVarHttpContext,
2849
+ responseType: responseType_,
2850
+ ...(withCredentials ? { withCredentials } : {}),
2851
+ headers: localVarHeaders,
2852
+ observe: observe,
2853
+ transferCache: localVarTransferCache,
2854
+ reportProgress: reportProgress
2855
+ });
2856
+ }
2820
2857
  releaseOnHoldDispatches(ids, observe = 'body', reportProgress = false, options) {
2821
2858
  if (ids === null || ids === undefined) {
2822
2859
  throw new Error('Required parameter ids was null or undefined when calling releaseOnHoldDispatches.');
@@ -5495,7 +5532,7 @@ class WavesByPickReleaseIdService extends BaseService {
5495
5532
  responseType_ = 'blob';
5496
5533
  }
5497
5534
  }
5498
- let localVarPath = `/wavePickReleases/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: undefined })}/waves`;
5535
+ let localVarPath = `/wavePickReleases/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/waves`;
5499
5536
  const { basePath, withCredentials } = this.configuration;
5500
5537
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
5501
5538
  context: localVarHttpContext,