<?php

namespace SerpIQ\Helpers;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

final class Options {
	private const PREFIX = 'serpiq_';

	public static function db_version_key(): string {
		return self::PREFIX . 'db_version';
	}

	public static function delete_data_on_uninstall_key(): string {
		return self::PREFIX . 'delete_data_on_uninstall';
	}

	public static function google_client_id_key(): string {
		return self::PREFIX . 'google_client_id';
	}

	public static function google_client_secret_key(): string {
		return self::PREFIX . 'google_client_secret';
	}

	public static function google_token_encrypted_key(): string {
		return self::PREFIX . 'google_token_encrypted';
	}

	public static function google_token_iv_key(): string {
		return self::PREFIX . 'google_token_iv';
	}

	public static function google_property_key(): string {
		return self::PREFIX . 'google_property';
	}

	public static function last_sync_at_key(): string {
		return self::PREFIX . 'last_sync_at';
	}

	public static function backfill_state_key(): string {
		return self::PREFIX . 'backfill_state';
	}

	public static function backfill_batch_days_key(): string {
		return self::PREFIX . 'backfill_batch_days';
	}

	public static function backfill_delay_seconds_key(): string {
		return self::PREFIX . 'backfill_delay_seconds';
	}

	public static function db_batch_size_key(): string {
		return self::PREFIX . 'db_batch_size';
	}

	/**
	 * Option key for custom "question query" terms (comma-separated string).
	 */
	public static function question_terms_key(): string {
		return self::PREFIX . 'question_terms';
	}
}

