@saritasa/renewaire-frontend-sdk 0.184.0 → 0.186.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.186.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.186.0 --save
5
5
  ```
@@ -855,6 +855,57 @@ class BombMaterialsApiService extends BaseService {
855
855
  reportProgress: reportProgress,
856
856
  });
857
857
  }
858
+ materialsMoveMaterialLayer(requestParameters, observe = "body", reportProgress = false, options) {
859
+ const materialLayerId = requestParameters?.materialLayerId;
860
+ if (materialLayerId === null || materialLayerId === undefined) {
861
+ throw new Error("Required parameter materialLayerId was null or undefined when calling materialsMoveMaterialLayer.");
862
+ }
863
+ const moveMaterialLayerDto = requestParameters?.moveMaterialLayerDto;
864
+ let localVarHeaders = this.defaultHeaders;
865
+ // authentication (Bearer) required
866
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
867
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
868
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
869
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
870
+ }
871
+ const localVarHttpContext = options?.context ?? new HttpContext();
872
+ const localVarTransferCache = options?.transferCache ?? true;
873
+ // to determine the Content-Type header
874
+ const consumes = [
875
+ "application/json-patch+json",
876
+ "application/json",
877
+ "text/json",
878
+ "application/*+json",
879
+ ];
880
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
881
+ if (httpContentTypeSelected !== undefined) {
882
+ localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
883
+ }
884
+ let responseType_ = "json";
885
+ if (localVarHttpHeaderAcceptSelected) {
886
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
887
+ responseType_ = "text";
888
+ }
889
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
890
+ responseType_ = "json";
891
+ }
892
+ else {
893
+ responseType_ = "blob";
894
+ }
895
+ }
896
+ let localVarPath = `/api/bomb/materials/${this.configuration.encodeParam({ name: "materialLayerId", value: materialLayerId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/move`;
897
+ const { basePath, withCredentials } = this.configuration;
898
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
899
+ context: localVarHttpContext,
900
+ body: moveMaterialLayerDto,
901
+ responseType: responseType_,
902
+ ...(withCredentials ? { withCredentials } : {}),
903
+ headers: localVarHeaders,
904
+ observe: observe,
905
+ transferCache: localVarTransferCache,
906
+ reportProgress: reportProgress,
907
+ });
908
+ }
858
909
  materialsRemoveGroup(requestParameters, observe = "body", reportProgress = false, options) {
859
910
  const materialLayerId = requestParameters?.materialLayerId;
860
911
  if (materialLayerId === null || materialLayerId === undefined) {
@@ -1251,6 +1302,44 @@ class BombSchematicsApiService extends BaseService {
1251
1302
  reportProgress: reportProgress,
1252
1303
  });
1253
1304
  }
1305
+ schematicsRemoveSchematicLayer(requestParameters, observe = "body", reportProgress = false, options) {
1306
+ const schematicLayerId = requestParameters?.schematicLayerId;
1307
+ if (schematicLayerId === null || schematicLayerId === undefined) {
1308
+ throw new Error("Required parameter schematicLayerId was null or undefined when calling schematicsRemoveSchematicLayer.");
1309
+ }
1310
+ let localVarHeaders = this.defaultHeaders;
1311
+ // authentication (Bearer) required
1312
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
1313
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
1314
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1315
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
1316
+ }
1317
+ const localVarHttpContext = options?.context ?? new HttpContext();
1318
+ const localVarTransferCache = options?.transferCache ?? true;
1319
+ let responseType_ = "json";
1320
+ if (localVarHttpHeaderAcceptSelected) {
1321
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
1322
+ responseType_ = "text";
1323
+ }
1324
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1325
+ responseType_ = "json";
1326
+ }
1327
+ else {
1328
+ responseType_ = "blob";
1329
+ }
1330
+ }
1331
+ let localVarPath = `/api/bomb/schematics/${this.configuration.encodeParam({ name: "schematicLayerId", value: schematicLayerId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
1332
+ const { basePath, withCredentials } = this.configuration;
1333
+ return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
1334
+ context: localVarHttpContext,
1335
+ responseType: responseType_,
1336
+ ...(withCredentials ? { withCredentials } : {}),
1337
+ headers: localVarHeaders,
1338
+ observe: observe,
1339
+ transferCache: localVarTransferCache,
1340
+ reportProgress: reportProgress,
1341
+ });
1342
+ }
1254
1343
  schematicsUpdateSchematicLayer(requestParameters, observe = "body", reportProgress = false, options) {
1255
1344
  const schematicLayerId = requestParameters?.schematicLayerId;
1256
1345
  if (schematicLayerId === null || schematicLayerId === undefined) {
@@ -10057,7 +10146,7 @@ var AshraeVersion;
10057
10146
  * Do not edit the class manually.
10058
10147
  */
10059
10148
  /**
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
10149
+ * 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
10150
  */
10062
10151
  var AuditEntity;
10063
10152
  (function (AuditEntity) {
@@ -10073,6 +10162,7 @@ var AuditEntity;
10073
10162
  AuditEntity["ProjectRevision"] = "ProjectRevision";
10074
10163
  AuditEntity["Project"] = "Project";
10075
10164
  AuditEntity["MaterialLayer"] = "MaterialLayer";
10165
+ AuditEntity["SchematicLayer"] = "SchematicLayer";
10076
10166
  })(AuditEntity || (AuditEntity = {}));
10077
10167
 
10078
10168
  /**
@@ -10641,6 +10731,16 @@ var LeadTimeType;
10641
10731
  * Do not edit the class manually.
10642
10732
  */
10643
10733
 
10734
+ /**
10735
+ * RenewAire CORES API
10736
+ *
10737
+ * Contact: renewaire@saritasa.com
10738
+ *
10739
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10740
+ * https://openapi-generator.tech
10741
+ * Do not edit the class manually.
10742
+ */
10743
+
10644
10744
  /**
10645
10745
  * RenewAire CORES API
10646
10746
  *