import type {
    Person
} from '@/openapi/personal-accounts';
import type { TablePagination } from '@/models/base/TablePagination';

interface SearchModel {
    applicationNum: string;
    solutionNum: string;
    series: string;
    number: string;
    documentType: string;
    snils: string;
    inn: string;
    birthday: string;
    fullName: string;
    address: string;
    email: string;
    phone: string;
  }
  
  export type SearchData = Record<keyof SearchModel, string> 
  
  export interface PersonalAccountsTableModel {
    search: string;
    loading: boolean;
    pagination: TablePagination;
    personalAccounts: Person[];
    searchData: SearchData;
  }