@saritasa/renewaire-frontend-sdk 0.254.0 → 0.255.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.254.0
1
+ # @@saritasa/renewaire-frontend-sdk@0.255.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.254.0 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.255.0 --save
5
5
  ```
@@ -1631,14 +1631,14 @@ class BombParametersApiService extends BaseService {
1631
1631
  reportProgress: reportProgress,
1632
1632
  });
1633
1633
  }
1634
- modelParametersSearchMaterialLayers(requestParameters, observe = "body", reportProgress = false, options) {
1634
+ modelParametersSearchMaterialLayersAggregate(requestParameters, observe = "body", reportProgress = false, options) {
1635
1635
  const modelNumber = requestParameters?.modelNumber;
1636
1636
  if (modelNumber === null || modelNumber === undefined) {
1637
- throw new Error("Required parameter modelNumber was null or undefined when calling modelParametersSearchMaterialLayers.");
1637
+ throw new Error("Required parameter modelNumber was null or undefined when calling modelParametersSearchMaterialLayersAggregate.");
1638
1638
  }
1639
1639
  const buildDate = requestParameters?.buildDate;
1640
1640
  if (buildDate === null || buildDate === undefined) {
1641
- throw new Error("Required parameter buildDate was null or undefined when calling modelParametersSearchMaterialLayers.");
1641
+ throw new Error("Required parameter buildDate was null or undefined when calling modelParametersSearchMaterialLayersAggregate.");
1642
1642
  }
1643
1643
  const modelParameters = requestParameters?.modelParameters;
1644
1644
  let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
@@ -1675,7 +1675,7 @@ class BombParametersApiService extends BaseService {
1675
1675
  responseType_ = "blob";
1676
1676
  }
1677
1677
  }
1678
- let localVarPath = `/api/bomb/model-parameters/materials/nested`;
1678
+ let localVarPath = `/api/bomb/model-parameters/materials/aggregate`;
1679
1679
  const { basePath, withCredentials } = this.configuration;
1680
1680
  return this.httpClient.request("get", `${basePath}${localVarPath}`, {
1681
1681
  context: localVarHttpContext,
@@ -1688,14 +1688,14 @@ class BombParametersApiService extends BaseService {
1688
1688
  reportProgress: reportProgress,
1689
1689
  });
1690
1690
  }
1691
- modelParametersSearchMaterialLayersAggregate(requestParameters, observe = "body", reportProgress = false, options) {
1691
+ modelParametersSearchMaterialLayersNested(requestParameters, observe = "body", reportProgress = false, options) {
1692
1692
  const modelNumber = requestParameters?.modelNumber;
1693
1693
  if (modelNumber === null || modelNumber === undefined) {
1694
- throw new Error("Required parameter modelNumber was null or undefined when calling modelParametersSearchMaterialLayersAggregate.");
1694
+ throw new Error("Required parameter modelNumber was null or undefined when calling modelParametersSearchMaterialLayersNested.");
1695
1695
  }
1696
1696
  const buildDate = requestParameters?.buildDate;
1697
1697
  if (buildDate === null || buildDate === undefined) {
1698
- throw new Error("Required parameter buildDate was null or undefined when calling modelParametersSearchMaterialLayersAggregate.");
1698
+ throw new Error("Required parameter buildDate was null or undefined when calling modelParametersSearchMaterialLayersNested.");
1699
1699
  }
1700
1700
  const modelParameters = requestParameters?.modelParameters;
1701
1701
  let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
@@ -1732,7 +1732,7 @@ class BombParametersApiService extends BaseService {
1732
1732
  responseType_ = "blob";
1733
1733
  }
1734
1734
  }
1735
- let localVarPath = `/api/bomb/model-parameters/materials/aggregate`;
1735
+ let localVarPath = `/api/bomb/model-parameters/materials/nested`;
1736
1736
  const { basePath, withCredentials } = this.configuration;
1737
1737
  return this.httpClient.request("get", `${basePath}${localVarPath}`, {
1738
1738
  context: localVarHttpContext,
@@ -1916,6 +1916,63 @@ class BombParametersApiService extends BaseService {
1916
1916
  reportProgress: reportProgress,
1917
1917
  });
1918
1918
  }
1919
+ modelParametersSearchRoutingLayersNested(requestParameters, observe = "body", reportProgress = false, options) {
1920
+ const modelNumber = requestParameters?.modelNumber;
1921
+ if (modelNumber === null || modelNumber === undefined) {
1922
+ throw new Error("Required parameter modelNumber was null or undefined when calling modelParametersSearchRoutingLayersNested.");
1923
+ }
1924
+ const buildDate = requestParameters?.buildDate;
1925
+ if (buildDate === null || buildDate === undefined) {
1926
+ throw new Error("Required parameter buildDate was null or undefined when calling modelParametersSearchRoutingLayersNested.");
1927
+ }
1928
+ const modelParameters = requestParameters?.modelParameters;
1929
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
1930
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, modelNumber, "ModelNumber");
1931
+ if (modelParameters) {
1932
+ modelParameters.forEach((element) => {
1933
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, "ModelParameters");
1934
+ });
1935
+ }
1936
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, buildDate, "BuildDate");
1937
+ let localVarHeaders = this.defaultHeaders;
1938
+ // authentication (Bearer) required
1939
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
1940
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
1941
+ this.configuration.selectHeaderAccept([
1942
+ "text/plain",
1943
+ "application/json",
1944
+ "text/json",
1945
+ ]);
1946
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1947
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
1948
+ }
1949
+ const localVarHttpContext = options?.context ?? new HttpContext();
1950
+ const localVarTransferCache = options?.transferCache ?? true;
1951
+ let responseType_ = "json";
1952
+ if (localVarHttpHeaderAcceptSelected) {
1953
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
1954
+ responseType_ = "text";
1955
+ }
1956
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1957
+ responseType_ = "json";
1958
+ }
1959
+ else {
1960
+ responseType_ = "blob";
1961
+ }
1962
+ }
1963
+ let localVarPath = `/api/bomb/model-parameters/routings/nested`;
1964
+ const { basePath, withCredentials } = this.configuration;
1965
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
1966
+ context: localVarHttpContext,
1967
+ params: localVarQueryParameters,
1968
+ responseType: responseType_,
1969
+ ...(withCredentials ? { withCredentials } : {}),
1970
+ headers: localVarHeaders,
1971
+ observe: observe,
1972
+ transferCache: localVarTransferCache,
1973
+ reportProgress: reportProgress,
1974
+ });
1975
+ }
1919
1976
  modelParametersValidateModelNumber(requestParameters, observe = "body", reportProgress = false, options) {
1920
1977
  const validateModelNumberCommand = requestParameters?.validateModelNumberCommand;
1921
1978
  let localVarHeaders = this.defaultHeaders;
@@ -13514,6 +13571,16 @@ var ModelNumberValidationErrorType;
13514
13571
  * Do not edit the class manually.
13515
13572
  */
13516
13573
 
13574
+ /**
13575
+ * RenewAire CORES API
13576
+ *
13577
+ * Contact: renewaire@saritasa.com
13578
+ *
13579
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
13580
+ * https://openapi-generator.tech
13581
+ * Do not edit the class manually.
13582
+ */
13583
+
13517
13584
  /**
13518
13585
  * RenewAire CORES API
13519
13586
  *