Issue:
fix(router): connecconnector name not saved in payment_attempt & connector_response tables

## Type of Change

- [x] Bugfix

## Description
The connector name was not being saved in
1. Payment Attempt table in both error and success cases.
2. Connector Response table in error cases.

Fixed this by including `connector` as a field in both tables' DBUpdate enum variants.

## Motivation and Context
Regardless of whether the payment succeeds or fails, the connector info must be saved to the DB.


## How did you test it?
<img width="96" alt="image" src="https://user-images.githubusercontent.com/47862918/207528871-ac4af223-6443-4045-ab1c-e671ebdaff58.png">
The rows where the connector is missing is from before this fix. The connector is successfully saved as `stripe` after this fix.


## Checklist
- [x] I formatted the code `cargo +nightly fmt`
- [x] I addressed lints thrown by `cargo clippy`
- [x] I reviewed submitted code


Resolution:
<think>
PR Context:
- Title: feat(payout_link): secure payout links using server side validations and client side headers
- Merged: 2024-07-17T13:18:28Z
- Files changed: 23 files
- Commits: 23 commits

Implementation approach:
## Type of Change

- [ ] Bugfix
- [ ] New feature
- [x] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD

## Description
This PR includes below changes -
- adding `allowed_domains` field in payout link config
  - this is added at both business profile level and individual payout txns
  - business profile config is used as a fallback in case `allowed_domains` are not passed in payout link's create request
  - this is a required field in product
</think>

To implement this, you'll need to modify:


**Detailed Implementation:**


**Commit 1:** feat(payout_link): secure payout links using server side validations and client side headers (#5219)
Files to modify:


**crates/api_models/src/admin.rs**
  Add:
    - function: pub::validate
    - impl: impl BusinessGenericLinkConfig

**crates/common_utils/src/consts.rs**
  Modify existing code

**crates/common_utils/src/link_utils.rs**
  Add:
    - function: pub::validate_strict_domain
    - function: pub::validate_wildcard_domain
    - function: private::test_validate_strict_domain_regex
    - function: private::test_validate_wildcard_domain_regex
    - function: private::test_validate_strict_domain
    - function: private::test_validate_wildcard_domain
    - mod: private::domain_tests

**crates/hyperswitch_domain_models/src/api.rs**
  Add:
    - struct: pub::GenericLinks

**crates/hyperswitch_domain_models/src/errors/api_error_response.rs**
  Modify existing code

**crates/router/src/compatibility/stripe/errors.rs**
  Modify existing code

**crates/router/src/compatibility/wrap.rs**
  Modify existing code

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

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

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

**crates/router/src/core/payouts.rs**
  Add:
    - function: private::create_payout_link
    - function: pub::create_payout_link_db_entry

**crates/router/src/core/payouts/validator.rs**
  Remove:
    - function: pub::create_payout_link

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

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

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

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