Issue:
fix(router): add validation for all the connector auth type

## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [x] Bugfix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD

## Description

Issue is caused when in any Connector 's `auth_type`  we configure the invalid `auth_type`  for that particular connector and gets stored in the Db. Thus , whenever we call the Connector Integration we get a 500.


### 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 changes.

Following are the paths where you can find config files:
1. `config`
2. `crates/router/src/configs`
3. `loadtest/config`
-->




## How did you test it?

<img width="1728" alt="Screenshot 2023-07-25 at 5 33 44 PM" src="https://github.com/juspay/hyperswitch/assets/55580080/0f00aa25-071d-47d3-a826-da28d22cf400">

For the wrong `connector_auth_type`


<img width="1728" alt="Screenshot 2023-07-25 at 5 57 06 PM" src="https://github.com/juspay/hyperswitch/assets/55580080/43af662c-1319-4f2d-aa78-21bd857ea5aa">

For the correct `connector_auth_type`

## Checklist
<!-- Put an `x` in the boxes that apply -->

- [x] I formatted the code `cargo +nightly fmt --all`
- [x] I addressed lints thrown by `cargo clippy`
- [ ] 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: revert: fix(core): add validation for all the connector auth_type
- Merged: 2023-08-04T14:13:51Z
- Files changed: 30 files
- Commits: 11 commits

Implementation approach:
## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [x] Bugfix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD

## Description

This PR reverts the commit of `1cda7ad` (PR #1748 ) and also adds a new implementation for the validation of auth_type

### Additional Changes

- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/e
</think>

To implement this, you'll need to modify:


**Detailed Implementation:**


**Commit 1:** revert: fix(core): add validation for all the connector auth_type (#1833)
Files to modify:


**crates/router/src/connector/aci.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/adyen.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/airwallex.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/authorizedotnet.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/authorizedotnet/transformers.rs**
  Modify existing code

**crates/router/src/connector/bambora.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/bitpay.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/bluesnap.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/boku.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/braintree.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/cashtocode.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/checkout.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/coinbase.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/cryptopay.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/cybersource.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/dlocal.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/dummyconnector.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/fiserv.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/forte.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/globalpay.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/globepay.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/iatapay.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/klarna.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/mollie.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/multisafepay.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/nexinets.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/nmi.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/noon.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/nuvei.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/opayo.rs**
  Remove:
    - function: private::validate_auth_type

**crates/router/src/connector/opennode.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/payeezy.rs**
  Remove:
    - function: private::validate_auth_type

**crates/router/src/connector/payme.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/paypal.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/payu.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/powertranz.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/rapyd.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/shift4.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/square.rs**
  Remove:
    - function: private::validate_auth_type

**crates/router/src/connector/stax.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/stripe.rs**
  Remove:
    - function: private::validate_auth_type

**crates/router/src/connector/trustpay.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/tsys.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/wise.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/worldline.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/worldline/transformers.rs**
  Modify existing code

**crates/router/src/connector/worldpay.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/connector/zen.rs**
  Remove:
    - function: private::validate_auth_type
    - mod: private::transformers
  Add:
    - mod: pub::transformers

**crates/router/src/core/admin.rs**
  Add:
    - function: pub::validate_auth_type

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

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