import { PartialImportResponse } from "@keycloak/keycloak-admin-client/lib/defs/realmRepresentation.js"; import UserRepresentation from "@keycloak/keycloak-admin-client/lib/defs/userRepresentation.js"; import { ESupportedLanguages, IPaginatedBase } from "../interfaces/index.js"; import KeycloakAdminClient from "@keycloak/keycloak-admin-client"; export declare enum ERealmUserRoles { REALM_ADMIN = "realm:admin" } export interface IAxiosErrorData { errorMessage: string; } export declare enum EKeycloakImportStrategy { SKIP = "SKIP", OVERWRITE = "OVERWRITE" } export type TKeycloakTenant = { credentials: { username: string; password: string; grantType: "password"; clientId: "admin-cli"; }; client: KeycloakAdminClient; interval?: NodeJS.Timeout; }; export interface IKeycloakClientMap { [key: string]: TKeycloakTenant; } export type TBulkImportData = { ifResourceExists: "SKIP" | "OVERWRITE" | "FAIL"; users: UserRepresentation[]; importer: string; importId: string; lng: ESupportedLanguages; }; export type TBulkImportStatusPublisherCallback = (importResults: PartialImportResponse, tenant: string, importer: string, importId: string | null, lng: ESupportedLanguages) => Promise; export type TBulkImportFailedPublisherCallback = (failedImports: UserRepresentation[], tenant: string, importer: string, importId: string | null, lng: ESupportedLanguages) => Promise; export interface ITenantPaginationResponse extends IPaginatedBase { docs: string[]; } //# sourceMappingURL=interfaces.d.ts.map