@saritasa/renewaire-frontend-sdk 0.44.0 → 0.45.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
|
@@ -3873,6 +3873,75 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImpor
|
|
|
3873
3873
|
type: Optional
|
|
3874
3874
|
}] }] });
|
|
3875
3875
|
|
|
3876
|
+
/**
|
|
3877
|
+
* RenewAire CORES API
|
|
3878
|
+
*
|
|
3879
|
+
* Contact: renewaire@saritasa.com
|
|
3880
|
+
*
|
|
3881
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3882
|
+
* https://openapi-generator.tech
|
|
3883
|
+
* Do not edit the class manually.
|
|
3884
|
+
*/
|
|
3885
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
3886
|
+
class StaticFilesApiService extends BaseService {
|
|
3887
|
+
httpClient;
|
|
3888
|
+
constructor(httpClient, basePath, configuration) {
|
|
3889
|
+
super(basePath, configuration);
|
|
3890
|
+
this.httpClient = httpClient;
|
|
3891
|
+
}
|
|
3892
|
+
staticFilesGet(requestParameters, observe = "body", reportProgress = false, options) {
|
|
3893
|
+
const key = requestParameters?.key;
|
|
3894
|
+
if (key === null || key === undefined) {
|
|
3895
|
+
throw new Error("Required parameter key was null or undefined when calling staticFilesGet.");
|
|
3896
|
+
}
|
|
3897
|
+
let localVarHeaders = this.defaultHeaders;
|
|
3898
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
3899
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3900
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
3901
|
+
}
|
|
3902
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3903
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
3904
|
+
let responseType_ = "json";
|
|
3905
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
3906
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
3907
|
+
responseType_ = "text";
|
|
3908
|
+
}
|
|
3909
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3910
|
+
responseType_ = "json";
|
|
3911
|
+
}
|
|
3912
|
+
else {
|
|
3913
|
+
responseType_ = "blob";
|
|
3914
|
+
}
|
|
3915
|
+
}
|
|
3916
|
+
let localVarPath = `/api/static-files/${this.configuration.encodeParam({ name: "key", value: key, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
|
|
3917
|
+
const { basePath, withCredentials } = this.configuration;
|
|
3918
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
3919
|
+
context: localVarHttpContext,
|
|
3920
|
+
responseType: responseType_,
|
|
3921
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
3922
|
+
headers: localVarHeaders,
|
|
3923
|
+
observe: observe,
|
|
3924
|
+
transferCache: localVarTransferCache,
|
|
3925
|
+
reportProgress: reportProgress,
|
|
3926
|
+
});
|
|
3927
|
+
}
|
|
3928
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: StaticFilesApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3929
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: StaticFilesApiService, providedIn: "root" });
|
|
3930
|
+
}
|
|
3931
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: StaticFilesApiService, decorators: [{
|
|
3932
|
+
type: Injectable,
|
|
3933
|
+
args: [{
|
|
3934
|
+
providedIn: "root",
|
|
3935
|
+
}]
|
|
3936
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
3937
|
+
type: Optional
|
|
3938
|
+
}, {
|
|
3939
|
+
type: Inject,
|
|
3940
|
+
args: [BASE_PATH]
|
|
3941
|
+
}] }, { type: Configuration, decorators: [{
|
|
3942
|
+
type: Optional
|
|
3943
|
+
}] }] });
|
|
3944
|
+
|
|
3876
3945
|
/**
|
|
3877
3946
|
* RenewAire CORES API
|
|
3878
3947
|
*
|
|
@@ -6047,6 +6116,7 @@ const APIS = [
|
|
|
6047
6116
|
RepTerritoriesApiService,
|
|
6048
6117
|
RepTerritoryLocationsApiService,
|
|
6049
6118
|
RsdRegionsApiService,
|
|
6119
|
+
StaticFilesApiService,
|
|
6050
6120
|
UserDesignConditionsApiService,
|
|
6051
6121
|
UserTablesApiService,
|
|
6052
6122
|
UsersApiService,
|
|
@@ -6994,5 +7064,5 @@ function provideApi(configOrBasePath) {
|
|
|
6994
7064
|
* Generated bundle index. Do not edit.
|
|
6995
7065
|
*/
|
|
6996
7066
|
|
|
6997
|
-
export { APIS, AddressCountry, AddressDtoCountryEnum, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, COLLECTION_FORMATS, Configuration, CoolingDesignBasis, CurrentUserDtoPreferredUnitEnum, CurrentUserDtoRegistrationStatusEnum, DesignWeatherMode, FeedbackType, FeedbacksApiService, GroupCustomerType, GroupDtoCustomerTypeEnum, GroupDtoTypeEnum, GroupType, GroupsApiService, KnownContactsApiService, Language, Permission, PermissionBundlesApiService, PermissionsApiService, ProjectsApiService, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, SaveGroupDtoTypeEnum, SaveUserDesignConditionsDtoCoolingDesignBasisEnum, SearchRegionDtoLevelEnum, SetPreferredLanguageCommandPreferredLanguageEnum, UnitSystem, UserDesignConditionsApiService, UserDesignConditionsDtoCoolingDesignBasisEnum, UserDesignWeatherConditionDtoDesignWeatherModeEnum, UserPermissionDtoPermissionEnum, UserPreferencesDtoPreferredLanguageEnum, UserPreferencesDtoPreferredUnitEnum, UserProfileSettingsDtoRegistrationStatusEnum, UserStatus, UserTablesApiService, UsersApiService, UsersManagementApiService, provideApi };
|
|
7067
|
+
export { APIS, AddressCountry, AddressDtoCountryEnum, ApiModule, AshraeVersion, AuditEntity, AuditLogsApiService, AuthApiService, BASE_PATH, COLLECTION_FORMATS, Configuration, CoolingDesignBasis, CurrentUserDtoPreferredUnitEnum, CurrentUserDtoRegistrationStatusEnum, DesignWeatherMode, FeedbackType, FeedbacksApiService, GroupCustomerType, GroupDtoCustomerTypeEnum, GroupDtoTypeEnum, GroupType, GroupsApiService, KnownContactsApiService, Language, Permission, PermissionBundlesApiService, PermissionsApiService, ProjectsApiService, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, SaveGroupDtoTypeEnum, SaveUserDesignConditionsDtoCoolingDesignBasisEnum, SearchRegionDtoLevelEnum, SetPreferredLanguageCommandPreferredLanguageEnum, StaticFilesApiService, UnitSystem, UserDesignConditionsApiService, UserDesignConditionsDtoCoolingDesignBasisEnum, UserDesignWeatherConditionDtoDesignWeatherModeEnum, UserPermissionDtoPermissionEnum, UserPreferencesDtoPreferredLanguageEnum, UserPreferencesDtoPreferredUnitEnum, UserProfileSettingsDtoRegistrationStatusEnum, UserStatus, UserTablesApiService, UsersApiService, UsersManagementApiService, provideApi };
|
|
6998
7068
|
//# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map
|