@saritasa/renewaire-frontend-sdk 0.196.1 → 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.196.1
1
+ # @@saritasa/renewaire-frontend-sdk@0.198.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.196.1 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.198.0 --save
5
5
  ```
@@ -1123,10 +1123,11 @@ class BombRoutingsApiService extends BaseService {
1123
1123
  reportProgress: reportProgress,
1124
1124
  });
1125
1125
  }
1126
- routingsSearchRoutingLayers(requestParameters, observe = "body", reportProgress = false, options) {
1127
- const parentRoutingLayerId = requestParameters?.parentRoutingLayerId;
1128
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
1129
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, parentRoutingLayerId, "ParentRoutingLayerId");
1126
+ routingsGetRoutingLayer(requestParameters, observe = "body", reportProgress = false, options) {
1127
+ const routingLayerId = requestParameters?.routingLayerId;
1128
+ if (routingLayerId === null || routingLayerId === undefined) {
1129
+ throw new Error("Required parameter routingLayerId was null or undefined when calling routingsGetRoutingLayer.");
1130
+ }
1130
1131
  let localVarHeaders = this.defaultHeaders;
1131
1132
  // authentication (Bearer) required
1132
1133
  localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
@@ -1153,6 +1154,81 @@ class BombRoutingsApiService extends BaseService {
1153
1154
  responseType_ = "blob";
1154
1155
  }
1155
1156
  }
1157
+ let localVarPath = `/api/bomb/routings/${this.configuration.encodeParam({ name: "routingLayerId", value: routingLayerId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
1158
+ const { basePath, withCredentials } = this.configuration;
1159
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
1160
+ context: localVarHttpContext,
1161
+ responseType: responseType_,
1162
+ ...(withCredentials ? { withCredentials } : {}),
1163
+ headers: localVarHeaders,
1164
+ observe: observe,
1165
+ transferCache: localVarTransferCache,
1166
+ reportProgress: reportProgress,
1167
+ });
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
+ }
1207
+ routingsSearchRoutingLayers(requestParameters, observe = "body", reportProgress = false, options) {
1208
+ const parentRoutingLayerId = requestParameters?.parentRoutingLayerId;
1209
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
1210
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, parentRoutingLayerId, "ParentRoutingLayerId");
1211
+ let localVarHeaders = this.defaultHeaders;
1212
+ // authentication (Bearer) required
1213
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
1214
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
1215
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1216
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
1217
+ }
1218
+ const localVarHttpContext = options?.context ?? new HttpContext();
1219
+ const localVarTransferCache = options?.transferCache ?? true;
1220
+ let responseType_ = "json";
1221
+ if (localVarHttpHeaderAcceptSelected) {
1222
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
1223
+ responseType_ = "text";
1224
+ }
1225
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1226
+ responseType_ = "json";
1227
+ }
1228
+ else {
1229
+ responseType_ = "blob";
1230
+ }
1231
+ }
1156
1232
  let localVarPath = `/api/bomb/routings`;
1157
1233
  const { basePath, withCredentials } = this.configuration;
1158
1234
  return this.httpClient.request("get", `${basePath}${localVarPath}`, {
@@ -10407,7 +10483,7 @@ var AshraeVersion;
10407
10483
  * Do not edit the class manually.
10408
10484
  */
10409
10485
  /**
10410
- * 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
10411
10487
  */
10412
10488
  var AuditEntity;
10413
10489
  (function (AuditEntity) {
@@ -10424,6 +10500,8 @@ var AuditEntity;
10424
10500
  AuditEntity["Project"] = "Project";
10425
10501
  AuditEntity["MaterialLayer"] = "MaterialLayer";
10426
10502
  AuditEntity["SchematicLayer"] = "SchematicLayer";
10503
+ AuditEntity["RoutingLayer"] = "RoutingLayer";
10504
+ AuditEntity["ValidationLayer"] = "ValidationLayer";
10427
10505
  })(AuditEntity || (AuditEntity = {}));
10428
10506
 
10429
10507
  /**