Issue:
router: Get browser info from payment request

## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [ ] Bugfix
- [x] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates

## Description
<!-- Describe your changes in detail -->
Add browser info to PaymentRequest to get it from merchants.

### Additional Changes

- [ ] This PR modifies the database schema
- [ ] 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
<!--
Why is this change required? What problem does it solve?
If it fixes an open issue, please link to the issue here.

If you don't have an issue, we'd recommend starting with one first so the PR
can focus on the implementation (unless its an obvious bug or documentation fix
that will have little conversation).
-->
Added browser info field to payment request for getting it from merchants.

## How did you test it?
<!--
Did you write an integration/unit/API test to verify the code changes?
Or did you test this change manually (provide relevant screenshots)?
-->


## Checklist
<!-- Put an `x` in the boxes that apply -->

- [x] I formatted the code `cargo +nightly fmt`
- [x] I addressed lints thrown by `cargo clippy`
- [x] I reviewed submitted code
- [ ] I added unit tests for my changes where possible
- [ ] I added a [CHANGELOG](/CHANGELOG.md) entry if applicable


Resolution:
<think>
PR Context:
- Title: feat(themes): Create APIs for managing themes
- Merged: 2024-12-04T11:06:34Z
- Files changed: 26 files
- Commits: 24 commits

Implementation approach:
## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [ ] Bugfix
- [x] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD

## Description
<!-- Describe your changes in detail -->
This PR adds APIs to manage themes.
These are the following APIs
1. Create Theme
2. Delete Theme
3. Update Theme
4. Upload Asset
5. Find Theme by Theme ID
6. Find Theme by Lineage

### Additional Changes

- [x] This PR modifies the 
</think>

To implement this, you'll need to modify:


**Detailed Implementation:**


**Commit 1:** feat(themes): Create APIs for managing themes (#6658)
Co-authored-by: hyperswitch-bot[bot] <14852550
Files to modify:


**crates/api_models/src/events/user.rs**
  Modify existing code

**crates/api_models/src/user.rs**
  Add:
    - mod: pub::theme

**crates/api_models/src/user/theme.rs**
  Add:
    - struct: pub::GetThemeResponse
    - struct: pub::UploadFileAssetData
    - struct: pub::UploadFileRequest
    - struct: pub::CreateThemeRequest
    - struct: pub::UpdateThemeRequest
    - struct: pub::ThemeData
    - struct: private::Settings
    - struct: private::Colors
    - struct: private::Typography
    - struct: private::Buttons
    - struct: private::PrimaryButton
    - struct: private::SecondaryButton
    - struct: private::Borders
    - struct: private::Spacing
    - struct: private::Urls

**crates/common_utils/src/types/theme.rs**
  Add:
    - function: pub::entity_type
    - function: pub::tenant_id
    - function: pub::org_id
    - function: pub::merchant_id
    - function: pub::profile_id
    - impl: impl ThemeLineage

**crates/diesel_models/src/query/user/theme.rs**
  Add:
    - function: pub::find_by_theme_id

**crates/diesel_models/src/user/theme.rs**
  Add:
    - function: pub::new
    - impl: impl ThemeNew

**crates/router/src/configs/secrets_transformers.rs**
  Modify existing code

**crates/router/src/configs/settings.rs**
  Modify existing code

**crates/router/src/core/errors/user.rs**
  Modify existing code

**crates/router/src/core/user.rs**
  Add:
    - mod: pub::theme

**crates/router/src/core/user/theme.rs**
  Add:
    - function: pub::get_theme_using_lineage
    - function: pub::get_theme_using_theme_id
    - function: pub::upload_file_to_theme_storage
    - function: pub::create_theme
    - function: pub::update_theme
    - function: pub::delete_theme

**crates/router/src/db/kafka_store.rs**
  Add:
    - function: private::find_theme_by_theme_id

**crates/router/src/db/user/theme.rs**
  Add:
    - function: private::find_theme_by_theme_id
    - function: private::find_theme_by_theme_id

**crates/router/src/routes/app.rs**
  Modify existing code

**crates/router/src/routes/lock_utils.rs**
  Modify existing code

**crates/router/src/routes/user.rs**
  Add:
    - mod: pub::theme

**crates/router/src/routes/user/theme.rs**
  Add:
    - function: pub::get_theme_using_lineage
    - function: pub::get_theme_using_theme_id
    - function: pub::upload_file_to_theme_storage
    - function: pub::create_theme
    - function: pub::update_theme
    - function: pub::delete_theme

**crates/router/src/utils/user.rs**
  Add:
    - mod: pub::theme

**crates/router/src/utils/user/theme.rs**
  Add:
    - function: private::get_theme_dir_key
    - function: pub::get_specific_file_key
    - function: pub::get_theme_file_key
    - function: private::path_buf_to_str
    - function: pub::retrieve_file_from_theme_bucket
    - function: pub::upload_file_to_theme_bucket
    - function: pub::validate_lineage
    - function: private::validate_tenant
    - function: private::validate_org
    - function: private::validate_merchant_and_get_key_store
    - function: private::validate_merchant
    - function: private::validate_profile

**crates/router_env/src/logger/types.rs**
  Modify existing code