<?php
if (!defined('ABSPATH')) {
    exit;
}

class Aysa_Agent8_V3_Proxy_Controller {
    private $admin;

    public function __construct($admin) {
        $this->admin = $admin;
    }

    public function register_hooks() {
        add_action('wp_ajax_aysa_agent8v3_message', array($this->admin, 'handle_agent8v3_message'));
        add_action('wp_ajax_aysa_agent8v3_action', array($this->admin, 'handle_agent8v3_action'));
        add_action('wp_ajax_aysa_agent8v3_onpage_start_preflight', array($this->admin, 'handle_agent8v3_onpage_start_preflight'));
        add_action('wp_ajax_aysa_agent8v3_business_profile_preflight', array($this->admin, 'handle_agent8v3_business_profile_preflight'));
        add_action('wp_ajax_aysa_agent8v3_competition_keyword_preflight', array($this->admin, 'handle_agent8v3_competition_keyword_preflight'));
        add_action('wp_ajax_aysa_agent8v3_keyword_research_preflight', array($this->admin, 'handle_agent8v3_keyword_research_preflight'));
        add_action('wp_ajax_aysa_agent8v3_fixed_cost_preflight', array($this->admin, 'handle_agent8v3_fixed_cost_preflight'));
        add_action('wp_ajax_aysa_agent8v3_modal', array($this->admin, 'handle_agent8v3_modal'));
        add_action('wp_ajax_aysa_agent8v3_approval', array($this->admin, 'handle_agent8v3_approval'));
        add_action('wp_ajax_aysa_agent8v3_state', array($this->admin, 'handle_agent8v3_state'));
        add_action('wp_ajax_aysa_agent8v3_reset', array($this->admin, 'handle_agent8v3_reset'));
        add_action('wp_ajax_aysa_agent8v3_qa_run', array($this->admin, 'handle_agent8v3_qa_run'));
        add_action('wp_ajax_aysa_agent8v3_qa_clear', array($this->admin, 'handle_agent8v3_qa_clear'));
        add_action('wp_ajax_aysa_agent8v3_qa_export', array($this->admin, 'handle_agent8v3_qa_export'));
        add_action('wp_ajax_aysa_agent8v3_qa_log', array($this->admin, 'handle_agent8v3_qa_log'));
        add_action('wp_ajax_aysa_agent8v3_qa_legacy_sync', array($this->admin, 'handle_agent8v3_qa_legacy_sync'));
        add_action('wp_ajax_aysa_agent8v3_beta_issue_report', array($this->admin, 'handle_agent8v3_beta_issue_report'));
        add_action('wp_ajax_aysa_agent8v3_beta_issues_list', array($this->admin, 'handle_agent8v3_beta_issues_list'));
        add_action('wp_ajax_aysa_agent8v3_beta_issue_status', array($this->admin, 'handle_agent8v3_beta_issue_status'));
    }
}
