@saritasa/renewaire-frontend-sdk 0.2.0 → 0.4.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.
@@ -316,6 +316,55 @@ class AuthApiService extends BaseService {
316
316
  reportProgress: reportProgress,
317
317
  });
318
318
  }
319
+ authAuthenticateByEmailToken(requestParameters, observe = "body", reportProgress = false, options) {
320
+ const emailConfirmationTokenDto = requestParameters?.emailConfirmationTokenDto;
321
+ let localVarHeaders = this.defaultHeaders;
322
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
323
+ this.configuration.selectHeaderAccept([
324
+ "text/plain",
325
+ "application/json",
326
+ "text/json",
327
+ ]);
328
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
329
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
330
+ }
331
+ const localVarHttpContext = options?.context ?? new HttpContext();
332
+ const localVarTransferCache = options?.transferCache ?? true;
333
+ // to determine the Content-Type header
334
+ const consumes = [
335
+ "application/json",
336
+ "text/json",
337
+ "application/*+json",
338
+ ];
339
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
340
+ if (httpContentTypeSelected !== undefined) {
341
+ localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
342
+ }
343
+ let responseType_ = "json";
344
+ if (localVarHttpHeaderAcceptSelected) {
345
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
346
+ responseType_ = "text";
347
+ }
348
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
349
+ responseType_ = "json";
350
+ }
351
+ else {
352
+ responseType_ = "blob";
353
+ }
354
+ }
355
+ let localVarPath = `/api/auth/email`;
356
+ const { basePath, withCredentials } = this.configuration;
357
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
358
+ context: localVarHttpContext,
359
+ body: emailConfirmationTokenDto,
360
+ responseType: responseType_,
361
+ ...(withCredentials ? { withCredentials } : {}),
362
+ headers: localVarHeaders,
363
+ observe: observe,
364
+ transferCache: localVarTransferCache,
365
+ reportProgress: reportProgress,
366
+ });
367
+ }
319
368
  authRefreshToken(requestParameters, observe = "body", reportProgress = false, options) {
320
369
  const refreshTokenCommand = requestParameters?.refreshTokenCommand;
321
370
  if (refreshTokenCommand === null || refreshTokenCommand === undefined) {
@@ -368,10 +417,10 @@ class AuthApiService extends BaseService {
368
417
  reportProgress: reportProgress,
369
418
  });
370
419
  }
371
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: AuthApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
372
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: AuthApiService, providedIn: "root" });
420
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", 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.6", ngImport: i0, type: AuthApiService, providedIn: "root" });
373
422
  }
374
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: AuthApiService, decorators: [{
423
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: AuthApiService, decorators: [{
375
424
  type: Injectable,
376
425
  args: [{
377
426
  providedIn: "root",
@@ -670,10 +719,10 @@ class PermissionBundlesApiService extends BaseService {
670
719
  reportProgress: reportProgress,
671
720
  });
672
721
  }
673
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: PermissionBundlesApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
674
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: PermissionBundlesApiService, providedIn: "root" });
722
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PermissionBundlesApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
723
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PermissionBundlesApiService, providedIn: "root" });
675
724
  }
676
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: PermissionBundlesApiService, decorators: [{
725
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PermissionBundlesApiService, decorators: [{
677
726
  type: Injectable,
678
727
  args: [{
679
728
  providedIn: "root",
@@ -742,10 +791,10 @@ class PermissionsApiService extends BaseService {
742
791
  reportProgress: reportProgress,
743
792
  });
744
793
  }
745
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: PermissionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
746
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: PermissionsApiService, providedIn: "root" });
794
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PermissionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
795
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PermissionsApiService, providedIn: "root" });
747
796
  }
748
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: PermissionsApiService, decorators: [{
797
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: PermissionsApiService, decorators: [{
749
798
  type: Injectable,
750
799
  args: [{
751
800
  providedIn: "root",
@@ -828,10 +877,10 @@ class RegionsApiService extends BaseService {
828
877
  reportProgress: reportProgress,
829
878
  });
830
879
  }
831
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: RegionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
832
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: RegionsApiService, providedIn: "root" });
880
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RegionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
881
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RegionsApiService, providedIn: "root" });
833
882
  }
834
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: RegionsApiService, decorators: [{
883
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RegionsApiService, decorators: [{
835
884
  type: Injectable,
836
885
  args: [{
837
886
  providedIn: "root",
@@ -995,10 +1044,10 @@ class RepContactsApiService extends BaseService {
995
1044
  reportProgress: reportProgress,
996
1045
  });
997
1046
  }
998
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: RepContactsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
999
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: RepContactsApiService, providedIn: "root" });
1047
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RepContactsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1048
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RepContactsApiService, providedIn: "root" });
1000
1049
  }
1001
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: RepContactsApiService, decorators: [{
1050
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RepContactsApiService, decorators: [{
1002
1051
  type: Injectable,
1003
1052
  args: [{
1004
1053
  providedIn: "root",
@@ -1373,10 +1422,10 @@ class RepTerritoriesApiService extends BaseService {
1373
1422
  reportProgress: reportProgress,
1374
1423
  });
1375
1424
  }
1376
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: RepTerritoriesApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1377
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: RepTerritoriesApiService, providedIn: "root" });
1425
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RepTerritoriesApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1426
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RepTerritoriesApiService, providedIn: "root" });
1378
1427
  }
1379
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: RepTerritoriesApiService, decorators: [{
1428
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RepTerritoriesApiService, decorators: [{
1380
1429
  type: Injectable,
1381
1430
  args: [{
1382
1431
  providedIn: "root",
@@ -1595,10 +1644,10 @@ class RepTerritoryLocationsApiService extends BaseService {
1595
1644
  reportProgress: reportProgress,
1596
1645
  });
1597
1646
  }
1598
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: RepTerritoryLocationsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1599
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: RepTerritoryLocationsApiService, providedIn: "root" });
1647
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RepTerritoryLocationsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1648
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RepTerritoryLocationsApiService, providedIn: "root" });
1600
1649
  }
1601
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: RepTerritoryLocationsApiService, decorators: [{
1650
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RepTerritoryLocationsApiService, decorators: [{
1602
1651
  type: Injectable,
1603
1652
  args: [{
1604
1653
  providedIn: "root",
@@ -2058,10 +2107,10 @@ class RsdRegionsApiService extends BaseService {
2058
2107
  reportProgress: reportProgress,
2059
2108
  });
2060
2109
  }
2061
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: RsdRegionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2062
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: RsdRegionsApiService, providedIn: "root" });
2110
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RsdRegionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2111
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RsdRegionsApiService, providedIn: "root" });
2063
2112
  }
2064
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: RsdRegionsApiService, decorators: [{
2113
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RsdRegionsApiService, decorators: [{
2065
2114
  type: Injectable,
2066
2115
  args: [{
2067
2116
  providedIn: "root",
@@ -2180,10 +2229,10 @@ class UserDesignConditionsApiService extends BaseService {
2180
2229
  reportProgress: reportProgress,
2181
2230
  });
2182
2231
  }
2183
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: UserDesignConditionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2184
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: UserDesignConditionsApiService, providedIn: "root" });
2232
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserDesignConditionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2233
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserDesignConditionsApiService, providedIn: "root" });
2185
2234
  }
2186
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: UserDesignConditionsApiService, decorators: [{
2235
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UserDesignConditionsApiService, decorators: [{
2187
2236
  type: Injectable,
2188
2237
  args: [{
2189
2238
  providedIn: "root",
@@ -2213,6 +2262,140 @@ class UsersApiService extends BaseService {
2213
2262
  super(basePath, configuration);
2214
2263
  this.httpClient = httpClient;
2215
2264
  }
2265
+ usersAdminSetUserPassword(requestParameters, observe = "body", reportProgress = false, options) {
2266
+ const userId = requestParameters?.userId;
2267
+ if (userId === null || userId === undefined) {
2268
+ throw new Error("Required parameter userId was null or undefined when calling usersAdminSetUserPassword.");
2269
+ }
2270
+ const newPassword = requestParameters?.newPassword;
2271
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
2272
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, newPassword, "newPassword");
2273
+ let localVarHeaders = this.defaultHeaders;
2274
+ // authentication (Bearer) required
2275
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
2276
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
2277
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2278
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
2279
+ }
2280
+ const localVarHttpContext = options?.context ?? new HttpContext();
2281
+ const localVarTransferCache = options?.transferCache ?? true;
2282
+ let responseType_ = "json";
2283
+ if (localVarHttpHeaderAcceptSelected) {
2284
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
2285
+ responseType_ = "text";
2286
+ }
2287
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2288
+ responseType_ = "json";
2289
+ }
2290
+ else {
2291
+ responseType_ = "blob";
2292
+ }
2293
+ }
2294
+ let localVarPath = `/api/users/${this.configuration.encodeParam({ name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/set-password`;
2295
+ const { basePath, withCredentials } = this.configuration;
2296
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
2297
+ context: localVarHttpContext,
2298
+ params: localVarQueryParameters,
2299
+ responseType: responseType_,
2300
+ ...(withCredentials ? { withCredentials } : {}),
2301
+ headers: localVarHeaders,
2302
+ observe: observe,
2303
+ transferCache: localVarTransferCache,
2304
+ reportProgress: reportProgress,
2305
+ });
2306
+ }
2307
+ usersChangeCurrentUserPassword(requestParameters, observe = "body", reportProgress = false, options) {
2308
+ const changeCurrentUserPasswordCommand = requestParameters?.changeCurrentUserPasswordCommand;
2309
+ let localVarHeaders = this.defaultHeaders;
2310
+ // authentication (Bearer) required
2311
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
2312
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
2313
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2314
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
2315
+ }
2316
+ const localVarHttpContext = options?.context ?? new HttpContext();
2317
+ const localVarTransferCache = options?.transferCache ?? true;
2318
+ // to determine the Content-Type header
2319
+ const consumes = [
2320
+ "application/json",
2321
+ "text/json",
2322
+ "application/*+json",
2323
+ ];
2324
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
2325
+ if (httpContentTypeSelected !== undefined) {
2326
+ localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
2327
+ }
2328
+ let responseType_ = "json";
2329
+ if (localVarHttpHeaderAcceptSelected) {
2330
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
2331
+ responseType_ = "text";
2332
+ }
2333
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2334
+ responseType_ = "json";
2335
+ }
2336
+ else {
2337
+ responseType_ = "blob";
2338
+ }
2339
+ }
2340
+ let localVarPath = `/api/users/me/change-password`;
2341
+ const { basePath, withCredentials } = this.configuration;
2342
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
2343
+ context: localVarHttpContext,
2344
+ body: changeCurrentUserPasswordCommand,
2345
+ responseType: responseType_,
2346
+ ...(withCredentials ? { withCredentials } : {}),
2347
+ headers: localVarHeaders,
2348
+ observe: observe,
2349
+ transferCache: localVarTransferCache,
2350
+ reportProgress: reportProgress,
2351
+ });
2352
+ }
2353
+ usersChangeEmail(requestParameters, observe = "body", reportProgress = false, options) {
2354
+ const changeEmailCommand = requestParameters?.changeEmailCommand;
2355
+ let localVarHeaders = this.defaultHeaders;
2356
+ // authentication (Bearer) required
2357
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
2358
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
2359
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2360
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
2361
+ }
2362
+ const localVarHttpContext = options?.context ?? new HttpContext();
2363
+ const localVarTransferCache = options?.transferCache ?? true;
2364
+ // to determine the Content-Type header
2365
+ const consumes = [
2366
+ "application/json",
2367
+ "text/json",
2368
+ "application/*+json",
2369
+ ];
2370
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
2371
+ if (httpContentTypeSelected !== undefined) {
2372
+ localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
2373
+ }
2374
+ let responseType_ = "json";
2375
+ if (localVarHttpHeaderAcceptSelected) {
2376
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
2377
+ responseType_ = "text";
2378
+ }
2379
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2380
+ responseType_ = "json";
2381
+ }
2382
+ else {
2383
+ responseType_ = "blob";
2384
+ }
2385
+ }
2386
+ let localVarPath = `/api/users/me/change-email`;
2387
+ const { basePath, withCredentials } = this.configuration;
2388
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
2389
+ context: localVarHttpContext,
2390
+ body: changeEmailCommand,
2391
+ responseType: responseType_,
2392
+ ...(withCredentials ? { withCredentials } : {}),
2393
+ headers: localVarHeaders,
2394
+ observe: observe,
2395
+ transferCache: localVarTransferCache,
2396
+ reportProgress: reportProgress,
2397
+ });
2398
+ }
2216
2399
  usersConfirmEmail(requestParameters, observe = "body", reportProgress = false, options) {
2217
2400
  const emailConfirmationTokenDto = requestParameters?.emailConfirmationTokenDto;
2218
2401
  let localVarHeaders = this.defaultHeaders;
@@ -2340,6 +2523,45 @@ class UsersApiService extends BaseService {
2340
2523
  reportProgress: reportProgress,
2341
2524
  });
2342
2525
  }
2526
+ usersGetCurrentUser(observe = "body", reportProgress = false, options) {
2527
+ let localVarHeaders = this.defaultHeaders;
2528
+ // authentication (Bearer) required
2529
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
2530
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
2531
+ this.configuration.selectHeaderAccept([
2532
+ "text/plain",
2533
+ "application/json",
2534
+ "text/json",
2535
+ ]);
2536
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2537
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
2538
+ }
2539
+ const localVarHttpContext = options?.context ?? new HttpContext();
2540
+ const localVarTransferCache = options?.transferCache ?? true;
2541
+ let responseType_ = "json";
2542
+ if (localVarHttpHeaderAcceptSelected) {
2543
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
2544
+ responseType_ = "text";
2545
+ }
2546
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2547
+ responseType_ = "json";
2548
+ }
2549
+ else {
2550
+ responseType_ = "blob";
2551
+ }
2552
+ }
2553
+ let localVarPath = `/api/users/me`;
2554
+ const { basePath, withCredentials } = this.configuration;
2555
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
2556
+ context: localVarHttpContext,
2557
+ responseType: responseType_,
2558
+ ...(withCredentials ? { withCredentials } : {}),
2559
+ headers: localVarHeaders,
2560
+ observe: observe,
2561
+ transferCache: localVarTransferCache,
2562
+ reportProgress: reportProgress,
2563
+ });
2564
+ }
2343
2565
  usersGetRepContacts(requestParameters, observe = "body", reportProgress = false, options) {
2344
2566
  const userId = requestParameters?.userId;
2345
2567
  if (userId === null || userId === undefined) {
@@ -2383,9 +2605,14 @@ class UsersApiService extends BaseService {
2383
2605
  reportProgress: reportProgress,
2384
2606
  });
2385
2607
  }
2386
- usersRegisterUser(requestParameters, observe = "body", reportProgress = false, options) {
2387
- const userRegistrationDto = requestParameters?.userRegistrationDto;
2608
+ usersGetUserPermissions(requestParameters, observe = "body", reportProgress = false, options) {
2609
+ const userId = requestParameters?.userId;
2610
+ if (userId === null || userId === undefined) {
2611
+ throw new Error("Required parameter userId was null or undefined when calling usersGetUserPermissions.");
2612
+ }
2388
2613
  let localVarHeaders = this.defaultHeaders;
2614
+ // authentication (Bearer) required
2615
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
2389
2616
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
2390
2617
  this.configuration.selectHeaderAccept([
2391
2618
  "text/plain",
@@ -2397,6 +2624,41 @@ class UsersApiService extends BaseService {
2397
2624
  }
2398
2625
  const localVarHttpContext = options?.context ?? new HttpContext();
2399
2626
  const localVarTransferCache = options?.transferCache ?? true;
2627
+ let responseType_ = "json";
2628
+ if (localVarHttpHeaderAcceptSelected) {
2629
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
2630
+ responseType_ = "text";
2631
+ }
2632
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2633
+ responseType_ = "json";
2634
+ }
2635
+ else {
2636
+ responseType_ = "blob";
2637
+ }
2638
+ }
2639
+ let localVarPath = `/api/users/${this.configuration.encodeParam({ name: "userId", value: userId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32" })}/permissions`;
2640
+ const { basePath, withCredentials } = this.configuration;
2641
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
2642
+ context: localVarHttpContext,
2643
+ responseType: responseType_,
2644
+ ...(withCredentials ? { withCredentials } : {}),
2645
+ headers: localVarHeaders,
2646
+ observe: observe,
2647
+ transferCache: localVarTransferCache,
2648
+ reportProgress: reportProgress,
2649
+ });
2650
+ }
2651
+ usersRequestChangeEmail(requestParameters, observe = "body", reportProgress = false, options) {
2652
+ const requestChangeEmailCommand = requestParameters?.requestChangeEmailCommand;
2653
+ let localVarHeaders = this.defaultHeaders;
2654
+ // authentication (Bearer) required
2655
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
2656
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
2657
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2658
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
2659
+ }
2660
+ const localVarHttpContext = options?.context ?? new HttpContext();
2661
+ const localVarTransferCache = options?.transferCache ?? true;
2400
2662
  // to determine the Content-Type header
2401
2663
  const consumes = [
2402
2664
  "application/json",
@@ -2419,11 +2681,11 @@ class UsersApiService extends BaseService {
2419
2681
  responseType_ = "blob";
2420
2682
  }
2421
2683
  }
2422
- let localVarPath = `/api/users`;
2684
+ let localVarPath = `/api/users/me/request-change-email`;
2423
2685
  const { basePath, withCredentials } = this.configuration;
2424
2686
  return this.httpClient.request("post", `${basePath}${localVarPath}`, {
2425
2687
  context: localVarHttpContext,
2426
- body: userRegistrationDto,
2688
+ body: requestChangeEmailCommand,
2427
2689
  responseType: responseType_,
2428
2690
  ...(withCredentials ? { withCredentials } : {}),
2429
2691
  headers: localVarHeaders,
@@ -2520,10 +2782,194 @@ class UsersApiService extends BaseService {
2520
2782
  reportProgress: reportProgress,
2521
2783
  });
2522
2784
  }
2523
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: UsersApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2524
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: UsersApiService, providedIn: "root" });
2785
+ usersSetUserAddress(requestParameters, observe = "body", reportProgress = false, options) {
2786
+ const setAddressDto = requestParameters?.setAddressDto;
2787
+ let localVarHeaders = this.defaultHeaders;
2788
+ // authentication (Bearer) required
2789
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
2790
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
2791
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2792
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
2793
+ }
2794
+ const localVarHttpContext = options?.context ?? new HttpContext();
2795
+ const localVarTransferCache = options?.transferCache ?? true;
2796
+ // to determine the Content-Type header
2797
+ const consumes = [
2798
+ "application/json",
2799
+ "text/json",
2800
+ "application/*+json",
2801
+ ];
2802
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
2803
+ if (httpContentTypeSelected !== undefined) {
2804
+ localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
2805
+ }
2806
+ let responseType_ = "json";
2807
+ if (localVarHttpHeaderAcceptSelected) {
2808
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
2809
+ responseType_ = "text";
2810
+ }
2811
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2812
+ responseType_ = "json";
2813
+ }
2814
+ else {
2815
+ responseType_ = "blob";
2816
+ }
2817
+ }
2818
+ let localVarPath = `/api/users/registration/set-address`;
2819
+ const { basePath, withCredentials } = this.configuration;
2820
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
2821
+ context: localVarHttpContext,
2822
+ body: setAddressDto,
2823
+ responseType: responseType_,
2824
+ ...(withCredentials ? { withCredentials } : {}),
2825
+ headers: localVarHeaders,
2826
+ observe: observe,
2827
+ transferCache: localVarTransferCache,
2828
+ reportProgress: reportProgress,
2829
+ });
2830
+ }
2831
+ usersSetUserOccupation(requestParameters, observe = "body", reportProgress = false, options) {
2832
+ const setUserOccupationCommand = requestParameters?.setUserOccupationCommand;
2833
+ let localVarHeaders = this.defaultHeaders;
2834
+ // authentication (Bearer) required
2835
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
2836
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
2837
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2838
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
2839
+ }
2840
+ const localVarHttpContext = options?.context ?? new HttpContext();
2841
+ const localVarTransferCache = options?.transferCache ?? true;
2842
+ // to determine the Content-Type header
2843
+ const consumes = [
2844
+ "application/json",
2845
+ "text/json",
2846
+ "application/*+json",
2847
+ ];
2848
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
2849
+ if (httpContentTypeSelected !== undefined) {
2850
+ localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
2851
+ }
2852
+ let responseType_ = "json";
2853
+ if (localVarHttpHeaderAcceptSelected) {
2854
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
2855
+ responseType_ = "text";
2856
+ }
2857
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2858
+ responseType_ = "json";
2859
+ }
2860
+ else {
2861
+ responseType_ = "blob";
2862
+ }
2863
+ }
2864
+ let localVarPath = `/api/users/registration/set-occupation`;
2865
+ const { basePath, withCredentials } = this.configuration;
2866
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
2867
+ context: localVarHttpContext,
2868
+ body: setUserOccupationCommand,
2869
+ responseType: responseType_,
2870
+ ...(withCredentials ? { withCredentials } : {}),
2871
+ headers: localVarHeaders,
2872
+ observe: observe,
2873
+ transferCache: localVarTransferCache,
2874
+ reportProgress: reportProgress,
2875
+ });
2876
+ }
2877
+ usersSetUserPassword(requestParameters, observe = "body", reportProgress = false, options) {
2878
+ const setUserPasswordCommand = requestParameters?.setUserPasswordCommand;
2879
+ let localVarHeaders = this.defaultHeaders;
2880
+ // authentication (Bearer) required
2881
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
2882
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
2883
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2884
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
2885
+ }
2886
+ const localVarHttpContext = options?.context ?? new HttpContext();
2887
+ const localVarTransferCache = options?.transferCache ?? true;
2888
+ // to determine the Content-Type header
2889
+ const consumes = [
2890
+ "application/json",
2891
+ "text/json",
2892
+ "application/*+json",
2893
+ ];
2894
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
2895
+ if (httpContentTypeSelected !== undefined) {
2896
+ localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
2897
+ }
2898
+ let responseType_ = "json";
2899
+ if (localVarHttpHeaderAcceptSelected) {
2900
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
2901
+ responseType_ = "text";
2902
+ }
2903
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2904
+ responseType_ = "json";
2905
+ }
2906
+ else {
2907
+ responseType_ = "blob";
2908
+ }
2909
+ }
2910
+ let localVarPath = `/api/users/registration/set-password`;
2911
+ const { basePath, withCredentials } = this.configuration;
2912
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
2913
+ context: localVarHttpContext,
2914
+ body: setUserPasswordCommand,
2915
+ responseType: responseType_,
2916
+ ...(withCredentials ? { withCredentials } : {}),
2917
+ headers: localVarHeaders,
2918
+ observe: observe,
2919
+ transferCache: localVarTransferCache,
2920
+ reportProgress: reportProgress,
2921
+ });
2922
+ }
2923
+ usersSetUserProfile(requestParameters, observe = "body", reportProgress = false, options) {
2924
+ const userProfileDto = requestParameters?.userProfileDto;
2925
+ let localVarHeaders = this.defaultHeaders;
2926
+ // authentication (Bearer) required
2927
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
2928
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);
2929
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
2930
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
2931
+ }
2932
+ const localVarHttpContext = options?.context ?? new HttpContext();
2933
+ const localVarTransferCache = options?.transferCache ?? true;
2934
+ // to determine the Content-Type header
2935
+ const consumes = [
2936
+ "application/json",
2937
+ "text/json",
2938
+ "application/*+json",
2939
+ ];
2940
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
2941
+ if (httpContentTypeSelected !== undefined) {
2942
+ localVarHeaders = localVarHeaders.set("Content-Type", httpContentTypeSelected);
2943
+ }
2944
+ let responseType_ = "json";
2945
+ if (localVarHttpHeaderAcceptSelected) {
2946
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
2947
+ responseType_ = "text";
2948
+ }
2949
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
2950
+ responseType_ = "json";
2951
+ }
2952
+ else {
2953
+ responseType_ = "blob";
2954
+ }
2955
+ }
2956
+ let localVarPath = `/api/users/registration/set-profile`;
2957
+ const { basePath, withCredentials } = this.configuration;
2958
+ return this.httpClient.request("post", `${basePath}${localVarPath}`, {
2959
+ context: localVarHttpContext,
2960
+ body: userProfileDto,
2961
+ responseType: responseType_,
2962
+ ...(withCredentials ? { withCredentials } : {}),
2963
+ headers: localVarHeaders,
2964
+ observe: observe,
2965
+ transferCache: localVarTransferCache,
2966
+ reportProgress: reportProgress,
2967
+ });
2968
+ }
2969
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UsersApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2970
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UsersApiService, providedIn: "root" });
2525
2971
  }
2526
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: UsersApiService, decorators: [{
2972
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: UsersApiService, decorators: [{
2527
2973
  type: Injectable,
2528
2974
  args: [{
2529
2975
  providedIn: "root",
@@ -2587,6 +3033,26 @@ var AddressDtoCountryEnum;
2587
3033
  AddressDtoCountryEnum["Mexico"] = "Mexico";
2588
3034
  })(AddressDtoCountryEnum || (AddressDtoCountryEnum = {}));
2589
3035
 
3036
+ /**
3037
+ * RenewAire CORES API
3038
+ *
3039
+ * Contact: renewaire@saritasa.com
3040
+ *
3041
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3042
+ * https://openapi-generator.tech
3043
+ * Do not edit the class manually.
3044
+ */
3045
+
3046
+ /**
3047
+ * RenewAire CORES API
3048
+ *
3049
+ * Contact: renewaire@saritasa.com
3050
+ *
3051
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3052
+ * https://openapi-generator.tech
3053
+ * Do not edit the class manually.
3054
+ */
3055
+
2590
3056
  /**
2591
3057
  * RenewAire CORES API
2592
3058
  *
@@ -2634,14 +3100,15 @@ var CoolingDesignBasis;
2634
3100
  * https://openapi-generator.tech
2635
3101
  * Do not edit the class manually.
2636
3102
  */
2637
- /**
2638
- * DesignWeatherMode<br />0 = RelativeHumidity<br />1 = WetBulb
2639
- */
2640
- var DesignWeatherMode;
2641
- (function (DesignWeatherMode) {
2642
- DesignWeatherMode["RelativeHumidity"] = "RelativeHumidity";
2643
- DesignWeatherMode["WetBulb"] = "WetBulb";
2644
- })(DesignWeatherMode || (DesignWeatherMode = {}));
3103
+ var CurrentUserDtoRegistrationStatusEnum;
3104
+ (function (CurrentUserDtoRegistrationStatusEnum) {
3105
+ CurrentUserDtoRegistrationStatusEnum["EmailVerification"] = "EmailVerification";
3106
+ CurrentUserDtoRegistrationStatusEnum["SetPassword"] = "SetPassword";
3107
+ CurrentUserDtoRegistrationStatusEnum["SetProfile"] = "SetProfile";
3108
+ CurrentUserDtoRegistrationStatusEnum["SetAddress"] = "SetAddress";
3109
+ CurrentUserDtoRegistrationStatusEnum["SetOccupation"] = "SetOccupation";
3110
+ CurrentUserDtoRegistrationStatusEnum["Completed"] = "Completed";
3111
+ })(CurrentUserDtoRegistrationStatusEnum || (CurrentUserDtoRegistrationStatusEnum = {}));
2645
3112
 
2646
3113
  /**
2647
3114
  * RenewAire CORES API
@@ -2652,6 +3119,14 @@ var DesignWeatherMode;
2652
3119
  * https://openapi-generator.tech
2653
3120
  * Do not edit the class manually.
2654
3121
  */
3122
+ /**
3123
+ * DesignWeatherMode<br />0 = RelativeHumidity<br />1 = WetBulb
3124
+ */
3125
+ var DesignWeatherMode;
3126
+ (function (DesignWeatherMode) {
3127
+ DesignWeatherMode["RelativeHumidity"] = "RelativeHumidity";
3128
+ DesignWeatherMode["WetBulb"] = "WetBulb";
3129
+ })(DesignWeatherMode || (DesignWeatherMode = {}));
2655
3130
 
2656
3131
  /**
2657
3132
  * RenewAire CORES API
@@ -2771,16 +3246,6 @@ var Permission;
2771
3246
  * Do not edit the class manually.
2772
3247
  */
2773
3248
 
2774
- /**
2775
- * RenewAire CORES API
2776
- *
2777
- * Contact: renewaire@saritasa.com
2778
- *
2779
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2780
- * https://openapi-generator.tech
2781
- * Do not edit the class manually.
2782
- */
2783
-
2784
3249
  /**
2785
3250
  * RenewAire CORES API
2786
3251
  *
@@ -2816,6 +3281,38 @@ var RegionLevel;
2816
3281
  RegionLevel["County"] = "County";
2817
3282
  })(RegionLevel || (RegionLevel = {}));
2818
3283
 
3284
+ /**
3285
+ * RenewAire CORES API
3286
+ *
3287
+ * Contact: renewaire@saritasa.com
3288
+ *
3289
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3290
+ * https://openapi-generator.tech
3291
+ * Do not edit the class manually.
3292
+ */
3293
+ /**
3294
+ * RegistrationStatus<br />0 = EmailVerification<br />1 = SetPassword<br />2 = SetProfile<br />3 = SetAddress<br />4 = SetOccupation<br />5 = Completed
3295
+ */
3296
+ var RegistrationStatus;
3297
+ (function (RegistrationStatus) {
3298
+ RegistrationStatus["EmailVerification"] = "EmailVerification";
3299
+ RegistrationStatus["SetPassword"] = "SetPassword";
3300
+ RegistrationStatus["SetProfile"] = "SetProfile";
3301
+ RegistrationStatus["SetAddress"] = "SetAddress";
3302
+ RegistrationStatus["SetOccupation"] = "SetOccupation";
3303
+ RegistrationStatus["Completed"] = "Completed";
3304
+ })(RegistrationStatus || (RegistrationStatus = {}));
3305
+
3306
+ /**
3307
+ * RenewAire CORES API
3308
+ *
3309
+ * Contact: renewaire@saritasa.com
3310
+ *
3311
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3312
+ * https://openapi-generator.tech
3313
+ * Do not edit the class manually.
3314
+ */
3315
+
2819
3316
  /**
2820
3317
  * RenewAire CORES API
2821
3318
  *
@@ -2948,6 +3445,36 @@ var SearchRegionDtoLevelEnum;
2948
3445
  * Do not edit the class manually.
2949
3446
  */
2950
3447
 
3448
+ /**
3449
+ * RenewAire CORES API
3450
+ *
3451
+ * Contact: renewaire@saritasa.com
3452
+ *
3453
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3454
+ * https://openapi-generator.tech
3455
+ * Do not edit the class manually.
3456
+ */
3457
+
3458
+ /**
3459
+ * RenewAire CORES API
3460
+ *
3461
+ * Contact: renewaire@saritasa.com
3462
+ *
3463
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3464
+ * https://openapi-generator.tech
3465
+ * Do not edit the class manually.
3466
+ */
3467
+
3468
+ /**
3469
+ * RenewAire CORES API
3470
+ *
3471
+ * Contact: renewaire@saritasa.com
3472
+ *
3473
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
3474
+ * https://openapi-generator.tech
3475
+ * Do not edit the class manually.
3476
+ */
3477
+
2951
3478
  var UserDesignConditionsDtoCoolingDesignBasisEnum;
2952
3479
  (function (UserDesignConditionsDtoCoolingDesignBasisEnum) {
2953
3480
  UserDesignConditionsDtoCoolingDesignBasisEnum["Cooling"] = "Cooling";
@@ -2970,6 +3497,12 @@ var UserDesignWeatherConditionDtoDesignWeatherModeEnum;
2970
3497
  * Do not edit the class manually.
2971
3498
  */
2972
3499
 
3500
+ var UserPermissionDtoPermissionEnum;
3501
+ (function (UserPermissionDtoPermissionEnum) {
3502
+ UserPermissionDtoPermissionEnum["SystemAdmin"] = "SystemAdmin";
3503
+ UserPermissionDtoPermissionEnum["UserAdministration"] = "UserAdministration";
3504
+ })(UserPermissionDtoPermissionEnum || (UserPermissionDtoPermissionEnum = {}));
3505
+
2973
3506
  /**
2974
3507
  * RenewAire CORES API
2975
3508
  *
@@ -3006,11 +3539,11 @@ class ApiModule {
3006
3539
  "See also https://github.com/angular/angular/issues/20575");
3007
3540
  }
3008
3541
  }
3009
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: ApiModule, deps: [{ token: ApiModule, optional: true, skipSelf: true }, { token: i1.HttpClient, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
3010
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.5", ngImport: i0, type: ApiModule });
3011
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: ApiModule });
3542
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ApiModule, deps: [{ token: ApiModule, optional: true, skipSelf: true }, { token: i1.HttpClient, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
3543
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.6", ngImport: i0, type: ApiModule });
3544
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ApiModule });
3012
3545
  }
3013
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.5", ngImport: i0, type: ApiModule, decorators: [{
3546
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ApiModule, decorators: [{
3014
3547
  type: NgModule,
3015
3548
  args: [{
3016
3549
  imports: [],
@@ -3042,5 +3575,5 @@ function provideApi(configOrBasePath) {
3042
3575
  * Generated bundle index. Do not edit.
3043
3576
  */
3044
3577
 
3045
- export { APIS, AddressCountry, AddressDtoCountryEnum, ApiModule, AuthApiService, BASE_PATH, COLLECTION_FORMATS, Configuration, CoolingDesignBasis, DesignWeatherMode, Permission, PermissionBundlesApiService, PermissionsApiService, RegionDtoLevelEnum, RegionLevel, RegionsApiService, RepContactsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, SaveUserDesignConditionsDtoCoolingDesignBasisEnum, SearchRegionDtoLevelEnum, UserDesignConditionsApiService, UserDesignConditionsDtoCoolingDesignBasisEnum, UserDesignWeatherConditionDtoDesignWeatherModeEnum, UsersApiService, provideApi };
3578
+ export { APIS, AddressCountry, AddressDtoCountryEnum, ApiModule, AuthApiService, BASE_PATH, COLLECTION_FORMATS, Configuration, CoolingDesignBasis, CurrentUserDtoRegistrationStatusEnum, DesignWeatherMode, Permission, PermissionBundlesApiService, PermissionsApiService, RegionDtoLevelEnum, RegionLevel, RegionsApiService, RegistrationStatus, RepContactsApiService, RepTerritoriesApiService, RepTerritoryLocationsApiService, RsdRegionsApiService, SaveUserDesignConditionsDtoCoolingDesignBasisEnum, SearchRegionDtoLevelEnum, UserDesignConditionsApiService, UserDesignConditionsDtoCoolingDesignBasisEnum, UserDesignWeatherConditionDtoDesignWeatherModeEnum, UserPermissionDtoPermissionEnum, UsersApiService, provideApi };
3046
3579
  //# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map