@saritasa/renewaire-frontend-sdk 0.197.0 → 0.198.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.197.0
1
+ # @@saritasa/renewaire-frontend-sdk@0.198.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.197.0 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.198.0 --save
5
5
  ```
@@ -1166,6 +1166,44 @@ class BombRoutingsApiService extends BaseService {
1166
1166
  reportProgress: reportProgress,
1167
1167
  });
1168
1168
  }
1169
+ routingsRemoveRoutingLayer(requestParameters, observe = "body", reportProgress = false, options) {
1170
+ const routingLayerId = requestParameters?.routingLayerId;
1171
+ if (routingLayerId === null || routingLayerId === undefined) {
1172
+ throw new Error("Required parameter routingLayerId was null or undefined when calling routingsRemoveRoutingLayer.");
1173
+ }
1174
+ let localVarHeaders = this.defaultHeaders;
1175
+ // authentication (Bearer) required
1176
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
1177
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
1178
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1179
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
1180
+ }
1181
+ const localVarHttpContext = options?.context ?? new HttpContext();
1182
+ const localVarTransferCache = options?.transferCache ?? true;
1183
+ let responseType_ = "json";
1184
+ if (localVarHttpHeaderAcceptSelected) {
1185
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
1186
+ responseType_ = "text";
1187
+ }
1188
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1189
+ responseType_ = "json";
1190
+ }
1191
+ else {
1192
+ responseType_ = "blob";
1193
+ }
1194
+ }
1195
+ let localVarPath = `/api/bomb/routings/${this.configuration.encodeParam({ name: "routingLayerId", value: routingLayerId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
1196
+ const { basePath, withCredentials } = this.configuration;
1197
+ return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
1198
+ context: localVarHttpContext,
1199
+ responseType: responseType_,
1200
+ ...(withCredentials ? { withCredentials } : {}),
1201
+ headers: localVarHeaders,
1202
+ observe: observe,
1203
+ transferCache: localVarTransferCache,
1204
+ reportProgress: reportProgress,
1205
+ });
1206
+ }
1169
1207
  routingsSearchRoutingLayers(requestParameters, observe = "body", reportProgress = false, options) {
1170
1208
  const parentRoutingLayerId = requestParameters?.parentRoutingLayerId;
1171
1209
  let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
@@ -1173,12 +1211,7 @@ class BombRoutingsApiService extends BaseService {
1173
1211
  let localVarHeaders = this.defaultHeaders;
1174
1212
  // authentication (Bearer) required
1175
1213
  localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
1176
- const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
1177
- this.configuration.selectHeaderAccept([
1178
- "text/plain",
1179
- "application/json",
1180
- "text/json",
1181
- ]);
1214
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
1182
1215
  if (localVarHttpHeaderAcceptSelected !== undefined) {
1183
1216
  localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
1184
1217
  }
@@ -10450,7 +10483,7 @@ var AshraeVersion;
10450
10483
  * Do not edit the class manually.
10451
10484
  */
10452
10485
  /**
10453
- * 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
10486
+ * 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<br />13 = RoutingLayer<br />14 = ValidationLayer
10454
10487
  */
10455
10488
  var AuditEntity;
10456
10489
  (function (AuditEntity) {
@@ -10467,6 +10500,8 @@ var AuditEntity;
10467
10500
  AuditEntity["Project"] = "Project";
10468
10501
  AuditEntity["MaterialLayer"] = "MaterialLayer";
10469
10502
  AuditEntity["SchematicLayer"] = "SchematicLayer";
10503
+ AuditEntity["RoutingLayer"] = "RoutingLayer";
10504
+ AuditEntity["ValidationLayer"] = "ValidationLayer";
10470
10505
  })(AuditEntity || (AuditEntity = {}));
10471
10506
 
10472
10507
  /**
@@ -11727,16 +11762,6 @@ var RegistrationStatus;
11727
11762
  * Do not edit the class manually.
11728
11763
  */
11729
11764
 
11730
- /**
11731
- * RenewAire CORES API
11732
- *
11733
- * Contact: renewaire@saritasa.com
11734
- *
11735
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11736
- * https://openapi-generator.tech
11737
- * Do not edit the class manually.
11738
- */
11739
-
11740
11765
  /**
11741
11766
  * RenewAire CORES API
11742
11767
  *