Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

533 B
Raw Blame
use api_models::analytics::search::SearchIndex;

pub const fn get_search_indexes() -> [SearchIndex; 9] {
    [
        SearchIndex::PaymentAttempts,
        SearchIndex::PaymentIntents,
        SearchIndex::Refunds,
        SearchIndex::Disputes,
        SearchIndex::Payouts,
        SearchIndex::SessionizerPaymentAttempts,
        SearchIndex::SessionizerPaymentIntents,
        SearchIndex::SessionizerRefunds,
        SearchIndex::SessionizerDisputes,
    ]
}

pub const SEARCH_INDEXES: [SearchIndex; 9] = get_search_indexes();