1 import type { MNEMONIC_STATUS } from '../interfaces';
3 export interface MnemonicKeyResponse {
8 export const getMnemonicUserKeys = () => ({
9 url: 'core/v4/settings/mnemonic',
13 interface UpdateMnemonicPhrasePayload {
27 export const updateMnemonicPhrase = (data: UpdateMnemonicPhrasePayload & { PersistPasswordScope?: boolean }) => ({
28 url: 'core/v4/settings/mnemonic',
33 export const reactivateMnemonicPhrase = (data: UpdateMnemonicPhrasePayload) => ({
34 url: 'core/v4/settings/mnemonic/reactivate',
39 export const disableMnemonicPhrase = () => ({
40 url: 'core/v4/settings/mnemonic/disable',
44 export interface GetMnemonicResetData {
45 MnemonicStatus: MNEMONIC_STATUS;
52 export const getMnemonicReset = () => ({
53 url: 'core/v4/settings/mnemonic/reset',
57 interface MnemonicResetPayload {
64 export const mnemonicReset = (data: MnemonicResetPayload) => ({
65 url: 'core/v4/settings/mnemonic/reset',