@saritasa/renewaire-frontend-sdk 0.36.0 → 0.38.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.36.0
1
+ # @@saritasa/renewaire-frontend-sdk@0.38.0
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.36.0 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.38.0 --save
5
5
  ```
@@ -321,10 +321,10 @@ class AuditLogsApiService extends BaseService {
321
321
  reportProgress: reportProgress,
322
322
  });
323
323
  }
324
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AuditLogsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
325
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AuditLogsApiService, providedIn: "root" });
324
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: AuditLogsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
325
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: AuditLogsApiService, providedIn: "root" });
326
326
  }
327
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AuditLogsApiService, decorators: [{
327
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: AuditLogsApiService, decorators: [{
328
328
  type: Injectable,
329
329
  args: [{
330
330
  providedIn: "root",
@@ -524,10 +524,10 @@ class AuthApiService extends BaseService {
524
524
  reportProgress: reportProgress,
525
525
  });
526
526
  }
527
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AuthApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
528
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AuthApiService, providedIn: "root" });
527
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: AuthApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
528
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: AuthApiService, providedIn: "root" });
529
529
  }
530
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: AuthApiService, decorators: [{
530
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: AuthApiService, decorators: [{
531
531
  type: Injectable,
532
532
  args: [{
533
533
  providedIn: "root",
@@ -652,10 +652,10 @@ class FeedbacksApiService extends BaseService {
652
652
  reportProgress: reportProgress,
653
653
  });
654
654
  }
655
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: FeedbacksApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
656
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: FeedbacksApiService, providedIn: "root" });
655
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: FeedbacksApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
656
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: FeedbacksApiService, providedIn: "root" });
657
657
  }
658
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: FeedbacksApiService, decorators: [{
658
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: FeedbacksApiService, decorators: [{
659
659
  type: Injectable,
660
660
  args: [{
661
661
  providedIn: "root",
@@ -939,10 +939,10 @@ class GroupsApiService extends BaseService {
939
939
  reportProgress: reportProgress,
940
940
  });
941
941
  }
942
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: GroupsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
943
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: GroupsApiService, providedIn: "root" });
942
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: GroupsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
943
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: GroupsApiService, providedIn: "root" });
944
944
  }
945
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: GroupsApiService, decorators: [{
945
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: GroupsApiService, decorators: [{
946
946
  type: Injectable,
947
947
  args: [{
948
948
  providedIn: "root",
@@ -1173,10 +1173,10 @@ class KnownContactsApiService extends BaseService {
1173
1173
  reportProgress: reportProgress,
1174
1174
  });
1175
1175
  }
1176
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: KnownContactsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1177
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: KnownContactsApiService, providedIn: "root" });
1176
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: KnownContactsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1177
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: KnownContactsApiService, providedIn: "root" });
1178
1178
  }
1179
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: KnownContactsApiService, decorators: [{
1179
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: KnownContactsApiService, decorators: [{
1180
1180
  type: Injectable,
1181
1181
  args: [{
1182
1182
  providedIn: "root",
@@ -1447,10 +1447,10 @@ class PermissionBundlesApiService extends BaseService {
1447
1447
  reportProgress: reportProgress,
1448
1448
  });
1449
1449
  }
1450
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PermissionBundlesApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1451
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PermissionBundlesApiService, providedIn: "root" });
1450
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: PermissionBundlesApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1451
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: PermissionBundlesApiService, providedIn: "root" });
1452
1452
  }
1453
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PermissionBundlesApiService, decorators: [{
1453
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: PermissionBundlesApiService, decorators: [{
1454
1454
  type: Injectable,
1455
1455
  args: [{
1456
1456
  providedIn: "root",
@@ -1519,10 +1519,10 @@ class PermissionsApiService extends BaseService {
1519
1519
  reportProgress: reportProgress,
1520
1520
  });
1521
1521
  }
1522
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PermissionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1523
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PermissionsApiService, providedIn: "root" });
1522
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: PermissionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1523
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: PermissionsApiService, providedIn: "root" });
1524
1524
  }
1525
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: PermissionsApiService, decorators: [{
1525
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: PermissionsApiService, decorators: [{
1526
1526
  type: Injectable,
1527
1527
  args: [{
1528
1528
  providedIn: "root",
@@ -1658,10 +1658,10 @@ class ProjectsApiService extends BaseService {
1658
1658
  reportProgress: reportProgress,
1659
1659
  });
1660
1660
  }
1661
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ProjectsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1662
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ProjectsApiService, providedIn: "root" });
1661
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ProjectsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1662
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ProjectsApiService, providedIn: "root" });
1663
1663
  }
1664
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ProjectsApiService, decorators: [{
1664
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ProjectsApiService, decorators: [{
1665
1665
  type: Injectable,
1666
1666
  args: [{
1667
1667
  providedIn: "root",
@@ -1746,10 +1746,10 @@ class RegionsApiService extends BaseService {
1746
1746
  reportProgress: reportProgress,
1747
1747
  });
1748
1748
  }
1749
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: RegionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1750
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: RegionsApiService, providedIn: "root" });
1749
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: RegionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1750
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: RegionsApiService, providedIn: "root" });
1751
1751
  }
1752
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: RegionsApiService, decorators: [{
1752
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: RegionsApiService, decorators: [{
1753
1753
  type: Injectable,
1754
1754
  args: [{
1755
1755
  providedIn: "root",
@@ -1981,10 +1981,10 @@ class RepContactsApiService extends BaseService {
1981
1981
  reportProgress: reportProgress,
1982
1982
  });
1983
1983
  }
1984
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: RepContactsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1985
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: RepContactsApiService, providedIn: "root" });
1984
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: RepContactsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1985
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: RepContactsApiService, providedIn: "root" });
1986
1986
  }
1987
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: RepContactsApiService, decorators: [{
1987
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: RepContactsApiService, decorators: [{
1988
1988
  type: Injectable,
1989
1989
  args: [{
1990
1990
  providedIn: "root",
@@ -2696,10 +2696,10 @@ class RepTerritoriesApiService extends BaseService {
2696
2696
  reportProgress: reportProgress,
2697
2697
  });
2698
2698
  }
2699
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: RepTerritoriesApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2700
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: RepTerritoriesApiService, providedIn: "root" });
2699
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: RepTerritoriesApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2700
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: RepTerritoriesApiService, providedIn: "root" });
2701
2701
  }
2702
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: RepTerritoriesApiService, decorators: [{
2702
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: RepTerritoriesApiService, decorators: [{
2703
2703
  type: Injectable,
2704
2704
  args: [{
2705
2705
  providedIn: "root",
@@ -2825,6 +2825,7 @@ class RepTerritoryLocationsApiService extends BaseService {
2825
2825
  const country = requestParameters?.country;
2826
2826
  const state = requestParameters?.state;
2827
2827
  const county = requestParameters?.county;
2828
+ const notes = requestParameters?.notes;
2828
2829
  const orderBy = requestParameters?.orderBy;
2829
2830
  const page = requestParameters?.page;
2830
2831
  const pageSize = requestParameters?.pageSize;
@@ -2842,6 +2843,7 @@ class RepTerritoryLocationsApiService extends BaseService {
2842
2843
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, country, "Country");
2843
2844
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, state, "State");
2844
2845
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, county, "County");
2846
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, notes, "Notes");
2845
2847
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
2846
2848
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
2847
2849
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageSize, "PageSize");
@@ -2935,10 +2937,10 @@ class RepTerritoryLocationsApiService extends BaseService {
2935
2937
  reportProgress: reportProgress,
2936
2938
  });
2937
2939
  }
2938
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: RepTerritoryLocationsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2939
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: RepTerritoryLocationsApiService, providedIn: "root" });
2940
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: RepTerritoryLocationsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2941
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: RepTerritoryLocationsApiService, providedIn: "root" });
2940
2942
  }
2941
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: RepTerritoryLocationsApiService, decorators: [{
2943
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: RepTerritoryLocationsApiService, decorators: [{
2942
2944
  type: Injectable,
2943
2945
  args: [{
2944
2946
  providedIn: "root",
@@ -2998,7 +3000,7 @@ class RsdRegionsApiService extends BaseService {
2998
3000
  responseType_ = "blob";
2999
3001
  }
3000
3002
  }
3001
- let localVarPath = `/api/rsd-regions/${this.configuration.encodeParam({ name: "rsdRegionId", value: rsdRegionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/documents/${this.configuration.encodeParam({ name: "documentId", value: documentId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/download-url`;
3003
+ let localVarPath = `/api/rsd-regions/${this.configuration.encodeParam({ name: "rsdRegionId", value: rsdRegionId, in: "path", style: "simple", explode: false, dataType: "object", dataFormat: "int32" })}/documents/${this.configuration.encodeParam({ name: "documentId", value: documentId, in: "path", style: "simple", explode: false, dataType: "object", dataFormat: "int32" })}/download-url`;
3002
3004
  const { basePath, withCredentials } = this.configuration;
3003
3005
  return this.httpClient.request("get", `${basePath}${localVarPath}`, {
3004
3006
  context: localVarHttpContext,
@@ -3062,7 +3064,18 @@ class RsdRegionsApiService extends BaseService {
3062
3064
  });
3063
3065
  }
3064
3066
  rsdRegionsCreateRsdRegion(requestParameters, observe = "body", reportProgress = false, options) {
3065
- const saveRsdRegionDto = requestParameters?.saveRsdRegionDto;
3067
+ const name = requestParameters?.name;
3068
+ if (name === null || name === undefined) {
3069
+ throw new Error("Required parameter name was null or undefined when calling rsdRegionsCreateRsdRegion.");
3070
+ }
3071
+ const primaryRsdUserId = requestParameters?.primaryRsdUserId;
3072
+ if (primaryRsdUserId === null || primaryRsdUserId === undefined) {
3073
+ throw new Error("Required parameter primaryRsdUserId was null or undefined when calling rsdRegionsCreateRsdRegion.");
3074
+ }
3075
+ const notes = requestParameters?.notes;
3076
+ const tags = requestParameters?.tags;
3077
+ const rsdUserIds = requestParameters?.rsdUserIds;
3078
+ const rsdRegionLogo = requestParameters?.rsdRegionLogo;
3066
3079
  let localVarHeaders = this.defaultHeaders;
3067
3080
  // authentication (Bearer) required
3068
3081
  localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
@@ -3078,14 +3091,51 @@ class RsdRegionsApiService extends BaseService {
3078
3091
  const localVarHttpContext = options?.context ?? new HttpContext();
3079
3092
  const localVarTransferCache = options?.transferCache ?? true;
3080
3093
  // to determine the Content-Type header
3081
- const consumes = [
3082
- "application/json",
3083
- "text/json",
3084
- "application/*+json",
3085
- ];
3086
- const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
3087
- if (httpContentTypeSelected !== undefined) {
3088
- localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
3094
+ const consumes = ["multipart/form-data"];
3095
+ const canConsumeForm = this.canConsumeForm(consumes);
3096
+ let localVarFormParams;
3097
+ let localVarUseForm = false;
3098
+ let localVarConvertFormParamsToString = false;
3099
+ // use FormData to transmit files using content-type "multipart/form-data"
3100
+ // see https://stackoverflow.com/questions/4007969/application-x-www-form-urlencoded-or-multipart-form-data
3101
+ localVarUseForm = canConsumeForm;
3102
+ if (localVarUseForm) {
3103
+ localVarFormParams = new FormData();
3104
+ }
3105
+ else {
3106
+ localVarFormParams = new HttpParams({ encoder: this.encoder });
3107
+ }
3108
+ if (name !== undefined) {
3109
+ localVarFormParams =
3110
+ localVarFormParams.append("Name", name) ||
3111
+ localVarFormParams;
3112
+ }
3113
+ if (notes !== undefined) {
3114
+ localVarFormParams =
3115
+ localVarFormParams.append("Notes", notes) ||
3116
+ localVarFormParams;
3117
+ }
3118
+ if (tags) {
3119
+ tags.forEach((element) => {
3120
+ localVarFormParams =
3121
+ localVarFormParams.append("Tags", element) ||
3122
+ localVarFormParams;
3123
+ });
3124
+ }
3125
+ if (primaryRsdUserId !== undefined) {
3126
+ localVarFormParams =
3127
+ localVarFormParams.append("PrimaryRsdUserId", primaryRsdUserId) || localVarFormParams;
3128
+ }
3129
+ if (rsdUserIds) {
3130
+ rsdUserIds.forEach((element) => {
3131
+ localVarFormParams =
3132
+ localVarFormParams.append("RsdUserIds", element) ||
3133
+ localVarFormParams;
3134
+ });
3135
+ }
3136
+ if (rsdRegionLogo !== undefined) {
3137
+ localVarFormParams =
3138
+ localVarFormParams.append("RsdRegionLogo", rsdRegionLogo) || localVarFormParams;
3089
3139
  }
3090
3140
  let responseType_ = "json";
3091
3141
  if (localVarHttpHeaderAcceptSelected) {
@@ -3103,7 +3153,9 @@ class RsdRegionsApiService extends BaseService {
3103
3153
  const { basePath, withCredentials } = this.configuration;
3104
3154
  return this.httpClient.request("post", `${basePath}${localVarPath}`, {
3105
3155
  context: localVarHttpContext,
3106
- body: saveRsdRegionDto,
3156
+ body: localVarConvertFormParamsToString
3157
+ ? localVarFormParams.toString()
3158
+ : localVarFormParams,
3107
3159
  responseType: responseType_,
3108
3160
  ...(withCredentials ? { withCredentials } : {}),
3109
3161
  headers: localVarHeaders,
@@ -3149,7 +3201,7 @@ class RsdRegionsApiService extends BaseService {
3149
3201
  responseType_ = "blob";
3150
3202
  }
3151
3203
  }
3152
- let localVarPath = `/api/rsd-regions/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/documents`;
3204
+ let localVarPath = `/api/rsd-regions/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "object", dataFormat: "int32" })}/documents`;
3153
3205
  const { basePath, withCredentials } = this.configuration;
3154
3206
  return this.httpClient.request("post", `${basePath}${localVarPath}`, {
3155
3207
  context: localVarHttpContext,
@@ -3193,7 +3245,7 @@ class RsdRegionsApiService extends BaseService {
3193
3245
  responseType_ = "blob";
3194
3246
  }
3195
3247
  }
3196
- let localVarPath = `/api/rsd-regions/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
3248
+ let localVarPath = `/api/rsd-regions/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "object", dataFormat: "int32" })}`;
3197
3249
  const { basePath, withCredentials } = this.configuration;
3198
3250
  return this.httpClient.request("get", `${basePath}${localVarPath}`, {
3199
3251
  context: localVarHttpContext,
@@ -3419,8 +3471,19 @@ class RsdRegionsApiService extends BaseService {
3419
3471
  if (rsdRegionId === null || rsdRegionId === undefined) {
3420
3472
  throw new Error("Required parameter rsdRegionId was null or undefined when calling rsdRegionsUpdateRsdRegion.");
3421
3473
  }
3474
+ const name = requestParameters?.name;
3475
+ if (name === null || name === undefined) {
3476
+ throw new Error("Required parameter name was null or undefined when calling rsdRegionsUpdateRsdRegion.");
3477
+ }
3478
+ const primaryRsdUserId = requestParameters?.primaryRsdUserId;
3479
+ if (primaryRsdUserId === null || primaryRsdUserId === undefined) {
3480
+ throw new Error("Required parameter primaryRsdUserId was null or undefined when calling rsdRegionsUpdateRsdRegion.");
3481
+ }
3422
3482
  const isActive = requestParameters?.isActive;
3423
- const saveRsdRegionDto = requestParameters?.saveRsdRegionDto;
3483
+ const notes = requestParameters?.notes;
3484
+ const tags = requestParameters?.tags;
3485
+ const rsdUserIds = requestParameters?.rsdUserIds;
3486
+ const rsdRegionLogo = requestParameters?.rsdRegionLogo;
3424
3487
  let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
3425
3488
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, isActive, "isActive");
3426
3489
  let localVarHeaders = this.defaultHeaders;
@@ -3433,14 +3496,51 @@ class RsdRegionsApiService extends BaseService {
3433
3496
  const localVarHttpContext = options?.context ?? new HttpContext();
3434
3497
  const localVarTransferCache = options?.transferCache ?? true;
3435
3498
  // to determine the Content-Type header
3436
- const consumes = [
3437
- "application/json",
3438
- "text/json",
3439
- "application/*+json",
3440
- ];
3441
- const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
3442
- if (httpContentTypeSelected !== undefined) {
3443
- localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
3499
+ const consumes = ["multipart/form-data"];
3500
+ const canConsumeForm = this.canConsumeForm(consumes);
3501
+ let localVarFormParams;
3502
+ let localVarUseForm = false;
3503
+ let localVarConvertFormParamsToString = false;
3504
+ // use FormData to transmit files using content-type "multipart/form-data"
3505
+ // see https://stackoverflow.com/questions/4007969/application-x-www-form-urlencoded-or-multipart-form-data
3506
+ localVarUseForm = canConsumeForm;
3507
+ if (localVarUseForm) {
3508
+ localVarFormParams = new FormData();
3509
+ }
3510
+ else {
3511
+ localVarFormParams = new HttpParams({ encoder: this.encoder });
3512
+ }
3513
+ if (name !== undefined) {
3514
+ localVarFormParams =
3515
+ localVarFormParams.append("Name", name) ||
3516
+ localVarFormParams;
3517
+ }
3518
+ if (notes !== undefined) {
3519
+ localVarFormParams =
3520
+ localVarFormParams.append("Notes", notes) ||
3521
+ localVarFormParams;
3522
+ }
3523
+ if (tags) {
3524
+ tags.forEach((element) => {
3525
+ localVarFormParams =
3526
+ localVarFormParams.append("Tags", element) ||
3527
+ localVarFormParams;
3528
+ });
3529
+ }
3530
+ if (primaryRsdUserId !== undefined) {
3531
+ localVarFormParams =
3532
+ localVarFormParams.append("PrimaryRsdUserId", primaryRsdUserId) || localVarFormParams;
3533
+ }
3534
+ if (rsdUserIds) {
3535
+ rsdUserIds.forEach((element) => {
3536
+ localVarFormParams =
3537
+ localVarFormParams.append("RsdUserIds", element) ||
3538
+ localVarFormParams;
3539
+ });
3540
+ }
3541
+ if (rsdRegionLogo !== undefined) {
3542
+ localVarFormParams =
3543
+ localVarFormParams.append("RsdRegionLogo", rsdRegionLogo) || localVarFormParams;
3444
3544
  }
3445
3545
  let responseType_ = "json";
3446
3546
  if (localVarHttpHeaderAcceptSelected) {
@@ -3454,11 +3554,13 @@ class RsdRegionsApiService extends BaseService {
3454
3554
  responseType_ = "blob";
3455
3555
  }
3456
3556
  }
3457
- let localVarPath = `/api/rsd-regions/${this.configuration.encodeParam({ name: "rsdRegionId", value: rsdRegionId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}`;
3557
+ let localVarPath = `/api/rsd-regions/${this.configuration.encodeParam({ name: "rsdRegionId", value: rsdRegionId, in: "path", style: "simple", explode: false, dataType: "object", dataFormat: "int32" })}`;
3458
3558
  const { basePath, withCredentials } = this.configuration;
3459
3559
  return this.httpClient.request("put", `${basePath}${localVarPath}`, {
3460
3560
  context: localVarHttpContext,
3461
- body: saveRsdRegionDto,
3561
+ body: localVarConvertFormParamsToString
3562
+ ? localVarFormParams.toString()
3563
+ : localVarFormParams,
3462
3564
  params: localVarQueryParameters,
3463
3565
  responseType: responseType_,
3464
3566
  ...(withCredentials ? { withCredentials } : {}),
@@ -3468,10 +3570,10 @@ class RsdRegionsApiService extends BaseService {
3468
3570
  reportProgress: reportProgress,
3469
3571
  });
3470
3572
  }
3471
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: RsdRegionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3472
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: RsdRegionsApiService, providedIn: "root" });
3573
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: RsdRegionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3574
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: RsdRegionsApiService, providedIn: "root" });
3473
3575
  }
3474
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: RsdRegionsApiService, decorators: [{
3576
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: RsdRegionsApiService, decorators: [{
3475
3577
  type: Injectable,
3476
3578
  args: [{
3477
3579
  providedIn: "root",
@@ -3590,10 +3692,10 @@ class UserDesignConditionsApiService extends BaseService {
3590
3692
  reportProgress: reportProgress,
3591
3693
  });
3592
3694
  }
3593
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UserDesignConditionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3594
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UserDesignConditionsApiService, providedIn: "root" });
3695
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: UserDesignConditionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3696
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: UserDesignConditionsApiService, providedIn: "root" });
3595
3697
  }
3596
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UserDesignConditionsApiService, decorators: [{
3698
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: UserDesignConditionsApiService, decorators: [{
3597
3699
  type: Injectable,
3598
3700
  args: [{
3599
3701
  providedIn: "root",
@@ -3755,10 +3857,10 @@ class UserTablesApiService extends BaseService {
3755
3857
  reportProgress: reportProgress,
3756
3858
  });
3757
3859
  }
3758
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UserTablesApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3759
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UserTablesApiService, providedIn: "root" });
3860
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: UserTablesApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3861
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: UserTablesApiService, providedIn: "root" });
3760
3862
  }
3761
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UserTablesApiService, decorators: [{
3863
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: UserTablesApiService, decorators: [{
3762
3864
  type: Injectable,
3763
3865
  args: [{
3764
3866
  providedIn: "root",
@@ -4931,10 +5033,10 @@ class UsersApiService extends BaseService {
4931
5033
  reportProgress: reportProgress,
4932
5034
  });
4933
5035
  }
4934
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UsersApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
4935
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UsersApiService, providedIn: "root" });
5036
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: UsersApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
5037
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: UsersApiService, providedIn: "root" });
4936
5038
  }
4937
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UsersApiService, decorators: [{
5039
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: UsersApiService, decorators: [{
4938
5040
  type: Injectable,
4939
5041
  args: [{
4940
5042
  providedIn: "root",
@@ -5205,10 +5307,10 @@ class UsersManagementApiService extends BaseService {
5205
5307
  reportProgress: reportProgress,
5206
5308
  });
5207
5309
  }
5208
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UsersManagementApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
5209
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UsersManagementApiService, providedIn: "root" });
5310
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: UsersManagementApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
5311
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: UsersManagementApiService, providedIn: "root" });
5210
5312
  }
5211
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: UsersManagementApiService, decorators: [{
5313
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: UsersManagementApiService, decorators: [{
5212
5314
  type: Injectable,
5213
5315
  args: [{
5214
5316
  providedIn: "root",
@@ -5799,16 +5901,6 @@ var SaveGroupDtoTypeEnum;
5799
5901
  SaveGroupDtoTypeEnum["System"] = "System";
5800
5902
  })(SaveGroupDtoTypeEnum || (SaveGroupDtoTypeEnum = {}));
5801
5903
 
5802
- /**
5803
- * RenewAire CORES API
5804
- *
5805
- * Contact: renewaire@saritasa.com
5806
- *
5807
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
5808
- * https://openapi-generator.tech
5809
- * Do not edit the class manually.
5810
- */
5811
-
5812
5904
  /**
5813
5905
  * RenewAire CORES API
5814
5906
  *
@@ -6104,11 +6196,11 @@ class ApiModule {
6104
6196
  "See also https://github.com/angular/angular/issues/20575");
6105
6197
  }
6106
6198
  }
6107
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ApiModule, deps: [{ token: ApiModule, optional: true, skipSelf: true }, { token: i1.HttpClient, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
6108
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.2.4", ngImport: i0, type: ApiModule });
6109
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ApiModule });
6199
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ApiModule, deps: [{ token: ApiModule, optional: true, skipSelf: true }, { token: i1.HttpClient, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
6200
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.0", ngImport: i0, type: ApiModule });
6201
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ApiModule });
6110
6202
  }
6111
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.2.4", ngImport: i0, type: ApiModule, decorators: [{
6203
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ApiModule, decorators: [{
6112
6204
  type: NgModule,
6113
6205
  args: [{
6114
6206
  imports: [],