@saritasa/renewaire-frontend-sdk 0.183.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
|
@@ -1251,6 +1251,95 @@ 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
|
+
}
|
|
1292
|
+
schematicsUpdateSchematicLayer(requestParameters, observe = "body", reportProgress = false, options) {
|
|
1293
|
+
const schematicLayerId = requestParameters?.schematicLayerId;
|
|
1294
|
+
if (schematicLayerId === null || schematicLayerId === undefined) {
|
|
1295
|
+
throw new Error("Required parameter schematicLayerId was null or undefined when calling schematicsUpdateSchematicLayer.");
|
|
1296
|
+
}
|
|
1297
|
+
const saveSchematicLayerDto = requestParameters?.saveSchematicLayerDto;
|
|
1298
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1299
|
+
// authentication (Bearer) required
|
|
1300
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
1301
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
1302
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1303
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
1304
|
+
}
|
|
1305
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1306
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1307
|
+
// to determine the Content-Type header
|
|
1308
|
+
const consumes = [
|
|
1309
|
+
"application/json-patch+json",
|
|
1310
|
+
"application/json",
|
|
1311
|
+
"text/json",
|
|
1312
|
+
"application/*+json",
|
|
1313
|
+
];
|
|
1314
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1315
|
+
if (httpContentTypeSelected !== undefined) {
|
|
1316
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
1317
|
+
}
|
|
1318
|
+
let responseType_ = "json";
|
|
1319
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1320
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
1321
|
+
responseType_ = "text";
|
|
1322
|
+
}
|
|
1323
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1324
|
+
responseType_ = "json";
|
|
1325
|
+
}
|
|
1326
|
+
else {
|
|
1327
|
+
responseType_ = "blob";
|
|
1328
|
+
}
|
|
1329
|
+
}
|
|
1330
|
+
let localVarPath = `/api/bomb/schematics/${this.configuration.encodeParam({ name: "schematicLayerId", value: schematicLayerId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
|
|
1331
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1332
|
+
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
1333
|
+
context: localVarHttpContext,
|
|
1334
|
+
body: saveSchematicLayerDto,
|
|
1335
|
+
responseType: responseType_,
|
|
1336
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1337
|
+
headers: localVarHeaders,
|
|
1338
|
+
observe: observe,
|
|
1339
|
+
transferCache: localVarTransferCache,
|
|
1340
|
+
reportProgress: reportProgress,
|
|
1341
|
+
});
|
|
1342
|
+
}
|
|
1254
1343
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: BombSchematicsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1255
1344
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: BombSchematicsApiService, providedIn: "root" });
|
|
1256
1345
|
}
|
|
@@ -10006,7 +10095,7 @@ var AshraeVersion;
|
|
|
10006
10095
|
* Do not edit the class manually.
|
|
10007
10096
|
*/
|
|
10008
10097
|
/**
|
|
10009
|
-
* 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
|
|
10010
10099
|
*/
|
|
10011
10100
|
var AuditEntity;
|
|
10012
10101
|
(function (AuditEntity) {
|
|
@@ -10022,6 +10111,7 @@ var AuditEntity;
|
|
|
10022
10111
|
AuditEntity["ProjectRevision"] = "ProjectRevision";
|
|
10023
10112
|
AuditEntity["Project"] = "Project";
|
|
10024
10113
|
AuditEntity["MaterialLayer"] = "MaterialLayer";
|
|
10114
|
+
AuditEntity["SchematicLayer"] = "SchematicLayer";
|
|
10025
10115
|
})(AuditEntity || (AuditEntity = {}));
|
|
10026
10116
|
|
|
10027
10117
|
/**
|
|
@@ -10382,7 +10472,7 @@ var FeedbackType;
|
|
|
10382
10472
|
* Do not edit the class manually.
|
|
10383
10473
|
*/
|
|
10384
10474
|
/**
|
|
10385
|
-
* File type.<br />FileType<br />0 = RsdRegionDocument<br />1 = ControllerProgram<br />2 = RepSalesReport<br />3 = ProjectNoteAttachment<br />4 = BidStatusAttachment
|
|
10475
|
+
* File type.<br />FileType<br />0 = RsdRegionDocument<br />1 = ControllerProgram<br />2 = RepSalesReport<br />3 = ProjectNoteAttachment<br />4 = BidStatusAttachment<br />5 = SchematicLayerFile
|
|
10386
10476
|
*/
|
|
10387
10477
|
var FileType;
|
|
10388
10478
|
(function (FileType) {
|
|
@@ -10391,6 +10481,7 @@ var FileType;
|
|
|
10391
10481
|
FileType["RepSalesReport"] = "RepSalesReport";
|
|
10392
10482
|
FileType["ProjectNoteAttachment"] = "ProjectNoteAttachment";
|
|
10393
10483
|
FileType["BidStatusAttachment"] = "BidStatusAttachment";
|
|
10484
|
+
FileType["SchematicLayerFile"] = "SchematicLayerFile";
|
|
10394
10485
|
})(FileType || (FileType = {}));
|
|
10395
10486
|
|
|
10396
10487
|
/**
|