import * as _abp_ng_core from '@abp/ng.core'; import { Rest, ExtensiblePagedAndSortedResultRequestDto, EntityDto, ExtensibleFullAuditedEntityDto, ExtensibleObject, PagedResultDto, ListResultDto } from '@abp/ng.core'; import * as rxjs from 'rxjs'; import * as i0 from '@angular/core'; interface NameValue { name?: string; value: T; } interface NameValue { name?: string; value: T; } interface ExternalProviderDto { providers: ExternalProviderItemDto[]; } interface ExternalProviderItemDto { name?: string; enabled: boolean; properties: ExternalProviderSettingsProperty[]; } interface ExternalProviderItemWithSecretDto { success: boolean; name?: string; enabled: boolean; properties: ExternalProviderSettingsProperty[]; secretProperties: ExternalProviderSettingsProperty[]; } interface ExternalProviderSettingsProperty extends NameValue { } interface GetByNameInput { tenantId?: string; name?: string; } type index_d$a_ExternalProviderDto = ExternalProviderDto; type index_d$a_ExternalProviderItemDto = ExternalProviderItemDto; type index_d$a_ExternalProviderItemWithSecretDto = ExternalProviderItemWithSecretDto; type index_d$a_ExternalProviderSettingsProperty = ExternalProviderSettingsProperty; type index_d$a_GetByNameInput = GetByNameInput; declare namespace index_d$a { export type { index_d$a_ExternalProviderDto as ExternalProviderDto, index_d$a_ExternalProviderItemDto as ExternalProviderItemDto, index_d$a_ExternalProviderItemWithSecretDto as ExternalProviderItemWithSecretDto, index_d$a_ExternalProviderSettingsProperty as ExternalProviderSettingsProperty, index_d$a_GetByNameInput as GetByNameInput }; } declare enum LoginResultType { Success = 1, InvalidUserNameOrPassword = 2, NotAllowed = 3, LockedOut = 4, RequiresTwoFactor = 5, NotLinked = 6 } declare const loginResultTypeOptions: _abp_ng_core.ABP.Option[]; interface AbpLoginResult { result: LoginResultType; description?: string; } interface LinkUserLoginInfo { linkUserId: string; linkTenantId?: string; } interface UserLoginInfo { userNameOrEmailAddress: string; password: string; rememberMe: boolean; tenantId?: string; } type index_d$9_AbpLoginResult = AbpLoginResult; type index_d$9_LinkUserLoginInfo = LinkUserLoginInfo; type index_d$9_LoginResultType = LoginResultType; declare const index_d$9_LoginResultType: typeof LoginResultType; type index_d$9_UserLoginInfo = UserLoginInfo; declare const index_d$9_loginResultTypeOptions: typeof loginResultTypeOptions; declare namespace index_d$9 { export { index_d$9_LoginResultType as LoginResultType, index_d$9_loginResultTypeOptions as loginResultTypeOptions }; export type { index_d$9_AbpLoginResult as AbpLoginResult, index_d$9_LinkUserLoginInfo as LinkUserLoginInfo, index_d$9_UserLoginInfo as UserLoginInfo }; } declare class AccountService$1 { private restService; apiName: string; checkPasswordByLogin: (login: UserLoginInfo, config?: Partial) => rxjs.Observable; linkLoginByLogin: (login: LinkUserLoginInfo, config?: Partial) => rxjs.Observable; loginByLogin: (login: UserLoginInfo, config?: Partial) => rxjs.Observable; logout: (config?: Partial) => rxjs.Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare namespace index_d$8 { export { AccountService$1 as AccountService, index_d$9 as Models, }; } declare namespace index_d$7 { export { index_d$8 as Controllers, }; } declare namespace index_d$6 { export { index_d$7 as Account, }; } declare namespace index_d$5 { export { index_d$6 as Areas, }; } declare namespace index_d$4 { export { index_d$5 as Web, }; } interface IRemoteStreamContent { fileName?: string; contentType?: string; contentLength?: number; } type index_d$3_IRemoteStreamContent = IRemoteStreamContent; declare namespace index_d$3 { export type { index_d$3_IRemoteStreamContent as IRemoteStreamContent }; } interface GetIdentitySecurityLogListInput extends ExtensiblePagedAndSortedResultRequestDto { startTime?: string; endTime?: string; applicationName?: string; identity?: string; action?: string; userName?: string; clientId?: string; correlationId?: string; } interface IdentitySecurityLogDto extends EntityDto { tenantId?: string; applicationName?: string; identity?: string; action?: string; userId?: string; userName?: string; tenantName?: string; clientId?: string; correlationId?: string; clientIpAddress?: string; browserInfo?: string; creationTime?: string; extraProperties: Record; } interface IdentitySessionDto { id?: string; sessionId?: string; isCurrent: boolean; device?: string; deviceInfo?: string; tenantId?: string; tenantName?: string; userId?: string; userName?: string; clientId?: string; ipAddresses: string[]; signedIn?: string; lastAccessed?: string; } interface IdentityUserDto extends ExtensibleFullAuditedEntityDto { tenantId?: string; userName?: string; email?: string; name?: string; surname?: string; emailConfirmed: boolean; phoneNumber?: string; phoneNumberConfirmed: boolean; supportTwoFactor: boolean; twoFactorEnabled: boolean; isActive: boolean; lockoutEnabled: boolean; isLockedOut: boolean; lockoutEnd?: string; shouldChangePasswordOnNextLogin: boolean; concurrencyStamp?: string; roleNames: string[]; accessFailedCount: number; lastPasswordChangeTime?: string; isExternal: boolean; } type index_d$2_GetIdentitySecurityLogListInput = GetIdentitySecurityLogListInput; type index_d$2_IdentitySecurityLogDto = IdentitySecurityLogDto; type index_d$2_IdentitySessionDto = IdentitySessionDto; type index_d$2_IdentityUserDto = IdentityUserDto; declare namespace index_d$2 { export type { index_d$2_GetIdentitySecurityLogListInput as GetIdentitySecurityLogListInput, index_d$2_IdentitySecurityLogDto as IdentitySecurityLogDto, index_d$2_IdentitySessionDto as IdentitySessionDto, index_d$2_IdentityUserDto as IdentityUserDto }; } type index_d$1_NameValue = NameValue; declare namespace index_d$1 { export { index_d$3 as Content, index_d$2 as Identity }; export type { index_d$1_NameValue as NameValue }; } declare namespace index_d { export { index_d$1 as Abp, }; } declare class AccountExternalProviderService { private restService; apiName: string; getAll: (config?: Partial) => rxjs.Observable; getByName: (input: GetByNameInput, config?: Partial) => rxjs.Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare enum ProfilePictureType { None = 0, Gravatar = 1, Image = 2 } declare const profilePictureTypeOptions: _abp_ng_core.ABP.Option[]; interface AuthenticatorInfoDto { key?: string; uri?: string; } interface ChangePasswordInput { currentPassword?: string; newPassword: string; } interface ConfirmEmailInput { userId: string; token: string; } interface ConfirmPhoneNumberInput { userId: string; token: string; } interface DelegateNewUserInput { targetUserId?: string; startTime: string; endTime: string; } interface GetAccountIdentitySessionListInput extends ExtensiblePagedAndSortedResultRequestDto { device?: string; clientId?: string; } interface GetTwoFactorProvidersInput { userId: string; token: string; } interface GetUserLookupInput { userName?: string; } interface IdentityUserConfirmationStateDto { emailConfirmed: boolean; phoneNumberConfirmed: boolean; } interface IsLinkedInput { userId?: string; tenantId?: string; } interface LinkUserDto { targetUserId?: string; targetUserName?: string; targetTenantId?: string; targetTenantName?: string; directlyLinked: boolean; } interface LinkUserInput { userId?: string; tenantId?: string; token: string; } interface ProfileDto extends ExtensibleObject { userName?: string; email?: string; emailConfirmed: boolean; name?: string; surname?: string; phoneNumber?: string; phoneNumberConfirmed: boolean; isExternal: boolean; hasPassword: boolean; supportsMultipleTimezone: boolean; timezone?: string; concurrencyStamp?: string; } interface ProfilePictureInput { type: ProfilePictureType; imageContent: IRemoteStreamContent; } interface ProfilePictureSourceDto { type: ProfilePictureType; source?: string; fileContent: number[]; } interface RegisterDto extends ExtensibleObject { userName: string; emailAddress: string; password: string; appName: string; returnUrl?: string; returnUrlHash?: string; captchaResponse?: string; } interface ResetPasswordDto { userId?: string; resetToken: string; password: string; } interface SendEmailConfirmationTokenDto { appName: string; userId: string; returnUrl?: string; returnUrlHash?: string; } interface SendPasswordResetCodeDto { email: string; appName: string; returnUrl?: string; returnUrlHash?: string; } interface SendPhoneNumberConfirmationTokenDto { userId: string; phoneNumber?: string; } interface SendTwoFactorCodeInput { userId: string; provider: string; token: string; } interface UnLinkUserInput { userId?: string; tenantId?: string; } interface UpdateProfileDto extends ExtensibleObject { userName: string; email?: string; name?: string; surname?: string; phoneNumber?: string; timezone?: string; concurrencyStamp?: string; } interface UserDelegationDto extends EntityDto { userName?: string; startTime?: string; endTime?: string; } interface UserLookupDto extends EntityDto { userName?: string; } interface VerifyAuthenticatorCodeDto { recoveryCodes: string[]; } interface VerifyAuthenticatorCodeInput { code?: string; } interface VerifyEmailConfirmationTokenInput { userId: string; token: string; } interface VerifyLinkLoginTokenInput { userId: string; tenantId?: string; token: string; } interface VerifyLinkTokenInput { userId: string; tenantId?: string; token: string; } interface VerifyPasswordResetTokenInput { userId?: string; resetToken: string; } declare class AccountSessionService { private restService; apiName: string; get: (id: string, config?: Partial) => rxjs.Observable; getList: (input: GetAccountIdentitySessionListInput, config?: Partial) => rxjs.Observable>; revoke: (id: string, config?: Partial) => rxjs.Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class AccountService { private restService; apiName: string; confirmEmail: (input: ConfirmEmailInput, config?: Partial) => rxjs.Observable; confirmPhoneNumber: (input: ConfirmPhoneNumberInput, config?: Partial) => rxjs.Observable; getAuthenticatorInfo: (config?: Partial) => rxjs.Observable; getConfirmationState: (id: string, config?: Partial) => rxjs.Observable; getProfilePicture: (id: string, config?: Partial) => rxjs.Observable; getProfilePictureFile: (id: string, config?: Partial) => rxjs.Observable; getSecurityLogList: (input: GetIdentitySecurityLogListInput, config?: Partial) => rxjs.Observable>; getTwoFactorProviders: (input: GetTwoFactorProvidersInput, config?: Partial) => rxjs.Observable; hasAuthenticator: (config?: Partial) => rxjs.Observable; recaptchaByCaptchaResponse: (captchaResponse: string, config?: Partial) => rxjs.Observable; register: (input: RegisterDto, config?: Partial) => rxjs.Observable; resetAuthenticator: (config?: Partial) => rxjs.Observable; resetPassword: (input: ResetPasswordDto, config?: Partial) => rxjs.Observable; sendEmailConfirmationToken: (input: SendEmailConfirmationTokenDto, config?: Partial) => rxjs.Observable; sendPasswordResetCode: (input: SendPasswordResetCodeDto, config?: Partial) => rxjs.Observable; sendPhoneNumberConfirmationToken: (input: SendPhoneNumberConfirmationTokenDto, config?: Partial) => rxjs.Observable; sendTwoFactorCode: (input: SendTwoFactorCodeInput, config?: Partial) => rxjs.Observable; setProfilePicture: (input: ProfilePictureInput, config?: Partial) => rxjs.Observable; verifyAuthenticatorCode: (input: VerifyAuthenticatorCodeInput, config?: Partial) => rxjs.Observable; verifyEmailConfirmationToken: (input: VerifyEmailConfirmationTokenInput, config?: Partial) => rxjs.Observable; verifyPasswordResetToken: (input: VerifyPasswordResetTokenInput, config?: Partial) => rxjs.Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class DynamicClaimsService { private restService; apiName: string; refresh: (config?: Partial) => rxjs.Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class IdentityLinkUserService { private restService; apiName: string; generateLinkLoginToken: (config?: Partial) => rxjs.Observable; generateLinkToken: (config?: Partial) => rxjs.Observable; getAllList: (config?: Partial) => rxjs.Observable>; isLinked: (input: IsLinkedInput, config?: Partial) => rxjs.Observable; link: (input: LinkUserInput, config?: Partial) => rxjs.Observable; unlink: (input: UnLinkUserInput, config?: Partial) => rxjs.Observable; verifyLinkLoginToken: (input: VerifyLinkLoginTokenInput, config?: Partial) => rxjs.Observable; verifyLinkToken: (input: VerifyLinkTokenInput, config?: Partial) => rxjs.Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class IdentityUserDelegationService { private restService; apiName: string; delegateNewUser: (input: DelegateNewUserInput, config?: Partial) => rxjs.Observable; deleteDelegation: (id: string, config?: Partial) => rxjs.Observable; getActiveDelegations: (config?: Partial) => rxjs.Observable>; getDelegatedUsers: (config?: Partial) => rxjs.Observable>; getMyDelegatedUsers: (config?: Partial) => rxjs.Observable>; getUserLookup: (input: GetUserLookupInput, config?: Partial) => rxjs.Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class ProfileService { private restService; apiName: string; canEnableTwoFactor: (config?: Partial) => rxjs.Observable; changePassword: (input: ChangePasswordInput, config?: Partial) => rxjs.Observable; get: (config?: Partial) => rxjs.Observable; getTimezones: (config?: Partial) => rxjs.Observable[]>; getTwoFactorEnabled: (config?: Partial) => rxjs.Observable; setTwoFactorEnabled: (enabled: boolean, config?: Partial) => rxjs.Observable; update: (input: UpdateProfileDto, config?: Partial) => rxjs.Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export { index_d$1 as Abp, AccountExternalProviderService, AccountService, AccountSessionService, DynamicClaimsService, index_d$a as ExternalProviders, IdentityLinkUserService, IdentityUserDelegationService, ProfilePictureType, ProfileService, index_d$4 as Public, index_d as Volo, profilePictureTypeOptions }; export type { AuthenticatorInfoDto, ChangePasswordInput, ConfirmEmailInput, ConfirmPhoneNumberInput, DelegateNewUserInput, GetAccountIdentitySessionListInput, GetIdentitySecurityLogListInput, GetTwoFactorProvidersInput, GetUserLookupInput, IdentitySecurityLogDto, IdentitySessionDto, IdentityUserConfirmationStateDto, IdentityUserDto, IsLinkedInput, LinkUserDto, LinkUserInput, ProfileDto, ProfilePictureInput, ProfilePictureSourceDto, RegisterDto, ResetPasswordDto, SendEmailConfirmationTokenDto, SendPasswordResetCodeDto, SendPhoneNumberConfirmationTokenDto, SendTwoFactorCodeInput, UnLinkUserInput, UpdateProfileDto, UserDelegationDto, UserLookupDto, VerifyAuthenticatorCodeDto, VerifyAuthenticatorCodeInput, VerifyEmailConfirmationTokenInput, VerifyLinkLoginTokenInput, VerifyLinkTokenInput, VerifyPasswordResetTokenInput };