export interface WhatsAppPhoneNumber {
  id: string;
  verified_name: string;
  display_phone_number: string;
  quality_rating?: string;
  status: string;
  code_verification_status: string;
  verified?: boolean;
  allocated?: boolean;
  has_pin?: boolean;
  // Deregistered from the WhatsApp Cloud API: it has to be registered again before it can be used
  deregistered?: boolean;
  local_id?: number | null;
}

export interface WhatsAppPhoneNumbersResponse {
  success: boolean;
  message: string;
  data: WhatsAppPhoneNumber[];
  count: number;
}

export interface PhoneNumbersState {
  phoneNumbers: WhatsAppPhoneNumber[];
  count: number;
  status: 'idle' | 'loading' | 'succeeded' | 'failed';
  error: string;
}

export interface PhoneNumberFilters {
  search?: string;
  status?: string;
  [key: string]: any;
}
