@saritasa/renewaire-frontend-sdk 0.202.0 → 0.203.0

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,5 +1,5 @@
1
- # @@saritasa/renewaire-frontend-sdk@0.202.0
1
+ # @@saritasa/renewaire-frontend-sdk@0.203.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.202.0 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.203.0 --save
5
5
  ```
@@ -1787,12 +1787,7 @@ class BombValidationsApiService extends BaseService {
1787
1787
  let localVarHeaders = this.defaultHeaders;
1788
1788
  // authentication (Bearer) required
1789
1789
  localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
1790
- const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
1791
- this.configuration.selectHeaderAccept([
1792
- "text/plain",
1793
- "application/json",
1794
- "text/json",
1795
- ]);
1790
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
1796
1791
  if (localVarHttpHeaderAcceptSelected !== undefined) {
1797
1792
  localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
1798
1793
  }
@@ -1834,6 +1829,44 @@ class BombValidationsApiService extends BaseService {
1834
1829
  reportProgress: reportProgress,
1835
1830
  });
1836
1831
  }
1832
+ validationsGetValidationLayer(requestParameters, observe = "body", reportProgress = false, options) {
1833
+ const validationLayerId = requestParameters?.validationLayerId;
1834
+ if (validationLayerId === null || validationLayerId === undefined) {
1835
+ throw new Error("Required parameter validationLayerId was null or undefined when calling validationsGetValidationLayer.");
1836
+ }
1837
+ let localVarHeaders = this.defaultHeaders;
1838
+ // authentication (Bearer) required
1839
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
1840
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
1841
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1842
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
1843
+ }
1844
+ const localVarHttpContext = options?.context ?? new HttpContext();
1845
+ const localVarTransferCache = options?.transferCache ?? true;
1846
+ let responseType_ = "json";
1847
+ if (localVarHttpHeaderAcceptSelected) {
1848
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
1849
+ responseType_ = "text";
1850
+ }
1851
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1852
+ responseType_ = "json";
1853
+ }
1854
+ else {
1855
+ responseType_ = "blob";
1856
+ }
1857
+ }
1858
+ let localVarPath = `/api/bomb/validations/${this.configuration.encodeParam({ name: "validationLayerId", value: validationLayerId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
1859
+ const { basePath, withCredentials } = this.configuration;
1860
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
1861
+ context: localVarHttpContext,
1862
+ responseType: responseType_,
1863
+ ...(withCredentials ? { withCredentials } : {}),
1864
+ headers: localVarHeaders,
1865
+ observe: observe,
1866
+ transferCache: localVarTransferCache,
1867
+ reportProgress: reportProgress,
1868
+ });
1869
+ }
1837
1870
  validationsSearchValidationLayers(requestParameters, observe = "body", reportProgress = false, options) {
1838
1871
  const parentLayerId = requestParameters?.parentLayerId;
1839
1872
  let localVarQueryParameters = new HttpParams({ encoder: this.encoder });