@saritasa/renewaire-frontend-sdk 0.1.3 → 0.1.6

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.1.3
1
+ # @@saritasa/renewaire-frontend-sdk@0.1.6
2
2
 
3
3
  ```bash
4
- npm install @saritasa/renewaire-frontend-sdk@0.1.3 --save
4
+ npm install @saritasa/renewaire-frontend-sdk@0.1.6 --save
5
5
  ```
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { InjectionToken, Optional, Inject, Injectable, SkipSelf, NgModule, makeEnvironmentProviders } from '@angular/core';
3
3
  import * as i1 from '@angular/common/http';
4
- import { HttpHeaders, HttpContext } from '@angular/common/http';
4
+ import { HttpHeaders, HttpContext, HttpParams } from '@angular/common/http';
5
5
 
6
6
  const BASE_PATH = new InjectionToken("basePath");
7
7
  const COLLECTION_FORMATS = {
@@ -385,6 +385,92 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImpor
385
385
  type: Optional
386
386
  }] }] });
387
387
 
388
+ /**
389
+ * RenewAire CORES API
390
+ *
391
+ * Contact: renewaire@saritasa.com
392
+ *
393
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
394
+ * https://openapi-generator.tech
395
+ * Do not edit the class manually.
396
+ */
397
+ /* tslint:disable:no-unused-variable member-ordering */
398
+ class RegionsApiService extends BaseService {
399
+ httpClient;
400
+ constructor(httpClient, basePath, configuration) {
401
+ super(basePath, configuration);
402
+ this.httpClient = httpClient;
403
+ }
404
+ regionsSearchRegions(requestParameters, observe = "body", reportProgress = false, options) {
405
+ const name = requestParameters?.name;
406
+ const code = requestParameters?.code;
407
+ const level = requestParameters?.level;
408
+ const orderBy = requestParameters?.orderBy;
409
+ const page = requestParameters?.page;
410
+ const pageSize = requestParameters?.pageSize;
411
+ let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
412
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, name, "Name");
413
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, code, "Code");
414
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, level, "Level");
415
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, orderBy, "OrderBy");
416
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, page, "Page");
417
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, pageSize, "PageSize");
418
+ let localVarHeaders = this.defaultHeaders;
419
+ // authentication (Bearer) required
420
+ localVarHeaders = this.configuration.addCredentialToHeaders("Bearer", "Authorization", localVarHeaders, "Bearer ");
421
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
422
+ this.configuration.selectHeaderAccept([
423
+ "text/plain",
424
+ "application/json",
425
+ "text/json",
426
+ ]);
427
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
428
+ localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
429
+ }
430
+ const localVarHttpContext = options?.context ?? new HttpContext();
431
+ const localVarTransferCache = options?.transferCache ?? true;
432
+ let responseType_ = "json";
433
+ if (localVarHttpHeaderAcceptSelected) {
434
+ if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
435
+ responseType_ = "text";
436
+ }
437
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
438
+ responseType_ = "json";
439
+ }
440
+ else {
441
+ responseType_ = "blob";
442
+ }
443
+ }
444
+ let localVarPath = `/api/regions`;
445
+ const { basePath, withCredentials } = this.configuration;
446
+ return this.httpClient.request("get", `${basePath}${localVarPath}`, {
447
+ context: localVarHttpContext,
448
+ params: localVarQueryParameters,
449
+ responseType: responseType_,
450
+ ...(withCredentials ? { withCredentials } : {}),
451
+ headers: localVarHeaders,
452
+ observe: observe,
453
+ transferCache: localVarTransferCache,
454
+ reportProgress: reportProgress,
455
+ });
456
+ }
457
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: RegionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
458
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: RegionsApiService, providedIn: "root" });
459
+ }
460
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImport: i0, type: RegionsApiService, decorators: [{
461
+ type: Injectable,
462
+ args: [{
463
+ providedIn: "root",
464
+ }]
465
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
466
+ type: Optional
467
+ }, {
468
+ type: Inject,
469
+ args: [BASE_PATH]
470
+ }] }, { type: Configuration, decorators: [{
471
+ type: Optional
472
+ }] }] });
473
+
388
474
  /**
389
475
  * RenewAire CORES API
390
476
  *
@@ -555,7 +641,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.2", ngImpor
555
641
  type: Optional
556
642
  }] }] });
557
643
 
558
- const APIS = [AuthApiService, UsersApiService];
644
+ const APIS = [AuthApiService, RegionsApiService, UsersApiService];
645
+
646
+ /**
647
+ * RenewAire CORES API
648
+ *
649
+ * Contact: renewaire@saritasa.com
650
+ *
651
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
652
+ * https://openapi-generator.tech
653
+ * Do not edit the class manually.
654
+ */
559
655
 
560
656
  /**
561
657
  * RenewAire CORES API
@@ -597,6 +693,61 @@ const APIS = [AuthApiService, UsersApiService];
597
693
  * Do not edit the class manually.
598
694
  */
599
695
 
696
+ /**
697
+ * RenewAire CORES API
698
+ *
699
+ * Contact: renewaire@saritasa.com
700
+ *
701
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
702
+ * https://openapi-generator.tech
703
+ * Do not edit the class manually.
704
+ */
705
+
706
+ /**
707
+ * RenewAire CORES API
708
+ *
709
+ * Contact: renewaire@saritasa.com
710
+ *
711
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
712
+ * https://openapi-generator.tech
713
+ * Do not edit the class manually.
714
+ */
715
+
716
+ /**
717
+ * RenewAire CORES API
718
+ *
719
+ * Contact: renewaire@saritasa.com
720
+ *
721
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
722
+ * https://openapi-generator.tech
723
+ * Do not edit the class manually.
724
+ */
725
+ /**
726
+ * RegionLevel<br />0 = Country<br />1 = State<br />2 = County
727
+ */
728
+ var RegionLevel;
729
+ (function (RegionLevel) {
730
+ RegionLevel["Country"] = "Country";
731
+ RegionLevel["State"] = "State";
732
+ RegionLevel["County"] = "County";
733
+ })(RegionLevel || (RegionLevel = {}));
734
+
735
+ /**
736
+ * RenewAire CORES API
737
+ *
738
+ * Contact: renewaire@saritasa.com
739
+ *
740
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
741
+ * https://openapi-generator.tech
742
+ * Do not edit the class manually.
743
+ */
744
+ var SearchRegionDtoLevelEnum;
745
+ (function (SearchRegionDtoLevelEnum) {
746
+ SearchRegionDtoLevelEnum["Country"] = "Country";
747
+ SearchRegionDtoLevelEnum["State"] = "State";
748
+ SearchRegionDtoLevelEnum["County"] = "County";
749
+ })(SearchRegionDtoLevelEnum || (SearchRegionDtoLevelEnum = {}));
750
+
600
751
  /**
601
752
  * RenewAire CORES API
602
753
  *
@@ -699,5 +850,5 @@ function provideApi(configOrBasePath) {
699
850
  * Generated bundle index. Do not edit.
700
851
  */
701
852
 
702
- export { APIS, ApiModule, AuthApiService, BASE_PATH, COLLECTION_FORMATS, Configuration, UsersApiService, provideApi };
853
+ export { APIS, ApiModule, AuthApiService, BASE_PATH, COLLECTION_FORMATS, Configuration, RegionLevel, RegionsApiService, SearchRegionDtoLevelEnum, UsersApiService, provideApi };
703
854
  //# sourceMappingURL=saritasa-renewaire-frontend-sdk.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"saritasa-renewaire-frontend-sdk.mjs","sources":["../../variables.ts","../../encoder.ts","../../configuration.ts","../../api.base.service.ts","../../api/auth-api.ts","../../api/users-api.ts","../../api/api.ts","../../model/email-confirmation-token-dto.ts","../../model/int32-id-dto.ts","../../model/login-user-command.ts","../../model/physical-address-dto.ts","../../model/refresh-token-command.ts","../../model/token-model.ts","../../model/user-email-dto.ts","../../model/user-preferences-dto.ts","../../model/user-profile-dto.ts","../../api.module.ts","../../provide-api.ts","../../saritasa-renewaire-frontend-sdk.ts"],"sourcesContent":["import { InjectionToken } from \"@angular/core\";\n\nexport const BASE_PATH = new InjectionToken<string>(\"basePath\");\nexport const COLLECTION_FORMATS = {\n csv: \",\",\n tsv: \" \",\n ssv: \" \",\n pipes: \"|\",\n};\n","import { HttpParameterCodec } from \"@angular/common/http\";\n\n/**\n * Custom HttpParameterCodec\n * Workaround for https://github.com/angular/angular/issues/18261\n */\nexport class CustomHttpParameterCodec implements HttpParameterCodec {\n encodeKey(k: string): string {\n return encodeURIComponent(k);\n }\n encodeValue(v: string): string {\n return encodeURIComponent(v);\n }\n decodeKey(k: string): string {\n return decodeURIComponent(k);\n }\n decodeValue(v: string): string {\n return decodeURIComponent(v);\n }\n}\n","import {\n HttpHeaders,\n HttpParams,\n HttpParameterCodec,\n} from \"@angular/common/http\";\nimport { Param } from \"./param\";\n\nexport interface ConfigurationParameters {\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n apiKeys?: { [key: string]: string };\n username?: string;\n password?: string;\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n accessToken?: string | (() => string);\n basePath?: string;\n withCredentials?: boolean;\n /**\n * Takes care of encoding query- and form-parameters.\n */\n encoder?: HttpParameterCodec;\n /**\n * Override the default method for encoding path parameters in various\n * <a href=\"https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values\">styles</a>.\n * <p>\n * See {@link README.md} for more details\n * </p>\n */\n encodeParam?: (param: Param) => string;\n /**\n * The keys are the names in the securitySchemes section of the OpenAPI\n * document. They should map to the value used for authentication\n * minus any standard prefixes such as 'Basic' or 'Bearer'.\n */\n credentials?: { [key: string]: string | (() => string | undefined) };\n}\n\nexport class Configuration {\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n apiKeys?: { [key: string]: string };\n username?: string;\n password?: string;\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n accessToken?: string | (() => string);\n basePath?: string;\n withCredentials?: boolean;\n /**\n * Takes care of encoding query- and form-parameters.\n */\n encoder?: HttpParameterCodec;\n /**\n * Encoding of various path parameter\n * <a href=\"https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values\">styles</a>.\n * <p>\n * See {@link README.md} for more details\n * </p>\n */\n encodeParam: (param: Param) => string;\n /**\n * The keys are the names in the securitySchemes section of the OpenAPI\n * document. They should map to the value used for authentication\n * minus any standard prefixes such as 'Basic' or 'Bearer'.\n */\n credentials: { [key: string]: string | (() => string | undefined) };\n\n constructor({\n accessToken,\n apiKeys,\n basePath,\n credentials,\n encodeParam,\n encoder,\n password,\n username,\n withCredentials,\n }: ConfigurationParameters = {}) {\n if (apiKeys) {\n this.apiKeys = apiKeys;\n }\n if (username !== undefined) {\n this.username = username;\n }\n if (password !== undefined) {\n this.password = password;\n }\n if (accessToken !== undefined) {\n this.accessToken = accessToken;\n }\n if (basePath !== undefined) {\n this.basePath = basePath;\n }\n if (withCredentials !== undefined) {\n this.withCredentials = withCredentials;\n }\n if (encoder) {\n this.encoder = encoder;\n }\n this.encodeParam =\n encodeParam ?? ((param) => this.defaultEncodeParam(param));\n this.credentials = credentials ?? {};\n\n // init default Bearer credential\n if (!this.credentials[\"Bearer\"]) {\n this.credentials[\"Bearer\"] = () => {\n return typeof this.accessToken === \"function\"\n ? this.accessToken()\n : this.accessToken;\n };\n }\n }\n\n /**\n * Select the correct content-type to use for a request.\n * Uses {@link Configuration#isJsonMime} to determine the correct content-type.\n * If no content type is found return the first found type if the contentTypes is not empty\n * @param contentTypes - the array of content types that are available for selection\n * @returns the selected content-type or <code>undefined</code> if no selection could be made.\n */\n public selectHeaderContentType(contentTypes: string[]): string | undefined {\n if (contentTypes.length === 0) {\n return undefined;\n }\n\n const type = contentTypes.find((x: string) => this.isJsonMime(x));\n if (type === undefined) {\n return contentTypes[0];\n }\n return type;\n }\n\n /**\n * Select the correct accept content-type to use for a request.\n * Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.\n * If no content type is found return the first found type if the contentTypes is not empty\n * @param accepts - the array of content types that are available for selection.\n * @returns the selected content-type or <code>undefined</code> if no selection could be made.\n */\n public selectHeaderAccept(accepts: string[]): string | undefined {\n if (accepts.length === 0) {\n return undefined;\n }\n\n const type = accepts.find((x: string) => this.isJsonMime(x));\n if (type === undefined) {\n return accepts[0];\n }\n return type;\n }\n\n /**\n * Check if the given MIME is a JSON MIME.\n * JSON MIME examples:\n * application/json\n * application/json; charset=UTF8\n * APPLICATION/JSON\n * application/vnd.company+json\n * @param mime - MIME (Multipurpose Internet Mail Extensions)\n * @return True if the given MIME is JSON, false otherwise.\n */\n public isJsonMime(mime: string): boolean {\n const jsonMime: RegExp = new RegExp(\n \"^(application/json|[^;/ \\t]+/[^;/ \\t]+[+]json)[ \\t]*(;.*)?$\",\n \"i\",\n );\n return (\n mime !== null &&\n (jsonMime.test(mime) ||\n mime.toLowerCase() === \"application/json-patch+json\")\n );\n }\n\n public lookupCredential(key: string): string | undefined {\n const value = this.credentials[key];\n return typeof value === \"function\" ? value() : value;\n }\n\n public addCredentialToHeaders(\n credentialKey: string,\n headerName: string,\n headers: HttpHeaders,\n prefix?: string,\n ): HttpHeaders {\n const value = this.lookupCredential(credentialKey);\n return value ? headers.set(headerName, (prefix ?? \"\") + value) : headers;\n }\n\n public addCredentialToQuery(\n credentialKey: string,\n paramName: string,\n query: HttpParams,\n ): HttpParams {\n const value = this.lookupCredential(credentialKey);\n return value ? query.set(paramName, value) : query;\n }\n\n private defaultEncodeParam(param: Param): string {\n // This implementation exists as fallback for missing configuration\n // and for backwards compatibility to older typescript-angular generator versions.\n // It only works for the 'simple' parameter style.\n // Date-handling only works for the 'date-time' format.\n // All other styles and Date-formats are probably handled incorrectly.\n //\n // But: if that's all you need (i.e.: the most common use-case): no need for customization!\n\n const value =\n param.dataFormat === \"date-time\" && param.value instanceof Date\n ? (param.value as Date).toISOString()\n : param.value;\n\n return encodeURIComponent(String(value));\n }\n}\n","/**\n * RenewAire CORES API\n *\n * Contact: renewaire@saritasa.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nimport {\n HttpHeaders,\n HttpParams,\n HttpParameterCodec,\n} from \"@angular/common/http\";\nimport { CustomHttpParameterCodec } from \"./encoder\";\nimport { Configuration } from \"./configuration\";\n\nexport class BaseService {\n protected basePath = \"http://localhost\";\n public defaultHeaders = new HttpHeaders();\n public configuration: Configuration;\n public encoder: HttpParameterCodec;\n\n constructor(basePath?: string | string[], configuration?: Configuration) {\n this.configuration = configuration || new Configuration();\n if (typeof this.configuration.basePath !== \"string\") {\n const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;\n if (firstBasePath != undefined) {\n basePath = firstBasePath;\n }\n\n if (typeof basePath !== \"string\") {\n basePath = this.basePath;\n }\n this.configuration.basePath = basePath;\n }\n this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();\n }\n\n protected canConsumeForm(consumes: string[]): boolean {\n return consumes.indexOf(\"multipart/form-data\") !== -1;\n }\n\n protected addToHttpParams(\n httpParams: HttpParams,\n value: any,\n key?: string,\n isDeep: boolean = false,\n ): HttpParams {\n // If the value is an object (but not a Date), recursively add its keys.\n if (typeof value === \"object\" && !(value instanceof Date)) {\n return this.addToHttpParamsRecursive(\n httpParams,\n value,\n isDeep ? key : undefined,\n isDeep,\n );\n }\n return this.addToHttpParamsRecursive(httpParams, value, key);\n }\n\n protected addToHttpParamsRecursive(\n httpParams: HttpParams,\n value?: any,\n key?: string,\n isDeep: boolean = false,\n ): HttpParams {\n if (value === null || value === undefined) {\n return httpParams;\n }\n if (typeof value === \"object\") {\n // If JSON format is preferred, key must be provided.\n if (key != null) {\n return isDeep\n ? Object.keys(value as Record<string, any>).reduce(\n (hp, k) => hp.append(`${key}[${k}]`, value[k]),\n httpParams,\n )\n : httpParams.append(key, JSON.stringify(value));\n }\n // Otherwise, if it's an array, add each element.\n if (Array.isArray(value)) {\n value.forEach(\n (elem) =>\n (httpParams = this.addToHttpParamsRecursive(httpParams, elem, key)),\n );\n } else if (value instanceof Date) {\n if (key != null) {\n httpParams = httpParams.append(key, value.toISOString());\n } else {\n throw Error(\"key may not be null if value is Date\");\n }\n } else {\n Object.keys(value).forEach((k) => {\n const paramKey = key ? `${key}.${k}` : k;\n httpParams = this.addToHttpParamsRecursive(\n httpParams,\n value[k],\n paramKey,\n );\n });\n }\n return httpParams;\n } else if (key != null) {\n return httpParams.append(key, value);\n }\n throw Error(\"key may not be null if value is not object or array\");\n }\n}\n","/**\n * RenewAire CORES API\n *\n * Contact: renewaire@saritasa.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n/* tslint:disable:no-unused-variable member-ordering */\n\nimport { Inject, Injectable, Optional } from \"@angular/core\";\nimport {\n HttpClient,\n HttpHeaders,\n HttpParams,\n HttpResponse,\n HttpEvent,\n HttpParameterCodec,\n HttpContext,\n} from \"@angular/common/http\";\nimport { CustomHttpParameterCodec } from \"../encoder\";\nimport { Observable } from \"rxjs\";\n\n// @ts-ignore\nimport { LoginUserCommand } from \"../model/login-user-command\";\n// @ts-ignore\nimport { RefreshTokenCommand } from \"../model/refresh-token-command\";\n// @ts-ignore\nimport { TokenModel } from \"../model/token-model\";\n\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS } from \"../variables\";\nimport { Configuration } from \"../configuration\";\nimport { BaseService } from \"../api.base.service\";\nimport {\n AuthApiServiceInterface,\n AuthAuthenticateRequestParams,\n AuthRefreshTokenRequestParams,\n} from \"./auth-apiInterface\";\n\n@Injectable({\n providedIn: \"root\",\n})\nexport class AuthApiService\n extends BaseService\n implements AuthApiServiceInterface\n{\n constructor(\n protected httpClient: HttpClient,\n @Optional() @Inject(BASE_PATH) basePath: string | string[],\n @Optional() configuration?: Configuration,\n ) {\n super(basePath, configuration);\n }\n\n /**\n * Authenticate user by email and password.\n * @param requestParameters\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public authAuthenticate(\n requestParameters: AuthAuthenticateRequestParams,\n observe?: \"body\",\n reportProgress?: boolean,\n options?: {\n httpHeaderAccept?: \"text/plain\" | \"application/json\" | \"text/json\";\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<TokenModel>;\n public authAuthenticate(\n requestParameters: AuthAuthenticateRequestParams,\n observe?: \"response\",\n reportProgress?: boolean,\n options?: {\n httpHeaderAccept?: \"text/plain\" | \"application/json\" | \"text/json\";\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<HttpResponse<TokenModel>>;\n public authAuthenticate(\n requestParameters: AuthAuthenticateRequestParams,\n observe?: \"events\",\n reportProgress?: boolean,\n options?: {\n httpHeaderAccept?: \"text/plain\" | \"application/json\" | \"text/json\";\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<HttpEvent<TokenModel>>;\n public authAuthenticate(\n requestParameters: AuthAuthenticateRequestParams,\n observe: any = \"body\",\n reportProgress: boolean = false,\n options?: {\n httpHeaderAccept?: \"text/plain\" | \"application/json\" | \"text/json\";\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<any> {\n const loginUserCommand = requestParameters?.loginUserCommand;\n if (loginUserCommand === null || loginUserCommand === undefined) {\n throw new Error(\n \"Required parameter loginUserCommand was null or undefined when calling authAuthenticate.\",\n );\n }\n\n let localVarHeaders = this.defaultHeaders;\n\n const localVarHttpHeaderAcceptSelected: string | undefined =\n options?.httpHeaderAccept ??\n this.configuration.selectHeaderAccept([\n \"text/plain\",\n \"application/json\",\n \"text/json\",\n ]);\n if (localVarHttpHeaderAcceptSelected !== undefined) {\n localVarHeaders = localVarHeaders.set(\n \"Accept\",\n localVarHttpHeaderAcceptSelected,\n );\n }\n\n const localVarHttpContext: HttpContext =\n options?.context ?? new HttpContext();\n\n const localVarTransferCache: boolean = options?.transferCache ?? true;\n\n // to determine the Content-Type header\n const consumes: string[] = [\n \"application/json\",\n \"text/json\",\n \"application/*+json\",\n ];\n const httpContentTypeSelected: string | undefined =\n this.configuration.selectHeaderContentType(consumes);\n if (httpContentTypeSelected !== undefined) {\n localVarHeaders = localVarHeaders.set(\n \"Content-Type\",\n httpContentTypeSelected,\n );\n }\n\n let responseType_: \"text\" | \"json\" | \"blob\" = \"json\";\n if (localVarHttpHeaderAcceptSelected) {\n if (localVarHttpHeaderAcceptSelected.startsWith(\"text\")) {\n responseType_ = \"text\";\n } else if (\n this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)\n ) {\n responseType_ = \"json\";\n } else {\n responseType_ = \"blob\";\n }\n }\n\n let localVarPath = `/api/auth`;\n const { basePath, withCredentials } = this.configuration;\n return this.httpClient.request<TokenModel>(\n \"post\",\n `${basePath}${localVarPath}`,\n {\n context: localVarHttpContext,\n body: loginUserCommand,\n responseType: <any>responseType_,\n ...(withCredentials ? { withCredentials } : {}),\n headers: localVarHeaders,\n observe: observe,\n transferCache: localVarTransferCache,\n reportProgress: reportProgress,\n },\n );\n }\n\n /**\n * Get new token by refresh token.\n * @param requestParameters\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public authRefreshToken(\n requestParameters: AuthRefreshTokenRequestParams,\n observe?: \"body\",\n reportProgress?: boolean,\n options?: {\n httpHeaderAccept?: \"text/plain\" | \"application/json\" | \"text/json\";\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<TokenModel>;\n public authRefreshToken(\n requestParameters: AuthRefreshTokenRequestParams,\n observe?: \"response\",\n reportProgress?: boolean,\n options?: {\n httpHeaderAccept?: \"text/plain\" | \"application/json\" | \"text/json\";\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<HttpResponse<TokenModel>>;\n public authRefreshToken(\n requestParameters: AuthRefreshTokenRequestParams,\n observe?: \"events\",\n reportProgress?: boolean,\n options?: {\n httpHeaderAccept?: \"text/plain\" | \"application/json\" | \"text/json\";\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<HttpEvent<TokenModel>>;\n public authRefreshToken(\n requestParameters: AuthRefreshTokenRequestParams,\n observe: any = \"body\",\n reportProgress: boolean = false,\n options?: {\n httpHeaderAccept?: \"text/plain\" | \"application/json\" | \"text/json\";\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<any> {\n const refreshTokenCommand = requestParameters?.refreshTokenCommand;\n if (refreshTokenCommand === null || refreshTokenCommand === undefined) {\n throw new Error(\n \"Required parameter refreshTokenCommand was null or undefined when calling authRefreshToken.\",\n );\n }\n\n let localVarHeaders = this.defaultHeaders;\n\n const localVarHttpHeaderAcceptSelected: string | undefined =\n options?.httpHeaderAccept ??\n this.configuration.selectHeaderAccept([\n \"text/plain\",\n \"application/json\",\n \"text/json\",\n ]);\n if (localVarHttpHeaderAcceptSelected !== undefined) {\n localVarHeaders = localVarHeaders.set(\n \"Accept\",\n localVarHttpHeaderAcceptSelected,\n );\n }\n\n const localVarHttpContext: HttpContext =\n options?.context ?? new HttpContext();\n\n const localVarTransferCache: boolean = options?.transferCache ?? true;\n\n // to determine the Content-Type header\n const consumes: string[] = [\n \"application/json\",\n \"text/json\",\n \"application/*+json\",\n ];\n const httpContentTypeSelected: string | undefined =\n this.configuration.selectHeaderContentType(consumes);\n if (httpContentTypeSelected !== undefined) {\n localVarHeaders = localVarHeaders.set(\n \"Content-Type\",\n httpContentTypeSelected,\n );\n }\n\n let responseType_: \"text\" | \"json\" | \"blob\" = \"json\";\n if (localVarHttpHeaderAcceptSelected) {\n if (localVarHttpHeaderAcceptSelected.startsWith(\"text\")) {\n responseType_ = \"text\";\n } else if (\n this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)\n ) {\n responseType_ = \"json\";\n } else {\n responseType_ = \"blob\";\n }\n }\n\n let localVarPath = `/api/auth`;\n const { basePath, withCredentials } = this.configuration;\n return this.httpClient.request<TokenModel>(\n \"put\",\n `${basePath}${localVarPath}`,\n {\n context: localVarHttpContext,\n body: refreshTokenCommand,\n responseType: <any>responseType_,\n ...(withCredentials ? { withCredentials } : {}),\n headers: localVarHeaders,\n observe: observe,\n transferCache: localVarTransferCache,\n reportProgress: reportProgress,\n },\n );\n }\n}\n","/**\n * RenewAire CORES API\n *\n * Contact: renewaire@saritasa.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n/* tslint:disable:no-unused-variable member-ordering */\n\nimport { Inject, Injectable, Optional } from \"@angular/core\";\nimport {\n HttpClient,\n HttpHeaders,\n HttpParams,\n HttpResponse,\n HttpEvent,\n HttpParameterCodec,\n HttpContext,\n} from \"@angular/common/http\";\nimport { CustomHttpParameterCodec } from \"../encoder\";\nimport { Observable } from \"rxjs\";\n\n// @ts-ignore\nimport { EmailConfirmationTokenDto } from \"../model/email-confirmation-token-dto\";\n// @ts-ignore\nimport { Int32IdDto } from \"../model/int32-id-dto\";\n// @ts-ignore\nimport { UserEmailDto } from \"../model/user-email-dto\";\n// @ts-ignore\nimport { UserRegistrationDto } from \"../model/user-registration-dto\";\n\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS } from \"../variables\";\nimport { Configuration } from \"../configuration\";\nimport { BaseService } from \"../api.base.service\";\nimport {\n UsersApiServiceInterface,\n UsersConfirmEmailRequestParams,\n UsersRegisterUserRequestParams,\n UsersRequestConfirmEmailRequestParams,\n} from \"./users-apiInterface\";\n\n@Injectable({\n providedIn: \"root\",\n})\nexport class UsersApiService\n extends BaseService\n implements UsersApiServiceInterface\n{\n constructor(\n protected httpClient: HttpClient,\n @Optional() @Inject(BASE_PATH) basePath: string | string[],\n @Optional() configuration?: Configuration,\n ) {\n super(basePath, configuration);\n }\n\n /**\n * Confirm email address using the verification code from email and continue registration.\n * @param requestParameters\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public usersConfirmEmail(\n requestParameters?: UsersConfirmEmailRequestParams,\n observe?: \"body\",\n reportProgress?: boolean,\n options?: {\n httpHeaderAccept?: undefined;\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<any>;\n public usersConfirmEmail(\n requestParameters?: UsersConfirmEmailRequestParams,\n observe?: \"response\",\n reportProgress?: boolean,\n options?: {\n httpHeaderAccept?: undefined;\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<HttpResponse<any>>;\n public usersConfirmEmail(\n requestParameters?: UsersConfirmEmailRequestParams,\n observe?: \"events\",\n reportProgress?: boolean,\n options?: {\n httpHeaderAccept?: undefined;\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<HttpEvent<any>>;\n public usersConfirmEmail(\n requestParameters?: UsersConfirmEmailRequestParams,\n observe: any = \"body\",\n reportProgress: boolean = false,\n options?: {\n httpHeaderAccept?: undefined;\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<any> {\n const emailConfirmationTokenDto =\n requestParameters?.emailConfirmationTokenDto;\n\n let localVarHeaders = this.defaultHeaders;\n\n const localVarHttpHeaderAcceptSelected: string | undefined =\n options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);\n if (localVarHttpHeaderAcceptSelected !== undefined) {\n localVarHeaders = localVarHeaders.set(\n \"Accept\",\n localVarHttpHeaderAcceptSelected,\n );\n }\n\n const localVarHttpContext: HttpContext =\n options?.context ?? new HttpContext();\n\n const localVarTransferCache: boolean = options?.transferCache ?? true;\n\n // to determine the Content-Type header\n const consumes: string[] = [\n \"application/json\",\n \"text/json\",\n \"application/*+json\",\n ];\n const httpContentTypeSelected: string | undefined =\n this.configuration.selectHeaderContentType(consumes);\n if (httpContentTypeSelected !== undefined) {\n localVarHeaders = localVarHeaders.set(\n \"Content-Type\",\n httpContentTypeSelected,\n );\n }\n\n let responseType_: \"text\" | \"json\" | \"blob\" = \"json\";\n if (localVarHttpHeaderAcceptSelected) {\n if (localVarHttpHeaderAcceptSelected.startsWith(\"text\")) {\n responseType_ = \"text\";\n } else if (\n this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)\n ) {\n responseType_ = \"json\";\n } else {\n responseType_ = \"blob\";\n }\n }\n\n let localVarPath = `/api/users/confirm-email`;\n const { basePath, withCredentials } = this.configuration;\n return this.httpClient.request<any>(\"post\", `${basePath}${localVarPath}`, {\n context: localVarHttpContext,\n body: emailConfirmationTokenDto,\n responseType: <any>responseType_,\n ...(withCredentials ? { withCredentials } : {}),\n headers: localVarHeaders,\n observe: observe,\n transferCache: localVarTransferCache,\n reportProgress: reportProgress,\n });\n }\n\n /**\n * Register user.\n * @param requestParameters\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public usersRegisterUser(\n requestParameters?: UsersRegisterUserRequestParams,\n observe?: \"body\",\n reportProgress?: boolean,\n options?: {\n httpHeaderAccept?: \"text/plain\" | \"application/json\" | \"text/json\";\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<Int32IdDto>;\n public usersRegisterUser(\n requestParameters?: UsersRegisterUserRequestParams,\n observe?: \"response\",\n reportProgress?: boolean,\n options?: {\n httpHeaderAccept?: \"text/plain\" | \"application/json\" | \"text/json\";\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<HttpResponse<Int32IdDto>>;\n public usersRegisterUser(\n requestParameters?: UsersRegisterUserRequestParams,\n observe?: \"events\",\n reportProgress?: boolean,\n options?: {\n httpHeaderAccept?: \"text/plain\" | \"application/json\" | \"text/json\";\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<HttpEvent<Int32IdDto>>;\n public usersRegisterUser(\n requestParameters?: UsersRegisterUserRequestParams,\n observe: any = \"body\",\n reportProgress: boolean = false,\n options?: {\n httpHeaderAccept?: \"text/plain\" | \"application/json\" | \"text/json\";\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<any> {\n const userRegistrationDto = requestParameters?.userRegistrationDto;\n\n let localVarHeaders = this.defaultHeaders;\n\n const localVarHttpHeaderAcceptSelected: string | undefined =\n options?.httpHeaderAccept ??\n this.configuration.selectHeaderAccept([\n \"text/plain\",\n \"application/json\",\n \"text/json\",\n ]);\n if (localVarHttpHeaderAcceptSelected !== undefined) {\n localVarHeaders = localVarHeaders.set(\n \"Accept\",\n localVarHttpHeaderAcceptSelected,\n );\n }\n\n const localVarHttpContext: HttpContext =\n options?.context ?? new HttpContext();\n\n const localVarTransferCache: boolean = options?.transferCache ?? true;\n\n // to determine the Content-Type header\n const consumes: string[] = [\n \"application/json\",\n \"text/json\",\n \"application/*+json\",\n ];\n const httpContentTypeSelected: string | undefined =\n this.configuration.selectHeaderContentType(consumes);\n if (httpContentTypeSelected !== undefined) {\n localVarHeaders = localVarHeaders.set(\n \"Content-Type\",\n httpContentTypeSelected,\n );\n }\n\n let responseType_: \"text\" | \"json\" | \"blob\" = \"json\";\n if (localVarHttpHeaderAcceptSelected) {\n if (localVarHttpHeaderAcceptSelected.startsWith(\"text\")) {\n responseType_ = \"text\";\n } else if (\n this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)\n ) {\n responseType_ = \"json\";\n } else {\n responseType_ = \"blob\";\n }\n }\n\n let localVarPath = `/api/users`;\n const { basePath, withCredentials } = this.configuration;\n return this.httpClient.request<Int32IdDto>(\n \"post\",\n `${basePath}${localVarPath}`,\n {\n context: localVarHttpContext,\n body: userRegistrationDto,\n responseType: <any>responseType_,\n ...(withCredentials ? { withCredentials } : {}),\n headers: localVarHeaders,\n observe: observe,\n transferCache: localVarTransferCache,\n reportProgress: reportProgress,\n },\n );\n }\n\n /**\n * Request email confirmation and begin registration. This endpoint sends verification email to a given address.\n * @param requestParameters\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public usersRequestConfirmEmail(\n requestParameters?: UsersRequestConfirmEmailRequestParams,\n observe?: \"body\",\n reportProgress?: boolean,\n options?: {\n httpHeaderAccept?: undefined;\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<any>;\n public usersRequestConfirmEmail(\n requestParameters?: UsersRequestConfirmEmailRequestParams,\n observe?: \"response\",\n reportProgress?: boolean,\n options?: {\n httpHeaderAccept?: undefined;\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<HttpResponse<any>>;\n public usersRequestConfirmEmail(\n requestParameters?: UsersRequestConfirmEmailRequestParams,\n observe?: \"events\",\n reportProgress?: boolean,\n options?: {\n httpHeaderAccept?: undefined;\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<HttpEvent<any>>;\n public usersRequestConfirmEmail(\n requestParameters?: UsersRequestConfirmEmailRequestParams,\n observe: any = \"body\",\n reportProgress: boolean = false,\n options?: {\n httpHeaderAccept?: undefined;\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<any> {\n const userEmailDto = requestParameters?.userEmailDto;\n\n let localVarHeaders = this.defaultHeaders;\n\n const localVarHttpHeaderAcceptSelected: string | undefined =\n options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);\n if (localVarHttpHeaderAcceptSelected !== undefined) {\n localVarHeaders = localVarHeaders.set(\n \"Accept\",\n localVarHttpHeaderAcceptSelected,\n );\n }\n\n const localVarHttpContext: HttpContext =\n options?.context ?? new HttpContext();\n\n const localVarTransferCache: boolean = options?.transferCache ?? true;\n\n // to determine the Content-Type header\n const consumes: string[] = [\n \"application/json\",\n \"text/json\",\n \"application/*+json\",\n ];\n const httpContentTypeSelected: string | undefined =\n this.configuration.selectHeaderContentType(consumes);\n if (httpContentTypeSelected !== undefined) {\n localVarHeaders = localVarHeaders.set(\n \"Content-Type\",\n httpContentTypeSelected,\n );\n }\n\n let responseType_: \"text\" | \"json\" | \"blob\" = \"json\";\n if (localVarHttpHeaderAcceptSelected) {\n if (localVarHttpHeaderAcceptSelected.startsWith(\"text\")) {\n responseType_ = \"text\";\n } else if (\n this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)\n ) {\n responseType_ = \"json\";\n } else {\n responseType_ = \"blob\";\n }\n }\n\n let localVarPath = `/api/users/request-email`;\n const { basePath, withCredentials } = this.configuration;\n return this.httpClient.request<any>(\"put\", `${basePath}${localVarPath}`, {\n context: localVarHttpContext,\n body: userEmailDto,\n responseType: <any>responseType_,\n ...(withCredentials ? { withCredentials } : {}),\n headers: localVarHeaders,\n observe: observe,\n transferCache: localVarTransferCache,\n reportProgress: reportProgress,\n });\n }\n}\n","export * from \"./auth-api\";\nimport { AuthApiService } from \"./auth-api\";\nexport * from \"./auth-apiInterface\";\nexport * from \"./users-api\";\nimport { UsersApiService } from \"./users-api\";\nexport * from \"./users-apiInterface\";\nexport const APIS = [AuthApiService, UsersApiService];\n","/**\n * RenewAire CORES API\n *\n * Contact: renewaire@saritasa.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n/**\n * Email confirmation token DTO.\n */\nexport interface EmailConfirmationTokenDto {\n /**\n * Email address.\n */\n email: string;\n /**\n * Confirmation token (code).\n */\n token: string;\n}\n","/**\n * RenewAire CORES API\n *\n * Contact: renewaire@saritasa.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n/**\n * DTO to return Id of entity.\n */\nexport interface Int32IdDto {\n id: number;\n}\n","/**\n * RenewAire CORES API\n *\n * Contact: renewaire@saritasa.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n/**\n * Login user command.\n */\nexport interface LoginUserCommand {\n /**\n * Username (email).\n */\n userName: string;\n /**\n * Password.\n */\n password: string;\n /**\n * Remember user\\'s cookie for longer period.\n */\n rememberMe: boolean;\n}\n","/**\n * RenewAire CORES API\n *\n * Contact: renewaire@saritasa.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n/**\n * Physical address.\n */\nexport interface PhysicalAddressDto {\n /**\n * Address display name.\n */\n displayAddress: string;\n street1: string;\n stateCode: string;\n /**\n * Country name.\n */\n country: string;\n /**\n * Postal code.\n */\n postalCode: string;\n apartmentNumber?: string | null;\n street2?: string | null;\n county?: string | null;\n city?: string | null;\n}\n","/**\n * RenewAire CORES API\n *\n * Contact: renewaire@saritasa.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n/**\n * Refresh token command.\n */\nexport interface RefreshTokenCommand {\n /**\n * User token.\n */\n token: string;\n}\n","/**\n * RenewAire CORES API\n *\n * Contact: renewaire@saritasa.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n/**\n * API generated token model.\n */\nexport interface TokenModel {\n /**\n * Token.\n */\n token: string;\n /**\n * Token expiration in seconds.\n */\n expiresIn: number;\n}\n","/**\n * RenewAire CORES API\n *\n * Contact: renewaire@saritasa.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n/**\n * User email DTO.\n */\nexport interface UserEmailDto {\n /**\n * <inheritdoc cref=\\\"P:RenewAire.Cores.Domain.Users.User.Email\\\" />.\n */\n email: string;\n}\n","/**\n * RenewAire CORES API\n *\n * Contact: renewaire@saritasa.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n/**\n * User preferences DTO.\n */\nexport interface UserPreferencesDto {\n occupation: string;\n}\n","/**\n * RenewAire CORES API\n *\n * Contact: renewaire@saritasa.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n/**\n * User profile DTO.\n */\nexport interface UserProfileDto {\n firstName: string;\n lastName: string;\n company: string;\n title: string;\n /**\n * Phone number.\n */\n workPhoneNumber: string;\n /**\n * Work phone number extension. Optional.\n */\n workPhoneNumberExt?: string | null;\n /**\n * Work phone.\n */\n mobilePhoneNumber?: string | null;\n}\n","import {\n NgModule,\n ModuleWithProviders,\n SkipSelf,\n Optional,\n} from \"@angular/core\";\nimport { Configuration } from \"./configuration\";\nimport { HttpClient } from \"@angular/common/http\";\n\n@NgModule({\n imports: [],\n declarations: [],\n exports: [],\n providers: [],\n})\nexport class ApiModule {\n public static forRoot(\n configurationFactory: () => Configuration,\n ): ModuleWithProviders<ApiModule> {\n return {\n ngModule: ApiModule,\n providers: [{ provide: Configuration, useFactory: configurationFactory }],\n };\n }\n\n constructor(\n @Optional() @SkipSelf() parentModule: ApiModule,\n @Optional() http: HttpClient,\n ) {\n if (parentModule) {\n throw new Error(\n \"ApiModule is already loaded. Import in your base AppModule only.\",\n );\n }\n if (!http) {\n throw new Error(\n \"You need to import the HttpClientModule in your AppModule! \\n\" +\n \"See also https://github.com/angular/angular/issues/20575\",\n );\n }\n }\n}\n","import { EnvironmentProviders, makeEnvironmentProviders } from \"@angular/core\";\nimport { Configuration, ConfigurationParameters } from \"./configuration\";\nimport { BASE_PATH } from \"./variables\";\n\n// Returns the service class providers, to be used in the [ApplicationConfig](https://angular.dev/api/core/ApplicationConfig).\nexport function provideApi(\n configOrBasePath: string | ConfigurationParameters,\n): EnvironmentProviders {\n return makeEnvironmentProviders([\n typeof configOrBasePath === \"string\"\n ? { provide: BASE_PATH, useValue: configOrBasePath }\n : {\n provide: Configuration,\n useValue: new Configuration({ ...configOrBasePath }),\n },\n ]);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2.Configuration"],"mappings":";;;;;MAEa,SAAS,GAAG,IAAI,cAAc,CAAS,UAAU;AACvD,MAAM,kBAAkB,GAAG;AAChC,IAAA,GAAG,EAAE,GAAG;AACR,IAAA,GAAG,EAAE,KAAK;AACV,IAAA,GAAG,EAAE,GAAG;AACR,IAAA,KAAK,EAAE,GAAG;;;ACLZ;;;AAGG;MACU,wBAAwB,CAAA;AACnC,IAAA,SAAS,CAAC,CAAS,EAAA;AACjB,QAAA,OAAO,kBAAkB,CAAC,CAAC,CAAC;IAC9B;AACA,IAAA,WAAW,CAAC,CAAS,EAAA;AACnB,QAAA,OAAO,kBAAkB,CAAC,CAAC,CAAC;IAC9B;AACA,IAAA,SAAS,CAAC,CAAS,EAAA;AACjB,QAAA,OAAO,kBAAkB,CAAC,CAAC,CAAC;IAC9B;AACA,IAAA,WAAW,CAAC,CAAS,EAAA;AACnB,QAAA,OAAO,kBAAkB,CAAC,CAAC,CAAC;IAC9B;AACD;;MCqBY,aAAa,CAAA;AACxB;;AAEG;AACH,IAAA,OAAO;AACP,IAAA,QAAQ;AACR,IAAA,QAAQ;AACR;;AAEG;AACH,IAAA,WAAW;AACX,IAAA,QAAQ;AACR,IAAA,eAAe;AACf;;AAEG;AACH,IAAA,OAAO;AACP;;;;;;AAMG;AACH,IAAA,WAAW;AACX;;;;AAIG;AACH,IAAA,WAAW;AAEX,IAAA,WAAA,CAAY,EACV,WAAW,EACX,OAAO,EACP,QAAQ,EACR,WAAW,EACX,WAAW,EACX,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,eAAe,MACY,EAAE,EAAA;QAC7B,IAAI,OAAO,EA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AA,eAAA,CAAA,QAAA,EAAA,CAAA;wGAAT,SAAS,EAAA,CAAA;wGAAT,SAAS,EAAA,CAAA;;2FAAT,SAAS,EAAA,UAAA,EAAA,CAAA;kBANrB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,YAAY,EAAE,EAAE;AAChB,oBAAA,OAAO,EAAE,EAAE;AACX,oBAAA,SAAS,EAAE,EAAE;AACd,iBAAA;;0BAYI;;0BAAY;;0BACZ;;;ACvBL;AACM,SAAU,UAAU,CACxB,gBAAkD,EAAA;AAElD,IAAA,OAAO,wBAAwB,CAAC;QAC9B,OAAO,gBAAgB,KAAK;cACxB,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,gBAAgB;AAClD,cAAE;AACE,gBAAA,OAAO,EAAE,aAAa;gBACtB,QAAQ,EAAE,IAAI,aAAa,CAAC,EAAE,GAAG,gBAAgB,EAAE,CAAC;AACrD,aAAA;AACN,KAAA,CAAC;AACJ;;AChBA;;AAEG;;;;"}
1
+ {"version":3,"file":"saritasa-renewaire-frontend-sdk.mjs","sources":["../../variables.ts","../../encoder.ts","../../configuration.ts","../../api.base.service.ts","../../api/auth-api.ts","../../api/regions-api.ts","../../api/users-api.ts","../../api/api.ts","../../model/email-confirmation-token-dto.ts","../../model/int32-id-dto.ts","../../model/login-user-command.ts","../../model/offset-limit-list-metadata.ts","../../model/paged-list-metadata.ts","../../model/physical-address-dto.ts","../../model/refresh-token-command.ts","../../model/region-level.ts","../../model/search-region-dto.ts","../../model/token-model.ts","../../model/total-count-list-metadata.ts","../../model/user-email-dto.ts","../../model/user-preferences-dto.ts","../../model/user-profile-dto.ts","../../api.module.ts","../../provide-api.ts","../../saritasa-renewaire-frontend-sdk.ts"],"sourcesContent":["import { InjectionToken } from \"@angular/core\";\n\nexport const BASE_PATH = new InjectionToken<string>(\"basePath\");\nexport const COLLECTION_FORMATS = {\n csv: \",\",\n tsv: \" \",\n ssv: \" \",\n pipes: \"|\",\n};\n","import { HttpParameterCodec } from \"@angular/common/http\";\n\n/**\n * Custom HttpParameterCodec\n * Workaround for https://github.com/angular/angular/issues/18261\n */\nexport class CustomHttpParameterCodec implements HttpParameterCodec {\n encodeKey(k: string): string {\n return encodeURIComponent(k);\n }\n encodeValue(v: string): string {\n return encodeURIComponent(v);\n }\n decodeKey(k: string): string {\n return decodeURIComponent(k);\n }\n decodeValue(v: string): string {\n return decodeURIComponent(v);\n }\n}\n","import {\n HttpHeaders,\n HttpParams,\n HttpParameterCodec,\n} from \"@angular/common/http\";\nimport { Param } from \"./param\";\n\nexport interface ConfigurationParameters {\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n apiKeys?: { [key: string]: string };\n username?: string;\n password?: string;\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n accessToken?: string | (() => string);\n basePath?: string;\n withCredentials?: boolean;\n /**\n * Takes care of encoding query- and form-parameters.\n */\n encoder?: HttpParameterCodec;\n /**\n * Override the default method for encoding path parameters in various\n * <a href=\"https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values\">styles</a>.\n * <p>\n * See {@link README.md} for more details\n * </p>\n */\n encodeParam?: (param: Param) => string;\n /**\n * The keys are the names in the securitySchemes section of the OpenAPI\n * document. They should map to the value used for authentication\n * minus any standard prefixes such as 'Basic' or 'Bearer'.\n */\n credentials?: { [key: string]: string | (() => string | undefined) };\n}\n\nexport class Configuration {\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n apiKeys?: { [key: string]: string };\n username?: string;\n password?: string;\n /**\n * @deprecated Since 5.0. Use credentials instead\n */\n accessToken?: string | (() => string);\n basePath?: string;\n withCredentials?: boolean;\n /**\n * Takes care of encoding query- and form-parameters.\n */\n encoder?: HttpParameterCodec;\n /**\n * Encoding of various path parameter\n * <a href=\"https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values\">styles</a>.\n * <p>\n * See {@link README.md} for more details\n * </p>\n */\n encodeParam: (param: Param) => string;\n /**\n * The keys are the names in the securitySchemes section of the OpenAPI\n * document. They should map to the value used for authentication\n * minus any standard prefixes such as 'Basic' or 'Bearer'.\n */\n credentials: { [key: string]: string | (() => string | undefined) };\n\n constructor({\n accessToken,\n apiKeys,\n basePath,\n credentials,\n encodeParam,\n encoder,\n password,\n username,\n withCredentials,\n }: ConfigurationParameters = {}) {\n if (apiKeys) {\n this.apiKeys = apiKeys;\n }\n if (username !== undefined) {\n this.username = username;\n }\n if (password !== undefined) {\n this.password = password;\n }\n if (accessToken !== undefined) {\n this.accessToken = accessToken;\n }\n if (basePath !== undefined) {\n this.basePath = basePath;\n }\n if (withCredentials !== undefined) {\n this.withCredentials = withCredentials;\n }\n if (encoder) {\n this.encoder = encoder;\n }\n this.encodeParam =\n encodeParam ?? ((param) => this.defaultEncodeParam(param));\n this.credentials = credentials ?? {};\n\n // init default Bearer credential\n if (!this.credentials[\"Bearer\"]) {\n this.credentials[\"Bearer\"] = () => {\n return typeof this.accessToken === \"function\"\n ? this.accessToken()\n : this.accessToken;\n };\n }\n }\n\n /**\n * Select the correct content-type to use for a request.\n * Uses {@link Configuration#isJsonMime} to determine the correct content-type.\n * If no content type is found return the first found type if the contentTypes is not empty\n * @param contentTypes - the array of content types that are available for selection\n * @returns the selected content-type or <code>undefined</code> if no selection could be made.\n */\n public selectHeaderContentType(contentTypes: string[]): string | undefined {\n if (contentTypes.length === 0) {\n return undefined;\n }\n\n const type = contentTypes.find((x: string) => this.isJsonMime(x));\n if (type === undefined) {\n return contentTypes[0];\n }\n return type;\n }\n\n /**\n * Select the correct accept content-type to use for a request.\n * Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.\n * If no content type is found return the first found type if the contentTypes is not empty\n * @param accepts - the array of content types that are available for selection.\n * @returns the selected content-type or <code>undefined</code> if no selection could be made.\n */\n public selectHeaderAccept(accepts: string[]): string | undefined {\n if (accepts.length === 0) {\n return undefined;\n }\n\n const type = accepts.find((x: string) => this.isJsonMime(x));\n if (type === undefined) {\n return accepts[0];\n }\n return type;\n }\n\n /**\n * Check if the given MIME is a JSON MIME.\n * JSON MIME examples:\n * application/json\n * application/json; charset=UTF8\n * APPLICATION/JSON\n * application/vnd.company+json\n * @param mime - MIME (Multipurpose Internet Mail Extensions)\n * @return True if the given MIME is JSON, false otherwise.\n */\n public isJsonMime(mime: string): boolean {\n const jsonMime: RegExp = new RegExp(\n \"^(application/json|[^;/ \\t]+/[^;/ \\t]+[+]json)[ \\t]*(;.*)?$\",\n \"i\",\n );\n return (\n mime !== null &&\n (jsonMime.test(mime) ||\n mime.toLowerCase() === \"application/json-patch+json\")\n );\n }\n\n public lookupCredential(key: string): string | undefined {\n const value = this.credentials[key];\n return typeof value === \"function\" ? value() : value;\n }\n\n public addCredentialToHeaders(\n credentialKey: string,\n headerName: string,\n headers: HttpHeaders,\n prefix?: string,\n ): HttpHeaders {\n const value = this.lookupCredential(credentialKey);\n return value ? headers.set(headerName, (prefix ?? \"\") + value) : headers;\n }\n\n public addCredentialToQuery(\n credentialKey: string,\n paramName: string,\n query: HttpParams,\n ): HttpParams {\n const value = this.lookupCredential(credentialKey);\n return value ? query.set(paramName, value) : query;\n }\n\n private defaultEncodeParam(param: Param): string {\n // This implementation exists as fallback for missing configuration\n // and for backwards compatibility to older typescript-angular generator versions.\n // It only works for the 'simple' parameter style.\n // Date-handling only works for the 'date-time' format.\n // All other styles and Date-formats are probably handled incorrectly.\n //\n // But: if that's all you need (i.e.: the most common use-case): no need for customization!\n\n const value =\n param.dataFormat === \"date-time\" && param.value instanceof Date\n ? (param.value as Date).toISOString()\n : param.value;\n\n return encodeURIComponent(String(value));\n }\n}\n","/**\n * RenewAire CORES API\n *\n * Contact: renewaire@saritasa.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nimport {\n HttpHeaders,\n HttpParams,\n HttpParameterCodec,\n} from \"@angular/common/http\";\nimport { CustomHttpParameterCodec } from \"./encoder\";\nimport { Configuration } from \"./configuration\";\n\nexport class BaseService {\n protected basePath = \"http://localhost\";\n public defaultHeaders = new HttpHeaders();\n public configuration: Configuration;\n public encoder: HttpParameterCodec;\n\n constructor(basePath?: string | string[], configuration?: Configuration) {\n this.configuration = configuration || new Configuration();\n if (typeof this.configuration.basePath !== \"string\") {\n const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;\n if (firstBasePath != undefined) {\n basePath = firstBasePath;\n }\n\n if (typeof basePath !== \"string\") {\n basePath = this.basePath;\n }\n this.configuration.basePath = basePath;\n }\n this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();\n }\n\n protected canConsumeForm(consumes: string[]): boolean {\n return consumes.indexOf(\"multipart/form-data\") !== -1;\n }\n\n protected addToHttpParams(\n httpParams: HttpParams,\n value: any,\n key?: string,\n isDeep: boolean = false,\n ): HttpParams {\n // If the value is an object (but not a Date), recursively add its keys.\n if (typeof value === \"object\" && !(value instanceof Date)) {\n return this.addToHttpParamsRecursive(\n httpParams,\n value,\n isDeep ? key : undefined,\n isDeep,\n );\n }\n return this.addToHttpParamsRecursive(httpParams, value, key);\n }\n\n protected addToHttpParamsRecursive(\n httpParams: HttpParams,\n value?: any,\n key?: string,\n isDeep: boolean = false,\n ): HttpParams {\n if (value === null || value === undefined) {\n return httpParams;\n }\n if (typeof value === \"object\") {\n // If JSON format is preferred, key must be provided.\n if (key != null) {\n return isDeep\n ? Object.keys(value as Record<string, any>).reduce(\n (hp, k) => hp.append(`${key}[${k}]`, value[k]),\n httpParams,\n )\n : httpParams.append(key, JSON.stringify(value));\n }\n // Otherwise, if it's an array, add each element.\n if (Array.isArray(value)) {\n value.forEach(\n (elem) =>\n (httpParams = this.addToHttpParamsRecursive(httpParams, elem, key)),\n );\n } else if (value instanceof Date) {\n if (key != null) {\n httpParams = httpParams.append(key, value.toISOString());\n } else {\n throw Error(\"key may not be null if value is Date\");\n }\n } else {\n Object.keys(value).forEach((k) => {\n const paramKey = key ? `${key}.${k}` : k;\n httpParams = this.addToHttpParamsRecursive(\n httpParams,\n value[k],\n paramKey,\n );\n });\n }\n return httpParams;\n } else if (key != null) {\n return httpParams.append(key, value);\n }\n throw Error(\"key may not be null if value is not object or array\");\n }\n}\n","/**\n * RenewAire CORES API\n *\n * Contact: renewaire@saritasa.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n/* tslint:disable:no-unused-variable member-ordering */\n\nimport { Inject, Injectable, Optional } from \"@angular/core\";\nimport {\n HttpClient,\n HttpHeaders,\n HttpParams,\n HttpResponse,\n HttpEvent,\n HttpParameterCodec,\n HttpContext,\n} from \"@angular/common/http\";\nimport { CustomHttpParameterCodec } from \"../encoder\";\nimport { Observable } from \"rxjs\";\n\n// @ts-ignore\nimport { LoginUserCommand } from \"../model/login-user-command\";\n// @ts-ignore\nimport { RefreshTokenCommand } from \"../model/refresh-token-command\";\n// @ts-ignore\nimport { TokenModel } from \"../model/token-model\";\n\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS } from \"../variables\";\nimport { Configuration } from \"../configuration\";\nimport { BaseService } from \"../api.base.service\";\nimport {\n AuthApiServiceInterface,\n AuthAuthenticateRequestParams,\n AuthRefreshTokenRequestParams,\n} from \"./auth-apiInterface\";\n\n@Injectable({\n providedIn: \"root\",\n})\nexport class AuthApiService\n extends BaseService\n implements AuthApiServiceInterface\n{\n constructor(\n protected httpClient: HttpClient,\n @Optional() @Inject(BASE_PATH) basePath: string | string[],\n @Optional() configuration?: Configuration,\n ) {\n super(basePath, configuration);\n }\n\n /**\n * Authenticate user by email and password.\n * @param requestParameters\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public authAuthenticate(\n requestParameters: AuthAuthenticateRequestParams,\n observe?: \"body\",\n reportProgress?: boolean,\n options?: {\n httpHeaderAccept?: \"text/plain\" | \"application/json\" | \"text/json\";\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<TokenModel>;\n public authAuthenticate(\n requestParameters: AuthAuthenticateRequestParams,\n observe?: \"response\",\n reportProgress?: boolean,\n options?: {\n httpHeaderAccept?: \"text/plain\" | \"application/json\" | \"text/json\";\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<HttpResponse<TokenModel>>;\n public authAuthenticate(\n requestParameters: AuthAuthenticateRequestParams,\n observe?: \"events\",\n reportProgress?: boolean,\n options?: {\n httpHeaderAccept?: \"text/plain\" | \"application/json\" | \"text/json\";\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<HttpEvent<TokenModel>>;\n public authAuthenticate(\n requestParameters: AuthAuthenticateRequestParams,\n observe: any = \"body\",\n reportProgress: boolean = false,\n options?: {\n httpHeaderAccept?: \"text/plain\" | \"application/json\" | \"text/json\";\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<any> {\n const loginUserCommand = requestParameters?.loginUserCommand;\n if (loginUserCommand === null || loginUserCommand === undefined) {\n throw new Error(\n \"Required parameter loginUserCommand was null or undefined when calling authAuthenticate.\",\n );\n }\n\n let localVarHeaders = this.defaultHeaders;\n\n const localVarHttpHeaderAcceptSelected: string | undefined =\n options?.httpHeaderAccept ??\n this.configuration.selectHeaderAccept([\n \"text/plain\",\n \"application/json\",\n \"text/json\",\n ]);\n if (localVarHttpHeaderAcceptSelected !== undefined) {\n localVarHeaders = localVarHeaders.set(\n \"Accept\",\n localVarHttpHeaderAcceptSelected,\n );\n }\n\n const localVarHttpContext: HttpContext =\n options?.context ?? new HttpContext();\n\n const localVarTransferCache: boolean = options?.transferCache ?? true;\n\n // to determine the Content-Type header\n const consumes: string[] = [\n \"application/json\",\n \"text/json\",\n \"application/*+json\",\n ];\n const httpContentTypeSelected: string | undefined =\n this.configuration.selectHeaderContentType(consumes);\n if (httpContentTypeSelected !== undefined) {\n localVarHeaders = localVarHeaders.set(\n \"Content-Type\",\n httpContentTypeSelected,\n );\n }\n\n let responseType_: \"text\" | \"json\" | \"blob\" = \"json\";\n if (localVarHttpHeaderAcceptSelected) {\n if (localVarHttpHeaderAcceptSelected.startsWith(\"text\")) {\n responseType_ = \"text\";\n } else if (\n this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)\n ) {\n responseType_ = \"json\";\n } else {\n responseType_ = \"blob\";\n }\n }\n\n let localVarPath = `/api/auth`;\n const { basePath, withCredentials } = this.configuration;\n return this.httpClient.request<TokenModel>(\n \"post\",\n `${basePath}${localVarPath}`,\n {\n context: localVarHttpContext,\n body: loginUserCommand,\n responseType: <any>responseType_,\n ...(withCredentials ? { withCredentials } : {}),\n headers: localVarHeaders,\n observe: observe,\n transferCache: localVarTransferCache,\n reportProgress: reportProgress,\n },\n );\n }\n\n /**\n * Get new token by refresh token.\n * @param requestParameters\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public authRefreshToken(\n requestParameters: AuthRefreshTokenRequestParams,\n observe?: \"body\",\n reportProgress?: boolean,\n options?: {\n httpHeaderAccept?: \"text/plain\" | \"application/json\" | \"text/json\";\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<TokenModel>;\n public authRefreshToken(\n requestParameters: AuthRefreshTokenRequestParams,\n observe?: \"response\",\n reportProgress?: boolean,\n options?: {\n httpHeaderAccept?: \"text/plain\" | \"application/json\" | \"text/json\";\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<HttpResponse<TokenModel>>;\n public authRefreshToken(\n requestParameters: AuthRefreshTokenRequestParams,\n observe?: \"events\",\n reportProgress?: boolean,\n options?: {\n httpHeaderAccept?: \"text/plain\" | \"application/json\" | \"text/json\";\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<HttpEvent<TokenModel>>;\n public authRefreshToken(\n requestParameters: AuthRefreshTokenRequestParams,\n observe: any = \"body\",\n reportProgress: boolean = false,\n options?: {\n httpHeaderAccept?: \"text/plain\" | \"application/json\" | \"text/json\";\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<any> {\n const refreshTokenCommand = requestParameters?.refreshTokenCommand;\n if (refreshTokenCommand === null || refreshTokenCommand === undefined) {\n throw new Error(\n \"Required parameter refreshTokenCommand was null or undefined when calling authRefreshToken.\",\n );\n }\n\n let localVarHeaders = this.defaultHeaders;\n\n const localVarHttpHeaderAcceptSelected: string | undefined =\n options?.httpHeaderAccept ??\n this.configuration.selectHeaderAccept([\n \"text/plain\",\n \"application/json\",\n \"text/json\",\n ]);\n if (localVarHttpHeaderAcceptSelected !== undefined) {\n localVarHeaders = localVarHeaders.set(\n \"Accept\",\n localVarHttpHeaderAcceptSelected,\n );\n }\n\n const localVarHttpContext: HttpContext =\n options?.context ?? new HttpContext();\n\n const localVarTransferCache: boolean = options?.transferCache ?? true;\n\n // to determine the Content-Type header\n const consumes: string[] = [\n \"application/json\",\n \"text/json\",\n \"application/*+json\",\n ];\n const httpContentTypeSelected: string | undefined =\n this.configuration.selectHeaderContentType(consumes);\n if (httpContentTypeSelected !== undefined) {\n localVarHeaders = localVarHeaders.set(\n \"Content-Type\",\n httpContentTypeSelected,\n );\n }\n\n let responseType_: \"text\" | \"json\" | \"blob\" = \"json\";\n if (localVarHttpHeaderAcceptSelected) {\n if (localVarHttpHeaderAcceptSelected.startsWith(\"text\")) {\n responseType_ = \"text\";\n } else if (\n this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)\n ) {\n responseType_ = \"json\";\n } else {\n responseType_ = \"blob\";\n }\n }\n\n let localVarPath = `/api/auth`;\n const { basePath, withCredentials } = this.configuration;\n return this.httpClient.request<TokenModel>(\n \"put\",\n `${basePath}${localVarPath}`,\n {\n context: localVarHttpContext,\n body: refreshTokenCommand,\n responseType: <any>responseType_,\n ...(withCredentials ? { withCredentials } : {}),\n headers: localVarHeaders,\n observe: observe,\n transferCache: localVarTransferCache,\n reportProgress: reportProgress,\n },\n );\n }\n}\n","/**\n * RenewAire CORES API\n *\n * Contact: renewaire@saritasa.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n/* tslint:disable:no-unused-variable member-ordering */\n\nimport { Inject, Injectable, Optional } from \"@angular/core\";\nimport {\n HttpClient,\n HttpHeaders,\n HttpParams,\n HttpResponse,\n HttpEvent,\n HttpParameterCodec,\n HttpContext,\n} from \"@angular/common/http\";\nimport { CustomHttpParameterCodec } from \"../encoder\";\nimport { Observable } from \"rxjs\";\n\n// @ts-ignore\nimport { RegionLevel } from \"../model/region-level\";\n// @ts-ignore\nimport { SearchRegionDtoPagedListMetadataDto } from \"../model/search-region-dto-paged-list-metadata-dto\";\n\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS } from \"../variables\";\nimport { Configuration } from \"../configuration\";\nimport { BaseService } from \"../api.base.service\";\nimport {\n RegionsApiServiceInterface,\n RegionsSearchRegionsRequestParams,\n} from \"./regions-apiInterface\";\n\n@Injectable({\n providedIn: \"root\",\n})\nexport class RegionsApiService\n extends BaseService\n implements RegionsApiServiceInterface\n{\n constructor(\n protected httpClient: HttpClient,\n @Optional() @Inject(BASE_PATH) basePath: string | string[],\n @Optional() configuration?: Configuration,\n ) {\n super(basePath, configuration);\n }\n\n /**\n * Search regions.\n * @param requestParameters\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public regionsSearchRegions(\n requestParameters?: RegionsSearchRegionsRequestParams,\n observe?: \"body\",\n reportProgress?: boolean,\n options?: {\n httpHeaderAccept?: \"text/plain\" | \"application/json\" | \"text/json\";\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<SearchRegionDtoPagedListMetadataDto>;\n public regionsSearchRegions(\n requestParameters?: RegionsSearchRegionsRequestParams,\n observe?: \"response\",\n reportProgress?: boolean,\n options?: {\n httpHeaderAccept?: \"text/plain\" | \"application/json\" | \"text/json\";\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<HttpResponse<SearchRegionDtoPagedListMetadataDto>>;\n public regionsSearchRegions(\n requestParameters?: RegionsSearchRegionsRequestParams,\n observe?: \"events\",\n reportProgress?: boolean,\n options?: {\n httpHeaderAccept?: \"text/plain\" | \"application/json\" | \"text/json\";\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<HttpEvent<SearchRegionDtoPagedListMetadataDto>>;\n public regionsSearchRegions(\n requestParameters?: RegionsSearchRegionsRequestParams,\n observe: any = \"body\",\n reportProgress: boolean = false,\n options?: {\n httpHeaderAccept?: \"text/plain\" | \"application/json\" | \"text/json\";\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<any> {\n const name = requestParameters?.name;\n const code = requestParameters?.code;\n const level = requestParameters?.level;\n const orderBy = requestParameters?.orderBy;\n const page = requestParameters?.page;\n const pageSize = requestParameters?.pageSize;\n\n let localVarQueryParameters = new HttpParams({ encoder: this.encoder });\n localVarQueryParameters = this.addToHttpParams(\n localVarQueryParameters,\n <any>name,\n \"Name\",\n );\n localVarQueryParameters = this.addToHttpParams(\n localVarQueryParameters,\n <any>code,\n \"Code\",\n );\n localVarQueryParameters = this.addToHttpParams(\n localVarQueryParameters,\n <any>level,\n \"Level\",\n );\n localVarQueryParameters = this.addToHttpParams(\n localVarQueryParameters,\n <any>orderBy,\n \"OrderBy\",\n );\n localVarQueryParameters = this.addToHttpParams(\n localVarQueryParameters,\n <any>page,\n \"Page\",\n );\n localVarQueryParameters = this.addToHttpParams(\n localVarQueryParameters,\n <any>pageSize,\n \"PageSize\",\n );\n\n let localVarHeaders = this.defaultHeaders;\n\n // authentication (Bearer) required\n localVarHeaders = this.configuration.addCredentialToHeaders(\n \"Bearer\",\n \"Authorization\",\n localVarHeaders,\n \"Bearer \",\n );\n\n const localVarHttpHeaderAcceptSelected: string | undefined =\n options?.httpHeaderAccept ??\n this.configuration.selectHeaderAccept([\n \"text/plain\",\n \"application/json\",\n \"text/json\",\n ]);\n if (localVarHttpHeaderAcceptSelected !== undefined) {\n localVarHeaders = localVarHeaders.set(\n \"Accept\",\n localVarHttpHeaderAcceptSelected,\n );\n }\n\n const localVarHttpContext: HttpContext =\n options?.context ?? new HttpContext();\n\n const localVarTransferCache: boolean = options?.transferCache ?? true;\n\n let responseType_: \"text\" | \"json\" | \"blob\" = \"json\";\n if (localVarHttpHeaderAcceptSelected) {\n if (localVarHttpHeaderAcceptSelected.startsWith(\"text\")) {\n responseType_ = \"text\";\n } else if (\n this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)\n ) {\n responseType_ = \"json\";\n } else {\n responseType_ = \"blob\";\n }\n }\n\n let localVarPath = `/api/regions`;\n const { basePath, withCredentials } = this.configuration;\n return this.httpClient.request<SearchRegionDtoPagedListMetadataDto>(\n \"get\",\n `${basePath}${localVarPath}`,\n {\n context: localVarHttpContext,\n params: localVarQueryParameters,\n responseType: <any>responseType_,\n ...(withCredentials ? { withCredentials } : {}),\n headers: localVarHeaders,\n observe: observe,\n transferCache: localVarTransferCache,\n reportProgress: reportProgress,\n },\n );\n }\n}\n","/**\n * RenewAire CORES API\n *\n * Contact: renewaire@saritasa.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n/* tslint:disable:no-unused-variable member-ordering */\n\nimport { Inject, Injectable, Optional } from \"@angular/core\";\nimport {\n HttpClient,\n HttpHeaders,\n HttpParams,\n HttpResponse,\n HttpEvent,\n HttpParameterCodec,\n HttpContext,\n} from \"@angular/common/http\";\nimport { CustomHttpParameterCodec } from \"../encoder\";\nimport { Observable } from \"rxjs\";\n\n// @ts-ignore\nimport { EmailConfirmationTokenDto } from \"../model/email-confirmation-token-dto\";\n// @ts-ignore\nimport { Int32IdDto } from \"../model/int32-id-dto\";\n// @ts-ignore\nimport { UserEmailDto } from \"../model/user-email-dto\";\n// @ts-ignore\nimport { UserRegistrationDto } from \"../model/user-registration-dto\";\n\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS } from \"../variables\";\nimport { Configuration } from \"../configuration\";\nimport { BaseService } from \"../api.base.service\";\nimport {\n UsersApiServiceInterface,\n UsersConfirmEmailRequestParams,\n UsersRegisterUserRequestParams,\n UsersRequestConfirmEmailRequestParams,\n} from \"./users-apiInterface\";\n\n@Injectable({\n providedIn: \"root\",\n})\nexport class UsersApiService\n extends BaseService\n implements UsersApiServiceInterface\n{\n constructor(\n protected httpClient: HttpClient,\n @Optional() @Inject(BASE_PATH) basePath: string | string[],\n @Optional() configuration?: Configuration,\n ) {\n super(basePath, configuration);\n }\n\n /**\n * Confirm email address using the verification code from email and continue registration.\n * @param requestParameters\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public usersConfirmEmail(\n requestParameters?: UsersConfirmEmailRequestParams,\n observe?: \"body\",\n reportProgress?: boolean,\n options?: {\n httpHeaderAccept?: undefined;\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<any>;\n public usersConfirmEmail(\n requestParameters?: UsersConfirmEmailRequestParams,\n observe?: \"response\",\n reportProgress?: boolean,\n options?: {\n httpHeaderAccept?: undefined;\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<HttpResponse<any>>;\n public usersConfirmEmail(\n requestParameters?: UsersConfirmEmailRequestParams,\n observe?: \"events\",\n reportProgress?: boolean,\n options?: {\n httpHeaderAccept?: undefined;\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<HttpEvent<any>>;\n public usersConfirmEmail(\n requestParameters?: UsersConfirmEmailRequestParams,\n observe: any = \"body\",\n reportProgress: boolean = false,\n options?: {\n httpHeaderAccept?: undefined;\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<any> {\n const emailConfirmationTokenDto =\n requestParameters?.emailConfirmationTokenDto;\n\n let localVarHeaders = this.defaultHeaders;\n\n const localVarHttpHeaderAcceptSelected: string | undefined =\n options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);\n if (localVarHttpHeaderAcceptSelected !== undefined) {\n localVarHeaders = localVarHeaders.set(\n \"Accept\",\n localVarHttpHeaderAcceptSelected,\n );\n }\n\n const localVarHttpContext: HttpContext =\n options?.context ?? new HttpContext();\n\n const localVarTransferCache: boolean = options?.transferCache ?? true;\n\n // to determine the Content-Type header\n const consumes: string[] = [\n \"application/json\",\n \"text/json\",\n \"application/*+json\",\n ];\n const httpContentTypeSelected: string | undefined =\n this.configuration.selectHeaderContentType(consumes);\n if (httpContentTypeSelected !== undefined) {\n localVarHeaders = localVarHeaders.set(\n \"Content-Type\",\n httpContentTypeSelected,\n );\n }\n\n let responseType_: \"text\" | \"json\" | \"blob\" = \"json\";\n if (localVarHttpHeaderAcceptSelected) {\n if (localVarHttpHeaderAcceptSelected.startsWith(\"text\")) {\n responseType_ = \"text\";\n } else if (\n this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)\n ) {\n responseType_ = \"json\";\n } else {\n responseType_ = \"blob\";\n }\n }\n\n let localVarPath = `/api/users/confirm-email`;\n const { basePath, withCredentials } = this.configuration;\n return this.httpClient.request<any>(\"post\", `${basePath}${localVarPath}`, {\n context: localVarHttpContext,\n body: emailConfirmationTokenDto,\n responseType: <any>responseType_,\n ...(withCredentials ? { withCredentials } : {}),\n headers: localVarHeaders,\n observe: observe,\n transferCache: localVarTransferCache,\n reportProgress: reportProgress,\n });\n }\n\n /**\n * Register user.\n * @param requestParameters\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public usersRegisterUser(\n requestParameters?: UsersRegisterUserRequestParams,\n observe?: \"body\",\n reportProgress?: boolean,\n options?: {\n httpHeaderAccept?: \"text/plain\" | \"application/json\" | \"text/json\";\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<Int32IdDto>;\n public usersRegisterUser(\n requestParameters?: UsersRegisterUserRequestParams,\n observe?: \"response\",\n reportProgress?: boolean,\n options?: {\n httpHeaderAccept?: \"text/plain\" | \"application/json\" | \"text/json\";\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<HttpResponse<Int32IdDto>>;\n public usersRegisterUser(\n requestParameters?: UsersRegisterUserRequestParams,\n observe?: \"events\",\n reportProgress?: boolean,\n options?: {\n httpHeaderAccept?: \"text/plain\" | \"application/json\" | \"text/json\";\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<HttpEvent<Int32IdDto>>;\n public usersRegisterUser(\n requestParameters?: UsersRegisterUserRequestParams,\n observe: any = \"body\",\n reportProgress: boolean = false,\n options?: {\n httpHeaderAccept?: \"text/plain\" | \"application/json\" | \"text/json\";\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<any> {\n const userRegistrationDto = requestParameters?.userRegistrationDto;\n\n let localVarHeaders = this.defaultHeaders;\n\n const localVarHttpHeaderAcceptSelected: string | undefined =\n options?.httpHeaderAccept ??\n this.configuration.selectHeaderAccept([\n \"text/plain\",\n \"application/json\",\n \"text/json\",\n ]);\n if (localVarHttpHeaderAcceptSelected !== undefined) {\n localVarHeaders = localVarHeaders.set(\n \"Accept\",\n localVarHttpHeaderAcceptSelected,\n );\n }\n\n const localVarHttpContext: HttpContext =\n options?.context ?? new HttpContext();\n\n const localVarTransferCache: boolean = options?.transferCache ?? true;\n\n // to determine the Content-Type header\n const consumes: string[] = [\n \"application/json\",\n \"text/json\",\n \"application/*+json\",\n ];\n const httpContentTypeSelected: string | undefined =\n this.configuration.selectHeaderContentType(consumes);\n if (httpContentTypeSelected !== undefined) {\n localVarHeaders = localVarHeaders.set(\n \"Content-Type\",\n httpContentTypeSelected,\n );\n }\n\n let responseType_: \"text\" | \"json\" | \"blob\" = \"json\";\n if (localVarHttpHeaderAcceptSelected) {\n if (localVarHttpHeaderAcceptSelected.startsWith(\"text\")) {\n responseType_ = \"text\";\n } else if (\n this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)\n ) {\n responseType_ = \"json\";\n } else {\n responseType_ = \"blob\";\n }\n }\n\n let localVarPath = `/api/users`;\n const { basePath, withCredentials } = this.configuration;\n return this.httpClient.request<Int32IdDto>(\n \"post\",\n `${basePath}${localVarPath}`,\n {\n context: localVarHttpContext,\n body: userRegistrationDto,\n responseType: <any>responseType_,\n ...(withCredentials ? { withCredentials } : {}),\n headers: localVarHeaders,\n observe: observe,\n transferCache: localVarTransferCache,\n reportProgress: reportProgress,\n },\n );\n }\n\n /**\n * Request email confirmation and begin registration. This endpoint sends verification email to a given address.\n * @param requestParameters\n * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.\n * @param reportProgress flag to report request and response progress.\n */\n public usersRequestConfirmEmail(\n requestParameters?: UsersRequestConfirmEmailRequestParams,\n observe?: \"body\",\n reportProgress?: boolean,\n options?: {\n httpHeaderAccept?: undefined;\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<any>;\n public usersRequestConfirmEmail(\n requestParameters?: UsersRequestConfirmEmailRequestParams,\n observe?: \"response\",\n reportProgress?: boolean,\n options?: {\n httpHeaderAccept?: undefined;\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<HttpResponse<any>>;\n public usersRequestConfirmEmail(\n requestParameters?: UsersRequestConfirmEmailRequestParams,\n observe?: \"events\",\n reportProgress?: boolean,\n options?: {\n httpHeaderAccept?: undefined;\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<HttpEvent<any>>;\n public usersRequestConfirmEmail(\n requestParameters?: UsersRequestConfirmEmailRequestParams,\n observe: any = \"body\",\n reportProgress: boolean = false,\n options?: {\n httpHeaderAccept?: undefined;\n context?: HttpContext;\n transferCache?: boolean;\n },\n ): Observable<any> {\n const userEmailDto = requestParameters?.userEmailDto;\n\n let localVarHeaders = this.defaultHeaders;\n\n const localVarHttpHeaderAcceptSelected: string | undefined =\n options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([]);\n if (localVarHttpHeaderAcceptSelected !== undefined) {\n localVarHeaders = localVarHeaders.set(\n \"Accept\",\n localVarHttpHeaderAcceptSelected,\n );\n }\n\n const localVarHttpContext: HttpContext =\n options?.context ?? new HttpContext();\n\n const localVarTransferCache: boolean = options?.transferCache ?? true;\n\n // to determine the Content-Type header\n const consumes: string[] = [\n \"application/json\",\n \"text/json\",\n \"application/*+json\",\n ];\n const httpContentTypeSelected: string | undefined =\n this.configuration.selectHeaderContentType(consumes);\n if (httpContentTypeSelected !== undefined) {\n localVarHeaders = localVarHeaders.set(\n \"Content-Type\",\n httpContentTypeSelected,\n );\n }\n\n let responseType_: \"text\" | \"json\" | \"blob\" = \"json\";\n if (localVarHttpHeaderAcceptSelected) {\n if (localVarHttpHeaderAcceptSelected.startsWith(\"text\")) {\n responseType_ = \"text\";\n } else if (\n this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)\n ) {\n responseType_ = \"json\";\n } else {\n responseType_ = \"blob\";\n }\n }\n\n let localVarPath = `/api/users/request-email`;\n const { basePath, withCredentials } = this.configuration;\n return this.httpClient.request<any>(\"put\", `${basePath}${localVarPath}`, {\n context: localVarHttpContext,\n body: userEmailDto,\n responseType: <any>responseType_,\n ...(withCredentials ? { withCredentials } : {}),\n headers: localVarHeaders,\n observe: observe,\n transferCache: localVarTransferCache,\n reportProgress: reportProgress,\n });\n }\n}\n","export * from \"./auth-api\";\nimport { AuthApiService } from \"./auth-api\";\nexport * from \"./auth-apiInterface\";\nexport * from \"./regions-api\";\nimport { RegionsApiService } from \"./regions-api\";\nexport * from \"./regions-apiInterface\";\nexport * from \"./users-api\";\nimport { UsersApiService } from \"./users-api\";\nexport * from \"./users-apiInterface\";\nexport const APIS = [AuthApiService, RegionsApiService, UsersApiService];\n","/**\n * RenewAire CORES API\n *\n * Contact: renewaire@saritasa.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n/**\n * Email confirmation token DTO.\n */\nexport interface EmailConfirmationTokenDto {\n /**\n * Email address.\n */\n email: string;\n /**\n * Confirmation token (code).\n */\n token: string;\n}\n","/**\n * RenewAire CORES API\n *\n * Contact: renewaire@saritasa.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n/**\n * DTO to return Id of entity.\n */\nexport interface Int32IdDto {\n id: number;\n}\n","/**\n * RenewAire CORES API\n *\n * Contact: renewaire@saritasa.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n/**\n * Login user command.\n */\nexport interface LoginUserCommand {\n /**\n * Username (email).\n */\n userName: string;\n /**\n * Password.\n */\n password: string;\n /**\n * Remember user\\'s cookie for longer period.\n */\n rememberMe: boolean;\n}\n","/**\n * RenewAire CORES API\n *\n * Contact: renewaire@saritasa.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nexport interface OffsetLimitListMetadata {\n totalCount: number;\n offset: number;\n limit: number;\n}\n","/**\n * RenewAire CORES API\n *\n * Contact: renewaire@saritasa.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nexport interface PagedListMetadata {\n totalCount: number;\n offset: number;\n limit: number;\n page: number;\n pageSize: number;\n totalPages: number;\n}\n","/**\n * RenewAire CORES API\n *\n * Contact: renewaire@saritasa.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n/**\n * Physical address.\n */\nexport interface PhysicalAddressDto {\n /**\n * Address display name.\n */\n displayAddress: string;\n street1: string;\n stateCode: string;\n /**\n * Country name.\n */\n country: string;\n /**\n * Postal code.\n */\n postalCode: string;\n apartmentNumber?: string | null;\n street2?: string | null;\n county?: string | null;\n city?: string | null;\n}\n","/**\n * RenewAire CORES API\n *\n * Contact: renewaire@saritasa.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n/**\n * Refresh token command.\n */\nexport interface RefreshTokenCommand {\n /**\n * User token.\n */\n token: string;\n}\n","/**\n * RenewAire CORES API\n *\n * Contact: renewaire@saritasa.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n/**\n * RegionLevel<br />0 = Country<br />1 = State<br />2 = County\n */\nexport enum RegionLevel {\n Country = \"Country\",\n\n State = \"State\",\n\n County = \"County\",\n}\n","/**\n * RenewAire CORES API\n *\n * Contact: renewaire@saritasa.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n/**\n * DTO for searching RenewAire.Cores.Domain.Region.\n */\nexport interface SearchRegionDto {\n id: object;\n /**\n * RegionLevel<br />0 = Country<br />1 = State<br />2 = County\n */\n level: SearchRegionDtoLevelEnum;\n name: string;\n code: string;\n parentRegionId?: object | null;\n}\nexport enum SearchRegionDtoLevelEnum {\n Country = \"Country\",\n State = \"State\",\n County = \"County\",\n}\n","/**\n * RenewAire CORES API\n *\n * Contact: renewaire@saritasa.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n/**\n * API generated token model.\n */\nexport interface TokenModel {\n /**\n * Token.\n */\n token: string;\n /**\n * Token expiration in seconds.\n */\n expiresIn: number;\n}\n","/**\n * RenewAire CORES API\n *\n * Contact: renewaire@saritasa.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nexport interface TotalCountListMetadata {\n totalCount: number;\n}\n","/**\n * RenewAire CORES API\n *\n * Contact: renewaire@saritasa.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n/**\n * User email DTO.\n */\nexport interface UserEmailDto {\n /**\n * <inheritdoc cref=\\\"P:RenewAire.Cores.Domain.Users.User.Email\\\" />.\n */\n email: string;\n}\n","/**\n * RenewAire CORES API\n *\n * Contact: renewaire@saritasa.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n/**\n * User preferences DTO.\n */\nexport interface UserPreferencesDto {\n occupation: string;\n}\n","/**\n * RenewAire CORES API\n *\n * Contact: renewaire@saritasa.com\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n/**\n * User profile DTO.\n */\nexport interface UserProfileDto {\n firstName: string;\n lastName: string;\n company: string;\n title: string;\n /**\n * Phone number.\n */\n workPhoneNumber: string;\n /**\n * Work phone number extension. Optional.\n */\n workPhoneNumberExt?: string | null;\n /**\n * Work phone.\n */\n mobilePhoneNumber?: string | null;\n}\n","import {\n NgModule,\n ModuleWithProviders,\n SkipSelf,\n Optional,\n} from \"@angular/core\";\nimport { Configuration } from \"./configuration\";\nimport { HttpClient } from \"@angular/common/http\";\n\n@NgModule({\n imports: [],\n declarations: [],\n exports: [],\n providers: [],\n})\nexport class ApiModule {\n public static forRoot(\n configurationFactory: () => Configuration,\n ): ModuleWithProviders<ApiModule> {\n return {\n ngModule: ApiModule,\n providers: [{ provide: Configuration, useFactory: configurationFactory }],\n };\n }\n\n constructor(\n @Optional() @SkipSelf() parentModule: ApiModule,\n @Optional() http: HttpClient,\n ) {\n if (parentModule) {\n throw new Error(\n \"ApiModule is already loaded. Import in your base AppModule only.\",\n );\n }\n if (!http) {\n throw new Error(\n \"You need to import the HttpClientModule in your AppModule! \\n\" +\n \"See also https://github.com/angular/angular/issues/20575\",\n );\n }\n }\n}\n","import { EnvironmentProviders, makeEnvironmentProviders } from \"@angular/core\";\nimport { Configuration, ConfigurationParameters } from \"./configuration\";\nimport { BASE_PATH } from \"./variables\";\n\n// Returns the service class providers, to be used in the [ApplicationConfig](https://angular.dev/api/core/ApplicationConfig).\nexport function provideApi(\n configOrBasePath: string | ConfigurationParameters,\n): EnvironmentProviders {\n return makeEnvironmentProviders([\n typeof configOrBasePath === \"string\"\n ? { provide: BASE_PATH, useValue: configOrBasePath }\n : {\n provide: Configuration,\n useValue: new Configuration({ ...configOrBasePath }),\n },\n ]);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2.Configuration"],"mappings":";;;;;MAEa,SAAS,GAAG,IAAI,cAAc,CAAS,UAAU;AACvD,MAAM,kBAAkB,GAAG;AAChC,IAAA,GAAG,EAAE,GAAG;AACR,IAAA,GAAG,EAAE,KAAK;AACV,IAAA,GAAG,EAAE,GAAG;AACR,IAAA,KAAK,EAAE,GAAG;;;ACLZ;;;AAGG;MACU,wBAAwB,CAAA;AACnC,IAAA,SAAS,CAAC,CAAS,EAAA;AACjB,QAAA,OAAO,kBAAkB,CAAC,CAAC,CAAC;IAC9B;AACA,IAAA,WAAW,CAAC,CAAS,EAAA;AACnB,QAAA,OAAO,kBAAkB,CAAC,CAAC,CAAC;IAC9B;AACA,IAAA,SAAS,CAAC,CAAS,EAAA;AACjB,QAAA,OAAO,kBAAkB,CAAC,CAAC,CAAC;IAC9B;AACA,IAAA,WAAW,CAAC,CAAS,EAAA;AACnB,QAAA,OAAO,kBAAkB,CAAC,CAAC,CAAC;IAC9B;AACD;;MCqBY,aAAa,CAAA;AACxB;;AAEG;AACH,IAAA,OAAO;AACP,IAAA,QAAQ;AACR,IAAA,QAAQ;AACR;;AAEG;AACH,IAAA,WAAW;AACX,IAAA,QAAQ;AACR,IAAA,eAAe;AACf;;AAEG;AACH,IAAA,OAAO;AACP;;;;;;AAMG;AACH,IAAA,WAA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 *
262
+ * Contact: renewaire@saritasa.com
263
+ *
264
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
265
+ * https://openapi-generator.tech
266
+ * Do not edit the class manually.
267
+ */
268
+ interface OffsetLimitListMetadata {
269
+ totalCount: number;
270
+ offset: number;
271
+ limit: number;
272
+ }
273
+
274
+ /**
275
+ * RenewAire CORES API
276
+ *
277
+ * Contact: renewaire@saritasa.com
278
+ *
279
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
280
+ * https://openapi-generator.tech
281
+ * Do not edit the class manually.
282
+ */
283
+ interface PagedListMetadata {
284
+ totalCount: number;
285
+ offset: number;
286
+ limit: number;
287
+ page: number;
288
+ pageSize: number;
289
+ totalPages: number;
290
+ }
291
+
259
292
  /**
260
293
  * RenewAire CORES API
261
294
  *
@@ -308,6 +341,80 @@ interface RefreshTokenCommand {
308
341
  token: string;
309
342
  }
310
343
 
344
+ /**
345
+ * RenewAire CORES API
346
+ *
347
+ * Contact: renewaire@saritasa.com
348
+ *
349
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
350
+ * https://openapi-generator.tech
351
+ * Do not edit the class manually.
352
+ */
353
+ /**
354
+ * RegionLevel<br />0 = Country<br />1 = State<br />2 = County
355
+ */
356
+ declare enum RegionLevel {
357
+ Country = "Country",
358
+ State = "State",
359
+ County = "County"
360
+ }
361
+
362
+ /**
363
+ * RenewAire CORES API
364
+ *
365
+ * Contact: renewaire@saritasa.com
366
+ *
367
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
368
+ * https://openapi-generator.tech
369
+ * Do not edit the class manually.
370
+ */
371
+ /**
372
+ * DTO for searching RenewAire.Cores.Domain.Region.
373
+ */
374
+ interface SearchRegionDto {
375
+ id: object;
376
+ /**
377
+ * RegionLevel<br />0 = Country<br />1 = State<br />2 = County
378
+ */
379
+ level: SearchRegionDtoLevelEnum;
380
+ name: string;
381
+ code: string;
382
+ parentRegionId?: object | null;
383
+ }
384
+ declare enum SearchRegionDtoLevelEnum {
385
+ Country = "Country",
386
+ State = "State",
387
+ County = "County"
388
+ }
389
+
390
+ /**
391
+ * RenewAire CORES API
392
+ *
393
+ * Contact: renewaire@saritasa.com
394
+ *
395
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
396
+ * https://openapi-generator.tech
397
+ * Do not edit the class manually.
398
+ */
399
+
400
+ interface SearchRegionDtoPagedListMetadataDto {
401
+ metadata: PagedListMetadata;
402
+ items: Array<SearchRegionDto>;
403
+ }
404
+
405
+ /**
406
+ * RenewAire CORES API
407
+ *
408
+ * Contact: renewaire@saritasa.com
409
+ *
410
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
411
+ * https://openapi-generator.tech
412
+ * Do not edit the class manually.
413
+ */
414
+ interface TotalCountListMetadata {
415
+ totalCount: number;
416
+ }
417
+
311
418
  /**
312
419
  * RenewAire CORES API
313
420
  *
@@ -492,6 +599,63 @@ declare class AuthApiService extends BaseService implements AuthApiServiceInterf
492
599
  static ɵprov: i0.ɵɵInjectableDeclaration<AuthApiService>;
493
600
  }
494
601
 
602
+ /**
603
+ * RenewAire CORES API
604
+ *
605
+ * Contact: renewaire@saritasa.com
606
+ *
607
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
608
+ * https://openapi-generator.tech
609
+ * Do not edit the class manually.
610
+ */
611
+
612
+ interface RegionsSearchRegionsRequestParams {
613
+ name?: string;
614
+ code?: string;
615
+ level?: RegionLevel;
616
+ orderBy?: string;
617
+ page?: number;
618
+ pageSize?: number;
619
+ }
620
+ interface RegionsApiServiceInterface {
621
+ defaultHeaders: HttpHeaders;
622
+ configuration: Configuration;
623
+ /**
624
+ * Search regions.
625
+ *
626
+ * @param requestParameters
627
+ */
628
+ regionsSearchRegions(requestParameters: RegionsSearchRegionsRequestParams, extraHttpRequestParams?: any): Observable<SearchRegionDtoPagedListMetadataDto>;
629
+ }
630
+
631
+ declare class RegionsApiService extends BaseService implements RegionsApiServiceInterface {
632
+ protected httpClient: HttpClient;
633
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
634
+ /**
635
+ * Search regions.
636
+ * @param requestParameters
637
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
638
+ * @param reportProgress flag to report request and response progress.
639
+ */
640
+ regionsSearchRegions(requestParameters?: RegionsSearchRegionsRequestParams, observe?: "body", reportProgress?: boolean, options?: {
641
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
642
+ context?: HttpContext;
643
+ transferCache?: boolean;
644
+ }): Observable<SearchRegionDtoPagedListMetadataDto>;
645
+ regionsSearchRegions(requestParameters?: RegionsSearchRegionsRequestParams, observe?: "response", reportProgress?: boolean, options?: {
646
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
647
+ context?: HttpContext;
648
+ transferCache?: boolean;
649
+ }): Observable<HttpResponse<SearchRegionDtoPagedListMetadataDto>>;
650
+ regionsSearchRegions(requestParameters?: RegionsSearchRegionsRequestParams, observe?: "events", reportProgress?: boolean, options?: {
651
+ httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
652
+ context?: HttpContext;
653
+ transferCache?: boolean;
654
+ }): Observable<HttpEvent<SearchRegionDtoPagedListMetadataDto>>;
655
+ static ɵfac: i0.ɵɵFactoryDeclaration<RegionsApiService, [null, { optional: true; }, { optional: true; }]>;
656
+ static ɵprov: i0.ɵɵInjectableDeclaration<RegionsApiService>;
657
+ }
658
+
495
659
  /**
496
660
  * RenewAire CORES API
497
661
  *
@@ -604,7 +768,7 @@ declare class UsersApiService extends BaseService implements UsersApiServiceInte
604
768
  static ɵprov: i0.ɵɵInjectableDeclaration<UsersApiService>;
605
769
  }
606
770
 
607
- declare const APIS: (typeof AuthApiService | typeof UsersApiService)[];
771
+ declare const APIS: (typeof AuthApiService | typeof RegionsApiService | typeof UsersApiService)[];
608
772
 
609
773
  declare const BASE_PATH: InjectionToken<string>;
610
774
  declare const COLLECTION_FORMATS: {
@@ -624,5 +788,5 @@ declare class ApiModule {
624
788
 
625
789
  declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
626
790
 
627
- export { APIS, ApiModule, AuthApiService, BASE_PATH, COLLECTION_FORMATS, Configuration, UsersApiService, provideApi };
628
- export type { AuthApiServiceInterface, AuthAuthenticateRequestParams, AuthRefreshTokenRequestParams, ConfigurationParameters, DataFormat, DataType, EmailConfirmationTokenDto, Int32IdDto, LoginUserCommand, Param, ParamLocation, ParamStyle, PhysicalAddressDto, RefreshTokenCommand, StandardDataFormat, StandardDataType, StandardParamStyle, TokenModel, UserEmailDto, UserPreferencesDto, UserProfileDto, UserRegistrationDto, UsersApiServiceInterface, UsersConfirmEmailRequestParams, UsersRegisterUserRequestParams, UsersRequestConfirmEmailRequestParams };
791
+ export { APIS, ApiModule, AuthApiService, BASE_PATH, COLLECTION_FORMATS, Configuration, RegionLevel, RegionsApiService, SearchRegionDtoLevelEnum, UsersApiService, provideApi };
792
+ export type { AuthApiServiceInterface, AuthAuthenticateRequestParams, AuthRefreshTokenRequestParams, ConfigurationParameters, DataFormat, DataType, EmailConfirmationTokenDto, Int32IdDto, LoginUserCommand, OffsetLimitListMetadata, PagedListMetadata, Param, ParamLocation, ParamStyle, PhysicalAddressDto, RefreshTokenCommand, RegionsApiServiceInterface, RegionsSearchRegionsRequestParams, SearchRegionDto, SearchRegionDtoPagedListMetadataDto, StandardDataFormat, StandardDataType, StandardParamStyle, TokenModel, TotalCountListMetadata, UserEmailDto, UserPreferencesDto, UserProfileDto, UserRegistrationDto, UsersApiServiceInterface, UsersConfirmEmailRequestParams, UsersRegisterUserRequestParams, UsersRequestConfirmEmailRequestParams };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@saritasa/renewaire-frontend-sdk",
3
- "version": "0.1.3",
4
- "description": "OpenAPI client for @saritasa/renewaire-frontend-sdk(for version 0.1.0-dev.101+Branch.develop.Sha.43fa6c039fab5669101a991bb9a33aa8b45fbe0d.43fa6c039fab5669101a991bb9a33aa8b45fbe0d)",
3
+ "version": "0.1.6",
4
+ "description": "OpenAPI client for @saritasa/renewaire-frontend-sdk(for version 0.1.0-dev.126+Branch.develop.Sha.94a2d9285777c72c7f11990936f1f3b8804466ad.94a2d9285777c72c7f11990936f1f3b8804466ad)",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
7
7
  "type": "git",