@saritasa/renewaire-frontend-sdk 0.240.1 → 0.241.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.240.1
1
+ # @@saritasa/renewaire-frontend-sdk@0.241.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.240.1 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.241.0 --save
5
5
  ```
@@ -756,6 +756,62 @@ class BombDrawingsApiService extends BaseService {
756
756
  reportProgress: reportProgress,
757
757
  });
758
758
  }
759
+ drawingsDuplicateDrawingLayer(requestParameters, observe = "body", reportProgress = false, options) {
760
+ const drawingLayerId = requestParameters?.drawingLayerId;
761
+ if (drawingLayerId === null || drawingLayerId === undefined) {
762
+ throw new Error("Required parameter drawingLayerId was null or undefined when calling drawingsDuplicateDrawingLayer.");
763
+ }
764
+ const duplicateBombLayerDto = requestParameters?.duplicateBombLayerDto;
765
+ let localVarHeaders = this.defaultHeaders;
766
+ // authentication (Bearer) required
767
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
768
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
769
+ this.configuration.selectHeaderAccept([
770
+ "text/plain",
771
+ "application/json",
772
+ "text/json",
773
+ ]);
774
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
775
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
776
+ }
777
+ const localVarHttpContext = options?.context ?? new HttpContext();
778
+ const localVarTransferCache = options?.transferCache ?? true;
779
+ // to determine the Content-Type header
780
+ const consumes = [
781
+ "application/json-patch+json",
782
+ "application/json",
783
+ "text/json",
784
+ "application/*+json",
785
+ ];
786
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
787
+ if (httpContentTypeSelected !== undefined) {
788
+ localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
789
+ }
790
+ let responseType_ = "json";
791
+ if (localVarHttpHeaderAcceptSelected) {
792
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
793
+ responseType_ = "text";
794
+ }
795
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
796
+ responseType_ = "json";
797
+ }
798
+ else {
799
+ responseType_ = "blob";
800
+ }
801
+ }
802
+ let localVarPath = `/api/bomb/drawings/${this.configuration.encodeParam({ name: "drawingLayerId", value: drawingLayerId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/duplicate`;
803
+ const { basePath, withCredentials } = this.configuration;
804
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
805
+ context: localVarHttpContext,
806
+ body: duplicateBombLayerDto,
807
+ responseType: responseType_,
808
+ ...(withCredentials ? { withCredentials } : {}),
809
+ headers: localVarHeaders,
810
+ observe: observe,
811
+ transferCache: localVarTransferCache,
812
+ reportProgress: reportProgress,
813
+ });
814
+ }
759
815
  drawingsGetDrawingFileDownloadUrl(requestParameters, observe = "body", reportProgress = false, options) {
760
816
  const drawingLayerId = requestParameters?.drawingLayerId;
761
817
  if (drawingLayerId === null || drawingLayerId === undefined) {
@@ -875,6 +931,95 @@ class BombDrawingsApiService extends BaseService {
875
931
  reportProgress: reportProgress,
876
932
  });
877
933
  }
934
+ drawingsMoveDrawingLayer(requestParameters, observe = "body", reportProgress = false, options) {
935
+ const drawingLayerId = requestParameters?.drawingLayerId;
936
+ if (drawingLayerId === null || drawingLayerId === undefined) {
937
+ throw new Error("Required parameter drawingLayerId was null or undefined when calling drawingsMoveDrawingLayer.");
938
+ }
939
+ const drawingLayerIdMoveLayerDto = requestParameters?.drawingLayerIdMoveLayerDto;
940
+ let localVarHeaders = this.defaultHeaders;
941
+ // authentication (Bearer) required
942
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
943
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
944
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
945
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
946
+ }
947
+ const localVarHttpContext = options?.context ?? new HttpContext();
948
+ const localVarTransferCache = options?.transferCache ?? true;
949
+ // to determine the Content-Type header
950
+ const consumes = [
951
+ "application/json-patch+json",
952
+ "application/json",
953
+ "text/json",
954
+ "application/*+json",
955
+ ];
956
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
957
+ if (httpContentTypeSelected !== undefined) {
958
+ localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
959
+ }
960
+ let responseType_ = "json";
961
+ if (localVarHttpHeaderAcceptSelected) {
962
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
963
+ responseType_ = "text";
964
+ }
965
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
966
+ responseType_ = "json";
967
+ }
968
+ else {
969
+ responseType_ = "blob";
970
+ }
971
+ }
972
+ let localVarPath = `/api/bomb/drawings/${this.configuration.encodeParam({ name: "drawingLayerId", value: drawingLayerId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/move`;
973
+ const { basePath, withCredentials } = this.configuration;
974
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
975
+ context: localVarHttpContext,
976
+ body: drawingLayerIdMoveLayerDto,
977
+ responseType: responseType_,
978
+ ...(withCredentials ? { withCredentials } : {}),
979
+ headers: localVarHeaders,
980
+ observe: observe,
981
+ transferCache: localVarTransferCache,
982
+ reportProgress: reportProgress,
983
+ });
984
+ }
985
+ drawingsRemoveDrawingLayer(requestParameters, observe = "body", reportProgress = false, options) {
986
+ const drawingLayerId = requestParameters?.drawingLayerId;
987
+ if (drawingLayerId === null || drawingLayerId === undefined) {
988
+ throw new Error("Required parameter drawingLayerId was null or undefined when calling drawingsRemoveDrawingLayer.");
989
+ }
990
+ let localVarHeaders = this.defaultHeaders;
991
+ // authentication (Bearer) required
992
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
993
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
994
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
995
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
996
+ }
997
+ const localVarHttpContext = options?.context ?? new HttpContext();
998
+ const localVarTransferCache = options?.transferCache ?? true;
999
+ let responseType_ = "json";
1000
+ if (localVarHttpHeaderAcceptSelected) {
1001
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
1002
+ responseType_ = "text";
1003
+ }
1004
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1005
+ responseType_ = "json";
1006
+ }
1007
+ else {
1008
+ responseType_ = "blob";
1009
+ }
1010
+ }
1011
+ let localVarPath = `/api/bomb/drawings/${this.configuration.encodeParam({ name: "drawingLayerId", value: drawingLayerId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
1012
+ const { basePath, withCredentials } = this.configuration;
1013
+ return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
1014
+ context: localVarHttpContext,
1015
+ responseType: responseType_,
1016
+ ...(withCredentials ? { withCredentials } : {}),
1017
+ headers: localVarHeaders,
1018
+ observe: observe,
1019
+ transferCache: localVarTransferCache,
1020
+ reportProgress: reportProgress,
1021
+ });
1022
+ }
878
1023
  drawingsUpdateDrawingLayer(requestParameters, observe = "body", reportProgress = false, options) {
879
1024
  const drawingLayerId = requestParameters?.drawingLayerId;
880
1025
  if (drawingLayerId === null || drawingLayerId === undefined) {
@@ -12275,7 +12420,7 @@ var AshraeVersion;
12275
12420
  * Do not edit the class manually.
12276
12421
  */
12277
12422
  /**
12278
- * 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 = ProjectLine<br />12 = MaterialLayer<br />13 = SchematicLayer<br />14 = RoutingLayer<br />15 = ValidationLayer
12423
+ * 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 = ProjectLine<br />12 = MaterialLayer<br />13 = SchematicLayer<br />14 = RoutingLayer<br />15 = ValidationLayer<br />16 = DrawingLayer
12279
12424
  */
12280
12425
  var AuditEntity;
12281
12426
  (function (AuditEntity) {
@@ -12295,6 +12440,7 @@ var AuditEntity;
12295
12440
  AuditEntity["SchematicLayer"] = "SchematicLayer";
12296
12441
  AuditEntity["RoutingLayer"] = "RoutingLayer";
12297
12442
  AuditEntity["ValidationLayer"] = "ValidationLayer";
12443
+ AuditEntity["DrawingLayer"] = "DrawingLayer";
12298
12444
  })(AuditEntity || (AuditEntity = {}));
12299
12445
 
12300
12446
  /**
@@ -12632,6 +12778,26 @@ var DesignWeatherMode;
12632
12778
  * Do not edit the class manually.
12633
12779
  */
12634
12780
 
12781
+ /**
12782
+ * RenewAire CORES API
12783
+ *
12784
+ * Contact: renewaire@saritasa.com
12785
+ *
12786
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12787
+ * https://openapi-generator.tech
12788
+ * Do not edit the class manually.
12789
+ */
12790
+
12791
+ /**
12792
+ * RenewAire CORES API
12793
+ *
12794
+ * Contact: renewaire@saritasa.com
12795
+ *
12796
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12797
+ * https://openapi-generator.tech
12798
+ * Do not edit the class manually.
12799
+ */
12800
+
12635
12801
  /**
12636
12802
  * RenewAire CORES API
12637
12803
  *