///
import { GetProps, UseGetProps, MutateProps, UseMutateProps } from 'restful-react';
export declare const SPEC_VERSION = "v1";
export interface CreateUserDto {
userName: string;
name: string;
surname: string;
emailAddress: string;
isActive?: boolean;
roleNames?: string[] | null;
password: string;
}
export interface UserDto {
id?: number;
userName: string;
name: string;
surname: string;
emailAddress: string;
isActive?: boolean;
fullName?: string | null;
lastLoginTime?: string | null;
creationTime?: string;
roleNames?: string[] | null;
}
export interface ValidationErrorInfo {
message?: string | null;
members?: string[] | null;
}
export interface ErrorInfo {
code?: number;
message?: string | null;
details?: string | null;
validationErrors?: ValidationErrorInfo[] | null;
}
export interface UserDtoAjaxResponse {
targetUrl?: string | null;
success?: boolean;
error?: ErrorInfo;
unAuthorizedRequest?: boolean;
__abp?: boolean;
result?: UserDto;
}
export interface AjaxResponseBase {
targetUrl?: string | null;
success?: boolean;
error?: ErrorInfo;
unAuthorizedRequest?: boolean;
__abp?: boolean;
}
export interface RoleDto {
id?: number;
name: string;
displayName: string;
normalizedName?: string | null;
description?: string | null;
grantedPermissions?: string[] | null;
}
export interface RoleDtoListResultDto {
items?: RoleDto[] | null;
}
export interface RoleDtoListResultDtoAjaxResponse {
targetUrl?: string | null;
success?: boolean;
error?: ErrorInfo;
unAuthorizedRequest?: boolean;
__abp?: boolean;
result?: RoleDtoListResultDto;
}
export interface ChangeUserLanguageDto {
languageName: string;
}
export interface ResetPasswordSendOtpResponse {
operationId?: string;
}
export interface ResetPasswordSendOtpResponseAjaxResponse {
targetUrl?: string | null;
success?: boolean;
error?: ErrorInfo;
unAuthorizedRequest?: boolean;
__abp?: boolean;
result?: ResetPasswordSendOtpResponse;
}
export interface ResetPasswordVerifyOtpInput {
operationId?: string;
pin?: string | null;
mobileNo: string;
}
export interface ResetPasswordVerifyOtpResponse {
isSuccess?: boolean;
errorMessage?: string | null;
token?: string | null;
username?: string | null;
}
export interface ResetPasswordVerifyOtpResponseAjaxResponse {
targetUrl?: string | null;
success?: boolean;
error?: ErrorInfo;
unAuthorizedRequest?: boolean;
__abp?: boolean;
result?: ResetPasswordVerifyOtpResponse;
}
export interface ResetPasswordUsingTokenInput {
username: string;
token: string;
newPassword: string;
}
export interface BooleanAjaxResponse {
targetUrl?: string | null;
success?: boolean;
error?: ErrorInfo;
unAuthorizedRequest?: boolean;
__abp?: boolean;
result?: boolean;
}
export interface ChangePasswordDto {
currentPassword: string;
newPassword: string;
}
export interface ResetPasswordDto {
adminPassword: string;
userId: number;
newPassword: string;
}
export interface AbpUserAuthConfigDto {
allPermissions?: {
[key: string]: string;
} | null;
grantedPermissions?: {
[key: string]: string;
} | null;
}
export interface AbpUserAuthConfigDtoAjaxResponse {
targetUrl?: string | null;
success?: boolean;
error?: ErrorInfo;
unAuthorizedRequest?: boolean;
__abp?: boolean;
result?: AbpUserAuthConfigDto;
}
export interface UserDtoPagedResultDto {
items?: UserDto[] | null;
totalCount?: number;
}
export interface UserDtoPagedResultDtoAjaxResponse {
targetUrl?: string | null;
success?: boolean;
error?: ErrorInfo;
unAuthorizedRequest?: boolean;
__abp?: boolean;
result?: UserDtoPagedResultDto;
}
export interface UserCreateQueryParams {
/**
* The requested API version
*/
'api-version'?: string;
}
export declare type UserCreateProps = Omit, 'path' | 'verb'>;
export declare const UserCreate: (props: UserCreateProps) => JSX.Element;
export declare type UseUserCreateProps = Omit, 'path' | 'verb'>;
export declare const useUserCreate: (props: UseUserCreateProps) => import("restful-react").UseMutateReturn;
export interface UserUpdateQueryParams {
/**
* The requested API version
*/
'api-version'?: string;
}
export declare type UserUpdateProps = Omit, 'path' | 'verb'>;
export declare const UserUpdate: (props: UserUpdateProps) => JSX.Element;
export declare type UseUserUpdateProps = Omit, 'path' | 'verb'>;
export declare const useUserUpdate: (props: UseUserUpdateProps) => import("restful-react").UseMutateReturn;
export interface UserDeleteQueryParams {
id?: number;
/**
* The requested API version
*/
'api-version'?: string;
}
export declare type UserDeleteProps = Omit, 'path' | 'verb'>;
export declare const UserDelete: (props: UserDeleteProps) => JSX.Element;
export declare type UseUserDeleteProps = Omit, 'path' | 'verb'>;
export declare const useUserDelete: (props: UseUserDeleteProps) => import("restful-react").UseMutateReturn;
export interface UserGetRolesQueryParams {
/**
* The requested API version
*/
'api-version'?: string;
}
export declare type UserGetRolesProps = Omit, 'path'>;
export declare const UserGetRoles: (props: UserGetRolesProps) => JSX.Element;
export declare type UseUserGetRolesProps = Omit, 'path'>;
export declare const useUserGetRoles: (props: UseUserGetRolesProps) => import("restful-react").UseGetReturn;
export interface UserChangeLanguageQueryParams {
/**
* The requested API version
*/
'api-version'?: string;
}
export declare type UserChangeLanguageProps = Omit, 'path' | 'verb'>;
export declare const UserChangeLanguage: (props: UserChangeLanguageProps) => JSX.Element;
export declare type UseUserChangeLanguageProps = Omit, 'path' | 'verb'>;
export declare const useUserChangeLanguage: (props: UseUserChangeLanguageProps) => import("restful-react").UseMutateReturn;
export interface UserResetPasswordSendOtpQueryParams {
mobileNo?: string | null;
/**
* The requested API version
*/
'api-version'?: string;
}
export declare type UserResetPasswordSendOtpProps = Omit, 'path' | 'verb'>;
export declare const UserResetPasswordSendOtp: (props: UserResetPasswordSendOtpProps) => JSX.Element;
export declare type UseUserResetPasswordSendOtpProps = Omit, 'path' | 'verb'>;
export declare const useUserResetPasswordSendOtp: (props: UseUserResetPasswordSendOtpProps) => import("restful-react").UseMutateReturn;
export interface UserResetPasswordVerifyOtpQueryParams {
/**
* The requested API version
*/
'api-version'?: string;
}
export declare type UserResetPasswordVerifyOtpProps = Omit, 'path' | 'verb'>;
export declare const UserResetPasswordVerifyOtp: (props: UserResetPasswordVerifyOtpProps) => JSX.Element;
export declare type UseUserResetPasswordVerifyOtpProps = Omit, 'path' | 'verb'>;
export declare const useUserResetPasswordVerifyOtp: (props: UseUserResetPasswordVerifyOtpProps) => import("restful-react").UseMutateReturn;
export interface UserResetPasswordUsingTokenQueryParams {
/**
* The requested API version
*/
'api-version'?: string;
}
export declare type UserResetPasswordUsingTokenProps = Omit, 'path' | 'verb'>;
export declare const UserResetPasswordUsingToken: (props: UserResetPasswordUsingTokenProps) => JSX.Element;
export declare type UseUserResetPasswordUsingTokenProps = Omit, 'path' | 'verb'>;
export declare const useUserResetPasswordUsingToken: (props: UseUserResetPasswordUsingTokenProps) => import("restful-react").UseMutateReturn;
export interface UserChangePasswordQueryParams {
/**
* The requested API version
*/
'api-version'?: string;
}
export declare type UserChangePasswordProps = Omit, 'path' | 'verb'>;
export declare const UserChangePassword: (props: UserChangePasswordProps) => JSX.Element;
export declare type UseUserChangePasswordProps = Omit, 'path' | 'verb'>;
export declare const useUserChangePassword: (props: UseUserChangePasswordProps) => import("restful-react").UseMutateReturn;
export interface UserResetPasswordQueryParams {
/**
* The requested API version
*/
'api-version'?: string;
}
export declare type UserResetPasswordProps = Omit, 'path' | 'verb'>;
export declare const UserResetPassword: (props: UserResetPasswordProps) => JSX.Element;
export declare type UseUserResetPasswordProps = Omit, 'path' | 'verb'>;
export declare const useUserResetPassword: (props: UseUserResetPasswordProps) => import("restful-react").UseMutateReturn;
export interface UserGetUserAuthConfigQueryParams {
/**
* The requested API version
*/
'api-version'?: string;
}
export declare type UserGetUserAuthConfigProps = Omit, 'path'>;
export declare const UserGetUserAuthConfig: (props: UserGetUserAuthConfigProps) => JSX.Element;
export declare type UseUserGetUserAuthConfigProps = Omit, 'path'>;
export declare const useUserGetUserAuthConfig: (props: UseUserGetUserAuthConfigProps) => import("restful-react").UseGetReturn;
export interface UserGetQueryParams {
id?: number;
/**
* The requested API version
*/
'api-version'?: string;
}
export declare type UserGetProps = Omit, 'path'>;
export declare const UserGet: (props: UserGetProps) => JSX.Element;
export declare type UseUserGetProps = Omit, 'path'>;
export declare const useUserGet: (props: UseUserGetProps) => import("restful-react").UseGetReturn;
export interface UserGetAllQueryParams {
keyword?: string | null;
isActive?: boolean | null;
skipCount?: number;
maxResultCount?: number;
/**
* The requested API version
*/
'api-version'?: string;
}
export declare type UserGetAllProps = Omit, 'path'>;
export declare const UserGetAll: (props: UserGetAllProps) => JSX.Element;
export declare type UseUserGetAllProps = Omit, 'path'>;
export declare const useUserGetAll: (props: UseUserGetAllProps) => import("restful-react").UseGetReturn;