import { AuthBodyRequest, BodyRequest, Empty, QueryRequest } from "./interfaces/api.interface"; import { EmailSendCodeRequest, EmailSendCodeResponse, EmailVerifyCodeRequest, EmailVerifyCodeResponse } from "@/dtos/email"; import { EthChallengeBindAccountRequest, EthChallengeRequest, EthChallengeResponse, IsBoundRequest, IsBoundResponse, WalletBindAccountRequest, WalletRevealAccountRequest, WalletRevealAccountResponse, WalletUnbindAccountRequest, WalletUpdateAccountEmailRequest, WalletUpdateAccountPasswordRequest } from "@/dtos/wallet/eth"; export default interface WalletEthApi { sendCode(req: BodyRequest): Promise; verifyCode(req: QueryRequest): Promise; bindAccountChallenge(req: BodyRequest): Promise; isBound(req: QueryRequest): Promise; bindToAccount(req: AuthBodyRequest): Promise; unbindAccountChallenge(req: BodyRequest): Promise; unbindFromAccount(req: AuthBodyRequest): Promise; revealAccountChallenge(req: BodyRequest): Promise; revealAccount(req: BodyRequest): Promise; updateAccountPasswordChallenge(req: BodyRequest): Promise; updateAccountPassword(req: BodyRequest): Promise; updateAccountEmailChallenge(req: BodyRequest): Promise; updateAccountEmail(req: BodyRequest): Promise; }