@saritasa/renewaire-frontend-sdk 0.184.0 → 0.185.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.184.0
1
+ # @@saritasa/renewaire-frontend-sdk@0.185.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.184.0 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.185.0 --save
5
5
  ```
@@ -1251,6 +1251,44 @@ class BombSchematicsApiService extends BaseService {
1251
1251
  reportProgress: reportProgress,
1252
1252
  });
1253
1253
  }
1254
+ schematicsRemoveSchematicLayer(requestParameters, observe = "body", reportProgress = false, options) {
1255
+ const schematicLayerId = requestParameters?.schematicLayerId;
1256
+ if (schematicLayerId === null || schematicLayerId === undefined) {
1257
+ throw new Error("Required parameter schematicLayerId was null or undefined when calling schematicsRemoveSchematicLayer.");
1258
+ }
1259
+ let localVarHeaders = this.defaultHeaders;
1260
+ // authentication (Bearer) required
1261
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
1262
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
1263
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1264
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
1265
+ }
1266
+ const localVarHttpContext = options?.context ?? new HttpContext();
1267
+ const localVarTransferCache = options?.transferCache ?? true;
1268
+ let responseType_ = "json";
1269
+ if (localVarHttpHeaderAcceptSelected) {
1270
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
1271
+ responseType_ = "text";
1272
+ }
1273
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1274
+ responseType_ = "json";
1275
+ }
1276
+ else {
1277
+ responseType_ = "blob";
1278
+ }
1279
+ }
1280
+ let localVarPath = `/api/bomb/schematics/${this.configuration.encodeParam({ name: "schematicLayerId", value: schematicLayerId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
1281
+ const { basePath, withCredentials } = this.configuration;
1282
+ return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
1283
+ context: localVarHttpContext,
1284
+ responseType: responseType_,
1285
+ ...(withCredentials ? { withCredentials } : {}),
1286
+ headers: localVarHeaders,
1287
+ observe: observe,
1288
+ transferCache: localVarTransferCache,
1289
+ reportProgress: reportProgress,
1290
+ });
1291
+ }
1254
1292
  schematicsUpdateSchematicLayer(requestParameters, observe = "body", reportProgress = false, options) {
1255
1293
  const schematicLayerId = requestParameters?.schematicLayerId;
1256
1294
  if (schematicLayerId === null || schematicLayerId === undefined) {
@@ -10057,7 +10095,7 @@ var AshraeVersion;
10057
10095
  * Do not edit the class manually.
10058
10096
  */
10059
10097
  /**
10060
- * Type of entity that has an ability to track its audit change log. (When adding new options in this enum, need to add a new database migration.)<br />AuditEntity<br />0 = User<br />1 = PermissionBundle<br />2 = RsdRegion<br />3 = RepTerritory<br />4 = UserGroup<br />5 = KnownContact<br />6 = ControllerProgram<br />7 = RepTerritoryRepContact<br />8 = RepTerritoryLocation<br />9 = ProjectRevision<br />10 = Project<br />11 = MaterialLayer
10098
+ * Type of entity that has an ability to track its audit change log. (When adding new options in this enum, need to add a new database migration.)<br />AuditEntity<br />0 = User<br />1 = PermissionBundle<br />2 = RsdRegion<br />3 = RepTerritory<br />4 = UserGroup<br />5 = KnownContact<br />6 = ControllerProgram<br />7 = RepTerritoryRepContact<br />8 = RepTerritoryLocation<br />9 = ProjectRevision<br />10 = Project<br />11 = MaterialLayer<br />12 = SchematicLayer
10061
10099
  */
10062
10100
  var AuditEntity;
10063
10101
  (function (AuditEntity) {
@@ -10073,6 +10111,7 @@ var AuditEntity;
10073
10111
  AuditEntity["ProjectRevision"] = "ProjectRevision";
10074
10112
  AuditEntity["Project"] = "Project";
10075
10113
  AuditEntity["MaterialLayer"] = "MaterialLayer";
10114
+ AuditEntity["SchematicLayer"] = "SchematicLayer";
10076
10115
  })(AuditEntity || (AuditEntity = {}));
10077
10116
 
10078
10117
  /**