@indigina/wms-api 0.0.156 → 0.0.157
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.
|
|
1
|
+
# @indigina/wms-api@0.0.157
|
|
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.157 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -7736,6 +7736,50 @@ class WaveHistoryService extends BaseService {
|
|
|
7736
7736
|
reportProgress: reportProgress
|
|
7737
7737
|
});
|
|
7738
7738
|
}
|
|
7739
|
+
getWavesByHistoryTypeFromIndex(waveHistoryType, $skip, $top, $orderby, $filter, searchTerm, observe = 'body', reportProgress = false, options) {
|
|
7740
|
+
if (waveHistoryType === null || waveHistoryType === undefined) {
|
|
7741
|
+
throw new Error('Required parameter waveHistoryType was null or undefined when calling getWavesByHistoryTypeFromIndex.');
|
|
7742
|
+
}
|
|
7743
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
7744
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
|
|
7745
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
|
|
7746
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);
|
|
7747
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$filter', $filter, QueryParamStyle.Form, true);
|
|
7748
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'searchTerm', searchTerm, QueryParamStyle.Form, true);
|
|
7749
|
+
let localVarHeaders = this.defaultHeaders;
|
|
7750
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
7751
|
+
'application/json'
|
|
7752
|
+
]);
|
|
7753
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
7754
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
7755
|
+
}
|
|
7756
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
7757
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
7758
|
+
let responseType_ = 'json';
|
|
7759
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
7760
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
7761
|
+
responseType_ = 'text';
|
|
7762
|
+
}
|
|
7763
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
7764
|
+
responseType_ = 'json';
|
|
7765
|
+
}
|
|
7766
|
+
else {
|
|
7767
|
+
responseType_ = 'blob';
|
|
7768
|
+
}
|
|
7769
|
+
}
|
|
7770
|
+
let localVarPath = `/waveHistories/${this.configuration.encodeParam({ name: "waveHistoryType", value: waveHistoryType, in: "path", style: "simple", explode: false, dataType: "WaveHistoryTypes", dataFormat: undefined })}/search`;
|
|
7771
|
+
const { basePath, withCredentials } = this.configuration;
|
|
7772
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
7773
|
+
context: localVarHttpContext,
|
|
7774
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
7775
|
+
responseType: responseType_,
|
|
7776
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
7777
|
+
headers: localVarHeaders,
|
|
7778
|
+
observe: observe,
|
|
7779
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
7780
|
+
reportProgress: reportProgress
|
|
7781
|
+
});
|
|
7782
|
+
}
|
|
7739
7783
|
unlockWave(waveId, observe = 'body', reportProgress = false, options) {
|
|
7740
7784
|
if (waveId === null || waveId === undefined) {
|
|
7741
7785
|
throw new Error('Required parameter waveId was null or undefined when calling unlockWave.');
|