@saritasa/renewaire-frontend-sdk 0.182.0 → 0.183.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.
@@ -698,18 +698,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
698
698
  * Do not edit the class manually.
699
699
  */
700
700
  /* tslint:disable:no-unused-variable member-ordering */
701
- class ControllerProgramsApiService extends BaseService {
701
+ class BombMaterialsApiService extends BaseService {
702
702
  httpClient;
703
703
  constructor(httpClient, basePath, configuration) {
704
704
  super(basePath, configuration);
705
705
  this.httpClient = httpClient;
706
706
  }
707
- controllerProgramsCreateControllerProgram(requestParameters, observe = "body", reportProgress = false, options) {
708
- const programType = requestParameters?.programType;
709
- if (programType === null || programType === undefined) {
710
- throw new Error("Required parameter programType was null or undefined when calling controllerProgramsCreateControllerProgram.");
711
- }
712
- const saveControllerProgramDto = requestParameters?.saveControllerProgramDto;
707
+ materialsCreateMaterialLayer(requestParameters, observe = "body", reportProgress = false, options) {
708
+ const createMaterialLayerCommand = requestParameters?.createMaterialLayerCommand;
713
709
  let localVarHeaders = this.defaultHeaders;
714
710
  // authentication (Bearer) required
715
711
  localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
@@ -747,11 +743,11 @@ class ControllerProgramsApiService extends BaseService {
747
743
  responseType_ = "blob";
748
744
  }
749
745
  }
750
- let localVarPath = `/api/controller-programs/${this.configuration.encodeParam({ name: "programType", value: programType, in: "path", style: "simple", explode: false, dataType: "ControllerProgramType", dataFormat: undefined })}`;
746
+ let localVarPath = `/api/bomb/materials`;
751
747
  const { basePath, withCredentials } = this.configuration;
752
748
  return this.httpClient.request("post", `${basePath}${localVarPath}`, {
753
749
  context: localVarHttpContext,
754
- body: saveControllerProgramDto,
750
+ body: createMaterialLayerCommand,
755
751
  responseType: responseType_,
756
752
  ...(withCredentials ? { withCredentials } : {}),
757
753
  headers: localVarHeaders,
@@ -760,20 +756,37 @@ class ControllerProgramsApiService extends BaseService {
760
756
  reportProgress: reportProgress,
761
757
  });
762
758
  }
763
- controllerProgramsCreateFileDownloadUrl(requestParameters, observe = "body", reportProgress = false, options) {
764
- const controllerProgramId = requestParameters?.controllerProgramId;
765
- if (controllerProgramId === null || controllerProgramId === undefined) {
766
- throw new Error("Required parameter controllerProgramId was null or undefined when calling controllerProgramsCreateFileDownloadUrl.");
759
+ materialsDuplicateMaterialLayer(requestParameters, observe = "body", reportProgress = false, options) {
760
+ const materialLayerId = requestParameters?.materialLayerId;
761
+ if (materialLayerId === null || materialLayerId === undefined) {
762
+ throw new Error("Required parameter materialLayerId was null or undefined when calling materialsDuplicateMaterialLayer.");
767
763
  }
764
+ const duplicateMaterialLayerDto = requestParameters?.duplicateMaterialLayerDto;
768
765
  let localVarHeaders = this.defaultHeaders;
769
766
  // authentication (Bearer) required
770
767
  localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
771
- const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
768
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
769
+ this.configuration.selectHeaderAccept([
770
+ "text/plain",
771
+ "application/json",
772
+ "text/json",
773
+ ]);
772
774
  if (localVarHttpHeaderAcceptSelected !== undefined) {
773
775
  localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
774
776
  }
775
777
  const localVarHttpContext = options?.context ?? new HttpContext();
776
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
+ }
777
790
  let responseType_ = "json";
778
791
  if (localVarHttpHeaderAcceptSelected) {
779
792
  if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
@@ -786,10 +799,11 @@ class ControllerProgramsApiService extends BaseService {
786
799
  responseType_ = "blob";
787
800
  }
788
801
  }
789
- let localVarPath = `/api/controller-programs/${this.configuration.encodeParam({ name: "controllerProgramId", value: controllerProgramId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/file-download-url`;
802
+ let localVarPath = `/api/bomb/materials/${this.configuration.encodeParam({ name: "materialLayerId", value: materialLayerId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/duplicate`;
790
803
  const { basePath, withCredentials } = this.configuration;
791
- return this.httpClient.request("get", `${basePath}${localVarPath}`, {
804
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
792
805
  context: localVarHttpContext,
806
+ body: duplicateMaterialLayerDto,
793
807
  responseType: responseType_,
794
808
  ...(withCredentials ? { withCredentials } : {}),
795
809
  headers: localVarHeaders,
@@ -798,10 +812,10 @@ class ControllerProgramsApiService extends BaseService {
798
812
  reportProgress: reportProgress,
799
813
  });
800
814
  }
801
- controllerProgramsGetControllerProgram(requestParameters, observe = "body", reportProgress = false, options) {
802
- const controllerProgramId = requestParameters?.controllerProgramId;
803
- if (controllerProgramId === null || controllerProgramId === undefined) {
804
- throw new Error("Required parameter controllerProgramId was null or undefined when calling controllerProgramsGetControllerProgram.");
815
+ materialsGetMaterialLayer(requestParameters, observe = "body", reportProgress = false, options) {
816
+ const materialLayerId = requestParameters?.materialLayerId;
817
+ if (materialLayerId === null || materialLayerId === undefined) {
818
+ throw new Error("Required parameter materialLayerId was null or undefined when calling materialsGetMaterialLayer.");
805
819
  }
806
820
  let localVarHeaders = this.defaultHeaders;
807
821
  // authentication (Bearer) required
@@ -829,7 +843,7 @@ class ControllerProgramsApiService extends BaseService {
829
843
  responseType_ = "blob";
830
844
  }
831
845
  }
832
- let localVarPath = `/api/controller-programs/${this.configuration.encodeParam({ name: "controllerProgramId", value: controllerProgramId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
846
+ let localVarPath = `/api/bomb/materials/${this.configuration.encodeParam({ name: "materialLayerId", value: materialLayerId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
833
847
  const { basePath, withCredentials } = this.configuration;
834
848
  return this.httpClient.request("get", `${basePath}${localVarPath}`, {
835
849
  context: localVarHttpContext,
@@ -841,40 +855,15 @@ class ControllerProgramsApiService extends BaseService {
841
855
  reportProgress: reportProgress,
842
856
  });
843
857
  }
844
- controllerProgramsSearchControllerPrograms(requestParameters, observe = "body", reportProgress = false, options) {
845
- const programType = requestParameters?.programType;
846
- if (programType === null || programType === undefined) {
847
- throw new Error("Required parameter programType was null or undefined when calling controllerProgramsSearchControllerPrograms.");
858
+ materialsRemoveGroup(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 materialsRemoveGroup.");
848
862
  }
849
- const versionNumber = requestParameters?.versionNumber;
850
- const releaseType = requestParameters?.releaseType;
851
- const createdAt = requestParameters?.createdAt;
852
- const createdBy = requestParameters?.createdBy;
853
- const notes = requestParameters?.notes;
854
- const fileName = requestParameters?.fileName;
855
- const orderBy = requestParameters?.orderBy;
856
- const page = requestParameters?.page;
857
- const pageSize = requestParameters?.pageSize;
858
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
859
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, programType, "ProgramType");
860
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, versionNumber, "VersionNumber");
861
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, releaseType, "ReleaseType");
862
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, createdAt, "CreatedAt");
863
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, createdBy, "CreatedBy");
864
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, notes, "Notes");
865
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, fileName, "FileName");
866
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
867
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
868
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageSize, "PageSize");
869
863
  let localVarHeaders = this.defaultHeaders;
870
864
  // authentication (Bearer) required
871
865
  localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
872
- const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
873
- this.configuration.selectHeaderAccept([
874
- "text/plain",
875
- "application/json",
876
- "text/json",
877
- ]);
866
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
878
867
  if (localVarHttpHeaderAcceptSelected !== undefined) {
879
868
  localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
880
869
  }
@@ -892,11 +881,10 @@ class ControllerProgramsApiService extends BaseService {
892
881
  responseType_ = "blob";
893
882
  }
894
883
  }
895
- let localVarPath = `/api/controller-programs`;
884
+ let localVarPath = `/api/bomb/materials/${this.configuration.encodeParam({ name: "materialLayerId", value: materialLayerId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
896
885
  const { basePath, withCredentials } = this.configuration;
897
- return this.httpClient.request("get", `${basePath}${localVarPath}`, {
886
+ return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
898
887
  context: localVarHttpContext,
899
- params: localVarQueryParameters,
900
888
  responseType: responseType_,
901
889
  ...(withCredentials ? { withCredentials } : {}),
902
890
  headers: localVarHeaders,
@@ -905,35 +893,24 @@ class ControllerProgramsApiService extends BaseService {
905
893
  reportProgress: reportProgress,
906
894
  });
907
895
  }
908
- controllerProgramsUpdateControllerProgram(requestParameters, observe = "body", reportProgress = false, options) {
909
- const controllerProgramId = requestParameters?.controllerProgramId;
910
- if (controllerProgramId === null || controllerProgramId === undefined) {
911
- throw new Error("Required parameter controllerProgramId was null or undefined when calling controllerProgramsUpdateControllerProgram.");
912
- }
913
- const isActive = requestParameters?.isActive;
914
- const saveControllerProgramDto = requestParameters?.saveControllerProgramDto;
896
+ materialsSearchMaterialLayers(requestParameters, observe = "body", reportProgress = false, options) {
897
+ const parentMaterialLayerId = requestParameters?.parentMaterialLayerId;
915
898
  let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
916
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, isActive, "isActive");
899
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, parentMaterialLayerId, "ParentMaterialLayerId");
917
900
  let localVarHeaders = this.defaultHeaders;
918
901
  // authentication (Bearer) required
919
902
  localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
920
- const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
903
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
904
+ this.configuration.selectHeaderAccept([
905
+ "text/plain",
906
+ "application/json",
907
+ "text/json",
908
+ ]);
921
909
  if (localVarHttpHeaderAcceptSelected !== undefined) {
922
910
  localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
923
911
  }
924
912
  const localVarHttpContext = options?.context ?? new HttpContext();
925
913
  const localVarTransferCache = options?.transferCache ?? true;
926
- // to determine the Content-Type header
927
- const consumes = [
928
- "application/json-patch+json",
929
- "application/json",
930
- "text/json",
931
- "application/*+json",
932
- ];
933
- const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
934
- if (httpContentTypeSelected !== undefined) {
935
- localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
936
- }
937
914
  let responseType_ = "json";
938
915
  if (localVarHttpHeaderAcceptSelected) {
939
916
  if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
@@ -946,11 +923,10 @@ class ControllerProgramsApiService extends BaseService {
946
923
  responseType_ = "blob";
947
924
  }
948
925
  }
949
- let localVarPath = `/api/controller-programs/${this.configuration.encodeParam({ name: "controllerProgramId", value: controllerProgramId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
926
+ let localVarPath = `/api/bomb/materials`;
950
927
  const { basePath, withCredentials } = this.configuration;
951
- return this.httpClient.request("put", `${basePath}${localVarPath}`, {
928
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
952
929
  context: localVarHttpContext,
953
- body: saveControllerProgramDto,
954
930
  params: localVarQueryParameters,
955
931
  responseType: responseType_,
956
932
  ...(withCredentials ? { withCredentials } : {}),
@@ -960,106 +936,31 @@ class ControllerProgramsApiService extends BaseService {
960
936
  reportProgress: reportProgress,
961
937
  });
962
938
  }
963
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ControllerProgramsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
964
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ControllerProgramsApiService, providedIn: "root" });
965
- }
966
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ControllerProgramsApiService, decorators: [{
967
- type: Injectable,
968
- args: [{
969
- providedIn: "root",
970
- }]
971
- }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
972
- type: Optional
973
- }, {
974
- type: Inject,
975
- args: [BASE_PATH]
976
- }] }, { type: Configuration, decorators: [{
977
- type: Optional
978
- }] }] });
979
-
980
- /**
981
- * RenewAire CORES API
982
- *
983
- * Contact: renewaire@saritasa.com
984
- *
985
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
986
- * https://openapi-generator.tech
987
- * Do not edit the class manually.
988
- */
989
- /* tslint:disable:no-unused-variable member-ordering */
990
- class FeedbacksApiService extends BaseService {
991
- httpClient;
992
- constructor(httpClient, basePath, configuration) {
993
- super(basePath, configuration);
994
- this.httpClient = httpClient;
995
- }
996
- feedbacksCreateFeedback(requestParameters, observe = "body", reportProgress = false, options) {
997
- const feedbackType = requestParameters?.feedbackType;
998
- if (feedbackType === null || feedbackType === undefined) {
999
- throw new Error("Required parameter feedbackType was null or undefined when calling feedbacksCreateFeedback.");
1000
- }
1001
- const message = requestParameters?.message;
1002
- if (message === null || message === undefined) {
1003
- throw new Error("Required parameter message was null or undefined when calling feedbacksCreateFeedback.");
1004
- }
1005
- const frontendUrl = requestParameters?.frontendUrl;
1006
- if (frontendUrl === null || frontendUrl === undefined) {
1007
- throw new Error("Required parameter frontendUrl was null or undefined when calling feedbacksCreateFeedback.");
1008
- }
1009
- const attachments = requestParameters?.attachments;
1010
- if (attachments === null || attachments === undefined) {
1011
- throw new Error("Required parameter attachments was null or undefined when calling feedbacksCreateFeedback.");
939
+ materialsUpdateMaterialLayer(requestParameters, observe = "body", reportProgress = false, options) {
940
+ const materialLayerId = requestParameters?.materialLayerId;
941
+ if (materialLayerId === null || materialLayerId === undefined) {
942
+ throw new Error("Required parameter materialLayerId was null or undefined when calling materialsUpdateMaterialLayer.");
1012
943
  }
944
+ const saveMaterialLayerDto = requestParameters?.saveMaterialLayerDto;
1013
945
  let localVarHeaders = this.defaultHeaders;
1014
946
  // authentication (Bearer) required
1015
947
  localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
1016
- const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
1017
- this.configuration.selectHeaderAccept([
1018
- "text/plain",
1019
- "application/json",
1020
- "text/json",
1021
- ]);
948
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
1022
949
  if (localVarHttpHeaderAcceptSelected !== undefined) {
1023
950
  localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
1024
951
  }
1025
952
  const localVarHttpContext = options?.context ?? new HttpContext();
1026
953
  const localVarTransferCache = options?.transferCache ?? true;
1027
954
  // to determine the Content-Type header
1028
- const consumes = ["multipart/form-data"];
1029
- const canConsumeForm = this.canConsumeForm(consumes);
1030
- let localVarFormParams;
1031
- let localVarUseForm = false;
1032
- let localVarConvertFormParamsToString = false;
1033
- // use FormData to transmit files using content-type "multipart/form-data"
1034
- // see https://stackoverflow.com/questions/4007969/application-x-www-form-urlencoded-or-multipart-form-data
1035
- localVarUseForm = canConsumeForm;
1036
- if (localVarUseForm) {
1037
- localVarFormParams = new FormData();
1038
- }
1039
- else {
1040
- localVarFormParams = new HttpParams({ encoder: this.encoder });
1041
- }
1042
- if (feedbackType !== undefined) {
1043
- localVarFormParams =
1044
- localVarFormParams.append("FeedbackType", feedbackType) ||
1045
- localVarFormParams;
1046
- }
1047
- if (message !== undefined) {
1048
- localVarFormParams =
1049
- localVarFormParams.append("Message", message) ||
1050
- localVarFormParams;
1051
- }
1052
- if (frontendUrl !== undefined) {
1053
- localVarFormParams =
1054
- localVarFormParams.append("FrontendUrl", frontendUrl) ||
1055
- localVarFormParams;
1056
- }
1057
- if (attachments) {
1058
- attachments.forEach((element) => {
1059
- localVarFormParams =
1060
- localVarFormParams.append("Attachments", element) ||
1061
- localVarFormParams;
1062
- });
955
+ const consumes = [
956
+ "application/json-patch+json",
957
+ "application/json",
958
+ "text/json",
959
+ "application/*+json",
960
+ ];
961
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
962
+ if (httpContentTypeSelected !== undefined) {
963
+ localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
1063
964
  }
1064
965
  let responseType_ = "json";
1065
966
  if (localVarHttpHeaderAcceptSelected) {
@@ -1073,13 +974,11 @@ class FeedbacksApiService extends BaseService {
1073
974
  responseType_ = "blob";
1074
975
  }
1075
976
  }
1076
- let localVarPath = `/api/feedbacks`;
977
+ let localVarPath = `/api/bomb/materials/${this.configuration.encodeParam({ name: "materialLayerId", value: materialLayerId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
1077
978
  const { basePath, withCredentials } = this.configuration;
1078
- return this.httpClient.request("post", `${basePath}${localVarPath}`, {
979
+ return this.httpClient.request("put", `${basePath}${localVarPath}`, {
1079
980
  context: localVarHttpContext,
1080
- body: localVarConvertFormParamsToString
1081
- ? localVarFormParams.toString()
1082
- : localVarFormParams,
981
+ body: saveMaterialLayerDto,
1083
982
  responseType: responseType_,
1084
983
  ...(withCredentials ? { withCredentials } : {}),
1085
984
  headers: localVarHeaders,
@@ -1088,10 +987,10 @@ class FeedbacksApiService extends BaseService {
1088
987
  reportProgress: reportProgress,
1089
988
  });
1090
989
  }
1091
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: FeedbacksApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1092
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: FeedbacksApiService, providedIn: "root" });
990
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: BombMaterialsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
991
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: BombMaterialsApiService, providedIn: "root" });
1093
992
  }
1094
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: FeedbacksApiService, decorators: [{
993
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: BombMaterialsApiService, decorators: [{
1095
994
  type: Injectable,
1096
995
  args: [{
1097
996
  providedIn: "root",
@@ -1115,14 +1014,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
1115
1014
  * Do not edit the class manually.
1116
1015
  */
1117
1016
  /* tslint:disable:no-unused-variable member-ordering */
1118
- class GroupsApiService extends BaseService {
1017
+ class BombRoutingsApiService extends BaseService {
1119
1018
  httpClient;
1120
1019
  constructor(httpClient, basePath, configuration) {
1121
1020
  super(basePath, configuration);
1122
1021
  this.httpClient = httpClient;
1123
1022
  }
1124
- groupsCreateGroup(requestParameters, observe = "body", reportProgress = false, options) {
1125
- const saveGroupDto = requestParameters?.saveGroupDto;
1023
+ routingsCreateRoutingLayer(requestParameters, observe = "body", reportProgress = false, options) {
1024
+ const createRoutingLayerCommand = requestParameters?.createRoutingLayerCommand;
1126
1025
  let localVarHeaders = this.defaultHeaders;
1127
1026
  // authentication (Bearer) required
1128
1027
  localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
@@ -1160,11 +1059,11 @@ class GroupsApiService extends BaseService {
1160
1059
  responseType_ = "blob";
1161
1060
  }
1162
1061
  }
1163
- let localVarPath = `/api/groups`;
1062
+ let localVarPath = `/api/bomb/routings`;
1164
1063
  const { basePath, withCredentials } = this.configuration;
1165
1064
  return this.httpClient.request("post", `${basePath}${localVarPath}`, {
1166
1065
  context: localVarHttpContext,
1167
- body: saveGroupDto,
1066
+ body: createRoutingLayerCommand,
1168
1067
  responseType: responseType_,
1169
1068
  ...(withCredentials ? { withCredentials } : {}),
1170
1069
  headers: localVarHeaders,
@@ -1173,11 +1072,10 @@ class GroupsApiService extends BaseService {
1173
1072
  reportProgress: reportProgress,
1174
1073
  });
1175
1074
  }
1176
- groupsGetGroup(requestParameters, observe = "body", reportProgress = false, options) {
1177
- const groupId = requestParameters?.groupId;
1178
- if (groupId === null || groupId === undefined) {
1179
- throw new Error("Required parameter groupId was null or undefined when calling groupsGetGroup.");
1180
- }
1075
+ routingsSearchRoutingLayers(requestParameters, observe = "body", reportProgress = false, options) {
1076
+ const parentRoutingLayerId = requestParameters?.parentRoutingLayerId;
1077
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
1078
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, parentRoutingLayerId, "ParentRoutingLayerId");
1181
1079
  let localVarHeaders = this.defaultHeaders;
1182
1080
  // authentication (Bearer) required
1183
1081
  localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
@@ -1204,10 +1102,11 @@ class GroupsApiService extends BaseService {
1204
1102
  responseType_ = "blob";
1205
1103
  }
1206
1104
  }
1207
- let localVarPath = `/api/groups/${this.configuration.encodeParam({ name: "groupId", value: groupId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
1105
+ let localVarPath = `/api/bomb/routings`;
1208
1106
  const { basePath, withCredentials } = this.configuration;
1209
1107
  return this.httpClient.request("get", `${basePath}${localVarPath}`, {
1210
1108
  context: localVarHttpContext,
1109
+ params: localVarQueryParameters,
1211
1110
  responseType: responseType_,
1212
1111
  ...(withCredentials ? { withCredentials } : {}),
1213
1112
  headers: localVarHeaders,
@@ -1216,11 +1115,12 @@ class GroupsApiService extends BaseService {
1216
1115
  reportProgress: reportProgress,
1217
1116
  });
1218
1117
  }
1219
- groupsRemoveGroup(requestParameters, observe = "body", reportProgress = false, options) {
1220
- const groupId = requestParameters?.groupId;
1221
- if (groupId === null || groupId === undefined) {
1222
- throw new Error("Required parameter groupId was null or undefined when calling groupsRemoveGroup.");
1118
+ routingsUpdateRoutingLayer(requestParameters, observe = "body", reportProgress = false, options) {
1119
+ const routingLayerId = requestParameters?.routingLayerId;
1120
+ if (routingLayerId === null || routingLayerId === undefined) {
1121
+ throw new Error("Required parameter routingLayerId was null or undefined when calling routingsUpdateRoutingLayer.");
1223
1122
  }
1123
+ const saveRoutingLayerDto = requestParameters?.saveRoutingLayerDto;
1224
1124
  let localVarHeaders = this.defaultHeaders;
1225
1125
  // authentication (Bearer) required
1226
1126
  localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
@@ -1230,6 +1130,17 @@ class GroupsApiService extends BaseService {
1230
1130
  }
1231
1131
  const localVarHttpContext = options?.context ?? new HttpContext();
1232
1132
  const localVarTransferCache = options?.transferCache ?? true;
1133
+ // to determine the Content-Type header
1134
+ const consumes = [
1135
+ "application/json-patch+json",
1136
+ "application/json",
1137
+ "text/json",
1138
+ "application/*+json",
1139
+ ];
1140
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1141
+ if (httpContentTypeSelected !== undefined) {
1142
+ localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
1143
+ }
1233
1144
  let responseType_ = "json";
1234
1145
  if (localVarHttpHeaderAcceptSelected) {
1235
1146
  if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
@@ -1242,10 +1153,11 @@ class GroupsApiService extends BaseService {
1242
1153
  responseType_ = "blob";
1243
1154
  }
1244
1155
  }
1245
- let localVarPath = `/api/groups/${this.configuration.encodeParam({ name: "groupId", value: groupId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
1156
+ let localVarPath = `/api/bomb/routings/${this.configuration.encodeParam({ name: "routingLayerId", value: routingLayerId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
1246
1157
  const { basePath, withCredentials } = this.configuration;
1247
- return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
1158
+ return this.httpClient.request("put", `${basePath}${localVarPath}`, {
1248
1159
  context: localVarHttpContext,
1160
+ body: saveRoutingLayerDto,
1249
1161
  responseType: responseType_,
1250
1162
  ...(withCredentials ? { withCredentials } : {}),
1251
1163
  headers: localVarHeaders,
@@ -1254,49 +1166,41 @@ class GroupsApiService extends BaseService {
1254
1166
  reportProgress: reportProgress,
1255
1167
  });
1256
1168
  }
1257
- groupsSearchGroups(requestParameters, observe = "body", reportProgress = false, options) {
1258
- const fields = requestParameters?.fields;
1259
- if (fields === null || fields === undefined) {
1260
- throw new Error("Required parameter fields was null or undefined when calling groupsSearchGroups.");
1261
- }
1262
- const pageIndexById = requestParameters?.pageIndexById;
1263
- const name = requestParameters?.name;
1264
- const type = requestParameters?.type;
1265
- const isActive = requestParameters?.isActive;
1266
- const erpCustomerName = requestParameters?.erpCustomerName;
1267
- const customerType = requestParameters?.customerType;
1268
- const repTerritoryName = requestParameters?.repTerritoryName;
1269
- const permissionBundleName = requestParameters?.permissionBundleName;
1270
- const erpCustomerNumber = requestParameters?.erpCustomerNumber;
1271
- const note = requestParameters?.note;
1272
- const createdAt = requestParameters?.createdAt;
1273
- const connectedGroup = requestParameters?.connectedGroup;
1274
- const text = requestParameters?.text;
1275
- const orderBy = requestParameters?.orderBy;
1276
- const page = requestParameters?.page;
1277
- const pageSize = requestParameters?.pageSize;
1278
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
1279
- if (fields) {
1280
- fields.forEach((element) => {
1281
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, "Fields");
1282
- });
1283
- }
1284
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageIndexById, "PageIndexById");
1285
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, name, "Name");
1286
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, type, "Type");
1287
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, isActive, "IsActive");
1288
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, erpCustomerName, "ErpCustomerName");
1289
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, customerType, "CustomerType");
1290
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, repTerritoryName, "RepTerritoryName");
1291
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, permissionBundleName, "PermissionBundleName");
1292
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, erpCustomerNumber, "ErpCustomerNumber");
1293
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, note, "Note");
1294
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, createdAt, "CreatedAt");
1295
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, connectedGroup, "ConnectedGroup");
1296
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, text, "Text");
1297
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
1298
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
1299
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageSize, "PageSize");
1169
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: BombRoutingsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1170
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: BombRoutingsApiService, providedIn: "root" });
1171
+ }
1172
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: BombRoutingsApiService, decorators: [{
1173
+ type: Injectable,
1174
+ args: [{
1175
+ providedIn: "root",
1176
+ }]
1177
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
1178
+ type: Optional
1179
+ }, {
1180
+ type: Inject,
1181
+ args: [BASE_PATH]
1182
+ }] }, { type: Configuration, decorators: [{
1183
+ type: Optional
1184
+ }] }] });
1185
+
1186
+ /**
1187
+ * RenewAire CORES API
1188
+ *
1189
+ * Contact: renewaire@saritasa.com
1190
+ *
1191
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1192
+ * https://openapi-generator.tech
1193
+ * Do not edit the class manually.
1194
+ */
1195
+ /* tslint:disable:no-unused-variable member-ordering */
1196
+ class BombSchematicsApiService extends BaseService {
1197
+ httpClient;
1198
+ constructor(httpClient, basePath, configuration) {
1199
+ super(basePath, configuration);
1200
+ this.httpClient = httpClient;
1201
+ }
1202
+ schematicsCreateSchematicLayer(requestParameters, observe = "body", reportProgress = false, options) {
1203
+ const createSchematicLayerCommand = requestParameters?.createSchematicLayerCommand;
1300
1204
  let localVarHeaders = this.defaultHeaders;
1301
1205
  // authentication (Bearer) required
1302
1206
  localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
@@ -1311,49 +1215,6 @@ class GroupsApiService extends BaseService {
1311
1215
  }
1312
1216
  const localVarHttpContext = options?.context ?? new HttpContext();
1313
1217
  const localVarTransferCache = options?.transferCache ?? true;
1314
- let responseType_ = "json";
1315
- if (localVarHttpHeaderAcceptSelected) {
1316
- if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
1317
- responseType_ = "text";
1318
- }
1319
- else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1320
- responseType_ = "json";
1321
- }
1322
- else {
1323
- responseType_ = "blob";
1324
- }
1325
- }
1326
- let localVarPath = `/api/groups`;
1327
- const { basePath, withCredentials } = this.configuration;
1328
- return this.httpClient.request("get", `${basePath}${localVarPath}`, {
1329
- context: localVarHttpContext,
1330
- params: localVarQueryParameters,
1331
- responseType: responseType_,
1332
- ...(withCredentials ? { withCredentials } : {}),
1333
- headers: localVarHeaders,
1334
- observe: observe,
1335
- transferCache: localVarTransferCache,
1336
- reportProgress: reportProgress,
1337
- });
1338
- }
1339
- groupsUpdateGroup(requestParameters, observe = "body", reportProgress = false, options) {
1340
- const groupId = requestParameters?.groupId;
1341
- if (groupId === null || groupId === undefined) {
1342
- throw new Error("Required parameter groupId was null or undefined when calling groupsUpdateGroup.");
1343
- }
1344
- const isActive = requestParameters?.isActive;
1345
- const saveGroupDto = requestParameters?.saveGroupDto;
1346
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
1347
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, isActive, "isActive");
1348
- let localVarHeaders = this.defaultHeaders;
1349
- // authentication (Bearer) required
1350
- localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
1351
- const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
1352
- if (localVarHttpHeaderAcceptSelected !== undefined) {
1353
- localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
1354
- }
1355
- const localVarHttpContext = options?.context ?? new HttpContext();
1356
- const localVarTransferCache = options?.transferCache ?? true;
1357
1218
  // to determine the Content-Type header
1358
1219
  const consumes = [
1359
1220
  "application/json-patch+json",
@@ -1377,12 +1238,11 @@ class GroupsApiService extends BaseService {
1377
1238
  responseType_ = "blob";
1378
1239
  }
1379
1240
  }
1380
- let localVarPath = `/api/groups/${this.configuration.encodeParam({ name: "groupId", value: groupId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
1241
+ let localVarPath = `/api/bomb/schematics`;
1381
1242
  const { basePath, withCredentials } = this.configuration;
1382
- return this.httpClient.request("put", `${basePath}${localVarPath}`, {
1243
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
1383
1244
  context: localVarHttpContext,
1384
- body: saveGroupDto,
1385
- params: localVarQueryParameters,
1245
+ body: createSchematicLayerCommand,
1386
1246
  responseType: responseType_,
1387
1247
  ...(withCredentials ? { withCredentials } : {}),
1388
1248
  headers: localVarHeaders,
@@ -1391,10 +1251,10 @@ class GroupsApiService extends BaseService {
1391
1251
  reportProgress: reportProgress,
1392
1252
  });
1393
1253
  }
1394
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: GroupsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1395
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: GroupsApiService, providedIn: "root" });
1254
+ 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
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: BombSchematicsApiService, providedIn: "root" });
1396
1256
  }
1397
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: GroupsApiService, decorators: [{
1257
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: BombSchematicsApiService, decorators: [{
1398
1258
  type: Injectable,
1399
1259
  args: [{
1400
1260
  providedIn: "root",
@@ -1418,14 +1278,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
1418
1278
  * Do not edit the class manually.
1419
1279
  */
1420
1280
  /* tslint:disable:no-unused-variable member-ordering */
1421
- class KnownContactsApiService extends BaseService {
1281
+ class ControllerProgramsApiService extends BaseService {
1422
1282
  httpClient;
1423
1283
  constructor(httpClient, basePath, configuration) {
1424
1284
  super(basePath, configuration);
1425
1285
  this.httpClient = httpClient;
1426
1286
  }
1427
- knownContactsCreateKnowContact(requestParameters, observe = "body", reportProgress = false, options) {
1428
- const saveKnownContactDto = requestParameters?.saveKnownContactDto;
1287
+ controllerProgramsCreateControllerProgram(requestParameters, observe = "body", reportProgress = false, options) {
1288
+ const programType = requestParameters?.programType;
1289
+ if (programType === null || programType === undefined) {
1290
+ throw new Error("Required parameter programType was null or undefined when calling controllerProgramsCreateControllerProgram.");
1291
+ }
1292
+ const saveControllerProgramDto = requestParameters?.saveControllerProgramDto;
1429
1293
  let localVarHeaders = this.defaultHeaders;
1430
1294
  // authentication (Bearer) required
1431
1295
  localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
@@ -1463,11 +1327,11 @@ class KnownContactsApiService extends BaseService {
1463
1327
  responseType_ = "blob";
1464
1328
  }
1465
1329
  }
1466
- let localVarPath = `/api/known-contacts`;
1330
+ let localVarPath = `/api/controller-programs/${this.configuration.encodeParam({ name: "programType", value: programType, in: "path", style: "simple", explode: false, dataType: "ControllerProgramType", dataFormat: undefined })}`;
1467
1331
  const { basePath, withCredentials } = this.configuration;
1468
1332
  return this.httpClient.request("post", `${basePath}${localVarPath}`, {
1469
1333
  context: localVarHttpContext,
1470
- body: saveKnownContactDto,
1334
+ body: saveControllerProgramDto,
1471
1335
  responseType: responseType_,
1472
1336
  ...(withCredentials ? { withCredentials } : {}),
1473
1337
  headers: localVarHeaders,
@@ -1476,10 +1340,10 @@ class KnownContactsApiService extends BaseService {
1476
1340
  reportProgress: reportProgress,
1477
1341
  });
1478
1342
  }
1479
- knownContactsRemoveKnownContact(requestParameters, observe = "body", reportProgress = false, options) {
1480
- const knownContactId = requestParameters?.knownContactId;
1481
- if (knownContactId === null || knownContactId === undefined) {
1482
- throw new Error("Required parameter knownContactId was null or undefined when calling knownContactsRemoveKnownContact.");
1343
+ controllerProgramsCreateFileDownloadUrl(requestParameters, observe = "body", reportProgress = false, options) {
1344
+ const controllerProgramId = requestParameters?.controllerProgramId;
1345
+ if (controllerProgramId === null || controllerProgramId === undefined) {
1346
+ throw new Error("Required parameter controllerProgramId was null or undefined when calling controllerProgramsCreateFileDownloadUrl.");
1483
1347
  }
1484
1348
  let localVarHeaders = this.defaultHeaders;
1485
1349
  // authentication (Bearer) required
@@ -1502,9 +1366,9 @@ class KnownContactsApiService extends BaseService {
1502
1366
  responseType_ = "blob";
1503
1367
  }
1504
1368
  }
1505
- let localVarPath = `/api/known-contacts/${this.configuration.encodeParam({ name: "knownContactId", value: knownContactId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
1369
+ let localVarPath = `/api/controller-programs/${this.configuration.encodeParam({ name: "controllerProgramId", value: controllerProgramId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/file-download-url`;
1506
1370
  const { basePath, withCredentials } = this.configuration;
1507
- return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
1371
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
1508
1372
  context: localVarHttpContext,
1509
1373
  responseType: responseType_,
1510
1374
  ...(withCredentials ? { withCredentials } : {}),
@@ -1514,29 +1378,11 @@ class KnownContactsApiService extends BaseService {
1514
1378
  reportProgress: reportProgress,
1515
1379
  });
1516
1380
  }
1517
- knownContactsSearchKnownContacts(requestParameters, observe = "body", reportProgress = false, options) {
1518
- const fields = requestParameters?.fields;
1519
- if (fields === null || fields === undefined) {
1520
- throw new Error("Required parameter fields was null or undefined when calling knownContactsSearchKnownContacts.");
1521
- }
1522
- const pageIndexById = requestParameters?.pageIndexById;
1523
- const company = requestParameters?.company;
1524
- const group = requestParameters?.group;
1525
- const orderBy = requestParameters?.orderBy;
1526
- const page = requestParameters?.page;
1527
- const pageSize = requestParameters?.pageSize;
1528
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
1529
- if (fields) {
1530
- fields.forEach((element) => {
1531
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, "Fields");
1532
- });
1381
+ controllerProgramsGetControllerProgram(requestParameters, observe = "body", reportProgress = false, options) {
1382
+ const controllerProgramId = requestParameters?.controllerProgramId;
1383
+ if (controllerProgramId === null || controllerProgramId === undefined) {
1384
+ throw new Error("Required parameter controllerProgramId was null or undefined when calling controllerProgramsGetControllerProgram.");
1533
1385
  }
1534
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageIndexById, "PageIndexById");
1535
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, company, "Company");
1536
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, group, "Group");
1537
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
1538
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
1539
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageSize, "PageSize");
1540
1386
  let localVarHeaders = this.defaultHeaders;
1541
1387
  // authentication (Bearer) required
1542
1388
  localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
@@ -1563,11 +1409,10 @@ class KnownContactsApiService extends BaseService {
1563
1409
  responseType_ = "blob";
1564
1410
  }
1565
1411
  }
1566
- let localVarPath = `/api/known-contacts`;
1412
+ let localVarPath = `/api/controller-programs/${this.configuration.encodeParam({ name: "controllerProgramId", value: controllerProgramId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
1567
1413
  const { basePath, withCredentials } = this.configuration;
1568
1414
  return this.httpClient.request("get", `${basePath}${localVarPath}`, {
1569
1415
  context: localVarHttpContext,
1570
- params: localVarQueryParameters,
1571
1416
  responseType: responseType_,
1572
1417
  ...(withCredentials ? { withCredentials } : {}),
1573
1418
  headers: localVarHeaders,
@@ -1576,32 +1421,45 @@ class KnownContactsApiService extends BaseService {
1576
1421
  reportProgress: reportProgress,
1577
1422
  });
1578
1423
  }
1579
- knownContactsUpdateKnownContact(requestParameters, observe = "body", reportProgress = false, options) {
1580
- const knownContactId = requestParameters?.knownContactId;
1581
- if (knownContactId === null || knownContactId === undefined) {
1582
- throw new Error("Required parameter knownContactId was null or undefined when calling knownContactsUpdateKnownContact.");
1424
+ controllerProgramsSearchControllerPrograms(requestParameters, observe = "body", reportProgress = false, options) {
1425
+ const programType = requestParameters?.programType;
1426
+ if (programType === null || programType === undefined) {
1427
+ throw new Error("Required parameter programType was null or undefined when calling controllerProgramsSearchControllerPrograms.");
1583
1428
  }
1584
- const saveKnownContactDto = requestParameters?.saveKnownContactDto;
1429
+ const versionNumber = requestParameters?.versionNumber;
1430
+ const releaseType = requestParameters?.releaseType;
1431
+ const createdAt = requestParameters?.createdAt;
1432
+ const createdBy = requestParameters?.createdBy;
1433
+ const notes = requestParameters?.notes;
1434
+ const fileName = requestParameters?.fileName;
1435
+ const orderBy = requestParameters?.orderBy;
1436
+ const page = requestParameters?.page;
1437
+ const pageSize = requestParameters?.pageSize;
1438
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
1439
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, programType, "ProgramType");
1440
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, versionNumber, "VersionNumber");
1441
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, releaseType, "ReleaseType");
1442
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, createdAt, "CreatedAt");
1443
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, createdBy, "CreatedBy");
1444
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, notes, "Notes");
1445
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, fileName, "FileName");
1446
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
1447
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
1448
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageSize, "PageSize");
1585
1449
  let localVarHeaders = this.defaultHeaders;
1586
1450
  // authentication (Bearer) required
1587
1451
  localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
1588
- const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
1452
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
1453
+ this.configuration.selectHeaderAccept([
1454
+ "text/plain",
1455
+ "application/json",
1456
+ "text/json",
1457
+ ]);
1589
1458
  if (localVarHttpHeaderAcceptSelected !== undefined) {
1590
1459
  localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
1591
1460
  }
1592
1461
  const localVarHttpContext = options?.context ?? new HttpContext();
1593
1462
  const localVarTransferCache = options?.transferCache ?? true;
1594
- // to determine the Content-Type header
1595
- const consumes = [
1596
- "application/json-patch+json",
1597
- "application/json",
1598
- "text/json",
1599
- "application/*+json",
1600
- ];
1601
- const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1602
- if (httpContentTypeSelected !== undefined) {
1603
- localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
1604
- }
1605
1463
  let responseType_ = "json";
1606
1464
  if (localVarHttpHeaderAcceptSelected) {
1607
1465
  if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
@@ -1614,11 +1472,11 @@ class KnownContactsApiService extends BaseService {
1614
1472
  responseType_ = "blob";
1615
1473
  }
1616
1474
  }
1617
- let localVarPath = `/api/known-contacts/${this.configuration.encodeParam({ name: "knownContactId", value: knownContactId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
1475
+ let localVarPath = `/api/controller-programs`;
1618
1476
  const { basePath, withCredentials } = this.configuration;
1619
- return this.httpClient.request("put", `${basePath}${localVarPath}`, {
1477
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
1620
1478
  context: localVarHttpContext,
1621
- body: saveKnownContactDto,
1479
+ params: localVarQueryParameters,
1622
1480
  responseType: responseType_,
1623
1481
  ...(withCredentials ? { withCredentials } : {}),
1624
1482
  headers: localVarHeaders,
@@ -1627,10 +1485,65 @@ class KnownContactsApiService extends BaseService {
1627
1485
  reportProgress: reportProgress,
1628
1486
  });
1629
1487
  }
1630
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: KnownContactsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1631
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: KnownContactsApiService, providedIn: "root" });
1488
+ controllerProgramsUpdateControllerProgram(requestParameters, observe = "body", reportProgress = false, options) {
1489
+ const controllerProgramId = requestParameters?.controllerProgramId;
1490
+ if (controllerProgramId === null || controllerProgramId === undefined) {
1491
+ throw new Error("Required parameter controllerProgramId was null or undefined when calling controllerProgramsUpdateControllerProgram.");
1492
+ }
1493
+ const isActive = requestParameters?.isActive;
1494
+ const saveControllerProgramDto = requestParameters?.saveControllerProgramDto;
1495
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
1496
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, isActive, "isActive");
1497
+ let localVarHeaders = this.defaultHeaders;
1498
+ // authentication (Bearer) required
1499
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
1500
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
1501
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1502
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
1503
+ }
1504
+ const localVarHttpContext = options?.context ?? new HttpContext();
1505
+ const localVarTransferCache = options?.transferCache ?? true;
1506
+ // to determine the Content-Type header
1507
+ const consumes = [
1508
+ "application/json-patch+json",
1509
+ "application/json",
1510
+ "text/json",
1511
+ "application/*+json",
1512
+ ];
1513
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1514
+ if (httpContentTypeSelected !== undefined) {
1515
+ localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
1516
+ }
1517
+ let responseType_ = "json";
1518
+ if (localVarHttpHeaderAcceptSelected) {
1519
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
1520
+ responseType_ = "text";
1521
+ }
1522
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1523
+ responseType_ = "json";
1524
+ }
1525
+ else {
1526
+ responseType_ = "blob";
1527
+ }
1528
+ }
1529
+ let localVarPath = `/api/controller-programs/${this.configuration.encodeParam({ name: "controllerProgramId", value: controllerProgramId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
1530
+ const { basePath, withCredentials } = this.configuration;
1531
+ return this.httpClient.request("put", `${basePath}${localVarPath}`, {
1532
+ context: localVarHttpContext,
1533
+ body: saveControllerProgramDto,
1534
+ params: localVarQueryParameters,
1535
+ responseType: responseType_,
1536
+ ...(withCredentials ? { withCredentials } : {}),
1537
+ headers: localVarHeaders,
1538
+ observe: observe,
1539
+ transferCache: localVarTransferCache,
1540
+ reportProgress: reportProgress,
1541
+ });
1542
+ }
1543
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ControllerProgramsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1544
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ControllerProgramsApiService, providedIn: "root" });
1632
1545
  }
1633
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: KnownContactsApiService, decorators: [{
1546
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: ControllerProgramsApiService, decorators: [{
1634
1547
  type: Injectable,
1635
1548
  args: [{
1636
1549
  providedIn: "root",
@@ -1654,17 +1567,142 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
1654
1567
  * Do not edit the class manually.
1655
1568
  */
1656
1569
  /* tslint:disable:no-unused-variable member-ordering */
1657
- class LeadTimesApiService extends BaseService {
1570
+ class FeedbacksApiService extends BaseService {
1658
1571
  httpClient;
1659
1572
  constructor(httpClient, basePath, configuration) {
1660
1573
  super(basePath, configuration);
1661
1574
  this.httpClient = httpClient;
1662
1575
  }
1663
- leadTimesCreateLeadTimesTable(requestParameters, observe = "body", reportProgress = false, options) {
1664
- const leadTimesTableType = requestParameters?.leadTimesTableType;
1665
- const saveLeadTimesTableDto = requestParameters?.saveLeadTimesTableDto;
1666
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
1667
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, leadTimesTableType, "leadTimesTableType");
1576
+ feedbacksCreateFeedback(requestParameters, observe = "body", reportProgress = false, options) {
1577
+ const feedbackType = requestParameters?.feedbackType;
1578
+ if (feedbackType === null || feedbackType === undefined) {
1579
+ throw new Error("Required parameter feedbackType was null or undefined when calling feedbacksCreateFeedback.");
1580
+ }
1581
+ const message = requestParameters?.message;
1582
+ if (message === null || message === undefined) {
1583
+ throw new Error("Required parameter message was null or undefined when calling feedbacksCreateFeedback.");
1584
+ }
1585
+ const frontendUrl = requestParameters?.frontendUrl;
1586
+ if (frontendUrl === null || frontendUrl === undefined) {
1587
+ throw new Error("Required parameter frontendUrl was null or undefined when calling feedbacksCreateFeedback.");
1588
+ }
1589
+ const attachments = requestParameters?.attachments;
1590
+ if (attachments === null || attachments === undefined) {
1591
+ throw new Error("Required parameter attachments was null or undefined when calling feedbacksCreateFeedback.");
1592
+ }
1593
+ let localVarHeaders = this.defaultHeaders;
1594
+ // authentication (Bearer) required
1595
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
1596
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
1597
+ this.configuration.selectHeaderAccept([
1598
+ "text/plain",
1599
+ "application/json",
1600
+ "text/json",
1601
+ ]);
1602
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1603
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
1604
+ }
1605
+ const localVarHttpContext = options?.context ?? new HttpContext();
1606
+ const localVarTransferCache = options?.transferCache ?? true;
1607
+ // to determine the Content-Type header
1608
+ const consumes = ["multipart/form-data"];
1609
+ const canConsumeForm = this.canConsumeForm(consumes);
1610
+ let localVarFormParams;
1611
+ let localVarUseForm = false;
1612
+ let localVarConvertFormParamsToString = false;
1613
+ // use FormData to transmit files using content-type "multipart/form-data"
1614
+ // see https://stackoverflow.com/questions/4007969/application-x-www-form-urlencoded-or-multipart-form-data
1615
+ localVarUseForm = canConsumeForm;
1616
+ if (localVarUseForm) {
1617
+ localVarFormParams = new FormData();
1618
+ }
1619
+ else {
1620
+ localVarFormParams = new HttpParams({ encoder: this.encoder });
1621
+ }
1622
+ if (feedbackType !== undefined) {
1623
+ localVarFormParams =
1624
+ localVarFormParams.append("FeedbackType", feedbackType) ||
1625
+ localVarFormParams;
1626
+ }
1627
+ if (message !== undefined) {
1628
+ localVarFormParams =
1629
+ localVarFormParams.append("Message", message) ||
1630
+ localVarFormParams;
1631
+ }
1632
+ if (frontendUrl !== undefined) {
1633
+ localVarFormParams =
1634
+ localVarFormParams.append("FrontendUrl", frontendUrl) ||
1635
+ localVarFormParams;
1636
+ }
1637
+ if (attachments) {
1638
+ attachments.forEach((element) => {
1639
+ localVarFormParams =
1640
+ localVarFormParams.append("Attachments", element) ||
1641
+ localVarFormParams;
1642
+ });
1643
+ }
1644
+ let responseType_ = "json";
1645
+ if (localVarHttpHeaderAcceptSelected) {
1646
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
1647
+ responseType_ = "text";
1648
+ }
1649
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1650
+ responseType_ = "json";
1651
+ }
1652
+ else {
1653
+ responseType_ = "blob";
1654
+ }
1655
+ }
1656
+ let localVarPath = `/api/feedbacks`;
1657
+ const { basePath, withCredentials } = this.configuration;
1658
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
1659
+ context: localVarHttpContext,
1660
+ body: localVarConvertFormParamsToString
1661
+ ? localVarFormParams.toString()
1662
+ : localVarFormParams,
1663
+ responseType: responseType_,
1664
+ ...(withCredentials ? { withCredentials } : {}),
1665
+ headers: localVarHeaders,
1666
+ observe: observe,
1667
+ transferCache: localVarTransferCache,
1668
+ reportProgress: reportProgress,
1669
+ });
1670
+ }
1671
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: FeedbacksApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1672
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: FeedbacksApiService, providedIn: "root" });
1673
+ }
1674
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: FeedbacksApiService, decorators: [{
1675
+ type: Injectable,
1676
+ args: [{
1677
+ providedIn: "root",
1678
+ }]
1679
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
1680
+ type: Optional
1681
+ }, {
1682
+ type: Inject,
1683
+ args: [BASE_PATH]
1684
+ }] }, { type: Configuration, decorators: [{
1685
+ type: Optional
1686
+ }] }] });
1687
+
1688
+ /**
1689
+ * RenewAire CORES API
1690
+ *
1691
+ * Contact: renewaire@saritasa.com
1692
+ *
1693
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1694
+ * https://openapi-generator.tech
1695
+ * Do not edit the class manually.
1696
+ */
1697
+ /* tslint:disable:no-unused-variable member-ordering */
1698
+ class GroupsApiService extends BaseService {
1699
+ httpClient;
1700
+ constructor(httpClient, basePath, configuration) {
1701
+ super(basePath, configuration);
1702
+ this.httpClient = httpClient;
1703
+ }
1704
+ groupsCreateGroup(requestParameters, observe = "body", reportProgress = false, options) {
1705
+ const saveGroupDto = requestParameters?.saveGroupDto;
1668
1706
  let localVarHeaders = this.defaultHeaders;
1669
1707
  // authentication (Bearer) required
1670
1708
  localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
@@ -1702,12 +1740,11 @@ class LeadTimesApiService extends BaseService {
1702
1740
  responseType_ = "blob";
1703
1741
  }
1704
1742
  }
1705
- let localVarPath = `/api/lead-times`;
1743
+ let localVarPath = `/api/groups`;
1706
1744
  const { basePath, withCredentials } = this.configuration;
1707
1745
  return this.httpClient.request("post", `${basePath}${localVarPath}`, {
1708
1746
  context: localVarHttpContext,
1709
- body: saveLeadTimesTableDto,
1710
- params: localVarQueryParameters,
1747
+ body: saveGroupDto,
1711
1748
  responseType: responseType_,
1712
1749
  ...(withCredentials ? { withCredentials } : {}),
1713
1750
  headers: localVarHeaders,
@@ -1716,8 +1753,14 @@ class LeadTimesApiService extends BaseService {
1716
1753
  reportProgress: reportProgress,
1717
1754
  });
1718
1755
  }
1719
- leadTimesGetLeadTimTables(observe = "body", reportProgress = false, options) {
1756
+ groupsGetGroup(requestParameters, observe = "body", reportProgress = false, options) {
1757
+ const groupId = requestParameters?.groupId;
1758
+ if (groupId === null || groupId === undefined) {
1759
+ throw new Error("Required parameter groupId was null or undefined when calling groupsGetGroup.");
1760
+ }
1720
1761
  let localVarHeaders = this.defaultHeaders;
1762
+ // authentication (Bearer) required
1763
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
1721
1764
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
1722
1765
  this.configuration.selectHeaderAccept([
1723
1766
  "text/plain",
@@ -1741,7 +1784,7 @@ class LeadTimesApiService extends BaseService {
1741
1784
  responseType_ = "blob";
1742
1785
  }
1743
1786
  }
1744
- let localVarPath = `/api/lead-times`;
1787
+ let localVarPath = `/api/groups/${this.configuration.encodeParam({ name: "groupId", value: groupId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
1745
1788
  const { basePath, withCredentials } = this.configuration;
1746
1789
  return this.httpClient.request("get", `${basePath}${localVarPath}`, {
1747
1790
  context: localVarHttpContext,
@@ -1753,12 +1796,11 @@ class LeadTimesApiService extends BaseService {
1753
1796
  reportProgress: reportProgress,
1754
1797
  });
1755
1798
  }
1756
- leadTimesUpdateLeadTimesTable(requestParameters, observe = "body", reportProgress = false, options) {
1757
- const leadTimesTableId = requestParameters?.leadTimesTableId;
1758
- if (leadTimesTableId === null || leadTimesTableId === undefined) {
1759
- throw new Error("Required parameter leadTimesTableId was null or undefined when calling leadTimesUpdateLeadTimesTable.");
1799
+ groupsRemoveGroup(requestParameters, observe = "body", reportProgress = false, options) {
1800
+ const groupId = requestParameters?.groupId;
1801
+ if (groupId === null || groupId === undefined) {
1802
+ throw new Error("Required parameter groupId was null or undefined when calling groupsRemoveGroup.");
1760
1803
  }
1761
- const saveLeadTimesTableDto = requestParameters?.saveLeadTimesTableDto;
1762
1804
  let localVarHeaders = this.defaultHeaders;
1763
1805
  // authentication (Bearer) required
1764
1806
  localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
@@ -1768,17 +1810,6 @@ class LeadTimesApiService extends BaseService {
1768
1810
  }
1769
1811
  const localVarHttpContext = options?.context ?? new HttpContext();
1770
1812
  const localVarTransferCache = options?.transferCache ?? true;
1771
- // to determine the Content-Type header
1772
- const consumes = [
1773
- "application/json-patch+json",
1774
- "application/json",
1775
- "text/json",
1776
- "application/*+json",
1777
- ];
1778
- const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1779
- if (httpContentTypeSelected !== undefined) {
1780
- localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
1781
- }
1782
1813
  let responseType_ = "json";
1783
1814
  if (localVarHttpHeaderAcceptSelected) {
1784
1815
  if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
@@ -1791,11 +1822,10 @@ class LeadTimesApiService extends BaseService {
1791
1822
  responseType_ = "blob";
1792
1823
  }
1793
1824
  }
1794
- let localVarPath = `/api/lead-times/${this.configuration.encodeParam({ name: "leadTimesTableId", value: leadTimesTableId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
1825
+ let localVarPath = `/api/groups/${this.configuration.encodeParam({ name: "groupId", value: groupId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
1795
1826
  const { basePath, withCredentials } = this.configuration;
1796
- return this.httpClient.request("put", `${basePath}${localVarPath}`, {
1827
+ return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
1797
1828
  context: localVarHttpContext,
1798
- body: saveLeadTimesTableDto,
1799
1829
  responseType: responseType_,
1800
1830
  ...(withCredentials ? { withCredentials } : {}),
1801
1831
  headers: localVarHeaders,
@@ -1804,50 +1834,117 @@ class LeadTimesApiService extends BaseService {
1804
1834
  reportProgress: reportProgress,
1805
1835
  });
1806
1836
  }
1807
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LeadTimesApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1808
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LeadTimesApiService, providedIn: "root" });
1809
- }
1810
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LeadTimesApiService, decorators: [{
1811
- type: Injectable,
1812
- args: [{
1813
- providedIn: "root",
1814
- }]
1815
- }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
1816
- type: Optional
1817
- }, {
1818
- type: Inject,
1819
- args: [BASE_PATH]
1820
- }] }, { type: Configuration, decorators: [{
1821
- type: Optional
1822
- }] }] });
1823
-
1824
- /**
1825
- * RenewAire CORES API
1826
- *
1827
- * Contact: renewaire@saritasa.com
1828
- *
1829
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1830
- * https://openapi-generator.tech
1831
- * Do not edit the class manually.
1832
- */
1833
- /* tslint:disable:no-unused-variable member-ordering */
1834
- class MaintenanceApiService extends BaseService {
1835
- httpClient;
1836
- constructor(httpClient, basePath, configuration) {
1837
- super(basePath, configuration);
1838
- this.httpClient = httpClient;
1837
+ groupsSearchGroups(requestParameters, observe = "body", reportProgress = false, options) {
1838
+ const fields = requestParameters?.fields;
1839
+ if (fields === null || fields === undefined) {
1840
+ throw new Error("Required parameter fields was null or undefined when calling groupsSearchGroups.");
1841
+ }
1842
+ const pageIndexById = requestParameters?.pageIndexById;
1843
+ const name = requestParameters?.name;
1844
+ const type = requestParameters?.type;
1845
+ const isActive = requestParameters?.isActive;
1846
+ const erpCustomerName = requestParameters?.erpCustomerName;
1847
+ const customerType = requestParameters?.customerType;
1848
+ const repTerritoryName = requestParameters?.repTerritoryName;
1849
+ const permissionBundleName = requestParameters?.permissionBundleName;
1850
+ const erpCustomerNumber = requestParameters?.erpCustomerNumber;
1851
+ const note = requestParameters?.note;
1852
+ const createdAt = requestParameters?.createdAt;
1853
+ const connectedGroup = requestParameters?.connectedGroup;
1854
+ const text = requestParameters?.text;
1855
+ const orderBy = requestParameters?.orderBy;
1856
+ const page = requestParameters?.page;
1857
+ const pageSize = requestParameters?.pageSize;
1858
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
1859
+ if (fields) {
1860
+ fields.forEach((element) => {
1861
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, "Fields");
1862
+ });
1863
+ }
1864
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageIndexById, "PageIndexById");
1865
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, name, "Name");
1866
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, type, "Type");
1867
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, isActive, "IsActive");
1868
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, erpCustomerName, "ErpCustomerName");
1869
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, customerType, "CustomerType");
1870
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, repTerritoryName, "RepTerritoryName");
1871
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, permissionBundleName, "PermissionBundleName");
1872
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, erpCustomerNumber, "ErpCustomerNumber");
1873
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, note, "Note");
1874
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, createdAt, "CreatedAt");
1875
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, connectedGroup, "ConnectedGroup");
1876
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, text, "Text");
1877
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
1878
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
1879
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageSize, "PageSize");
1880
+ let localVarHeaders = this.defaultHeaders;
1881
+ // authentication (Bearer) required
1882
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
1883
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
1884
+ this.configuration.selectHeaderAccept([
1885
+ "text/plain",
1886
+ "application/json",
1887
+ "text/json",
1888
+ ]);
1889
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1890
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
1891
+ }
1892
+ const localVarHttpContext = options?.context ?? new HttpContext();
1893
+ const localVarTransferCache = options?.transferCache ?? true;
1894
+ let responseType_ = "json";
1895
+ if (localVarHttpHeaderAcceptSelected) {
1896
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
1897
+ responseType_ = "text";
1898
+ }
1899
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1900
+ responseType_ = "json";
1901
+ }
1902
+ else {
1903
+ responseType_ = "blob";
1904
+ }
1905
+ }
1906
+ let localVarPath = `/api/groups`;
1907
+ const { basePath, withCredentials } = this.configuration;
1908
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
1909
+ context: localVarHttpContext,
1910
+ params: localVarQueryParameters,
1911
+ responseType: responseType_,
1912
+ ...(withCredentials ? { withCredentials } : {}),
1913
+ headers: localVarHeaders,
1914
+ observe: observe,
1915
+ transferCache: localVarTransferCache,
1916
+ reportProgress: reportProgress,
1917
+ });
1839
1918
  }
1840
- maintenanceSetMaintenanceMode(requestParameters, observe = "body", reportProgress = false, options) {
1841
- const enabled = requestParameters?.enabled;
1919
+ groupsUpdateGroup(requestParameters, observe = "body", reportProgress = false, options) {
1920
+ const groupId = requestParameters?.groupId;
1921
+ if (groupId === null || groupId === undefined) {
1922
+ throw new Error("Required parameter groupId was null or undefined when calling groupsUpdateGroup.");
1923
+ }
1924
+ const isActive = requestParameters?.isActive;
1925
+ const saveGroupDto = requestParameters?.saveGroupDto;
1842
1926
  let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
1843
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, enabled, "enabled");
1927
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, isActive, "isActive");
1844
1928
  let localVarHeaders = this.defaultHeaders;
1929
+ // authentication (Bearer) required
1930
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
1845
1931
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
1846
1932
  if (localVarHttpHeaderAcceptSelected !== undefined) {
1847
1933
  localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
1848
1934
  }
1849
1935
  const localVarHttpContext = options?.context ?? new HttpContext();
1850
1936
  const localVarTransferCache = options?.transferCache ?? true;
1937
+ // to determine the Content-Type header
1938
+ const consumes = [
1939
+ "application/json-patch+json",
1940
+ "application/json",
1941
+ "text/json",
1942
+ "application/*+json",
1943
+ ];
1944
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1945
+ if (httpContentTypeSelected !== undefined) {
1946
+ localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
1947
+ }
1851
1948
  let responseType_ = "json";
1852
1949
  if (localVarHttpHeaderAcceptSelected) {
1853
1950
  if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
@@ -1860,10 +1957,11 @@ class MaintenanceApiService extends BaseService {
1860
1957
  responseType_ = "blob";
1861
1958
  }
1862
1959
  }
1863
- let localVarPath = `/api/maintenance`;
1960
+ let localVarPath = `/api/groups/${this.configuration.encodeParam({ name: "groupId", value: groupId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
1864
1961
  const { basePath, withCredentials } = this.configuration;
1865
1962
  return this.httpClient.request("put", `${basePath}${localVarPath}`, {
1866
1963
  context: localVarHttpContext,
1964
+ body: saveGroupDto,
1867
1965
  params: localVarQueryParameters,
1868
1966
  responseType: responseType_,
1869
1967
  ...(withCredentials ? { withCredentials } : {}),
@@ -1873,10 +1971,10 @@ class MaintenanceApiService extends BaseService {
1873
1971
  reportProgress: reportProgress,
1874
1972
  });
1875
1973
  }
1876
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: MaintenanceApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1877
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: MaintenanceApiService, providedIn: "root" });
1974
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: GroupsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1975
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: GroupsApiService, providedIn: "root" });
1878
1976
  }
1879
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: MaintenanceApiService, decorators: [{
1977
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: GroupsApiService, decorators: [{
1880
1978
  type: Injectable,
1881
1979
  args: [{
1882
1980
  providedIn: "root",
@@ -1900,14 +1998,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
1900
1998
  * Do not edit the class manually.
1901
1999
  */
1902
2000
  /* tslint:disable:no-unused-variable member-ordering */
1903
- class MaterialsApiService extends BaseService {
2001
+ class KnownContactsApiService extends BaseService {
1904
2002
  httpClient;
1905
2003
  constructor(httpClient, basePath, configuration) {
1906
2004
  super(basePath, configuration);
1907
2005
  this.httpClient = httpClient;
1908
2006
  }
1909
- materialsCreateMaterialLayer(requestParameters, observe = "body", reportProgress = false, options) {
1910
- const createMaterialLayerCommand = requestParameters?.createMaterialLayerCommand;
2007
+ knownContactsCreateKnowContact(requestParameters, observe = "body", reportProgress = false, options) {
2008
+ const saveKnownContactDto = requestParameters?.saveKnownContactDto;
1911
2009
  let localVarHeaders = this.defaultHeaders;
1912
2010
  // authentication (Bearer) required
1913
2011
  localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
@@ -1945,11 +2043,11 @@ class MaterialsApiService extends BaseService {
1945
2043
  responseType_ = "blob";
1946
2044
  }
1947
2045
  }
1948
- let localVarPath = `/api/materials`;
2046
+ let localVarPath = `/api/known-contacts`;
1949
2047
  const { basePath, withCredentials } = this.configuration;
1950
2048
  return this.httpClient.request("post", `${basePath}${localVarPath}`, {
1951
2049
  context: localVarHttpContext,
1952
- body: createMaterialLayerCommand,
2050
+ body: saveKnownContactDto,
1953
2051
  responseType: responseType_,
1954
2052
  ...(withCredentials ? { withCredentials } : {}),
1955
2053
  headers: localVarHeaders,
@@ -1958,12 +2056,67 @@ class MaterialsApiService extends BaseService {
1958
2056
  reportProgress: reportProgress,
1959
2057
  });
1960
2058
  }
1961
- materialsDuplicateMaterialLayer(requestParameters, observe = "body", reportProgress = false, options) {
1962
- const materialLayerId = requestParameters?.materialLayerId;
1963
- if (materialLayerId === null || materialLayerId === undefined) {
1964
- throw new Error("Required parameter materialLayerId was null or undefined when calling materialsDuplicateMaterialLayer.");
2059
+ knownContactsRemoveKnownContact(requestParameters, observe = "body", reportProgress = false, options) {
2060
+ const knownContactId = requestParameters?.knownContactId;
2061
+ if (knownContactId === null || knownContactId === undefined) {
2062
+ throw new Error("Required parameter knownContactId was null or undefined when calling knownContactsRemoveKnownContact.");
1965
2063
  }
1966
- const duplicateMaterialLayerDto = requestParameters?.duplicateMaterialLayerDto;
2064
+ let localVarHeaders = this.defaultHeaders;
2065
+ // authentication (Bearer) required
2066
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
2067
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
2068
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2069
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
2070
+ }
2071
+ const localVarHttpContext = options?.context ?? new HttpContext();
2072
+ const localVarTransferCache = options?.transferCache ?? true;
2073
+ let responseType_ = "json";
2074
+ if (localVarHttpHeaderAcceptSelected) {
2075
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
2076
+ responseType_ = "text";
2077
+ }
2078
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2079
+ responseType_ = "json";
2080
+ }
2081
+ else {
2082
+ responseType_ = "blob";
2083
+ }
2084
+ }
2085
+ let localVarPath = `/api/known-contacts/${this.configuration.encodeParam({ name: "knownContactId", value: knownContactId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
2086
+ const { basePath, withCredentials } = this.configuration;
2087
+ return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
2088
+ context: localVarHttpContext,
2089
+ responseType: responseType_,
2090
+ ...(withCredentials ? { withCredentials } : {}),
2091
+ headers: localVarHeaders,
2092
+ observe: observe,
2093
+ transferCache: localVarTransferCache,
2094
+ reportProgress: reportProgress,
2095
+ });
2096
+ }
2097
+ knownContactsSearchKnownContacts(requestParameters, observe = "body", reportProgress = false, options) {
2098
+ const fields = requestParameters?.fields;
2099
+ if (fields === null || fields === undefined) {
2100
+ throw new Error("Required parameter fields was null or undefined when calling knownContactsSearchKnownContacts.");
2101
+ }
2102
+ const pageIndexById = requestParameters?.pageIndexById;
2103
+ const company = requestParameters?.company;
2104
+ const group = requestParameters?.group;
2105
+ const orderBy = requestParameters?.orderBy;
2106
+ const page = requestParameters?.page;
2107
+ const pageSize = requestParameters?.pageSize;
2108
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
2109
+ if (fields) {
2110
+ fields.forEach((element) => {
2111
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, element, "Fields");
2112
+ });
2113
+ }
2114
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageIndexById, "PageIndexById");
2115
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, company, "Company");
2116
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, group, "Group");
2117
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
2118
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
2119
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageSize, "PageSize");
1967
2120
  let localVarHeaders = this.defaultHeaders;
1968
2121
  // authentication (Bearer) required
1969
2122
  localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
@@ -1978,6 +2131,46 @@ class MaterialsApiService extends BaseService {
1978
2131
  }
1979
2132
  const localVarHttpContext = options?.context ?? new HttpContext();
1980
2133
  const localVarTransferCache = options?.transferCache ?? true;
2134
+ let responseType_ = "json";
2135
+ if (localVarHttpHeaderAcceptSelected) {
2136
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
2137
+ responseType_ = "text";
2138
+ }
2139
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2140
+ responseType_ = "json";
2141
+ }
2142
+ else {
2143
+ responseType_ = "blob";
2144
+ }
2145
+ }
2146
+ let localVarPath = `/api/known-contacts`;
2147
+ const { basePath, withCredentials } = this.configuration;
2148
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
2149
+ context: localVarHttpContext,
2150
+ params: localVarQueryParameters,
2151
+ responseType: responseType_,
2152
+ ...(withCredentials ? { withCredentials } : {}),
2153
+ headers: localVarHeaders,
2154
+ observe: observe,
2155
+ transferCache: localVarTransferCache,
2156
+ reportProgress: reportProgress,
2157
+ });
2158
+ }
2159
+ knownContactsUpdateKnownContact(requestParameters, observe = "body", reportProgress = false, options) {
2160
+ const knownContactId = requestParameters?.knownContactId;
2161
+ if (knownContactId === null || knownContactId === undefined) {
2162
+ throw new Error("Required parameter knownContactId was null or undefined when calling knownContactsUpdateKnownContact.");
2163
+ }
2164
+ const saveKnownContactDto = requestParameters?.saveKnownContactDto;
2165
+ let localVarHeaders = this.defaultHeaders;
2166
+ // authentication (Bearer) required
2167
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
2168
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
2169
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2170
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
2171
+ }
2172
+ const localVarHttpContext = options?.context ?? new HttpContext();
2173
+ const localVarTransferCache = options?.transferCache ?? true;
1981
2174
  // to determine the Content-Type header
1982
2175
  const consumes = [
1983
2176
  "application/json-patch+json",
@@ -2001,11 +2194,11 @@ class MaterialsApiService extends BaseService {
2001
2194
  responseType_ = "blob";
2002
2195
  }
2003
2196
  }
2004
- let localVarPath = `/api/materials/${this.configuration.encodeParam({ name: "materialLayerId", value: materialLayerId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}/duplicate`;
2197
+ let localVarPath = `/api/known-contacts/${this.configuration.encodeParam({ name: "knownContactId", value: knownContactId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
2005
2198
  const { basePath, withCredentials } = this.configuration;
2006
- return this.httpClient.request("post", `${basePath}${localVarPath}`, {
2199
+ return this.httpClient.request("put", `${basePath}${localVarPath}`, {
2007
2200
  context: localVarHttpContext,
2008
- body: duplicateMaterialLayerDto,
2201
+ body: saveKnownContactDto,
2009
2202
  responseType: responseType_,
2010
2203
  ...(withCredentials ? { withCredentials } : {}),
2011
2204
  headers: localVarHeaders,
@@ -2014,11 +2207,44 @@ class MaterialsApiService extends BaseService {
2014
2207
  reportProgress: reportProgress,
2015
2208
  });
2016
2209
  }
2017
- materialsGetMaterialLayer(requestParameters, observe = "body", reportProgress = false, options) {
2018
- const materialLayerId = requestParameters?.materialLayerId;
2019
- if (materialLayerId === null || materialLayerId === undefined) {
2020
- throw new Error("Required parameter materialLayerId was null or undefined when calling materialsGetMaterialLayer.");
2021
- }
2210
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: KnownContactsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2211
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: KnownContactsApiService, providedIn: "root" });
2212
+ }
2213
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: KnownContactsApiService, decorators: [{
2214
+ type: Injectable,
2215
+ args: [{
2216
+ providedIn: "root",
2217
+ }]
2218
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
2219
+ type: Optional
2220
+ }, {
2221
+ type: Inject,
2222
+ args: [BASE_PATH]
2223
+ }] }, { type: Configuration, decorators: [{
2224
+ type: Optional
2225
+ }] }] });
2226
+
2227
+ /**
2228
+ * RenewAire CORES API
2229
+ *
2230
+ * Contact: renewaire@saritasa.com
2231
+ *
2232
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2233
+ * https://openapi-generator.tech
2234
+ * Do not edit the class manually.
2235
+ */
2236
+ /* tslint:disable:no-unused-variable member-ordering */
2237
+ class LeadTimesApiService extends BaseService {
2238
+ httpClient;
2239
+ constructor(httpClient, basePath, configuration) {
2240
+ super(basePath, configuration);
2241
+ this.httpClient = httpClient;
2242
+ }
2243
+ leadTimesCreateLeadTimesTable(requestParameters, observe = "body", reportProgress = false, options) {
2244
+ const leadTimesTableType = requestParameters?.leadTimesTableType;
2245
+ const saveLeadTimesTableDto = requestParameters?.saveLeadTimesTableDto;
2246
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
2247
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, leadTimesTableType, "leadTimesTableType");
2022
2248
  let localVarHeaders = this.defaultHeaders;
2023
2249
  // authentication (Bearer) required
2024
2250
  localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
@@ -2033,6 +2259,17 @@ class MaterialsApiService extends BaseService {
2033
2259
  }
2034
2260
  const localVarHttpContext = options?.context ?? new HttpContext();
2035
2261
  const localVarTransferCache = options?.transferCache ?? true;
2262
+ // to determine the Content-Type header
2263
+ const consumes = [
2264
+ "application/json-patch+json",
2265
+ "application/json",
2266
+ "text/json",
2267
+ "application/*+json",
2268
+ ];
2269
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
2270
+ if (httpContentTypeSelected !== undefined) {
2271
+ localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
2272
+ }
2036
2273
  let responseType_ = "json";
2037
2274
  if (localVarHttpHeaderAcceptSelected) {
2038
2275
  if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
@@ -2045,10 +2282,12 @@ class MaterialsApiService extends BaseService {
2045
2282
  responseType_ = "blob";
2046
2283
  }
2047
2284
  }
2048
- let localVarPath = `/api/materials/${this.configuration.encodeParam({ name: "materialLayerId", value: materialLayerId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
2285
+ let localVarPath = `/api/lead-times`;
2049
2286
  const { basePath, withCredentials } = this.configuration;
2050
- return this.httpClient.request("get", `${basePath}${localVarPath}`, {
2287
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
2051
2288
  context: localVarHttpContext,
2289
+ body: saveLeadTimesTableDto,
2290
+ params: localVarQueryParameters,
2052
2291
  responseType: responseType_,
2053
2292
  ...(withCredentials ? { withCredentials } : {}),
2054
2293
  headers: localVarHeaders,
@@ -2057,15 +2296,14 @@ class MaterialsApiService extends BaseService {
2057
2296
  reportProgress: reportProgress,
2058
2297
  });
2059
2298
  }
2060
- materialsRemoveGroup(requestParameters, observe = "body", reportProgress = false, options) {
2061
- const materialLayerId = requestParameters?.materialLayerId;
2062
- if (materialLayerId === null || materialLayerId === undefined) {
2063
- throw new Error("Required parameter materialLayerId was null or undefined when calling materialsRemoveGroup.");
2064
- }
2299
+ leadTimesGetLeadTimTables(observe = "body", reportProgress = false, options) {
2065
2300
  let localVarHeaders = this.defaultHeaders;
2066
- // authentication (Bearer) required
2067
- localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
2068
- const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
2301
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
2302
+ this.configuration.selectHeaderAccept([
2303
+ "text/plain",
2304
+ "application/json",
2305
+ "text/json",
2306
+ ]);
2069
2307
  if (localVarHttpHeaderAcceptSelected !== undefined) {
2070
2308
  localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
2071
2309
  }
@@ -2083,9 +2321,9 @@ class MaterialsApiService extends BaseService {
2083
2321
  responseType_ = "blob";
2084
2322
  }
2085
2323
  }
2086
- let localVarPath = `/api/materials/${this.configuration.encodeParam({ name: "materialLayerId", value: materialLayerId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
2324
+ let localVarPath = `/api/lead-times`;
2087
2325
  const { basePath, withCredentials } = this.configuration;
2088
- return this.httpClient.request("delete", `${basePath}${localVarPath}`, {
2326
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
2089
2327
  context: localVarHttpContext,
2090
2328
  responseType: responseType_,
2091
2329
  ...(withCredentials ? { withCredentials } : {}),
@@ -2095,24 +2333,32 @@ class MaterialsApiService extends BaseService {
2095
2333
  reportProgress: reportProgress,
2096
2334
  });
2097
2335
  }
2098
- materialsSearchMaterialLayers(requestParameters, observe = "body", reportProgress = false, options) {
2099
- const parentMaterialLayerId = requestParameters?.parentMaterialLayerId;
2100
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
2101
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, parentMaterialLayerId, "ParentMaterialLayerId");
2336
+ leadTimesUpdateLeadTimesTable(requestParameters, observe = "body", reportProgress = false, options) {
2337
+ const leadTimesTableId = requestParameters?.leadTimesTableId;
2338
+ if (leadTimesTableId === null || leadTimesTableId === undefined) {
2339
+ throw new Error("Required parameter leadTimesTableId was null or undefined when calling leadTimesUpdateLeadTimesTable.");
2340
+ }
2341
+ const saveLeadTimesTableDto = requestParameters?.saveLeadTimesTableDto;
2102
2342
  let localVarHeaders = this.defaultHeaders;
2103
2343
  // authentication (Bearer) required
2104
2344
  localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
2105
- const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
2106
- this.configuration.selectHeaderAccept([
2107
- "text/plain",
2108
- "application/json",
2109
- "text/json",
2110
- ]);
2345
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
2111
2346
  if (localVarHttpHeaderAcceptSelected !== undefined) {
2112
2347
  localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
2113
2348
  }
2114
- const localVarHttpContext = options?.context ?? new HttpContext();
2115
- const localVarTransferCache = options?.transferCache ?? true;
2349
+ const localVarHttpContext = options?.context ?? new HttpContext();
2350
+ const localVarTransferCache = options?.transferCache ?? true;
2351
+ // to determine the Content-Type header
2352
+ const consumes = [
2353
+ "application/json-patch+json",
2354
+ "application/json",
2355
+ "text/json",
2356
+ "application/*+json",
2357
+ ];
2358
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
2359
+ if (httpContentTypeSelected !== undefined) {
2360
+ localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
2361
+ }
2116
2362
  let responseType_ = "json";
2117
2363
  if (localVarHttpHeaderAcceptSelected) {
2118
2364
  if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
@@ -2125,11 +2371,11 @@ class MaterialsApiService extends BaseService {
2125
2371
  responseType_ = "blob";
2126
2372
  }
2127
2373
  }
2128
- let localVarPath = `/api/materials`;
2374
+ let localVarPath = `/api/lead-times/${this.configuration.encodeParam({ name: "leadTimesTableId", value: leadTimesTableId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
2129
2375
  const { basePath, withCredentials } = this.configuration;
2130
- return this.httpClient.request("get", `${basePath}${localVarPath}`, {
2376
+ return this.httpClient.request("put", `${basePath}${localVarPath}`, {
2131
2377
  context: localVarHttpContext,
2132
- params: localVarQueryParameters,
2378
+ body: saveLeadTimesTableDto,
2133
2379
  responseType: responseType_,
2134
2380
  ...(withCredentials ? { withCredentials } : {}),
2135
2381
  headers: localVarHeaders,
@@ -2138,32 +2384,50 @@ class MaterialsApiService extends BaseService {
2138
2384
  reportProgress: reportProgress,
2139
2385
  });
2140
2386
  }
2141
- materialsUpdateMaterialLayer(requestParameters, observe = "body", reportProgress = false, options) {
2142
- const materialLayerId = requestParameters?.materialLayerId;
2143
- if (materialLayerId === null || materialLayerId === undefined) {
2144
- throw new Error("Required parameter materialLayerId was null or undefined when calling materialsUpdateMaterialLayer.");
2145
- }
2146
- const saveMaterialLayerDto = requestParameters?.saveMaterialLayerDto;
2387
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LeadTimesApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2388
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LeadTimesApiService, providedIn: "root" });
2389
+ }
2390
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: LeadTimesApiService, decorators: [{
2391
+ type: Injectable,
2392
+ args: [{
2393
+ providedIn: "root",
2394
+ }]
2395
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
2396
+ type: Optional
2397
+ }, {
2398
+ type: Inject,
2399
+ args: [BASE_PATH]
2400
+ }] }, { type: Configuration, decorators: [{
2401
+ type: Optional
2402
+ }] }] });
2403
+
2404
+ /**
2405
+ * RenewAire CORES API
2406
+ *
2407
+ * Contact: renewaire@saritasa.com
2408
+ *
2409
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2410
+ * https://openapi-generator.tech
2411
+ * Do not edit the class manually.
2412
+ */
2413
+ /* tslint:disable:no-unused-variable member-ordering */
2414
+ class MaintenanceApiService extends BaseService {
2415
+ httpClient;
2416
+ constructor(httpClient, basePath, configuration) {
2417
+ super(basePath, configuration);
2418
+ this.httpClient = httpClient;
2419
+ }
2420
+ maintenanceSetMaintenanceMode(requestParameters, observe = "body", reportProgress = false, options) {
2421
+ const enabled = requestParameters?.enabled;
2422
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
2423
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, enabled, "enabled");
2147
2424
  let localVarHeaders = this.defaultHeaders;
2148
- // authentication (Bearer) required
2149
- localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
2150
2425
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
2151
2426
  if (localVarHttpHeaderAcceptSelected !== undefined) {
2152
2427
  localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
2153
2428
  }
2154
2429
  const localVarHttpContext = options?.context ?? new HttpContext();
2155
2430
  const localVarTransferCache = options?.transferCache ?? true;
2156
- // to determine the Content-Type header
2157
- const consumes = [
2158
- "application/json-patch+json",
2159
- "application/json",
2160
- "text/json",
2161
- "application/*+json",
2162
- ];
2163
- const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
2164
- if (httpContentTypeSelected !== undefined) {
2165
- localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
2166
- }
2167
2431
  let responseType_ = "json";
2168
2432
  if (localVarHttpHeaderAcceptSelected) {
2169
2433
  if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
@@ -2176,11 +2440,11 @@ class MaterialsApiService extends BaseService {
2176
2440
  responseType_ = "blob";
2177
2441
  }
2178
2442
  }
2179
- let localVarPath = `/api/materials/${this.configuration.encodeParam({ name: "materialLayerId", value: materialLayerId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
2443
+ let localVarPath = `/api/maintenance`;
2180
2444
  const { basePath, withCredentials } = this.configuration;
2181
2445
  return this.httpClient.request("put", `${basePath}${localVarPath}`, {
2182
2446
  context: localVarHttpContext,
2183
- body: saveMaterialLayerDto,
2447
+ params: localVarQueryParameters,
2184
2448
  responseType: responseType_,
2185
2449
  ...(withCredentials ? { withCredentials } : {}),
2186
2450
  headers: localVarHeaders,
@@ -2189,10 +2453,10 @@ class MaterialsApiService extends BaseService {
2189
2453
  reportProgress: reportProgress,
2190
2454
  });
2191
2455
  }
2192
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: MaterialsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2193
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: MaterialsApiService, providedIn: "root" });
2456
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: MaintenanceApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2457
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: MaintenanceApiService, providedIn: "root" });
2194
2458
  }
2195
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: MaterialsApiService, decorators: [{
2459
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: MaintenanceApiService, decorators: [{
2196
2460
  type: Injectable,
2197
2461
  args: [{
2198
2462
  providedIn: "root",
@@ -6734,185 +6998,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
6734
6998
  type: Optional
6735
6999
  }] }] });
6736
7000
 
6737
- /**
6738
- * RenewAire CORES API
6739
- *
6740
- * Contact: renewaire@saritasa.com
6741
- *
6742
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6743
- * https://openapi-generator.tech
6744
- * Do not edit the class manually.
6745
- */
6746
- /* tslint:disable:no-unused-variable member-ordering */
6747
- class RoutingsApiService extends BaseService {
6748
- httpClient;
6749
- constructor(httpClient, basePath, configuration) {
6750
- super(basePath, configuration);
6751
- this.httpClient = httpClient;
6752
- }
6753
- routingsCreateRoutingLayer(requestParameters, observe = "body", reportProgress = false, options) {
6754
- const createRoutingLayerCommand = requestParameters?.createRoutingLayerCommand;
6755
- let localVarHeaders = this.defaultHeaders;
6756
- // authentication (Bearer) required
6757
- localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
6758
- const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
6759
- this.configuration.selectHeaderAccept([
6760
- "text/plain",
6761
- "application/json",
6762
- "text/json",
6763
- ]);
6764
- if (localVarHttpHeaderAcceptSelected !== undefined) {
6765
- localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
6766
- }
6767
- const localVarHttpContext = options?.context ?? new HttpContext();
6768
- const localVarTransferCache = options?.transferCache ?? true;
6769
- // to determine the Content-Type header
6770
- const consumes = [
6771
- "application/json-patch+json",
6772
- "application/json",
6773
- "text/json",
6774
- "application/*+json",
6775
- ];
6776
- const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
6777
- if (httpContentTypeSelected !== undefined) {
6778
- localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
6779
- }
6780
- let responseType_ = "json";
6781
- if (localVarHttpHeaderAcceptSelected) {
6782
- if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
6783
- responseType_ = "text";
6784
- }
6785
- else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
6786
- responseType_ = "json";
6787
- }
6788
- else {
6789
- responseType_ = "blob";
6790
- }
6791
- }
6792
- let localVarPath = `/api/routings`;
6793
- const { basePath, withCredentials } = this.configuration;
6794
- return this.httpClient.request("post", `${basePath}${localVarPath}`, {
6795
- context: localVarHttpContext,
6796
- body: createRoutingLayerCommand,
6797
- responseType: responseType_,
6798
- ...(withCredentials ? { withCredentials } : {}),
6799
- headers: localVarHeaders,
6800
- observe: observe,
6801
- transferCache: localVarTransferCache,
6802
- reportProgress: reportProgress,
6803
- });
6804
- }
6805
- routingsSearchRoutingLayers(requestParameters, observe = "body", reportProgress = false, options) {
6806
- const parentRoutingLayerId = requestParameters?.parentRoutingLayerId;
6807
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
6808
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, parentRoutingLayerId, "ParentRoutingLayerId");
6809
- let localVarHeaders = this.defaultHeaders;
6810
- // authentication (Bearer) required
6811
- localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
6812
- const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
6813
- this.configuration.selectHeaderAccept([
6814
- "text/plain",
6815
- "application/json",
6816
- "text/json",
6817
- ]);
6818
- if (localVarHttpHeaderAcceptSelected !== undefined) {
6819
- localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
6820
- }
6821
- const localVarHttpContext = options?.context ?? new HttpContext();
6822
- const localVarTransferCache = options?.transferCache ?? true;
6823
- let responseType_ = "json";
6824
- if (localVarHttpHeaderAcceptSelected) {
6825
- if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
6826
- responseType_ = "text";
6827
- }
6828
- else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
6829
- responseType_ = "json";
6830
- }
6831
- else {
6832
- responseType_ = "blob";
6833
- }
6834
- }
6835
- let localVarPath = `/api/routings`;
6836
- const { basePath, withCredentials } = this.configuration;
6837
- return this.httpClient.request("get", `${basePath}${localVarPath}`, {
6838
- context: localVarHttpContext,
6839
- params: localVarQueryParameters,
6840
- responseType: responseType_,
6841
- ...(withCredentials ? { withCredentials } : {}),
6842
- headers: localVarHeaders,
6843
- observe: observe,
6844
- transferCache: localVarTransferCache,
6845
- reportProgress: reportProgress,
6846
- });
6847
- }
6848
- routingsUpdateRoutingLayer(requestParameters, observe = "body", reportProgress = false, options) {
6849
- const routingLayerId = requestParameters?.routingLayerId;
6850
- if (routingLayerId === null || routingLayerId === undefined) {
6851
- throw new Error("Required parameter routingLayerId was null or undefined when calling routingsUpdateRoutingLayer.");
6852
- }
6853
- const saveRoutingLayerDto = requestParameters?.saveRoutingLayerDto;
6854
- let localVarHeaders = this.defaultHeaders;
6855
- // authentication (Bearer) required
6856
- localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
6857
- const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
6858
- if (localVarHttpHeaderAcceptSelected !== undefined) {
6859
- localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
6860
- }
6861
- const localVarHttpContext = options?.context ?? new HttpContext();
6862
- const localVarTransferCache = options?.transferCache ?? true;
6863
- // to determine the Content-Type header
6864
- const consumes = [
6865
- "application/json-patch+json",
6866
- "application/json",
6867
- "text/json",
6868
- "application/*+json",
6869
- ];
6870
- const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
6871
- if (httpContentTypeSelected !== undefined) {
6872
- localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
6873
- }
6874
- let responseType_ = "json";
6875
- if (localVarHttpHeaderAcceptSelected) {
6876
- if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
6877
- responseType_ = "text";
6878
- }
6879
- else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
6880
- responseType_ = "json";
6881
- }
6882
- else {
6883
- responseType_ = "blob";
6884
- }
6885
- }
6886
- let localVarPath = `/api/routings/${this.configuration.encodeParam({ name: "routingLayerId", value: routingLayerId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64" })}`;
6887
- const { basePath, withCredentials } = this.configuration;
6888
- return this.httpClient.request("put", `${basePath}${localVarPath}`, {
6889
- context: localVarHttpContext,
6890
- body: saveRoutingLayerDto,
6891
- responseType: responseType_,
6892
- ...(withCredentials ? { withCredentials } : {}),
6893
- headers: localVarHeaders,
6894
- observe: observe,
6895
- transferCache: localVarTransferCache,
6896
- reportProgress: reportProgress,
6897
- });
6898
- }
6899
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: RoutingsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
6900
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: RoutingsApiService, providedIn: "root" });
6901
- }
6902
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: RoutingsApiService, decorators: [{
6903
- type: Injectable,
6904
- args: [{
6905
- providedIn: "root",
6906
- }]
6907
- }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
6908
- type: Optional
6909
- }, {
6910
- type: Inject,
6911
- args: [BASE_PATH]
6912
- }] }, { type: Configuration, decorators: [{
6913
- type: Optional
6914
- }] }] });
6915
-
6916
7001
  /**
6917
7002
  * RenewAire CORES API
6918
7003
  *
@@ -9836,13 +9921,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
9836
9921
  const APIS = [
9837
9922
  AuditLogsApiService,
9838
9923
  AuthApiService,
9924
+ BombMaterialsApiService,
9925
+ BombRoutingsApiService,
9926
+ BombSchematicsApiService,
9839
9927
  ControllerProgramsApiService,
9840
9928
  FeedbacksApiService,
9841
9929
  GroupsApiService,
9842
9930
  KnownContactsApiService,
9843
9931
  LeadTimesApiService,
9844
9932
  MaintenanceApiService,
9845
- MaterialsApiService,
9846
9933
  PermissionBundlesApiService,
9847
9934
  PermissionsApiService,
9848
9935
  ProjectBidStatusesApiService,
@@ -9859,7 +9946,6 @@ const APIS = [
9859
9946
  RepSalesReportsApiService,
9860
9947
  RepTerritoriesApiService,
9861
9948
  RepTerritoryLocationsApiService,
9862
- RoutingsApiService,
9863
9949
  RsdRegionsApiService,
9864
9950
  S3ApiService,
9865
9951
  StaticFilesApiService,
@@ -10185,6 +10271,16 @@ var CoolingDesignBasis;
10185
10271
  * Do not edit the class manually.
10186
10272
  */
10187
10273
 
10274
+ /**
10275
+ * RenewAire CORES API
10276
+ *
10277
+ * Contact: renewaire@saritasa.com
10278
+ *
10279
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10280
+ * https://openapi-generator.tech
10281
+ * Do not edit the class manually.
10282
+ */
10283
+
10188
10284
  /**
10189
10285
  * RenewAire CORES API
10190
10286
  *
@@ -10536,7 +10632,7 @@ var OperationType;
10536
10632
  * Do not edit the class manually.
10537
10633
  */
10538
10634
  /**
10539
- * Group/user permission.<br />Permission<br />0 = SystemAdmin<br />1 = ManageUsers<br />2 = ViewAllProjectsInTheSystem<br />3 = EditAllProjectsInTheSystem<br />4 = ViewOtherGroupMembersProjects<br />5 = EditEachOthersGroupMembersProjects<br />8 = ViewQsApplications<br />9 = ViewPricing<br />10 = ConfigurationAccessDoas<br />11 = ConfigurationAccessCommercial<br />12 = ConfigurationAccessResidential<br />13 = ConfigurationAccessApplied<br />14 = ConfigurationAccessElectricHeaters<br />15 = ConfigurationAccessGasFurnaces<br />16 = ConfigurationAccessCoilModules<br />17 = ConfigurationAccessAccessories<br />18 = ConfigurationAccessServiceParts<br />19 = ConfigurationAccessSpUnits<br />20 = ConfigurationAccessJciResUnits<br />21 = ConfigurationAccessJciComUnits<br />22 = ConfigurationAccessTraneUnits<br />23 = EditSystemGroups<br />24 = ViewAllHiddenFieldsExtraData<br />25 = ViewExtraCalculationData<br />26 = EditCertainReadonlyFields<br />27 = ViewRenewAireOnlyData<br />28 = ViewAhriCertificationItemsAndData<br />33 = AccessSiteInMaintenanceMode<br />34 = ViewSoldToSelectionAndInformation<br />35 = Rep<br />36 = RequestAccountUpgrade<br />37 = EditUserAccountEmailAddress<br />38 = ManageAllUserGroups<br />39 = ManageRsdRegions<br />40 = ViewRsdRegions<br />41 = ManageRepTerritories<br />42 = ViewRepTerritories<br />43 = ViewRelatedRepTerritories<br />44 = ManageRepContacts<br />45 = ViewRepContacts<br />46 = ManageStateProvinces<br />47 = ViewStateProvinces<br />48 = ManageGroups<br />49 = ViewAllGroups<br />50 = ViewRelatedGroups<br />51 = ViewAllUsers<br />52 = ViewRelatedUsers<br />53 = ViewRenewAireLeadTimesData<br />54 = ViewSpLeadTimesData<br />55 = ViewRepReports<br />57 = AccessPartnerPortal<br />58 = AccessExchangerPerformanceApp<br />59 = ViewDefrost<br />60 = ViewAshraeOptions<br />61 = ViewRolesTable<br />62 = ViewPermissionBundles<br />63 = EditUsers<br />64 = BombMaterialsAdmin<br />65 = BombRoutingAdmin<br />66 = BombSchematicsAdmin<br />67 = BombValidationsAdmin<br />100 = SubmitOrder<br />101 = ImportOrdersToErp<br />104 = ViewDiscountWorkflows<br />105 = AddUnrestrictedDiscountsToProjects<br />106 = AddLimitedDiscountsToProjects<br />107 = ApproveUnrestrictedDiscountsInProjects<br />108 = ApproveLimitedDiscountsInProjects<br />109 = SubmitQsApplication<br />110 = QsBonus<br />111 = QsDiscount<br />113 = ApproveQsApplications<br />114 = MakeObsoleteLineItemsValid<br />115 = GenerateQuotes<br />116 = ViewAllProjectDownloadHistory<br />117 = ViewEnergyAnalysis<br />118 = ViewExtraQuoteOptions<br />119 = ViewShipToSelectionAndInformation<br />120 = ViewProjectRevisions<br />121 = AddProjectRevisions<br />122 = ViewLinkedProjects<br />123 = AddLinkedProjects<br />124 = TakeOverEditingFromOtherUsers<br />125 = AccessProjectSalesChannelNotes
10635
+ * Group/user permission.<br />Permission<br />0 = SystemAdmin<br />1 = ManageUsers<br />2 = ViewAllProjectsInTheSystem<br />3 = EditAllProjectsInTheSystem<br />4 = ViewOtherGroupMembersProjects<br />5 = EditEachOthersGroupMembersProjects<br />8 = ViewQsApplications<br />9 = ViewPricing<br />10 = ConfigurationAccessDoas<br />11 = ConfigurationAccessCommercial<br />12 = ConfigurationAccessResidential<br />13 = ConfigurationAccessApplied<br />14 = ConfigurationAccessElectricHeaters<br />15 = ConfigurationAccessGasFurnaces<br />16 = ConfigurationAccessCoilModules<br />17 = ConfigurationAccessAccessories<br />18 = ConfigurationAccessServiceParts<br />19 = ConfigurationAccessSpUnits<br />20 = ConfigurationAccessJciResUnits<br />21 = ConfigurationAccessJciComUnits<br />22 = ConfigurationAccessTraneUnits<br />23 = EditSystemGroups<br />24 = ViewAllHiddenFieldsExtraData<br />25 = ViewExtraCalculationData<br />26 = EditCertainReadonlyFields<br />27 = ViewRenewAireOnlyData<br />28 = ViewAhriCertificationItemsAndData<br />33 = AccessSiteInMaintenanceMode<br />34 = ViewSoldToSelectionAndInformation<br />35 = Rep<br />36 = RequestAccountUpgrade<br />37 = EditUserAccountEmailAddress<br />39 = ManageRsdRegions<br />40 = ViewRsdRegions<br />41 = ManageRepTerritories<br />42 = ViewRepTerritories<br />43 = ViewRelatedRepTerritories<br />44 = ManageRepContacts<br />45 = ViewRepContacts<br />46 = ManageStateProvinces<br />47 = ViewStateProvinces<br />48 = ManageGroups<br />49 = ViewAllGroups<br />50 = ViewRelatedGroups<br />51 = ViewAllUsers<br />52 = ViewRelatedUsers<br />53 = ViewRenewAireLeadTimesData<br />54 = ViewSpLeadTimesData<br />55 = ViewRepReports<br />57 = AccessPartnerPortal<br />58 = AccessExchangerPerformanceApp<br />59 = ViewDefrost<br />60 = ViewAshraeOptions<br />61 = ViewRolesTable<br />62 = ViewPermissionBundles<br />63 = EditUsers<br />64 = BombMaterialsAdmin<br />65 = BombRoutingAdmin<br />66 = BombSchematicsAdmin<br />67 = BombValidationsAdmin<br />100 = SubmitOrder<br />101 = ImportOrdersToErp<br />104 = ViewDiscountWorkflows<br />105 = AddUnrestrictedDiscountsToProjects<br />106 = AddLimitedDiscountsToProjects<br />107 = ApproveUnrestrictedDiscountsInProjects<br />108 = ApproveLimitedDiscountsInProjects<br />109 = SubmitQsApplication<br />110 = QsBonus<br />111 = QsDiscount<br />113 = ApproveQsApplications<br />114 = MakeObsoleteLineItemsValid<br />115 = GenerateQuotes<br />116 = ViewAllProjectDownloadHistory<br />117 = ViewEnergyAnalysis<br />118 = ViewExtraQuoteOptions<br />119 = ViewShipToSelectionAndInformation<br />120 = ViewProjectRevisions<br />121 = AddProjectRevisions<br />122 = ViewLinkedProjects<br />123 = AddLinkedProjects<br />124 = TakeOverEditingFromOtherUsers<br />125 = AccessProjectSalesChannelNotes
10540
10636
  */
10541
10637
  var Permission;
10542
10638
  (function (Permission) {
@@ -10572,7 +10668,6 @@ var Permission;
10572
10668
  Permission["Rep"] = "Rep";
10573
10669
  Permission["RequestAccountUpgrade"] = "RequestAccountUpgrade";
10574
10670
  Permission["EditUserAccountEmailAddress"] = "EditUserAccountEmailAddress";
10575
- Permission["ManageAllUserGroups"] = "ManageAllUserGroups";
10576
10671
  Permission["ManageRsdRegions"] = "ManageRsdRegions";
10577
10672
  Permission["ViewRsdRegions"] = "ViewRsdRegions";
10578
10673
  Permission["ManageRepTerritories"] = "ManageRepTerritories";
@@ -11315,5 +11410,5 @@ function provideApi(configOrBasePath) {
11315
11410
  * Generated bundle index. Do not edit.
11316
11411
  */
11317
11412
 
11318
- export { APIS, AddressCountry, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, BuildingCategory, BuildingType, COLLECTION_FORMATS, Configuration, ConstructionOrderType, ControllerProgramReleaseType, ControllerProgramType, ControllerProgramsApiService, CoolingDesignBasis, DesignWeatherMode, FeedbackType, FeedbacksApiService, FileType, GroupCustomerType, GroupType, GroupsApiService, KnownContactsApiService, Language, LeadTimeType, LeadTimesApiService, MaintenanceApiService, MaterialsApiService, OperationType, Permission, PermissionBundlesApiService, PermissionsApiService, ProjectAccessLevel, ProjectBidStatusType, ProjectBidStatusesApiService, ProjectLinksApiService, ProjectLogType, ProjectNoteType, ProjectNotesApiService, ProjectRevisionsApiService, ProjectSharingAccessLevel, ProjectSharingApiService, ProjectShippingApiService, ProjectSoldToApiService, ProjectStatus, ProjectStatusesApiService, ProjectsApiService, QualifiedSpecificationStatus, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepSalesReportsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RoutingsApiService, RsdRegionsApiService, S3ApiService, StaticFilesApiService, UnitSystem, UserStatus, UserTablesApiService, UsersApiService, UsersManagementApiService, provideApi };
11413
+ export { APIS, AddressCountry, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, BombMaterialsApiService, BombRoutingsApiService, BombSchematicsApiService, BuildingCategory, BuildingType, COLLECTION_FORMATS, Configuration, ConstructionOrderType, ControllerProgramReleaseType, ControllerProgramType, ControllerProgramsApiService, CoolingDesignBasis, DesignWeatherMode, FeedbackType, FeedbacksApiService, FileType, GroupCustomerType, GroupType, GroupsApiService, KnownContactsApiService, Language, LeadTimeType, LeadTimesApiService, MaintenanceApiService, OperationType, Permission, PermissionBundlesApiService, PermissionsApiService, ProjectAccessLevel, ProjectBidStatusType, ProjectBidStatusesApiService, ProjectLinksApiService, ProjectLogType, ProjectNoteType, ProjectNotesApiService, ProjectRevisionsApiService, ProjectSharingAccessLevel, ProjectSharingApiService, ProjectShippingApiService, ProjectSoldToApiService, ProjectStatus, ProjectStatusesApiService, ProjectsApiService, QualifiedSpecificationStatus, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepSalesReportsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, S3ApiService, StaticFilesApiService, UnitSystem, UserStatus, UserTablesApiService, UsersApiService, UsersManagementApiService, provideApi };
11319
11414
  //# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map