@saritasa/renewaire-frontend-sdk 0.1.7 → 0.1.9
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
|
@@ -385,6 +385,76 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", 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 PermissionsApiService extends BaseService {
|
|
399
|
+
httpClient;
|
|
400
|
+
constructor(httpClient, basePath, configuration) {
|
|
401
|
+
super(basePath, configuration);
|
|
402
|
+
this.httpClient = httpClient;
|
|
403
|
+
}
|
|
404
|
+
permissionsGetPermissions(observe = "body", reportProgress = false, options) {
|
|
405
|
+
let localVarHeaders = this.defaultHeaders;
|
|
406
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ??
|
|
407
|
+
this.configuration.selectHeaderAccept([
|
|
408
|
+
"text/plain",
|
|
409
|
+
"application/json",
|
|
410
|
+
"text/json",
|
|
411
|
+
]);
|
|
412
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
413
|
+
localVarHeaders = localVarHeaders.set("Accept", localVarHttpHeaderAcceptSelected);
|
|
414
|
+
}
|
|
415
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
416
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
417
|
+
let responseType_ = "json";
|
|
418
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
419
|
+
if (localVarHttpHeaderAcceptSelected.startsWith("text")) {
|
|
420
|
+
responseType_ = "text";
|
|
421
|
+
}
|
|
422
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
423
|
+
responseType_ = "json";
|
|
424
|
+
}
|
|
425
|
+
else {
|
|
426
|
+
responseType_ = "blob";
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
let localVarPath = `/api/permissions`;
|
|
430
|
+
const { basePath, withCredentials } = this.configuration;
|
|
431
|
+
return this.httpClient.request("get", `${basePath}${localVarPath}`, {
|
|
432
|
+
context: localVarHttpContext,
|
|
433
|
+
responseType: responseType_,
|
|
434
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
435
|
+
headers: localVarHeaders,
|
|
436
|
+
observe: observe,
|
|
437
|
+
transferCache: localVarTransferCache,
|
|
438
|
+
reportProgress: reportProgress,
|
|
439
|
+
});
|
|
440
|
+
}
|
|
441
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: PermissionsApiService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
442
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: PermissionsApiService, providedIn: "root" });
|
|
443
|
+
}
|
|
444
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: PermissionsApiService, decorators: [{
|
|
445
|
+
type: Injectable,
|
|
446
|
+
args: [{
|
|
447
|
+
providedIn: "root",
|
|
448
|
+
}]
|
|
449
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
450
|
+
type: Optional
|
|
451
|
+
}, {
|
|
452
|
+
type: Inject,
|
|
453
|
+
args: [BASE_PATH]
|
|
454
|
+
}] }, { type: Configuration, decorators: [{
|
|
455
|
+
type: Optional
|
|
456
|
+
}] }] });
|
|
457
|
+
|
|
388
458
|
/**
|
|
389
459
|
* RenewAire CORES API
|
|
390
460
|
*
|
|
@@ -723,7 +793,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
723
793
|
type: Optional
|
|
724
794
|
}] }] });
|
|
725
795
|
|
|
726
|
-
const APIS = [
|
|
796
|
+
const APIS = [
|
|
797
|
+
AuthApiService,
|
|
798
|
+
PermissionsApiService,
|
|
799
|
+
RegionsApiService,
|
|
800
|
+
UsersApiService,
|
|
801
|
+
];
|
|
802
|
+
|
|
803
|
+
/**
|
|
804
|
+
* RenewAire CORES API
|
|
805
|
+
*
|
|
806
|
+
* Contact: renewaire@saritasa.com
|
|
807
|
+
*
|
|
808
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
809
|
+
* https://openapi-generator.tech
|
|
810
|
+
* Do not edit the class manually.
|
|
811
|
+
*/
|
|
727
812
|
|
|
728
813
|
/**
|
|
729
814
|
* RenewAire CORES API
|
|
@@ -942,5 +1027,5 @@ function provideApi(configOrBasePath) {
|
|
|
942
1027
|
* Generated bundle index. Do not edit.
|
|
943
1028
|
*/
|
|
944
1029
|
|
|
945
|
-
export { APIS, ApiModule, AuthApiService, BASE_PATH, COLLECTION_FORMATS, Configuration, RegionLevel, RegionsApiService, SearchRegionDtoLevelEnum, UsersApiService, provideApi };
|
|
1030
|
+
export { APIS, ApiModule, AuthApiService, BASE_PATH, COLLECTION_FORMATS, Configuration, PermissionsApiService, RegionLevel, RegionsApiService, SearchRegionDtoLevelEnum, UsersApiService, provideApi };
|
|
946
1031
|
//# 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/regions-api.ts","../../api/users-api.ts","../../api/api.ts","../../model/address-dto.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 { RepTerritoryContactsDto } from \"../model/rep-territory-contacts-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 UsersGetRepContacts0RequestParams,\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 * Get current user REP contacts.\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 usersGetRepContacts(\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<RepTerritoryContactsDto>;\n public usersGetRepContacts(\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<RepTerritoryContactsDto>>;\n public usersGetRepContacts(\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<RepTerritoryContactsDto>>;\n public usersGetRepContacts(\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 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/users/me/rep-contacts`;\n const { basePath, withCredentials } = this.configuration;\n return this.httpClient.request<RepTerritoryContactsDto>(\n \"get\",\n `${basePath}${localVarPath}`,\n {\n context: localVarHttpContext,\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 user REP contacts.\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 usersGetRepContacts_1(\n requestParameters: UsersGetRepContacts0RequestParams,\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<RepTerritoryContactsDto>;\n public usersGetRepContacts_1(\n requestParameters: UsersGetRepContacts0RequestParams,\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<RepTerritoryContactsDto>>;\n public usersGetRepContacts_1(\n requestParameters: UsersGetRepContacts0RequestParams,\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<RepTerritoryContactsDto>>;\n public usersGetRepContacts_1(\n requestParameters: UsersGetRepContacts0RequestParams,\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 userId = requestParameters?.userId;\n if (userId === null || userId === undefined) {\n throw new Error(\n \"Required parameter userId was null or undefined when calling usersGetRepContacts_1.\",\n );\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/users/${this.configuration.encodeParam({ name: \"userId\", value: userId, in: \"path\", style: \"simple\", explode: false, dataType: \"number\", dataFormat: \"int32\" })}/rep-contacts`;\n const { basePath, withCredentials } = this.configuration;\n return this.httpClient.request<RepTerritoryContactsDto>(\n \"get\",\n `${basePath}${localVarPath}`,\n {\n context: localVarHttpContext,\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 * 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 * DTO for RenewAire.Cores.Domain.Address.\n */\nexport interface AddressDto {\n address1: string;\n address2: string;\n city: string;\n county: string;\n state: string;\n postalCode: string;\n apartmentNumber: 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 * 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,G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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/permissions-api.ts","../../api/regions-api.ts","../../api/users-api.ts","../../api/api.ts","../../model/address-dto.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/permission-dto.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 { PermissionDto } from \"../model/permission-dto\";\n\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS } from \"../variables\";\nimport { Configuration } from \"../configuration\";\nimport { BaseService } from \"../api.base.service\";\nimport { PermissionsApiServiceInterface } from \"./permissions-apiInterface\";\n\n@Injectable({\n providedIn: \"root\",\n})\nexport class PermissionsApiService\n extends BaseService\n implements PermissionsApiServiceInterface\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 * Get all system permissions.\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 permissionsGetPermissions(\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<Array<PermissionDto>>;\n public permissionsGetPermissions(\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<Array<PermissionDto>>>;\n public permissionsGetPermissions(\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<Array<PermissionDto>>>;\n public permissionsGetPermissions(\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 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 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/permissions`;\n const { basePath, withCredentials } = this.configuration;\n return this.httpClient.request<Array<PermissionDto>>(\n \"get\",\n `${basePath}${localVarPath}`,\n {\n context: localVarHttpContext,\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 { RepTerritoryContactsDto } from \"../model/rep-territory-contacts-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 UsersGetRepContacts0RequestParams,\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 * Get current user REP contacts.\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 usersGetRepContacts(\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<RepTerritoryContactsDto>;\n public usersGetRepContacts(\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<RepTerritoryContactsDto>>;\n public usersGetRepContacts(\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<RepTerritoryContactsDto>>;\n public usersGetRepContacts(\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 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/users/me/rep-contacts`;\n const { basePath, withCredentials } = this.configuration;\n return this.httpClient.request<RepTerritoryContactsDto>(\n \"get\",\n `${basePath}${localVarPath}`,\n {\n context: localVarHttpContext,\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 user REP contacts.\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 usersGetRepContacts_1(\n requestParameters: UsersGetRepContacts0RequestParams,\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<RepTerritoryContactsDto>;\n public usersGetRepContacts_1(\n requestParameters: UsersGetRepContacts0RequestParams,\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<RepTerritoryContactsDto>>;\n public usersGetRepContacts_1(\n requestParameters: UsersGetRepContacts0RequestParams,\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<RepTerritoryContactsDto>>;\n public usersGetRepContacts_1(\n requestParameters: UsersGetRepContacts0RequestParams,\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 userId = requestParameters?.userId;\n if (userId === null || userId === undefined) {\n throw new Error(\n \"Required parameter userId was null or undefined when calling usersGetRepContacts_1.\",\n );\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/users/${this.configuration.encodeParam({ name: \"userId\", value: userId, in: \"path\", style: \"simple\", explode: false, dataType: \"number\", dataFormat: \"int32\" })}/rep-contacts`;\n const { basePath, withCredentials } = this.configuration;\n return this.httpClient.request<RepTerritoryContactsDto>(\n \"get\",\n `${basePath}${localVarPath}`,\n {\n context: localVarHttpContext,\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 * 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 \"./permissions-api\";\nimport { PermissionsApiService } from \"./permissions-api\";\nexport * from \"./permissions-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 = [\n AuthApiService,\n PermissionsApiService,\n RegionsApiService,\n UsersApiService,\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 RenewAire.Cores.Domain.Address.\n */\nexport interface AddressDto {\n address1: string;\n address2: string;\n city: string;\n county: string;\n state: string;\n postalCode: string;\n apartmentNumber: 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 * 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","/**\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 * DTO for RenewAire.Cores.Domain.Users.Permission.\n */\nexport interface PermissionDto {\n /**\n * Identifier. Enum key.\n */\n id: number;\n /**\n * Name.\n */\n name: string;\n /**\n * Description.\n */\n description: 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 * 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,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,QAA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AE;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;;;;"}
|
package/index.d.ts
CHANGED
|
@@ -331,10 +331,6 @@ interface LoginUserCommand {
|
|
|
331
331
|
* Password.
|
|
332
332
|
*/
|
|
333
333
|
password: string;
|
|
334
|
-
/**
|
|
335
|
-
* Remember user\'s cookie for longer period.
|
|
336
|
-
*/
|
|
337
|
-
rememberMe: boolean;
|
|
338
334
|
}
|
|
339
335
|
|
|
340
336
|
/**
|
|
@@ -370,6 +366,33 @@ interface PagedListMetadata {
|
|
|
370
366
|
totalPages: number;
|
|
371
367
|
}
|
|
372
368
|
|
|
369
|
+
/**
|
|
370
|
+
* RenewAire CORES API
|
|
371
|
+
*
|
|
372
|
+
* Contact: renewaire@saritasa.com
|
|
373
|
+
*
|
|
374
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
375
|
+
* https://openapi-generator.tech
|
|
376
|
+
* Do not edit the class manually.
|
|
377
|
+
*/
|
|
378
|
+
/**
|
|
379
|
+
* DTO for RenewAire.Cores.Domain.Users.Permission.
|
|
380
|
+
*/
|
|
381
|
+
interface PermissionDto {
|
|
382
|
+
/**
|
|
383
|
+
* Identifier. Enum key.
|
|
384
|
+
*/
|
|
385
|
+
id: number;
|
|
386
|
+
/**
|
|
387
|
+
* Name.
|
|
388
|
+
*/
|
|
389
|
+
name: string;
|
|
390
|
+
/**
|
|
391
|
+
* Description.
|
|
392
|
+
*/
|
|
393
|
+
description: string;
|
|
394
|
+
}
|
|
395
|
+
|
|
373
396
|
/**
|
|
374
397
|
* RenewAire CORES API
|
|
375
398
|
*
|
|
@@ -708,6 +731,53 @@ declare class AuthApiService extends BaseService implements AuthApiServiceInterf
|
|
|
708
731
|
static ɵprov: i0.ɵɵInjectableDeclaration<AuthApiService>;
|
|
709
732
|
}
|
|
710
733
|
|
|
734
|
+
/**
|
|
735
|
+
* RenewAire CORES API
|
|
736
|
+
*
|
|
737
|
+
* Contact: renewaire@saritasa.com
|
|
738
|
+
*
|
|
739
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
740
|
+
* https://openapi-generator.tech
|
|
741
|
+
* Do not edit the class manually.
|
|
742
|
+
*/
|
|
743
|
+
|
|
744
|
+
interface PermissionsApiServiceInterface {
|
|
745
|
+
defaultHeaders: HttpHeaders;
|
|
746
|
+
configuration: Configuration;
|
|
747
|
+
/**
|
|
748
|
+
* Get all system permissions.
|
|
749
|
+
*
|
|
750
|
+
*/
|
|
751
|
+
permissionsGetPermissions(extraHttpRequestParams?: any): Observable<Array<PermissionDto>>;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
declare class PermissionsApiService extends BaseService implements PermissionsApiServiceInterface {
|
|
755
|
+
protected httpClient: HttpClient;
|
|
756
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
|
|
757
|
+
/**
|
|
758
|
+
* Get all system permissions.
|
|
759
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
760
|
+
* @param reportProgress flag to report request and response progress.
|
|
761
|
+
*/
|
|
762
|
+
permissionsGetPermissions(observe?: "body", reportProgress?: boolean, options?: {
|
|
763
|
+
httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
|
|
764
|
+
context?: HttpContext;
|
|
765
|
+
transferCache?: boolean;
|
|
766
|
+
}): Observable<Array<PermissionDto>>;
|
|
767
|
+
permissionsGetPermissions(observe?: "response", reportProgress?: boolean, options?: {
|
|
768
|
+
httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
|
|
769
|
+
context?: HttpContext;
|
|
770
|
+
transferCache?: boolean;
|
|
771
|
+
}): Observable<HttpResponse<Array<PermissionDto>>>;
|
|
772
|
+
permissionsGetPermissions(observe?: "events", reportProgress?: boolean, options?: {
|
|
773
|
+
httpHeaderAccept?: "text/plain" | "application/json" | "text/json";
|
|
774
|
+
context?: HttpContext;
|
|
775
|
+
transferCache?: boolean;
|
|
776
|
+
}): Observable<HttpEvent<Array<PermissionDto>>>;
|
|
777
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PermissionsApiService, [null, { optional: true; }, { optional: true; }]>;
|
|
778
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PermissionsApiService>;
|
|
779
|
+
}
|
|
780
|
+
|
|
711
781
|
/**
|
|
712
782
|
* RenewAire CORES API
|
|
713
783
|
*
|
|
@@ -932,7 +1002,7 @@ declare class UsersApiService extends BaseService implements UsersApiServiceInte
|
|
|
932
1002
|
static ɵprov: i0.ɵɵInjectableDeclaration<UsersApiService>;
|
|
933
1003
|
}
|
|
934
1004
|
|
|
935
|
-
declare const APIS: (typeof AuthApiService | typeof RegionsApiService | typeof UsersApiService)[];
|
|
1005
|
+
declare const APIS: (typeof AuthApiService | typeof PermissionsApiService | typeof RegionsApiService | typeof UsersApiService)[];
|
|
936
1006
|
|
|
937
1007
|
declare const BASE_PATH: InjectionToken<string>;
|
|
938
1008
|
declare const COLLECTION_FORMATS: {
|
|
@@ -952,5 +1022,5 @@ declare class ApiModule {
|
|
|
952
1022
|
|
|
953
1023
|
declare function provideApi(configOrBasePath: string | ConfigurationParameters): EnvironmentProviders;
|
|
954
1024
|
|
|
955
|
-
export { APIS, ApiModule, AuthApiService, BASE_PATH, COLLECTION_FORMATS, Configuration, RegionLevel, RegionsApiService, SearchRegionDtoLevelEnum, UsersApiService, provideApi };
|
|
956
|
-
export type { AddressDto, AuthApiServiceInterface, AuthAuthenticateRequestParams, AuthRefreshTokenRequestParams, CompanyInformationDto, ConfigurationParameters, ContactDto, DataFormat, DataType, EmailConfirmationTokenDto, Int32IdDto, LoginUserCommand, OffsetLimitListMetadata, PagedListMetadata, Param, ParamLocation, ParamStyle, PhysicalAddressDto, RefreshTokenCommand, RegionsApiServiceInterface, RegionsSearchRegionsRequestParams, RepTerritoryContactsDto, SearchRegionDto, SearchRegionDtoPagedListMetadataDto, StandardDataFormat, StandardDataType, StandardParamStyle, TokenModel, TotalCountListMetadata, UserEmailDto, UserPreferencesDto, UserProfileDto, UserRegistrationDto, UsersApiServiceInterface, UsersConfirmEmailRequestParams, UsersGetRepContacts0RequestParams, UsersRegisterUserRequestParams, UsersRequestConfirmEmailRequestParams };
|
|
1025
|
+
export { APIS, ApiModule, AuthApiService, BASE_PATH, COLLECTION_FORMATS, Configuration, PermissionsApiService, RegionLevel, RegionsApiService, SearchRegionDtoLevelEnum, UsersApiService, provideApi };
|
|
1026
|
+
export type { AddressDto, AuthApiServiceInterface, AuthAuthenticateRequestParams, AuthRefreshTokenRequestParams, CompanyInformationDto, ConfigurationParameters, ContactDto, DataFormat, DataType, EmailConfirmationTokenDto, Int32IdDto, LoginUserCommand, OffsetLimitListMetadata, PagedListMetadata, Param, ParamLocation, ParamStyle, PermissionDto, PermissionsApiServiceInterface, PhysicalAddressDto, RefreshTokenCommand, RegionsApiServiceInterface, RegionsSearchRegionsRequestParams, RepTerritoryContactsDto, SearchRegionDto, SearchRegionDtoPagedListMetadataDto, StandardDataFormat, StandardDataType, StandardParamStyle, TokenModel, TotalCountListMetadata, UserEmailDto, UserPreferencesDto, UserProfileDto, UserRegistrationDto, UsersApiServiceInterface, UsersConfirmEmailRequestParams, UsersGetRepContacts0RequestParams, UsersRegisterUserRequestParams, UsersRequestConfirmEmailRequestParams };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saritasa/renewaire-frontend-sdk",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "OpenAPI client for @saritasa/renewaire-frontend-sdk(for version 0.1.0-dev.
|
|
3
|
+
"version": "0.1.9",
|
|
4
|
+
"description": "OpenAPI client for @saritasa/renewaire-frontend-sdk(for version 0.1.0-dev.192+Branch.develop.Sha.f13f0afab8ae9737b2b2dfdf3744995535e49531.f13f0afab8ae9737b2b2dfdf3744995535e49531)",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|