export type UpdateSettingType = {
  id: string;
  email?: boolean;
  sms?: boolean;
};

export type ChangePasswordType = {
  oldPassword: string;
  newPassword: string;
  repeatPassword: string;
};

export type SettingItemType = {
  id: string;
  type: string;
  isActive: boolean;
  description: string;
};

export type SettingCategoryType = {
  category: string;
  settings: SettingItemType[];
};

export type SettingsResponseType = {
  statusCode: number;
  success: boolean;
  data: {
    settings: SettingCategoryType[];
  };
};

export type TwoFactorSetupResponseType = {
  statusCode: number;
  success: boolean;
  data: {
    message: string;
    qr: string;
    seed: string;
  };
};

export type TwoFactorEnableResponseType = {
  statusCode: number;
  success: boolean;
  message: string;
};

export type TwoFactorEnableType = {
  token: string;
};
