<!-- Describe your changes in detail -->
- add fields in business profile to collect external vault connector details i.e. `is_externa_vault_enabled`, `external_vault_connector_details`
- `is_external_vault_enabled` is a boolean value that decide if external vault is enabled for the given profile
- `external_vault_connector_details` collects the vault_connector_id for the external vault where the data will be saved
- these fields are added in both create and update call for business_profile
To implement this **search_filter** feature, you'll need to modify these architectural layers:


**1. API Request/Response Models**
   - `crates/api_models/src/admin.rs`

**2. Database Layer (Queries & Schema)**
   - `crates/diesel_models/src/business_profile.rs`
   - `crates/diesel_models/src/schema_v2.rs`

**3. Domain Models (Business Logic Types)**
   - `crates/hyperswitch_domain_models/src/business_profile.rs`

**4. Core Business Logic**
   - `crates/router/src/core/admin.rs`

**5. External Connector Integration**
   - `v2_compatible_migrations/2025-04-28-095013_add-is_external_vault_enabled-and-vault_connector_details-column-to-business_profile-table/down.sql`
   - `v2_compatible_migrations/2025-04-28-095013_add-is_external_vault_enabled-and-vault_connector_details-column-to-business_profile-table/up.sql`

**6. Type Definitions**
   - `crates/router/src/types/api/admin.rs`
   - `crates/router/src/types/transformers.rs`

**7. Other**
   - `api-reference-v2/openapi_spec.json`
   - `crates/openapi/src/openapi_v2.rs`

**Code Patterns Applied:**
- Define new data structures (2 changes)
- Implement new functions (2 changes)
- Extend existing types with new fields (56 changes)

**Detailed Identifier Changes:**


Commit 8cb5bfc0:
Files to modify:


**crates/api_models/src/admin.rs**
  Modify existing code

**crates/diesel_models/src/business_profile.rs**
  Modify existing code

**crates/diesel_models/src/schema_v2.rs**
  Modify existing code

**crates/hyperswitch_domain_models/src/business_profile.rs**
  Modify existing code

**crates/openapi/src/openapi_v2.rs**
  Modify existing code

**crates/router/src/core/admin.rs**
  Modify existing code

**crates/router/src/types/api/admin.rs**
  Modify existing code

**crates/router/src/types/transformers.rs**
  Modify existing code
{"pr_number": 7876, "pr_title": "feat(business_profile): add business_profile config to enable external vault", "merged_at": "2025-05-12T15:06:33Z", "intent": {"feature_type": "search_filter", "action": "add_feature", "entities": ["payment", "merchant", "user"]}, "hierarchy": {"api_models": ["crates/api_models/src/admin.rs"], "database": ["crates/diesel_models/src/business_profile.rs", "crates/diesel_models/src/schema_v2.rs"], "domain": ["crates/hyperswitch_domain_models/src/business_profile.rs"], "core_business": ["crates/router/src/core/admin.rs"], "connectors": ["v2_compatible_migrations/2025-04-28-095013_add-is_external_vault_enabled-and-vault_connector_details-column-to-business_profile-table/down.sql", "v2_compatible_migrations/2025-04-28-095013_add-is_external_vault_enabled-and-vault_connector_details-column-to-business_profile-table/up.sql"], "types": ["crates/router/src/types/api/admin.rs", "crates/router/src/types/transformers.rs"], "other": ["api-reference-v2/openapi_spec.json", "crates/openapi/src/openapi_v2.rs"]}, "change_types": {"structs_added": 2, "functions_added": 2, "fields_added": 56, "imports_added": 1}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}