export interface winnersDataInterface {}
export interface orderDataInterface {
  winners: [
    {
      winner_id: number;
      seller_id: number;
      buyer_id: number;
      bid_amount: number;
      original_price: number;
      quantity_requested: number;
      quantity_offered: number;
      auction_id: number;
      active: number;
      payment_status: string;
      flag_paid: number;
      flag_status: number;
      invoice_sent: number;
      purchase_date_ts: string;
      postage_amount: number;
      order_id: number;
      sales_order_no: string;
      invoice_comments: string;
      ship_method: string;
      product_name: string;
      manufacturer: string;
      resale_application_document: number;
      ndc: string;
      description: string;
      strength: string;
      package_size: number;
      package_size_um: string;
      dea_schedule: number;
      item_expiration_date: string;
      lot_no: string;
      supplier_product_id: string;
      username: string;
      contact_name: string;
      city: string;
      state: string;
      account_no: string;
      street: string;
      zip: string;
      phone: string;
      contact_email: string;
      company_name: string;
      company_dba: string;
      allocation: number;
      status: string;
      dea_medical_license_document: number;
      state_medical_license_document: number;
      unaccepted_reason: string;
      unaccepted_other_reason: string;
      owner_id: number;
      child_owner_id: number;
      owner_name: string;
      dosage_form: number | boolean,
      trackingNumbers: [
        {
          shipping_id: number;
          tracking_number: string;
          delivery_date: string;
          tracking_status: string;
          shipping_carrier: number;
        }
      ];
      isCollapsed: boolean;
      isCheckedTransaction?: boolean;
      dispute_status?: string,
      card_payment_type: boolean,
      dispute_closed_status?: string
    }
  ];
  order_date: string;
  order_id: number;
  ship_fee: number;
  ship_method: string;
  order_total: string;
  processed_total: string;
  unread_messages: number;
  isCollapsed: boolean;
  order_tracking_number?: string;
  isAllCheckedTransaction?: boolean;
  isAllCollapsed?: boolean;
  disableCopyButton?: boolean;
  status?: number | string;
  unaccepted_reason?: string;
  unaccepted_other_reason?: string;
}

export interface GetSupplierOrdersDataInterface {
  success: boolean;
  data: {
    ordersResult: [
      {
        buyer_id: number;
        pharmacy_name: string;
        latest_date: string;
        latest_date_time: string;
        is_hin: number;
        most_recent_order: number;
        account_no: string;
        username: string;
        street: string;
        city: string;
        state: string;
        zip: string;
        contact_name: string;
        contact_phone: string;
        dea_document: number;
        state_document: number;
        tax_document: number;
        orders: {
          [key: string]: orderDataInterface
        };
        isCollapsed: boolean;
        cutoff : string;
      }
    ];
    orderCount: number;
    transactionCount: number;
    totalResults: number;
    totalOrders: number;
    totalTransactions: number;
  };
}

export interface GetSupplierOrdersDataExportInterface {
  success: boolean;
  data: {
    export_data: string;
  };
}
