@saritasa/renewaire-frontend-sdk 0.248.0 → 0.249.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.248.0
1
+ # @@saritasa/renewaire-frontend-sdk@0.249.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.248.0 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.249.0 --save
5
5
  ```
@@ -1020,6 +1020,49 @@ class BombDrawingsApiService extends BaseService {
1020
1020
  reportProgress: reportProgress,
1021
1021
  });
1022
1022
  }
1023
+ drawingsSearchDrawingLayers(requestParameters, observe = "body", reportProgress = false, options) {
1024
+ const parentDrawingLayerId = requestParameters?.parentDrawingLayerId;
1025
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
1026
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, parentDrawingLayerId, "ParentDrawingLayerId");
1027
+ let localVarHeaders = this.defaultHeaders;
1028
+ // authentication (Bearer) required
1029
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
1030
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
1031
+ this.configuration.selectHeaderAccept([
1032
+ "text/plain",
1033
+ "application/json",
1034
+ "text/json",
1035
+ ]);
1036
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1037
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
1038
+ }
1039
+ const localVarHttpContext = options?.context ?? new HttpContext();
1040
+ const localVarTransferCache = options?.transferCache ?? true;
1041
+ let responseType_ = "json";
1042
+ if (localVarHttpHeaderAcceptSelected) {
1043
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
1044
+ responseType_ = "text";
1045
+ }
1046
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1047
+ responseType_ = "json";
1048
+ }
1049
+ else {
1050
+ responseType_ = "blob";
1051
+ }
1052
+ }
1053
+ let localVarPath = `/api/bomb/drawings`;
1054
+ const { basePath, withCredentials } = this.configuration;
1055
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
1056
+ context: localVarHttpContext,
1057
+ params: localVarQueryParameters,
1058
+ responseType: responseType_,
1059
+ ...(withCredentials ? { withCredentials } : {}),
1060
+ headers: localVarHeaders,
1061
+ observe: observe,
1062
+ transferCache: localVarTransferCache,
1063
+ reportProgress: reportProgress,
1064
+ });
1065
+ }
1023
1066
  drawingsUpdateDrawingLayer(requestParameters, observe = "body", reportProgress = false, options) {
1024
1067
  const drawingLayerId = requestParameters?.drawingLayerId;
1025
1068
  if (drawingLayerId === null || drawingLayerId === undefined) {
@@ -1306,10 +1349,10 @@ class BombMaterialsApiService extends BaseService {
1306
1349
  reportProgress: reportProgress,
1307
1350
  });
1308
1351
  }
1309
- materialsRemoveGroup(requestParameters, observe = "body", reportProgress = false, options) {
1352
+ materialsRemoveMaterialLayer(requestParameters, observe = "body", reportProgress = false, options) {
1310
1353
  const materialLayerId = requestParameters?.materialLayerId;
1311
1354
  if (materialLayerId === null || materialLayerId === undefined) {
1312
- throw new Error("Required parameter materialLayerId was null or undefined when calling materialsRemoveGroup.");
1355
+ throw new Error("Required parameter materialLayerId was null or undefined when calling materialsRemoveMaterialLayer.");
1313
1356
  }
1314
1357
  let localVarHeaders = this.defaultHeaders;
1315
1358
  // authentication (Bearer) required