export interface CartData {
    success: boolean,
    data: {
        [key: string]: {
            supplierData: {
                id: number,
                name: string,
                state: string,
                timezone_id: string,
                min_credit: number,
                controls_ratio_settings: string,
                control_value: string,
                noncontrol_value: string,
                units: number,
                controls_statement_enabled: number,
                control_policy_statement: string,
                actual_ratio: null | number,
                expected_ratio: null | number,
                amountto_meet_ratio: null | number,
                pillsto_meet_ratio: null | number,
                vawd_accred: string,
                shop_company_policies: string,
                is_first_order: boolean,
                no_returns: number,
                no_order_change: number,
                storeMessages: any,  // TODO: Check the type in QA3 Server.
                supplier_order_notice: string,
                is_prime_supplier: boolean,
                gcr: {
                    gcr_ratio_enabled: boolean,
                    include_otc?: boolean,
                    include_other?: boolean,
                    generics_ratio?: number,
                    brands_ratio?: number,
                    amount_to_meet?: number,
                    amount_to_meet_for?: number,
                },
                is_credit_app_doc_reqd: number,
                is_payment_info_enabled: number,
                echosign_signatureType: string,
                delay_new_account_results: number,
                isDropShipEnabled: boolean,
                has_more_childs: boolean,
                prime_supplier_id: number,
                message: any, // TODO: Check the type in QA3 Server.
            },
            shippingData: {
                cutoff_time: string,
                selectedShipping: string,
                shop_shipping_info: string,
                other_shipping_info: string,
                "2day_refrg": boolean,
                overnight_refrg: boolean,
                delivery_time: string,
                shipping_methods: {
                    G0: {
                        name: string,
                        feeForMinOrder: string,
                        minOrderForFree: string,
                        price: number,
                        status: string
                    },
                    D0: {
                        name: string,
                        feeForMinOrder: string,
                        minOrderForFree: string,
                        price: number,
                        status: string
                    },
                    O0: {
                        name: string,
                        feeForMinOrder: string,
                        minOrderForFree: string,
                        price: number,
                        status: string
                    },
                    S0: {
                        name: string,
                        feeForMinOrder: string,
                        minOrderForFree: string,
                        price: number,
                        status: string
                    }
                },
                other_ship_methods: {
                    G0: {
                        name: string,
                        feeForMinOrder: string,
                        minOrderForFree: string,
                        price: number,
                        status: string
                    },
                    D0: {
                        name: string,
                        feeForMinOrder: string,
                        minOrderForFree: string,
                        price: number,
                        status: string
                    },
                    O0: {
                        name: string,
                        feeForMinOrder: string,
                        minOrderForFree: string,
                        price: number,
                        status: string
                    },
                    S0: {
                        name: string,
                        feeForMinOrder: string,
                        minOrderForFree: string,
                        price: number,
                        status: string
                    },
                } | any,
                dropShipETA: string,
                is_prod_type_enable: boolean,
                shipping_methods_type: string,
            },
            items: {
                [key: string]: {
                    id: number,
                    ndc: string,
                    brand_or_generic: string,
                    product_name: string,
                    product_id: number,
                    avail_qty: number,
                    allocation: number,
                    unit_price: number,
                    start_price: number,
                    strength: string,
                    package_size: number,
                    package_size_um: string,
                    manufacturer: string,
                    shop_company_policies: string,
                    seller_state: string,
                    TimeZoneId: string,
                    dosage_form: string,
                    is_refrigerated: boolean,
                    dea_schedule: number,
                    is_hazardous: number,
                    rx_otc: string,
                    controls_ratio_settings: string,
                    noncontrol_value: string,
                    control_value: string,
                    units: string,
                    controls_statement_enabled: number,
                    control_policy_statement: string,
                    // image_filename: string,
                    ipc_rebate_tier: number,
                    rebate: number,
                    is_credited: boolean,
                    credit_amount: number,
                    labeler_code: number,
                    product_insert_time: string,
                    shortage: string,
                    last_unaccept_time: string,
                    prevent_checkout_if_status_credit_hold: number,
                    account_status: number,
                    account_status_name: string,
                    min_purchase_quantity: number,
                    no_returns: number,
                    no_order_change: number,
                    supplier_order_notice: string,
                    gpo_rebate: number,
                    child_owner_id: number,
                    child_trade_name: string,
                    ach_required_for_brands: number,
                    ach_active: number,
                    ach_authorization_form: number,
                    category_name: null | string,
                    gcr_ratio_enabled: number,
                    brands_ratio: number,
                    generics_ratio: number,
                    include_otc: number,
                    include_other: number,
                    gcr_enabled_buyer: number,
                    account_no: string,
                    sold_out: boolean,
                    quantity: number,
                    total_price: string,
                    quantity_reduced: boolean,
                    item_available: boolean,
                    auction_expired: boolean,
                    item_expired: boolean,
                    item_expire_soon: boolean,
                    is_short_date: boolean,
                    item_expiration_date: string,
                    in_total: boolean,
                    is_price_changed: boolean,
                    cs_savings: string,
                    is_child_first_order: boolean,
                    buyer_sales_flag: boolean,
                    is_hiddenforaccounttype: boolean,
                    ground_shipping_only: boolean,
                    images: string[],
                },
            },
            qualifiedForCredit: boolean,
            totalOrderAmount: number,
            creditHold: boolean,
            preventCheckout: number,
            state_enabled: boolean,
            control_state_enabled: boolean,
            otc_state_enabled: boolean
        },
    },
}
