@saritasa/renewaire-frontend-sdk 0.18.1 → 0.20.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.18.1
1
+ # @@saritasa/renewaire-frontend-sdk@0.20.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.18.1 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.20.0 --save
5
5
  ```
@@ -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.1.7", 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.1.7", ngImport: i0, type: AuthApiService, providedIn: "root" });
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.1.7", ngImport: i0, type: AuthApiService, decorators: [{
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.1.7", 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.1.7", ngImport: i0, type: FeedbacksApiService, providedIn: "root" });
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.1.7", ngImport: i0, type: FeedbacksApiService, decorators: [{
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.1.7", 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.1.7", ngImport: i0, type: GroupsApiService, providedIn: "root" });
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.1.7", ngImport: i0, type: GroupsApiService, decorators: [{
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.1.7", 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.1.7", ngImport: i0, type: KnownContactsApiService, providedIn: "root" });
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.1.7", ngImport: i0, type: KnownContactsApiService, decorators: [{
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.1.7", 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.1.7", ngImport: i0, type: PermissionBundlesApiService, providedIn: "root" });
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.1.7", ngImport: i0, type: PermissionBundlesApiService, decorators: [{
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.1.7", 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.1.7", ngImport: i0, type: PermissionsApiService, providedIn: "root" });
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.1.7", ngImport: i0, type: PermissionsApiService, decorators: [{
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.1.7", 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.1.7", ngImport: i0, type: RegionsApiService, providedIn: "root" });
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.1.7", ngImport: i0, type: RegionsApiService, decorators: [{
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.1.7", 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.1.7", ngImport: i0, type: RepContactsApiService, providedIn: "root" });
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.1.7", ngImport: i0, type: RepContactsApiService, decorators: [{
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.1.7", 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.1.7", ngImport: i0, type: RepTerritoriesApiService, providedIn: "root" });
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.1.7", ngImport: i0, type: RepTerritoriesApiService, decorators: [{
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.1.7", 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.1.7", ngImport: i0, type: RepTerritoryLocationsApiService, providedIn: "root" });
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.1.7", ngImport: i0, type: RepTerritoryLocationsApiService, decorators: [{
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.1.7", 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.1.7", ngImport: i0, type: RsdRegionsApiService, providedIn: "root" });
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.1.7", ngImport: i0, type: RsdRegionsApiService, decorators: [{
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.1.7", 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.1.7", ngImport: i0, type: UserDesignConditionsApiService, providedIn: "root" });
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.1.7", ngImport: i0, type: UserDesignConditionsApiService, decorators: [{
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.1.7", 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.1.7", ngImport: i0, type: UserTablesApiService, providedIn: "root" });
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.1.7", ngImport: i0, type: UserTablesApiService, decorators: [{
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
- usersUpdateUserPreferences(requestParameters, observe = "body", reportProgress = false, options) {
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 usersUpdateUserPreferences.");
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 usersUpdateUserProfile.");
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 usersUpdateUserProfile.");
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 usersUpdateUserProfile.");
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 usersUpdateUserProfile.");
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 usersUpdateUserProfile.");
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 usersUpdateUserProfile.");
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.1.7", ngImport: i0, type: UsersApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
4231
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: UsersApiService, providedIn: "root" });
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.1.7", ngImport: i0, type: UsersApiService, decorators: [{
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",
@@ -4466,16 +4477,6 @@ var FeedbackType;
4466
4477
  * Do not edit the class manually.
4467
4478
  */
4468
4479
 
4469
- /**
4470
- * RenewAire CORES API
4471
- *
4472
- * Contact: renewaire@saritasa.com
4473
- *
4474
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4475
- * https://openapi-generator.tech
4476
- * Do not edit the class manually.
4477
- */
4478
-
4479
4480
  /**
4480
4481
  * RenewAire CORES API
4481
4482
  *
@@ -4539,6 +4540,16 @@ var GroupType;
4539
4540
  * Do not edit the class manually.
4540
4541
  */
4541
4542
 
4543
+ /**
4544
+ * RenewAire CORES API
4545
+ *
4546
+ * Contact: renewaire@saritasa.com
4547
+ *
4548
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4549
+ * https://openapi-generator.tech
4550
+ * Do not edit the class manually.
4551
+ */
4552
+
4542
4553
  /**
4543
4554
  * RenewAire CORES API
4544
4555
  *
@@ -4775,27 +4786,6 @@ var SaveUserDesignConditionsDtoCoolingDesignBasisEnum;
4775
4786
  SaveUserDesignConditionsDtoCoolingDesignBasisEnum["Dehumidification"] = "Dehumidification";
4776
4787
  })(SaveUserDesignConditionsDtoCoolingDesignBasisEnum || (SaveUserDesignConditionsDtoCoolingDesignBasisEnum = {}));
4777
4788
 
4778
- /**
4779
- * RenewAire CORES API
4780
- *
4781
- * Contact: renewaire@saritasa.com
4782
- *
4783
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4784
- * https://openapi-generator.tech
4785
- * Do not edit the class manually.
4786
- */
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
-
4799
4789
  /**
4800
4790
  * RenewAire CORES API
4801
4791
  *
@@ -4842,16 +4832,6 @@ var SearchRegionDtoLevelEnum;
4842
4832
  * Do not edit the class manually.
4843
4833
  */
4844
4834
 
4845
- /**
4846
- * RenewAire CORES API
4847
- *
4848
- * Contact: renewaire@saritasa.com
4849
- *
4850
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4851
- * https://openapi-generator.tech
4852
- * Do not edit the class manually.
4853
- */
4854
-
4855
4835
  /**
4856
4836
  * RenewAire CORES API
4857
4837
  *
@@ -5013,17 +4993,17 @@ var UserPermissionDtoPermissionEnum;
5013
4993
  * https://openapi-generator.tech
5014
4994
  * Do not edit the class manually.
5015
4995
  */
5016
- var UserPreferencesDtoLanguageEnum;
5017
- (function (UserPreferencesDtoLanguageEnum) {
5018
- UserPreferencesDtoLanguageEnum["English"] = "English";
5019
- UserPreferencesDtoLanguageEnum["Spanish"] = "Spanish";
5020
- UserPreferencesDtoLanguageEnum["French"] = "French";
5021
- })(UserPreferencesDtoLanguageEnum || (UserPreferencesDtoLanguageEnum = {}));
5022
- var UserPreferencesDtoUnitSystemEnum;
5023
- (function (UserPreferencesDtoUnitSystemEnum) {
5024
- UserPreferencesDtoUnitSystemEnum["Imperial"] = "Imperial";
5025
- UserPreferencesDtoUnitSystemEnum["Metric"] = "Metric";
5026
- })(UserPreferencesDtoUnitSystemEnum || (UserPreferencesDtoUnitSystemEnum = {}));
4996
+ var UserPreferencesDtoPreferredLanguageEnum;
4997
+ (function (UserPreferencesDtoPreferredLanguageEnum) {
4998
+ UserPreferencesDtoPreferredLanguageEnum["English"] = "English";
4999
+ UserPreferencesDtoPreferredLanguageEnum["Spanish"] = "Spanish";
5000
+ UserPreferencesDtoPreferredLanguageEnum["French"] = "French";
5001
+ })(UserPreferencesDtoPreferredLanguageEnum || (UserPreferencesDtoPreferredLanguageEnum = {}));
5002
+ var UserPreferencesDtoPreferredUnitEnum;
5003
+ (function (UserPreferencesDtoPreferredUnitEnum) {
5004
+ UserPreferencesDtoPreferredUnitEnum["Imperial"] = "Imperial";
5005
+ UserPreferencesDtoPreferredUnitEnum["Metric"] = "Metric";
5006
+ })(UserPreferencesDtoPreferredUnitEnum || (UserPreferencesDtoPreferredUnitEnum = {}));
5027
5007
 
5028
5008
  /**
5029
5009
  * RenewAire CORES API
@@ -5045,6 +5025,24 @@ var UserProfileSettingsDtoRegistrationStatusEnum;
5045
5025
  UserProfileSettingsDtoRegistrationStatusEnum["Completed"] = "Completed";
5046
5026
  })(UserProfileSettingsDtoRegistrationStatusEnum || (UserProfileSettingsDtoRegistrationStatusEnum = {}));
5047
5027
 
5028
+ /**
5029
+ * RenewAire CORES API
5030
+ *
5031
+ * Contact: renewaire@saritasa.com
5032
+ *
5033
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
5034
+ * https://openapi-generator.tech
5035
+ * Do not edit the class manually.
5036
+ */
5037
+ /**
5038
+ * UserStatus<br />0 = Inactive<br />1 = Active
5039
+ */
5040
+ var UserStatus;
5041
+ (function (UserStatus) {
5042
+ UserStatus["Inactive"] = "Inactive";
5043
+ UserStatus["Active"] = "Active";
5044
+ })(UserStatus || (UserStatus = {}));
5045
+
5048
5046
  /**
5049
5047
  * RenewAire CORES API
5050
5048
  *
@@ -5071,11 +5069,11 @@ class ApiModule {
5071
5069
  "See also https://github.com/angular/angular/issues/20575");
5072
5070
  }
5073
5071
  }
5074
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.7", 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.1.7", ngImport: i0, type: ApiModule });
5076
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: ApiModule });
5072
+ 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 });
5073
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.0", ngImport: i0, type: ApiModule });
5074
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: ApiModule });
5077
5075
  }
5078
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: ApiModule, decorators: [{
5076
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.0", ngImport: i0, type: ApiModule, decorators: [{
5079
5077
  type: NgModule,
5080
5078
  args: [{
5081
5079
  imports: [],
@@ -5107,5 +5105,5 @@ function provideApi(configOrBasePath) {
5107
5105
  * Generated bundle index. Do not edit.
5108
5106
  */
5109
5107
 
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, SaveUserPreferencesDtoLanguageEnum, SaveUserPreferencesDtoUnitSystemEnum, SearchRegionDtoLevelEnum, SetPreferredLanguageCommandPreferredLanguageEnum, UnitSystem, UserDesignConditionsApiService, UserDesignConditionsDtoCoolingDesignBasisEnum, UserDesignWeatherConditionDtoDesignWeatherModeEnum, UserPermissionDtoPermissionEnum, UserPreferencesDtoLanguageEnum, UserPreferencesDtoUnitSystemEnum, UserProfileSettingsDtoRegistrationStatusEnum, UserTablesApiService, UsersApiService, provideApi };
5108
+ 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, UserStatus, UserTablesApiService, UsersApiService, provideApi };
5111
5109
  //# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map