export interface TClueItem {
  clue_id: string;
  mobile: string;
  nick_name: string;
  corp_name?: string;
  remark_name?: string;
  email?: string;
}

export interface TCompanyItem {
  company_id: string;
  company_name: string;
  abbreviation?: string;
  image_url?: string;
  permission: boolean;
  [key: string]: string | number | boolean;
}

export interface TCustomeItem {
  external_userid: string;
  company_id: string;
  company_name: string;
  abbreviation?: string;
  head_img_url?: string;
  nick_name?: string;
  corp_name?: string;
  remark_name?: string;
  email?: string;
  mobile?: string;
  type?: number;
}

type TResultItem<T> = {
  count: number;
  data_list: T[];
  search_type: number;
};

export interface TSearchResult {
  clue_list?: TResultItem<TClueItem>;
  company_list?: TResultItem<TCompanyItem>;
  wx_user_list?: TResultItem<TCustomeItem>;
  external_user_list?: TResultItem<TCustomeItem>;
}
