@saritasa/renewaire-frontend-sdk 0.43.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
|
*
|
|
@@ -4788,6 +4857,52 @@ class UsersApiService extends BaseService {
|
|
|
4788
4857
|
reportProgress: reportProgress,
|
|
4789
4858
|
});
|
|
4790
4859
|
}
|
|
4860
|
+
usersSendInvite(requestParameters, observe = "body", reportProgress = false, options) {
|
|
4861
|
+
const inviteDto = requestParameters?.inviteDto;
|
|
4862
|
+
let localVarHeaders = this.defaultHeaders;
|
|
4863
|
+
// authentication (Bearer) required
|
|
4864
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
4865
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
4866
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
4867
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
4868
|
+
}
|
|
4869
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
4870
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
4871
|
+
// to determine the Content-Type header
|
|
4872
|
+
const consumes = [
|
|
4873
|
+
"application/json",
|
|
4874
|
+
"text/json",
|
|
4875
|
+
"application/*+json",
|
|
4876
|
+
];
|
|
4877
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
4878
|
+
if (httpContentTypeSelected !== undefined) {
|
|
4879
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
4880
|
+
}
|
|
4881
|
+
let responseType_ = "json";
|
|
4882
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
4883
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
4884
|
+
responseType_ = "text";
|
|
4885
|
+
}
|
|
4886
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
4887
|
+
responseType_ = "json";
|
|
4888
|
+
}
|
|
4889
|
+
else {
|
|
4890
|
+
responseType_ = "blob";
|
|
4891
|
+
}
|
|
4892
|
+
}
|
|
4893
|
+
let localVarPath = `/api/users/invite`;
|
|
4894
|
+
const { basePath, withCredentials } = this.configuration;
|
|
4895
|
+
return this.httpClient.request("post", `${basePath}${localVarPath}`, {
|
|
4896
|
+
context: localVarHttpContext,
|
|
4897
|
+
body: inviteDto,
|
|
4898
|
+
responseType: responseType_,
|
|
4899
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
4900
|
+
headers: localVarHeaders,
|
|
4901
|
+
observe: observe,
|
|
4902
|
+
transferCache: localVarTransferCache,
|
|
4903
|
+
reportProgress: reportProgress,
|
|
4904
|
+
});
|
|
4905
|
+
}
|
|
4791
4906
|
usersSetPreferredLanguage(requestParameters, observe = "body", reportProgress = false, options) {
|
|
4792
4907
|
const setPreferredLanguageCommand = requestParameters?.setPreferredLanguageCommand;
|
|
4793
4908
|
if (setPreferredLanguageCommand === null ||
|
|
@@ -6001,6 +6116,7 @@ const APIS = [
|
|
|
6001
6116
|
RepTerritoriesApiService,
|
|
6002
6117
|
RepTerritoryLocationsApiService,
|
|
6003
6118
|
RsdRegionsApiService,
|
|
6119
|
+
StaticFilesApiService,
|
|
6004
6120
|
UserDesignConditionsApiService,
|
|
6005
6121
|
UserTablesApiService,
|
|
6006
6122
|
UsersApiService,
|
|
@@ -6354,6 +6470,16 @@ var GroupType;
|
|
|
6354
6470
|
* Do not edit the class manually.
|
|
6355
6471
|
*/
|
|
6356
6472
|
|
|
6473
|
+
/**
|
|
6474
|
+
* RenewAire CORES API
|
|
6475
|
+
*
|
|
6476
|
+
* Contact: renewaire@saritasa.com
|
|
6477
|
+
*
|
|
6478
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
6479
|
+
* https://openapi-generator.tech
|
|
6480
|
+
* Do not edit the class manually.
|
|
6481
|
+
*/
|
|
6482
|
+
|
|
6357
6483
|
/**
|
|
6358
6484
|
* RenewAire CORES API
|
|
6359
6485
|
*
|
|
@@ -6938,5 +7064,5 @@ function provideApi(configOrBasePath) {
|
|
|
6938
7064
|
* Generated bundle index. Do not edit.
|
|
6939
7065
|
*/
|
|
6940
7066
|
|
|
6941
|
-
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 };
|
|
6942
7068
|
//# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map
|