@saritasa/renewaire-frontend-sdk 0.13.0 → 0.14.1
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
|
@@ -2918,6 +2918,171 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImpor
|
|
|
2918
2918
|
type: Optional
|
|
2919
2919
|
}] }] });
|
|
2920
2920
|
|
|
2921
|
+
/**
|
|
2922
|
+
* RenewAire CORES API
|
|
2923
|
+
*
|
|
2924
|
+
* Contact: renewaire@saritasa.com
|
|
2925
|
+
*
|
|
2926
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
2927
|
+
* https://openapi-generator.tech
|
|
2928
|
+
* Do not edit the class manually.
|
|
2929
|
+
*/
|
|
2930
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
2931
|
+
class UserTablesApiService extends BaseService {
|
|
2932
|
+
httpClient;
|
|
2933
|
+
constructor(httpClient, basePath, configuration) {
|
|
2934
|
+
super(basePath, configuration);
|
|
2935
|
+
this.httpClient = httpClient;
|
|
2936
|
+
}
|
|
2937
|
+
tableSettingsGetTableSetting(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2938
|
+
const tableId = requestParameters?.tableId;
|
|
2939
|
+
if (tableId === null || tableId === undefined) {
|
|
2940
|
+
throw new Error("Required parameter tableId was null or undefined when calling tableSettingsGetTableSetting.");
|
|
2941
|
+
}
|
|
2942
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2943
|
+
// authentication (Bearer) required
|
|
2944
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
2945
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
2946
|
+
this.configuration.selectHeaderAccept([
|
|
2947
|
+
"text/plain",
|
|
2948
|
+
"application/json",
|
|
2949
|
+
"text/json",
|
|
2950
|
+
]);
|
|
2951
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2952
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
2953
|
+
}
|
|
2954
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2955
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2956
|
+
let responseType_ = "json";
|
|
2957
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
2958
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
2959
|
+
responseType_ = "text";
|
|
2960
|
+
}
|
|
2961
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
2962
|
+
responseType_ = "json";
|
|
2963
|
+
}
|
|
2964
|
+
else {
|
|
2965
|
+
responseType_ = "blob";
|
|
2966
|
+
}
|
|
2967
|
+
}
|
|
2968
|
+
let localVarPath = `/api/users/me/tables/${this.configuration.encodeParam({ name: "tableId", value: tableId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
|
|
2969
|
+
const { basePath, withCredentials } = this.configuration;
|
|
2970
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
2971
|
+
context: localVarHttpContext,
|
|
2972
|
+
responseType: responseType_,
|
|
2973
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
2974
|
+
headers: localVarHeaders,
|
|
2975
|
+
observe: observe,
|
|
2976
|
+
transferCache: localVarTransferCache,
|
|
2977
|
+
reportProgress: reportProgress,
|
|
2978
|
+
});
|
|
2979
|
+
}
|
|
2980
|
+
tableSettingsSaveTableSetting(requestParameters, observe = "body", reportProgress = false, options) {
|
|
2981
|
+
const tableId = requestParameters?.tableId;
|
|
2982
|
+
if (tableId === null || tableId === undefined) {
|
|
2983
|
+
throw new Error("Required parameter tableId was null or undefined when calling tableSettingsSaveTableSetting.");
|
|
2984
|
+
}
|
|
2985
|
+
const requestBody = requestParameters?.requestBody;
|
|
2986
|
+
let localVarHeaders = this.defaultHeaders;
|
|
2987
|
+
// authentication (Bearer) required
|
|
2988
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
2989
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
2990
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
2991
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
2992
|
+
}
|
|
2993
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
2994
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
2995
|
+
// to determine the Content-Type header
|
|
2996
|
+
const consumes = [
|
|
2997
|
+
"application/json",
|
|
2998
|
+
"text/json",
|
|
2999
|
+
"application/*+json",
|
|
3000
|
+
];
|
|
3001
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
3002
|
+
if (httpContentTypeSelected !== undefined) {
|
|
3003
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
3004
|
+
}
|
|
3005
|
+
let responseType_ = "json";
|
|
3006
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
3007
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
3008
|
+
responseType_ = "text";
|
|
3009
|
+
}
|
|
3010
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3011
|
+
responseType_ = "json";
|
|
3012
|
+
}
|
|
3013
|
+
else {
|
|
3014
|
+
responseType_ = "blob";
|
|
3015
|
+
}
|
|
3016
|
+
}
|
|
3017
|
+
let localVarPath = `/api/users/me/tables/${this.configuration.encodeParam({ name: "tableId", value: tableId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
|
|
3018
|
+
const { basePath, withCredentials } = this.configuration;
|
|
3019
|
+
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
3020
|
+
context: localVarHttpContext,
|
|
3021
|
+
body: requestBody,
|
|
3022
|
+
responseType: responseType_,
|
|
3023
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
3024
|
+
headers: localVarHeaders,
|
|
3025
|
+
observe: observe,
|
|
3026
|
+
transferCache: localVarTransferCache,
|
|
3027
|
+
reportProgress: reportProgress,
|
|
3028
|
+
});
|
|
3029
|
+
}
|
|
3030
|
+
tableSettingsSearchTableSettings(observe = "body", reportProgress = false, options) {
|
|
3031
|
+
let localVarHeaders = this.defaultHeaders;
|
|
3032
|
+
// authentication (Bearer) required
|
|
3033
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
3034
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
3035
|
+
this.configuration.selectHeaderAccept([
|
|
3036
|
+
"text/plain",
|
|
3037
|
+
"application/json",
|
|
3038
|
+
"text/json",
|
|
3039
|
+
]);
|
|
3040
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
3041
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
3042
|
+
}
|
|
3043
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
3044
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
3045
|
+
let responseType_ = "json";
|
|
3046
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
3047
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
3048
|
+
responseType_ = "text";
|
|
3049
|
+
}
|
|
3050
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
3051
|
+
responseType_ = "json";
|
|
3052
|
+
}
|
|
3053
|
+
else {
|
|
3054
|
+
responseType_ = "blob";
|
|
3055
|
+
}
|
|
3056
|
+
}
|
|
3057
|
+
let localVarPath = `/api/users/me/tables`;
|
|
3058
|
+
const { basePath, withCredentials } = this.configuration;
|
|
3059
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
3060
|
+
context: localVarHttpContext,
|
|
3061
|
+
responseType: responseType_,
|
|
3062
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
3063
|
+
headers: localVarHeaders,
|
|
3064
|
+
observe: observe,
|
|
3065
|
+
transferCache: localVarTransferCache,
|
|
3066
|
+
reportProgress: reportProgress,
|
|
3067
|
+
});
|
|
3068
|
+
}
|
|
3069
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: UserTablesApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3070
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: UserTablesApiService, providedIn: "root" });
|
|
3071
|
+
}
|
|
3072
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: UserTablesApiService, decorators: [{
|
|
3073
|
+
type: Injectable,
|
|
3074
|
+
args: [{
|
|
3075
|
+
providedIn: "root",
|
|
3076
|
+
}]
|
|
3077
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
3078
|
+
type: Optional
|
|
3079
|
+
}, {
|
|
3080
|
+
type: Inject,
|
|
3081
|
+
args: [BASE_PATH]
|
|
3082
|
+
}] }, { type: Configuration, decorators: [{
|
|
3083
|
+
type: Optional
|
|
3084
|
+
}] }] });
|
|
3085
|
+
|
|
2921
3086
|
/**
|
|
2922
3087
|
* RenewAire CORES API
|
|
2923
3088
|
*
|
|
@@ -4047,6 +4212,7 @@ const APIS = [
|
|
|
4047
4212
|
RepTerritoryLocationsApiService,
|
|
4048
4213
|
RsdRegionsApiService,
|
|
4049
4214
|
UserDesignConditionsApiService,
|
|
4215
|
+
UserTablesApiService,
|
|
4050
4216
|
UsersApiService,
|
|
4051
4217
|
];
|
|
4052
4218
|
|
|
@@ -4697,6 +4863,16 @@ var SetPreferredLanguageCommandPreferredLanguageEnum;
|
|
|
4697
4863
|
* Do not edit the class manually.
|
|
4698
4864
|
*/
|
|
4699
4865
|
|
|
4866
|
+
/**
|
|
4867
|
+
* RenewAire CORES API
|
|
4868
|
+
*
|
|
4869
|
+
* Contact: renewaire@saritasa.com
|
|
4870
|
+
*
|
|
4871
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4872
|
+
* https://openapi-generator.tech
|
|
4873
|
+
* Do not edit the class manually.
|
|
4874
|
+
*/
|
|
4875
|
+
|
|
4700
4876
|
/**
|
|
4701
4877
|
* RenewAire CORES API
|
|
4702
4878
|
*
|
|
@@ -4893,5 +5069,5 @@ function provideApi(configOrBasePath) {
|
|
|
4893
5069
|
* Generated bundle index. Do not edit.
|
|
4894
5070
|
*/
|
|
4895
5071
|
|
|
4896
|
-
export { APIS, AddressCountry, AddressDtoCountryEnum, ApiModule, AuthApiService, BASE_PATH, COLLECTION_FORMATS, Configuration, CoolingDesignBasis, CurrentUserDtoRegistrationStatusEnum, DesignWeatherMode, FeedbackType, FeedbacksApiService, GroupCustomerType, GroupDtoCustomerTypeEnum, GroupDtoTypeEnum, GroupType, GroupsApiService, KnownContactsApiService, Language, Permission, PermissionBundlesApiService, PermissionsApiService, RegionDtoLevelEnum, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, SaveGroupDtoTypeEnum, SaveUserDesignConditionsDtoCoolingDesignBasisEnum, SaveUserPreferencesDtoLanguageEnum, SaveUserPreferencesDtoUnitSystemEnum, SearchRegionDtoLevelEnum, SetPreferredLanguageCommandPreferredLanguageEnum, UnitSystem, UserAddressDtoCountryEnum, UserDesignConditionsApiService, UserDesignConditionsDtoCoolingDesignBasisEnum, UserDesignWeatherConditionDtoDesignWeatherModeEnum, UserPermissionDtoPermissionEnum, UserPreferencesDtoLanguageEnum, UserPreferencesDtoUnitSystemEnum, UserProfileSettingsDtoRegistrationStatusEnum, UsersApiService, provideApi };
|
|
5072
|
+
export { APIS, AddressCountry, AddressDtoCountryEnum, ApiModule, AuthApiService, BASE_PATH, COLLECTION_FORMATS, Configuration, CoolingDesignBasis, CurrentUserDtoRegistrationStatusEnum, DesignWeatherMode, FeedbackType, FeedbacksApiService, GroupCustomerType, GroupDtoCustomerTypeEnum, GroupDtoTypeEnum, GroupType, GroupsApiService, KnownContactsApiService, Language, Permission, PermissionBundlesApiService, PermissionsApiService, RegionDtoLevelEnum, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, SaveGroupDtoTypeEnum, SaveUserDesignConditionsDtoCoolingDesignBasisEnum, SaveUserPreferencesDtoLanguageEnum, SaveUserPreferencesDtoUnitSystemEnum, SearchRegionDtoLevelEnum, SetPreferredLanguageCommandPreferredLanguageEnum, UnitSystem, UserAddressDtoCountryEnum, UserDesignConditionsApiService, UserDesignConditionsDtoCoolingDesignBasisEnum, UserDesignWeatherConditionDtoDesignWeatherModeEnum, UserPermissionDtoPermissionEnum, UserPreferencesDtoLanguageEnum, UserPreferencesDtoUnitSystemEnum, UserProfileSettingsDtoRegistrationStatusEnum, UserTablesApiService, UsersApiService, provideApi };
|
|
4897
5073
|
//# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map
|