@saritasa/renewaire-frontend-sdk 0.171.0 → 0.172.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.171.0
1
+ # @@saritasa/renewaire-frontend-sdk@0.172.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.171.0 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.172.0 --save
5
5
  ```
@@ -2039,6 +2039,49 @@ class MaterialsApiService extends BaseService {
2039
2039
  reportProgress: reportProgress,
2040
2040
  });
2041
2041
  }
2042
+ materialsSearchMaterialLayers(requestParameters, observe = "body", reportProgress = false, options) {
2043
+ const parentMaterialLayerId = requestParameters?.parentMaterialLayerId;
2044
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
2045
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, parentMaterialLayerId, "ParentMaterialLayerId");
2046
+ let localVarHeaders = this.defaultHeaders;
2047
+ // authentication (Bearer) required
2048
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
2049
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
2050
+ this.configuration.selectHeaderAccept([
2051
+ "text/plain",
2052
+ "application/json",
2053
+ "text/json",
2054
+ ]);
2055
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2056
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
2057
+ }
2058
+ const localVarHttpContext = options?.context ?? new HttpContext();
2059
+ const localVarTransferCache = options?.transferCache ?? true;
2060
+ let responseType_ = "json";
2061
+ if (localVarHttpHeaderAcceptSelected) {
2062
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
2063
+ responseType_ = "text";
2064
+ }
2065
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2066
+ responseType_ = "json";
2067
+ }
2068
+ else {
2069
+ responseType_ = "blob";
2070
+ }
2071
+ }
2072
+ let localVarPath = `/api/materials`;
2073
+ const { basePath, withCredentials } = this.configuration;
2074
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
2075
+ context: localVarHttpContext,
2076
+ params: localVarQueryParameters,
2077
+ responseType: responseType_,
2078
+ ...(withCredentials ? { withCredentials } : {}),
2079
+ headers: localVarHeaders,
2080
+ observe: observe,
2081
+ transferCache: localVarTransferCache,
2082
+ reportProgress: reportProgress,
2083
+ });
2084
+ }
2042
2085
  materialsUpdateMaterialLayer(requestParameters, observe = "body", reportProgress = false, options) {
2043
2086
  const materialLayerId = requestParameters?.materialLayerId;
2044
2087
  if (materialLayerId === null || materialLayerId === undefined) {
@@ -10300,6 +10343,16 @@ var LeadTimeType;
10300
10343
  * Do not edit the class manually.
10301
10344
  */
10302
10345
 
10346
+ /**
10347
+ * RenewAire CORES API
10348
+ *
10349
+ * Contact: renewaire@saritasa.com
10350
+ *
10351
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10352
+ * https://openapi-generator.tech
10353
+ * Do not edit the class manually.
10354
+ */
10355
+
10303
10356
  /**
10304
10357
  * RenewAire CORES API
10305
10358
  *