import { Filter } from '@interfaces/index'; import { ENV } from '../../types'; export interface AuthenticatedUserInfoSmartID { opesId: string; xp: number; hasRecovery: boolean; } export interface AccountInfo { name: string; id: string; validationCredits: number; osRewards: string; validationRate: number; countResponses: number; image: string; opesId: string; } export interface GetAccountsInfoArguments extends Filter { filter: FilterAccountsInfo; env?: ENV; } export interface GetAccountsInfoResponse { getAccountsInfo: AccountInfo[]; } export interface FilterAccountsInfo { accountId: string; } export interface TrackAccountsInfoArguments { accountId: string; onMessage: (response: TrackAccountsInfoResponse) => void; onError: (error: any) => void; } export interface TrackAccountsInfoResponse { trackAccountsInfo: AccountInfo; }