@saritasa/renewaire-frontend-sdk 0.63.0 → 0.64.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
- # @@saritasa/renewaire-frontend-sdk@0.63.0
1
+ # @@saritasa/renewaire-frontend-sdk@0.64.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.63.0 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.64.0 --save
5
5
  ```
@@ -650,57 +650,6 @@ class ControllerProgramsApiService extends BaseService {
650
650
  reportProgress: reportProgress,
651
651
  });
652
652
  }
653
- controllerProgramsCreateFileUploadUrl(requestParameters, observe = "body", reportProgress = false, options) {
654
- const createUploadUrlCommand = requestParameters?.createUploadUrlCommand;
655
- let localVarHeaders = this.defaultHeaders;
656
- // authentication (Bearer) required
657
- localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
658
- const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
659
- this.configuration.selectHeaderAccept([
660
- "text/plain",
661
- "application/json",
662
- "text/json",
663
- ]);
664
- if (localVarHttpHeaderAcceptSelected !== undefined) {
665
- localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
666
- }
667
- const localVarHttpContext = options?.context ?? new HttpContext();
668
- const localVarTransferCache = options?.transferCache ?? true;
669
- // to determine the Content-Type header
670
- const consumes = [
671
- "application/json",
672
- "text/json",
673
- "application/*+json",
674
- ];
675
- const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
676
- if (httpContentTypeSelected !== undefined) {
677
- localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
678
- }
679
- let responseType_ = "json";
680
- if (localVarHttpHeaderAcceptSelected) {
681
- if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
682
- responseType_ = "text";
683
- }
684
- else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
685
- responseType_ = "json";
686
- }
687
- else {
688
- responseType_ = "blob";
689
- }
690
- }
691
- let localVarPath = `/api/controller-programs/files/upload-url`;
692
- const { basePath, withCredentials } = this.configuration;
693
- return this.httpClient.request("post", `${basePath}${localVarPath}`, {
694
- context: localVarHttpContext,
695
- body: createUploadUrlCommand,
696
- responseType: responseType_,
697
- ...(withCredentials ? { withCredentials } : {}),
698
- headers: localVarHeaders,
699
- observe: observe,
700
- transferCache: localVarTransferCache,
701
- reportProgress: reportProgress,
702
- });
703
- }
704
653
  controllerProgramsGetControllerProgram(requestParameters, observe = "body", reportProgress = false, options) {
705
654
  const controllerProgramId = requestParameters?.controllerProgramId;
706
655
  if (controllerProgramId === null || controllerProgramId === undefined) {
@@ -3646,57 +3595,6 @@ class RsdRegionsApiService extends BaseService {
3646
3595
  reportProgress: reportProgress,
3647
3596
  });
3648
3597
  }
3649
- rsdRegionsCreateDocumentUploadUrl(requestParameters, observe = "body", reportProgress = false, options) {
3650
- const createUploadUrlCommand = requestParameters?.createUploadUrlCommand;
3651
- let localVarHeaders = this.defaultHeaders;
3652
- // authentication (Bearer) required
3653
- localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
3654
- const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
3655
- this.configuration.selectHeaderAccept([
3656
- "text/plain",
3657
- "application/json",
3658
- "text/json",
3659
- ]);
3660
- if (localVarHttpHeaderAcceptSelected !== undefined) {
3661
- localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
3662
- }
3663
- const localVarHttpContext = options?.context ?? new HttpContext();
3664
- const localVarTransferCache = options?.transferCache ?? true;
3665
- // to determine the Content-Type header
3666
- const consumes = [
3667
- "application/json",
3668
- "text/json",
3669
- "application/*+json",
3670
- ];
3671
- const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
3672
- if (httpContentTypeSelected !== undefined) {
3673
- localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
3674
- }
3675
- let responseType_ = "json";
3676
- if (localVarHttpHeaderAcceptSelected) {
3677
- if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
3678
- responseType_ = "text";
3679
- }
3680
- else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3681
- responseType_ = "json";
3682
- }
3683
- else {
3684
- responseType_ = "blob";
3685
- }
3686
- }
3687
- let localVarPath = `/api/rsd-regions/documents/upload-url`;
3688
- const { basePath, withCredentials } = this.configuration;
3689
- return this.httpClient.request("post", `${basePath}${localVarPath}`, {
3690
- context: localVarHttpContext,
3691
- body: createUploadUrlCommand,
3692
- responseType: responseType_,
3693
- ...(withCredentials ? { withCredentials } : {}),
3694
- headers: localVarHeaders,
3695
- observe: observe,
3696
- transferCache: localVarTransferCache,
3697
- reportProgress: reportProgress,
3698
- });
3699
- }
3700
3598
  rsdRegionsCreateRsdRegion(requestParameters, observe = "body", reportProgress = false, options) {
3701
3599
  const name = requestParameters?.name;
3702
3600
  if (name === null || name === undefined) {
@@ -4149,6 +4047,90 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImpor
4149
4047
  type: Optional
4150
4048
  }] }] });
4151
4049
 
4050
+ /**
4051
+ * RenewAire CORES API
4052
+ *
4053
+ * Contact: renewaire@saritasa.com
4054
+ *
4055
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4056
+ * https://openapi-generator.tech
4057
+ * Do not edit the class manually.
4058
+ */
4059
+ /* tslint:disable:no-unused-variable member-ordering */
4060
+ class S3ApiService extends BaseService {
4061
+ httpClient;
4062
+ constructor(httpClient, basePath, configuration) {
4063
+ super(basePath, configuration);
4064
+ this.httpClient = httpClient;
4065
+ }
4066
+ s3CreateFileUploadUrl(requestParameters, observe = "body", reportProgress = false, options) {
4067
+ const createUploadUrlCommand = requestParameters?.createUploadUrlCommand;
4068
+ let localVarHeaders = this.defaultHeaders;
4069
+ // authentication (Bearer) required
4070
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
4071
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
4072
+ this.configuration.selectHeaderAccept([
4073
+ "text/plain",
4074
+ "application/json",
4075
+ "text/json",
4076
+ ]);
4077
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
4078
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
4079
+ }
4080
+ const localVarHttpContext = options?.context ?? new HttpContext();
4081
+ const localVarTransferCache = options?.transferCache ?? true;
4082
+ // to determine the Content-Type header
4083
+ const consumes = [
4084
+ "application/json",
4085
+ "text/json",
4086
+ "application/*+json",
4087
+ ];
4088
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
4089
+ if (httpContentTypeSelected !== undefined) {
4090
+ localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
4091
+ }
4092
+ let responseType_ = "json";
4093
+ if (localVarHttpHeaderAcceptSelected) {
4094
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
4095
+ responseType_ = "text";
4096
+ }
4097
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
4098
+ responseType_ = "json";
4099
+ }
4100
+ else {
4101
+ responseType_ = "blob";
4102
+ }
4103
+ }
4104
+ let localVarPath = `/api/s3/upload-url`;
4105
+ const { basePath, withCredentials } = this.configuration;
4106
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
4107
+ context: localVarHttpContext,
4108
+ body: createUploadUrlCommand,
4109
+ responseType: responseType_,
4110
+ ...(withCredentials ? { withCredentials } : {}),
4111
+ headers: localVarHeaders,
4112
+ observe: observe,
4113
+ transferCache: localVarTransferCache,
4114
+ reportProgress: reportProgress,
4115
+ });
4116
+ }
4117
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: S3ApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
4118
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: S3ApiService, providedIn: "root" });
4119
+ }
4120
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: S3ApiService, decorators: [{
4121
+ type: Injectable,
4122
+ args: [{
4123
+ providedIn: "root",
4124
+ }]
4125
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
4126
+ type: Optional
4127
+ }, {
4128
+ type: Inject,
4129
+ args: [BASE_PATH]
4130
+ }] }, { type: Configuration, decorators: [{
4131
+ type: Optional
4132
+ }] }] });
4133
+
4152
4134
  /**
4153
4135
  * RenewAire CORES API
4154
4136
  *
@@ -6395,6 +6377,7 @@ const APIS = [
6395
6377
  RepTerritoriesApiService,
6396
6378
  RepTerritoryLocationsApiService,
6397
6379
  RsdRegionsApiService,
6380
+ S3ApiService,
6398
6381
  StaticFilesApiService,
6399
6382
  UserDesignConditionsApiService,
6400
6383
  UserTablesApiService,
@@ -7550,5 +7533,5 @@ function provideApi(configOrBasePath) {
7550
7533
  * Generated bundle index. Do not edit.
7551
7534
  */
7552
7535
 
7553
- export { APIS, AddressCountry, AddressDtoCountryEnum, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, COLLECTION_FORMATS, Configuration, ControllerProgramDtoProgramTypeEnum, ControllerProgramDtoReleaseTypeEnum, ControllerProgramReleaseType, ControllerProgramType, ControllerProgramsApiService, CoolingDesignBasis, CurrentUserDtoPreferredUnitEnum, CurrentUserDtoRegistrationStatusEnum, DesignWeatherMode, FeedbackType, FeedbacksApiService, GroupCustomerType, GroupDtoCustomerTypeEnum, GroupDtoTypeEnum, GroupType, GroupsApiService, KnownContactsApiService, Language, Permission, PermissionBundlesApiService, PermissionsApiService, ProjectsApiService, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, SaveControllerProgramDtoReleaseTypeEnum, SaveGroupDtoTypeEnum, SaveUserDesignConditionsDtoCoolingDesignBasisEnum, SearchRegionDtoLevelEnum, SetPreferredLanguageCommandPreferredLanguageEnum, StaticFilesApiService, UnitSystem, UserDesignConditionsApiService, UserDesignConditionsDtoCoolingDesignBasisEnum, UserDesignWeatherConditionDtoDesignWeatherModeEnum, UserPermissionDtoPermissionEnum, UserPreferencesDtoPreferredLanguageEnum, UserPreferencesDtoPreferredUnitEnum, UserProfileSettingsDtoRegistrationStatusEnum, UserStatus, UserTablesApiService, UsersApiService, UsersManagementApiService, provideApi };
7536
+ export { APIS, AddressCountry, AddressDtoCountryEnum, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, COLLECTION_FORMATS, Configuration, ControllerProgramDtoProgramTypeEnum, ControllerProgramDtoReleaseTypeEnum, ControllerProgramReleaseType, ControllerProgramType, ControllerProgramsApiService, CoolingDesignBasis, CurrentUserDtoPreferredUnitEnum, CurrentUserDtoRegistrationStatusEnum, DesignWeatherMode, FeedbackType, FeedbacksApiService, GroupCustomerType, GroupDtoCustomerTypeEnum, GroupDtoTypeEnum, GroupType, GroupsApiService, KnownContactsApiService, Language, Permission, PermissionBundlesApiService, PermissionsApiService, ProjectsApiService, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, S3ApiService, SaveControllerProgramDtoReleaseTypeEnum, SaveGroupDtoTypeEnum, SaveUserDesignConditionsDtoCoolingDesignBasisEnum, SearchRegionDtoLevelEnum, SetPreferredLanguageCommandPreferredLanguageEnum, StaticFilesApiService, UnitSystem, UserDesignConditionsApiService, UserDesignConditionsDtoCoolingDesignBasisEnum, UserDesignWeatherConditionDtoDesignWeatherModeEnum, UserPermissionDtoPermissionEnum, UserPreferencesDtoPreferredLanguageEnum, UserPreferencesDtoPreferredUnitEnum, UserProfileSettingsDtoRegistrationStatusEnum, UserStatus, UserTablesApiService, UsersApiService, UsersManagementApiService, provideApi };
7554
7537
  //# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map