Issue:
Bug: add dispute events to global search indexes



add dispute events to global search indexes

Pull request description:
## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [ ] Bugfix
- [ ] New feature
- [x] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD

## Description
Search APIs for dashboard global search enhancement - adding dispute events index


### Additional Changes

- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [x] This PR modifies application configuration/environment variables

<!--
Provide links to the files with corresponding changes.

Following are the paths where you can find config files:
1. `config`
2. `crates/router/src/configs`
3. `loadtest/config`
-->


## Motivation and Context
add dispute events index to global-search


## How did you test it?
tested locally


## Checklist
<!-- Put an `x` in the boxes that apply -->

- [x] I formatted the code `cargo +nightly fmt --all`
- [x] I addressed lints thrown by `cargo clippy`
- [x] I reviewed the submitted code
- [ ] I added unit tests for my changes where possible
- [ ] I added a [CHANGELOG](/CHANGELOG.md) entry if applicable


Testing:
tested locally

Patch:
diff --git a/config/config.example.toml b/config/config.example.toml
index daf554f00ad..b5344882913 100644
--- a/config/config.example.toml
+++ b/config/config.example.toml
@@ -599,3 +599,4 @@ region = "eu-central-1"
 payment_attempts = "hyperswitch-payment-attempt-events"
 payment_intents = "hyperswitch-payment-intent-events"
 refunds = "hyperswitch-refund-events"
+disputes = "hyperswitch-dispute-events"
diff --git a/config/deployments/env_specific.toml b/config/deployments/env_specific.toml
index cfe696e42c0..3c971d69f8a 100644
--- a/config/deployments/env_specific.toml
+++ b/config/deployments/env_specific.toml
@@ -213,6 +213,7 @@ region = "eu-central-1"
 payment_attempts = "hyperswitch-payment-attempt-events"
 payment_intents = "hyperswitch-payment-intent-events"
 refunds = "hyperswitch-refund-events"
+disputes = "hyperswitch-dispute-events"
 
 # This section provides some secret values.
 [secrets]
diff --git a/config/development.toml b/config/development.toml
index a7abec7fb74..0878caf3e63 100644
--- a/config/development.toml
+++ b/config/development.toml
@@ -596,3 +596,4 @@ region = "eu-central-1"
 payment_attempts = "hyperswitch-payment-attempt-events"
 payment_intents = "hyperswitch-payment-intent-events"
 refunds = "hyperswitch-refund-events"
+disputes = "hyperswitch-dispute-events"
diff --git a/config/docker_compose.toml b/config/docker_compose.toml
index 4d1731b53ff..6a01c14fdb2 100644
--- a/config/docker_compose.toml
+++ b/config/docker_compose.toml
@@ -454,4 +454,5 @@ region = "eu-central-1"
 [opensearch.indexes]
 payment_attempts = "hyperswitch-payment-attempt-events"
 payment_intents = "hyperswitch-payment-intent-events"
-refunds = "hyperswitch-refund-events"
\ No newline at end of file
+refunds = "hyperswitch-refund-events"
+disputes = "hyperswitch-dispute-events"
diff --git a/crates/analytics/src/lib.rs b/crates/analytics/src/lib.rs
index 68ca51a0df0..a325442047e 100644
--- a/crates/analytics/src/lib.rs
+++ b/crates/analytics/src/lib.rs
@@ -679,6 +679,7 @@ pub struct OpensearchIndexes {
     pub payment_attempts: String,
     pub payment_intents: String,
     pub refunds: String,
+    pub disputes: String,
 }
 
 #[derive(Clone, Debug, serde::Deserialize)]
@@ -700,6 +701,7 @@ impl Default for OpensearchConfig {
                 payment_attempts: "hyperswitch-payment-attempt-events".to_string(),
                 payment_intents: "hyperswitch-payment-intent-events".to_string(),
                 refunds: "hyperswitch-refund-events".to_string(),
+                disputes: "hyperswitch-dispute-events".to_string(),
             },
         }
     }
diff --git a/crates/analytics/src/search.rs b/crates/analytics/src/search.rs
index 8637c9d1105..d9b8433ba63 100644
--- a/crates/analytics/src/search.rs
+++ b/crates/analytics/src/search.rs
@@ -34,6 +34,7 @@ pub fn search_index_to_opensearch_index(index: SearchIndex, config: &OpensearchI
         SearchIndex::PaymentAttempts => config.payment_attempts.clone(),
         SearchIndex::PaymentIntents => config.payment_intents.clone(),
         SearchIndex::Refunds => config.refunds.clone(),
+        SearchIndex::Disputes => config.disputes.clone(),
     }
 }
 
diff --git a/crates/api_models/src/analytics/search.rs b/crates/api_models/src/analytics/search.rs
index 07223c90660..3a5b3c307e6 100644
--- a/crates/api_models/src/analytics/search.rs
+++ b/crates/api_models/src/analytics/search.rs
@@ -36,6 +36,7 @@ pub enum SearchIndex {
     PaymentAttempts,
     PaymentIntents,
     Refunds,
+    Disputes,
 }
 
 #[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]