@saritasa/renewaire-frontend-sdk 0.18.0 → 0.19.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
|
@@ -417,10 +417,10 @@ class AuthApiService extends BaseService {
|
|
|
417
417
|
reportProgress: reportProgress,
|
|
418
418
|
});
|
|
419
419
|
}
|
|
420
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
421
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
420
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: AuthApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
421
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: AuthApiService, providedIn: "root" });
|
|
422
422
|
}
|
|
423
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
423
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: AuthApiService, decorators: [{
|
|
424
424
|
type: Injectable,
|
|
425
425
|
args: [{
|
|
426
426
|
providedIn: "root",
|
|
@@ -545,10 +545,10 @@ class FeedbacksApiService extends BaseService {
|
|
|
545
545
|
reportProgress: reportProgress,
|
|
546
546
|
});
|
|
547
547
|
}
|
|
548
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
549
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
548
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: FeedbacksApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
549
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: FeedbacksApiService, providedIn: "root" });
|
|
550
550
|
}
|
|
551
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
551
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: FeedbacksApiService, decorators: [{
|
|
552
552
|
type: Injectable,
|
|
553
553
|
args: [{
|
|
554
554
|
providedIn: "root",
|
|
@@ -826,10 +826,10 @@ class GroupsApiService extends BaseService {
|
|
|
826
826
|
reportProgress: reportProgress,
|
|
827
827
|
});
|
|
828
828
|
}
|
|
829
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
830
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
829
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: GroupsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
830
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: GroupsApiService, providedIn: "root" });
|
|
831
831
|
}
|
|
832
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
832
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: GroupsApiService, decorators: [{
|
|
833
833
|
type: Injectable,
|
|
834
834
|
args: [{
|
|
835
835
|
providedIn: "root",
|
|
@@ -1058,10 +1058,10 @@ class KnownContactsApiService extends BaseService {
|
|
|
1058
1058
|
reportProgress: reportProgress,
|
|
1059
1059
|
});
|
|
1060
1060
|
}
|
|
1061
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1062
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
1061
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: KnownContactsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1062
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: KnownContactsApiService, providedIn: "root" });
|
|
1063
1063
|
}
|
|
1064
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1064
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: KnownContactsApiService, decorators: [{
|
|
1065
1065
|
type: Injectable,
|
|
1066
1066
|
args: [{
|
|
1067
1067
|
providedIn: "root",
|
|
@@ -1360,10 +1360,10 @@ class PermissionBundlesApiService extends BaseService {
|
|
|
1360
1360
|
reportProgress: reportProgress,
|
|
1361
1361
|
});
|
|
1362
1362
|
}
|
|
1363
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1364
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
1363
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: PermissionBundlesApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1364
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: PermissionBundlesApiService, providedIn: "root" });
|
|
1365
1365
|
}
|
|
1366
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1366
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: PermissionBundlesApiService, decorators: [{
|
|
1367
1367
|
type: Injectable,
|
|
1368
1368
|
args: [{
|
|
1369
1369
|
providedIn: "root",
|
|
@@ -1432,10 +1432,10 @@ class PermissionsApiService extends BaseService {
|
|
|
1432
1432
|
reportProgress: reportProgress,
|
|
1433
1433
|
});
|
|
1434
1434
|
}
|
|
1435
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1436
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
1435
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: PermissionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1436
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: PermissionsApiService, providedIn: "root" });
|
|
1437
1437
|
}
|
|
1438
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1438
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: PermissionsApiService, decorators: [{
|
|
1439
1439
|
type: Injectable,
|
|
1440
1440
|
args: [{
|
|
1441
1441
|
providedIn: "root",
|
|
@@ -1518,10 +1518,10 @@ class RegionsApiService extends BaseService {
|
|
|
1518
1518
|
reportProgress: reportProgress,
|
|
1519
1519
|
});
|
|
1520
1520
|
}
|
|
1521
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1522
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
1521
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: RegionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1522
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: RegionsApiService, providedIn: "root" });
|
|
1523
1523
|
}
|
|
1524
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1524
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: RegionsApiService, decorators: [{
|
|
1525
1525
|
type: Injectable,
|
|
1526
1526
|
args: [{
|
|
1527
1527
|
providedIn: "root",
|
|
@@ -1685,10 +1685,10 @@ class RepContactsApiService extends BaseService {
|
|
|
1685
1685
|
reportProgress: reportProgress,
|
|
1686
1686
|
});
|
|
1687
1687
|
}
|
|
1688
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
1689
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
1688
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: RepContactsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1689
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: RepContactsApiService, providedIn: "root" });
|
|
1690
1690
|
}
|
|
1691
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
1691
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: RepContactsApiService, decorators: [{
|
|
1692
1692
|
type: Injectable,
|
|
1693
1693
|
args: [{
|
|
1694
1694
|
providedIn: "root",
|
|
@@ -2072,10 +2072,10 @@ class RepTerritoriesApiService extends BaseService {
|
|
|
2072
2072
|
reportProgress: reportProgress,
|
|
2073
2073
|
});
|
|
2074
2074
|
}
|
|
2075
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
2076
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
2075
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: RepTerritoriesApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2076
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: RepTerritoriesApiService, providedIn: "root" });
|
|
2077
2077
|
}
|
|
2078
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
2078
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: RepTerritoriesApiService, decorators: [{
|
|
2079
2079
|
type: Injectable,
|
|
2080
2080
|
args: [{
|
|
2081
2081
|
providedIn: "root",
|
|
@@ -2303,10 +2303,10 @@ class RepTerritoryLocationsApiService extends BaseService {
|
|
|
2303
2303
|
reportProgress: reportProgress,
|
|
2304
2304
|
});
|
|
2305
2305
|
}
|
|
2306
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
2307
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
2306
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: RepTerritoryLocationsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2307
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: RepTerritoryLocationsApiService, providedIn: "root" });
|
|
2308
2308
|
}
|
|
2309
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
2309
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: RepTerritoryLocationsApiService, decorators: [{
|
|
2310
2310
|
type: Injectable,
|
|
2311
2311
|
args: [{
|
|
2312
2312
|
providedIn: "root",
|
|
@@ -2824,10 +2824,10 @@ class RsdRegionsApiService extends BaseService {
|
|
|
2824
2824
|
reportProgress: reportProgress,
|
|
2825
2825
|
});
|
|
2826
2826
|
}
|
|
2827
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
2828
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
2827
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: RsdRegionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2828
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: RsdRegionsApiService, providedIn: "root" });
|
|
2829
2829
|
}
|
|
2830
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
2830
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: RsdRegionsApiService, decorators: [{
|
|
2831
2831
|
type: Injectable,
|
|
2832
2832
|
args: [{
|
|
2833
2833
|
providedIn: "root",
|
|
@@ -2946,10 +2946,10 @@ class UserDesignConditionsApiService extends BaseService {
|
|
|
2946
2946
|
reportProgress: reportProgress,
|
|
2947
2947
|
});
|
|
2948
2948
|
}
|
|
2949
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
2950
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
2949
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: UserDesignConditionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2950
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: UserDesignConditionsApiService, providedIn: "root" });
|
|
2951
2951
|
}
|
|
2952
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
2952
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: UserDesignConditionsApiService, decorators: [{
|
|
2953
2953
|
type: Injectable,
|
|
2954
2954
|
args: [{
|
|
2955
2955
|
providedIn: "root",
|
|
@@ -3111,10 +3111,10 @@ class UserTablesApiService extends BaseService {
|
|
|
3111
3111
|
reportProgress: reportProgress,
|
|
3112
3112
|
});
|
|
3113
3113
|
}
|
|
3114
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
3115
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
3114
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: UserTablesApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3115
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: UserTablesApiService, providedIn: "root" });
|
|
3116
3116
|
}
|
|
3117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
3117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: UserTablesApiService, decorators: [{
|
|
3118
3118
|
type: Injectable,
|
|
3119
3119
|
args: [{
|
|
3120
3120
|
providedIn: "root",
|
|
@@ -3993,94 +3993,47 @@ class UsersApiService extends BaseService {
|
|
|
3993
3993
|
reportProgress: reportProgress,
|
|
3994
3994
|
});
|
|
3995
3995
|
}
|
|
3996
|
-
|
|
3996
|
+
usersUpdateUserProfileSettings(requestParameters, observe = "body", reportProgress = false, options) {
|
|
3997
3997
|
const userId = requestParameters?.userId;
|
|
3998
3998
|
if (userId === null || userId === undefined) {
|
|
3999
|
-
throw new Error("Required parameter userId was null or undefined when calling
|
|
4000
|
-
}
|
|
4001
|
-
const saveUserPreferencesDto = requestParameters?.saveUserPreferencesDto;
|
|
4002
|
-
let localVarHeaders = this.defaultHeaders;
|
|
4003
|
-
// authentication (Bearer) required
|
|
4004
|
-
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
4005
|
-
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
4006
|
-
this.configuration.selectHeaderAccept([
|
|
4007
|
-
"text/plain",
|
|
4008
|
-
"application/json",
|
|
4009
|
-
"text/json",
|
|
4010
|
-
]);
|
|
4011
|
-
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
4012
|
-
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
4013
|
-
}
|
|
4014
|
-
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
4015
|
-
const localVarTransferCache = options?.transferCache ?? true;
|
|
4016
|
-
// to determine the Content-Type header
|
|
4017
|
-
const consumes = [
|
|
4018
|
-
"application/json",
|
|
4019
|
-
"text/json",
|
|
4020
|
-
"application/*+json",
|
|
4021
|
-
];
|
|
4022
|
-
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
4023
|
-
if (httpContentTypeSelected !== undefined) {
|
|
4024
|
-
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
4025
|
-
}
|
|
4026
|
-
let responseType_ = "json";
|
|
4027
|
-
if (localVarHttpHeaderAcceptSelected) {
|
|
4028
|
-
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
4029
|
-
responseType_ = "text";
|
|
4030
|
-
}
|
|
4031
|
-
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
4032
|
-
responseType_ = "json";
|
|
4033
|
-
}
|
|
4034
|
-
else {
|
|
4035
|
-
responseType_ = "blob";
|
|
4036
|
-
}
|
|
4037
|
-
}
|
|
4038
|
-
let localVarPath = `/api/users/${this.configuration.encodeParam({ name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/preferences`;
|
|
4039
|
-
const { basePath, withCredentials } = this.configuration;
|
|
4040
|
-
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
4041
|
-
context: localVarHttpContext,
|
|
4042
|
-
body: saveUserPreferencesDto,
|
|
4043
|
-
responseType: responseType_,
|
|
4044
|
-
...(withCredentials ? { withCredentials } : {}),
|
|
4045
|
-
headers: localVarHeaders,
|
|
4046
|
-
observe: observe,
|
|
4047
|
-
transferCache: localVarTransferCache,
|
|
4048
|
-
reportProgress: reportProgress,
|
|
4049
|
-
});
|
|
4050
|
-
}
|
|
4051
|
-
usersUpdateUserProfile(requestParameters, observe = "body", reportProgress = false, options) {
|
|
4052
|
-
const userId = requestParameters?.userId;
|
|
4053
|
-
if (userId === null || userId === undefined) {
|
|
4054
|
-
throw new Error("Required parameter userId was null or undefined when calling usersUpdateUserProfile.");
|
|
3999
|
+
throw new Error("Required parameter userId was null or undefined when calling usersUpdateUserProfileSettings.");
|
|
4055
4000
|
}
|
|
4056
4001
|
const contactInformationFirstName = requestParameters?.contactInformationFirstName;
|
|
4057
4002
|
if (contactInformationFirstName === null ||
|
|
4058
4003
|
contactInformationFirstName === undefined) {
|
|
4059
|
-
throw new Error("Required parameter contactInformationFirstName was null or undefined when calling
|
|
4004
|
+
throw new Error("Required parameter contactInformationFirstName was null or undefined when calling usersUpdateUserProfileSettings.");
|
|
4060
4005
|
}
|
|
4061
4006
|
const contactInformationLastName = requestParameters?.contactInformationLastName;
|
|
4062
4007
|
if (contactInformationLastName === null ||
|
|
4063
4008
|
contactInformationLastName === undefined) {
|
|
4064
|
-
throw new Error("Required parameter contactInformationLastName was null or undefined when calling
|
|
4009
|
+
throw new Error("Required parameter contactInformationLastName was null or undefined when calling usersUpdateUserProfileSettings.");
|
|
4065
4010
|
}
|
|
4066
4011
|
const contactInformationCompany = requestParameters?.contactInformationCompany;
|
|
4067
4012
|
if (contactInformationCompany === null ||
|
|
4068
4013
|
contactInformationCompany === undefined) {
|
|
4069
|
-
throw new Error("Required parameter contactInformationCompany was null or undefined when calling
|
|
4014
|
+
throw new Error("Required parameter contactInformationCompany was null or undefined when calling usersUpdateUserProfileSettings.");
|
|
4070
4015
|
}
|
|
4071
4016
|
const contactInformationTitle = requestParameters?.contactInformationTitle;
|
|
4072
4017
|
if (contactInformationTitle === null ||
|
|
4073
4018
|
contactInformationTitle === undefined) {
|
|
4074
|
-
throw new Error("Required parameter contactInformationTitle was null or undefined when calling
|
|
4019
|
+
throw new Error("Required parameter contactInformationTitle was null or undefined when calling usersUpdateUserProfileSettings.");
|
|
4075
4020
|
}
|
|
4076
4021
|
const contactInformationWorkPhoneNumber = requestParameters?.contactInformationWorkPhoneNumber;
|
|
4077
4022
|
if (contactInformationWorkPhoneNumber === null ||
|
|
4078
4023
|
contactInformationWorkPhoneNumber === undefined) {
|
|
4079
|
-
throw new Error("Required parameter contactInformationWorkPhoneNumber was null or undefined when calling
|
|
4024
|
+
throw new Error("Required parameter contactInformationWorkPhoneNumber was null or undefined when calling usersUpdateUserProfileSettings.");
|
|
4080
4025
|
}
|
|
4081
4026
|
const addressStreet1 = requestParameters?.addressStreet1;
|
|
4082
4027
|
if (addressStreet1 === null || addressStreet1 === undefined) {
|
|
4083
|
-
throw new Error("Required parameter addressStreet1 was null or undefined when calling
|
|
4028
|
+
throw new Error("Required parameter addressStreet1 was null or undefined when calling usersUpdateUserProfileSettings.");
|
|
4029
|
+
}
|
|
4030
|
+
const preferredLanguage = requestParameters?.preferredLanguage;
|
|
4031
|
+
if (preferredLanguage === null || preferredLanguage === undefined) {
|
|
4032
|
+
throw new Error("Required parameter preferredLanguage was null or undefined when calling usersUpdateUserProfileSettings.");
|
|
4033
|
+
}
|
|
4034
|
+
const preferredUnit = requestParameters?.preferredUnit;
|
|
4035
|
+
if (preferredUnit === null || preferredUnit === undefined) {
|
|
4036
|
+
throw new Error("Required parameter preferredUnit was null or undefined when calling usersUpdateUserProfileSettings.");
|
|
4084
4037
|
}
|
|
4085
4038
|
const contactInformationWorkPhoneNumberExt = requestParameters?.contactInformationWorkPhoneNumberExt;
|
|
4086
4039
|
const contactInformationMobilePhoneNumber = requestParameters?.contactInformationMobilePhoneNumber;
|
|
@@ -4156,6 +4109,14 @@ class UsersApiService extends BaseService {
|
|
|
4156
4109
|
localVarFormParams.append("Avatar", avatar) ||
|
|
4157
4110
|
localVarFormParams;
|
|
4158
4111
|
}
|
|
4112
|
+
if (preferredLanguage !== undefined) {
|
|
4113
|
+
localVarFormParams =
|
|
4114
|
+
localVarFormParams.append("PreferredLanguage", preferredLanguage) || localVarFormParams;
|
|
4115
|
+
}
|
|
4116
|
+
if (preferredUnit !== undefined) {
|
|
4117
|
+
localVarFormParams =
|
|
4118
|
+
localVarFormParams.append("PreferredUnit", preferredUnit) || localVarFormParams;
|
|
4119
|
+
}
|
|
4159
4120
|
let responseType_ = "json";
|
|
4160
4121
|
if (localVarHttpHeaderAcceptSelected) {
|
|
4161
4122
|
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
@@ -4168,7 +4129,7 @@ class UsersApiService extends BaseService {
|
|
|
4168
4129
|
responseType_ = "blob";
|
|
4169
4130
|
}
|
|
4170
4131
|
}
|
|
4171
|
-
let localVarPath = `/api/users/${this.configuration.encodeParam({ name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
|
|
4132
|
+
let localVarPath = `/api/users/${this.configuration.encodeParam({ name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/settings/profile`;
|
|
4172
4133
|
const { basePath, withCredentials } = this.configuration;
|
|
4173
4134
|
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
4174
4135
|
context: localVarHttpContext,
|
|
@@ -4183,6 +4144,56 @@ class UsersApiService extends BaseService {
|
|
|
4183
4144
|
reportProgress: reportProgress,
|
|
4184
4145
|
});
|
|
4185
4146
|
}
|
|
4147
|
+
usersUpdateUserProjectSettings(requestParameters, observe = "body", reportProgress = false, options) {
|
|
4148
|
+
const userId = requestParameters?.userId;
|
|
4149
|
+
if (userId === null || userId === undefined) {
|
|
4150
|
+
throw new Error("Required parameter userId was null or undefined when calling usersUpdateUserProjectSettings.");
|
|
4151
|
+
}
|
|
4152
|
+
const saveUserProjectSettingsDto = requestParameters?.saveUserProjectSettingsDto;
|
|
4153
|
+
let localVarHeaders = this.defaultHeaders;
|
|
4154
|
+
// authentication (Bearer) required
|
|
4155
|
+
localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
|
|
4156
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
|
|
4157
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
4158
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
4159
|
+
}
|
|
4160
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
4161
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
4162
|
+
// to determine the Content-Type header
|
|
4163
|
+
const consumes = [
|
|
4164
|
+
"application/json",
|
|
4165
|
+
"text/json",
|
|
4166
|
+
"application/*+json",
|
|
4167
|
+
];
|
|
4168
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
4169
|
+
if (httpContentTypeSelected !== undefined) {
|
|
4170
|
+
localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
|
|
4171
|
+
}
|
|
4172
|
+
let responseType_ = "json";
|
|
4173
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
4174
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
4175
|
+
responseType_ = "text";
|
|
4176
|
+
}
|
|
4177
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
4178
|
+
responseType_ = "json";
|
|
4179
|
+
}
|
|
4180
|
+
else {
|
|
4181
|
+
responseType_ = "blob";
|
|
4182
|
+
}
|
|
4183
|
+
}
|
|
4184
|
+
let localVarPath = `/api/users/${this.configuration.encodeParam({ name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/settings/project`;
|
|
4185
|
+
const { basePath, withCredentials } = this.configuration;
|
|
4186
|
+
return this.httpClient.request("put", `${basePath}${localVarPath}`, {
|
|
4187
|
+
context: localVarHttpContext,
|
|
4188
|
+
body: saveUserProjectSettingsDto,
|
|
4189
|
+
responseType: responseType_,
|
|
4190
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
4191
|
+
headers: localVarHeaders,
|
|
4192
|
+
observe: observe,
|
|
4193
|
+
transferCache: localVarTransferCache,
|
|
4194
|
+
reportProgress: reportProgress,
|
|
4195
|
+
});
|
|
4196
|
+
}
|
|
4186
4197
|
usersVerifyResetPasswordToken(requestParameters, observe = "body", reportProgress = false, options) {
|
|
4187
4198
|
const verifyResetPasswordTokenCommand = requestParameters?.verifyResetPasswordTokenCommand;
|
|
4188
4199
|
let localVarHeaders = this.defaultHeaders;
|
|
@@ -4227,10 +4238,10 @@ class UsersApiService extends BaseService {
|
|
|
4227
4238
|
reportProgress: reportProgress,
|
|
4228
4239
|
});
|
|
4229
4240
|
}
|
|
4230
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
4231
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.
|
|
4241
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: UsersApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4242
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: UsersApiService, providedIn: "root" });
|
|
4232
4243
|
}
|
|
4233
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
4244
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: UsersApiService, decorators: [{
|
|
4234
4245
|
type: Injectable,
|
|
4235
4246
|
args: [{
|
|
4236
4247
|
providedIn: "root",
|
|
@@ -4784,17 +4795,6 @@ var SaveUserDesignConditionsDtoCoolingDesignBasisEnum;
|
|
|
4784
4795
|
* https://openapi-generator.tech
|
|
4785
4796
|
* Do not edit the class manually.
|
|
4786
4797
|
*/
|
|
4787
|
-
var SaveUserPreferencesDtoLanguageEnum;
|
|
4788
|
-
(function (SaveUserPreferencesDtoLanguageEnum) {
|
|
4789
|
-
SaveUserPreferencesDtoLanguageEnum["English"] = "English";
|
|
4790
|
-
SaveUserPreferencesDtoLanguageEnum["Spanish"] = "Spanish";
|
|
4791
|
-
SaveUserPreferencesDtoLanguageEnum["French"] = "French";
|
|
4792
|
-
})(SaveUserPreferencesDtoLanguageEnum || (SaveUserPreferencesDtoLanguageEnum = {}));
|
|
4793
|
-
var SaveUserPreferencesDtoUnitSystemEnum;
|
|
4794
|
-
(function (SaveUserPreferencesDtoUnitSystemEnum) {
|
|
4795
|
-
SaveUserPreferencesDtoUnitSystemEnum["Imperial"] = "Imperial";
|
|
4796
|
-
SaveUserPreferencesDtoUnitSystemEnum["Metric"] = "Metric";
|
|
4797
|
-
})(SaveUserPreferencesDtoUnitSystemEnum || (SaveUserPreferencesDtoUnitSystemEnum = {}));
|
|
4798
4798
|
|
|
4799
4799
|
/**
|
|
4800
4800
|
* RenewAire CORES API
|
|
@@ -5013,17 +5013,17 @@ var UserPermissionDtoPermissionEnum;
|
|
|
5013
5013
|
* https://openapi-generator.tech
|
|
5014
5014
|
* Do not edit the class manually.
|
|
5015
5015
|
*/
|
|
5016
|
-
var
|
|
5017
|
-
(function (
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
})(
|
|
5022
|
-
var
|
|
5023
|
-
(function (
|
|
5024
|
-
|
|
5025
|
-
|
|
5026
|
-
})(
|
|
5016
|
+
var UserPreferencesDtoPreferredLanguageEnum;
|
|
5017
|
+
(function (UserPreferencesDtoPreferredLanguageEnum) {
|
|
5018
|
+
UserPreferencesDtoPreferredLanguageEnum["English"] = "English";
|
|
5019
|
+
UserPreferencesDtoPreferredLanguageEnum["Spanish"] = "Spanish";
|
|
5020
|
+
UserPreferencesDtoPreferredLanguageEnum["French"] = "French";
|
|
5021
|
+
})(UserPreferencesDtoPreferredLanguageEnum || (UserPreferencesDtoPreferredLanguageEnum = {}));
|
|
5022
|
+
var UserPreferencesDtoPreferredUnitEnum;
|
|
5023
|
+
(function (UserPreferencesDtoPreferredUnitEnum) {
|
|
5024
|
+
UserPreferencesDtoPreferredUnitEnum["Imperial"] = "Imperial";
|
|
5025
|
+
UserPreferencesDtoPreferredUnitEnum["Metric"] = "Metric";
|
|
5026
|
+
})(UserPreferencesDtoPreferredUnitEnum || (UserPreferencesDtoPreferredUnitEnum = {}));
|
|
5027
5027
|
|
|
5028
5028
|
/**
|
|
5029
5029
|
* RenewAire CORES API
|
|
@@ -5071,11 +5071,11 @@ class ApiModule {
|
|
|
5071
5071
|
"See also https://github.com/angular/angular/issues/20575");
|
|
5072
5072
|
}
|
|
5073
5073
|
}
|
|
5074
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.
|
|
5075
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.
|
|
5076
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.
|
|
5074
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: ApiModule, deps: [{ token: ApiModule, optional: true, skipSelf: true }, { token: i1.HttpClient, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5075
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.0", ngImport: i0, type: ApiModule });
|
|
5076
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: ApiModule });
|
|
5077
5077
|
}
|
|
5078
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.
|
|
5078
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: ApiModule, decorators: [{
|
|
5079
5079
|
type: NgModule,
|
|
5080
5080
|
args: [{
|
|
5081
5081
|
imports: [],
|
|
@@ -5107,5 +5107,5 @@ function provideApi(configOrBasePath) {
|
|
|
5107
5107
|
* Generated bundle index. Do not edit.
|
|
5108
5108
|
*/
|
|
5109
5109
|
|
|
5110
|
-
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,
|
|
5110
|
+
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, SearchRegionDtoLevelEnum, SetPreferredLanguageCommandPreferredLanguageEnum, UnitSystem, UserDesignConditionsApiService, UserDesignConditionsDtoCoolingDesignBasisEnum, UserDesignWeatherConditionDtoDesignWeatherModeEnum, UserPermissionDtoPermissionEnum, UserPreferencesDtoPreferredLanguageEnum, UserPreferencesDtoPreferredUnitEnum, UserProfileSettingsDtoRegistrationStatusEnum, UserTablesApiService, UsersApiService, provideApi };
|
|
5111
5111
|
//# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map
|