Issue:
feat(single_use): add extra fields in `Mandate` table and `MandateData` [Blocked on #61]

## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [ ] Bugfix
- [x] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates

## Description
This PR adds single use mandate support and a 2 new fields to the mandate table (i.e. singe_use_amount, single_use_currency)
<!-- Describe your changes in detail -->


### Additional Changes

- [x] 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`
-->
The change includes the following files.
- migrations/2022-12-05-090521_single_use_mandate_fields/up.sql
- migrations/2022-12-05-090521_single_use_mandate_fields/down.sql


## Motivation and Context
Here, the intension is adding a new Validation feature in PaymentsCore, for that reason following are the steps that the change is broken down to.

1. Create new types for the change #45 
2. Introduce the Flow and Connector Integration #47 
3. Add Stripe POC #50
4. Introduce the new operation and all the related components in the payments core #53 + #61 
5. Changing the `MandateData` type
6. Move the mandate related behaviour to domain
<!--
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).
-->


## 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(payout): add dynamic fields for payout links
- Merged: 2024-09-10T11:31:55Z
- Files changed: 24 files
- Commits: 22 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
This PR includes below changes
- add dynamic fields support for payout widget (#5765)
- expose `formLayout` option in payout link config - journey or tabs

### Additional Changes

- [x] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [x] This PR 
</think>

To implement this, you'll need to modify:


**Detailed Implementation:**


**Commit 1:** feat(payout): add dynamic fields for payout links (#5764)
Co-authored-by: hyperswitch-bot[bot] <1485
Files to modify:


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

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

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

**crates/common_enums/src/enums.rs**
  Add:
    - enum: pub::UIWidgetFormLayout

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

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

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

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

**crates/router/src/configs/defaults.rs**
  Add:
    - mod: pub::payout_required_fields

**crates/router/src/configs/defaults/payout_required_fields.rs**
  Add:
    - function: private::default
    - function: private::get_connector_payment_method_type_fields
    - function: private::get_card_fields
    - function: private::get_bacs_fields
    - function: private::get_pix_bank_transfer_fields
    - function: private::get_sepa_fields
    - function: private::get_paypal_fields
    - function: private::get_countries_for_connector
    - function: private::get_billing_details
    - impl: impl Default for PayoutRequiredFields

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

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

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

**crates/router/src/core/payouts/transformers.rs**
  Add:
    - function: private::foreign_from
    - impl: impl ForeignFrom<(
        &PayoutRequiredFields,
        Vec<EnabledPaymentMethod>,
        api::RequiredFieldsOverrideRequest,
    )> for Vec<api::PayoutEnabledPaymentMethodsInfo>

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

**crates/router/src/types/transformers.rs**
  Modify existing code

**crates/router/tests/macros.rs**
  Add:
    - function: private::test_flat_struct
    - struct: private::User
    - struct: private::Address
    - mod: private::flat_struct_test

**crates/router_derive/src/lib.rs**
  Add:
    - function: pub::flat_struct_derive