Issue:
fix(connector): [NMI] Handle empty response in psync and error response in complete authorize

## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [x] Bugfix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD

## Description
<!-- Describe your changes in detail -->
Handle empty response in psync and error response in complete authorize 

### 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`
-->


## 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 it is 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)?
-->
test cases - Make payment, when status is in authentication_pending, make a psync, status should remain same
make a payment, after redirection , status should be succeeded.

successful payment - 
<img width="976" alt="Screenshot 2024-02-05 at 4 38 21 PM" src="https://github.com/juspay/hyperswitch/assets/70575890/91da1fb8-4d1d-46eb-9db7-8d5ad50d5fb7">
<img width="630" alt="Screenshot 2024-02-05 at 4 38 36 PM" src="https://github.com/juspay/hyperswitch/assets/70575890/e205fa9d-fab8-4cb9-9a03-02805dc0701d">
<img width="1016" alt="Screenshot 2024-02-05 at 4 39 01 PM" src="https://github.com/juspay/hyperswitch/assets/70575890/d3e162d9-8f53-4ee2-b645-b23de27f59ad">


payment having error code and message when the fields such as cavv, eci, xid
<img width="631" alt="Screenshot 2024-02-05 at 3 35 43 PM" src="https://github.com/juspay/hyperswitch/assets/70575890/a69510c1-a1ea-4827-8885-c4897a62f072">

## 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`
- [x] I reviewed the 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: fix(connector): [NMI] Handle empty response in psync and error response in complete authorize
- Merged: 2024-02-05T12:55:57Z
- Files changed: 2 files
- Commits: 2 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
<!-- Describe your changes in detail -->
Handle empty response in psync and error response in complete authorize 

main pr - #3548
### Additional Changes

- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application conf
</think>

To implement this, you'll need to modify:


**Detailed Implementation:**


**Commit 1:** fix(connector): [NMI] Handle empty response in psync and error response in complete authorize (#3550
Files to modify:


**crates/router/src/connector/nmi/transformers.rs**
  Remove:
    - enum: pub::CardHolderAuthType

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