Issue:
refactor(tenant): use tenant id type

Refactor: Use tenant_id type instead of string for better type safety

Resolution:
<think>
PR Context:
- Title: refactor(tenant): use tenant id type
- Merged: 2024-11-26T09:12:05Z
- Files changed: 30 files
- Commits: 6 commits

Implementation approach:
## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [ ] Bugfix
- [ ] New feature
- [ ] Enhancement
- [x] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD

## Description
Use tenant_id type for better type safety


### Additional Changes

- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables

<!--
Provide links to the files with corresponding c
</think>

To implement this, you'll need to modify:


**Detailed Implementation:**


**Commit 1:** refactor(tenant): use tenant id type (#6643)
Co-authored-by: hyperswitch-bot[bot] <148525504+hypersw
Files to modify:


**crates/common_utils/src/id_type.rs**
  Add:
    - mod: private::tenant

**crates/common_utils/src/id_type/organization.rs**
  Modify existing code

**crates/common_utils/src/id_type/tenant.rs**
  Add:
    - function: pub::try_from_string
    - impl: impl TenantId

**crates/common_utils/src/types/theme.rs**
  Modify existing code

**crates/diesel_models/src/user/theme.rs**
  Modify existing code

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

**crates/drainer/src/handler.rs**
  Modify existing code

**crates/drainer/src/health_check.rs**
  Modify existing code

**crates/drainer/src/lib.rs**
  Modify existing code

**crates/drainer/src/settings.rs**
  Remove:
    - struct: pub::TenantConfig
  Add:
    - struct: pub::TenantConfig

**crates/router/src/configs/settings.rs**
  Remove:
    - struct: pub::TenantConfig
  Add:
    - struct: pub::TenantConfig

**crates/router/src/core/payment_methods/transformers.rs**
  Modify existing code

**crates/router/src/core/routing/helpers.rs**
  Modify existing code

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

**crates/router/src/db/events.rs**
  Modify existing code

**crates/router/src/db/merchant_connector_account.rs**
  Modify existing code

**crates/router/src/db/merchant_key_store.rs**
  Modify existing code

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

**crates/router/src/services/api.rs**
  Modify existing code

**crates/router/src/services/authentication.rs**
  Modify existing code

**crates/router/src/services/authorization.rs**
  Modify existing code

**crates/router/src/types/domain/user.rs**
  Modify existing code

**crates/router/src/utils/user.rs**
  Modify existing code

**crates/router/tests/cache.rs**
  Modify existing code

**crates/router/tests/connectors/aci.rs**
  Modify existing code

**crates/router/tests/connectors/utils.rs**
  Modify existing code

**crates/router/tests/payments.rs**
  Modify existing code

**crates/router/tests/payments2.rs**
  Modify existing code

**crates/router/tests/services.rs**
  Modify existing code

**crates/scheduler/src/consumer.rs**
  Modify existing code

**crates/scheduler/src/producer.rs**
  Modify existing code

**crates/scheduler/src/scheduler.rs**
  Modify existing code