feat(authentication): added authentication sync api (#8596)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Files to modify:


**authentication.rs**
  Add:
    - function: private::get_api_event_type
    - function: private::get_api_event_type
    - function: private::get_api_event_type
    - struct: pub::AuthenticationSyncResponse
    - struct: pub::AuthenticationSyncRequest
    - struct: pub::AuthenticationSyncPostUpdateRequest
    - impl: impl ApiEventMetric for AuthenticationSyncResponse
    - impl: impl ApiEventMetric for AuthenticationSyncRequest
    - impl: impl ApiEventMetric for AuthenticationSyncPostUpdateRequest

**enums.rs**
  Add:
    - function: pub::is_pending
    - impl: impl TransactionStatus

**payments.rs**
  Add:
    - function: pub::new

**authentication.rs**
  Add:
    - function: private::get_api_event_type
    - function: private::get_api_event_type
    - function: private::get_api_event_type
    - struct: pub::AuthenticationSyncResponse
    - struct: pub::AuthenticationSyncRequest
    - struct: pub::AuthenticationSyncPostUpdateRequest
    - impl: impl ApiEventMetric for AuthenticationSyncResponse
    - impl: impl ApiEventMetric for AuthenticationSyncRequest
    - impl: impl ApiEventMetric for AuthenticationSyncPostUpdateRequest

**transformers.rs**
  Modify existing code

**authentication.rs**
  Add:
    - function: private::get_api_event_type
    - function: private::get_api_event_type
    - function: private::get_api_event_type
    - struct: pub::AuthenticationSyncResponse
    - struct: pub::AuthenticationSyncRequest
    - struct: pub::AuthenticationSyncPostUpdateRequest
    - impl: impl ApiEventMetric for AuthenticationSyncResponse
    - impl: impl ApiEventMetric for AuthenticationSyncRequest
    - impl: impl ApiEventMetric for AuthenticationSyncPostUpdateRequest

**unified_authentication_service.rs**
  Modify existing code

**openapi.rs**
  Modify existing code

**helpers.rs**
  Add:
    - function: pub::get_handle_response_url_for_modular_authentication
    - function: pub::make_merchant_url_with_response_for_authentication
    - function: pub::make_pg_redirect_response_for_authentication

**unified_authentication_service.rs**
  Modify existing code

**utils.rs**
  Add:
    - function: pub::get_modular_authentication_request_poll_id
    - function: pub::get_html_redirect_response_for_external_modular_authentication

**app.rs**
  Modify existing code

**authentication.rs**
  Add:
    - function: private::get_api_event_type
    - function: private::get_api_event_type
    - function: private::get_api_event_type
    - struct: pub::AuthenticationSyncResponse
    - struct: pub::AuthenticationSyncRequest
    - struct: pub::AuthenticationSyncPostUpdateRequest
    - impl: impl ApiEventMetric for AuthenticationSyncResponse
    - impl: impl ApiEventMetric for AuthenticationSyncRequest
    - impl: impl ApiEventMetric for AuthenticationSyncPostUpdateRequest

**lock_utils.rs**
  Modify existing code

**authentication.rs**
  Add:
    - function: private::get_api_event_type
    - function: private::get_api_event_type
    - function: private::get_api_event_type
    - struct: pub::AuthenticationSyncResponse
    - struct: pub::AuthenticationSyncRequest
    - struct: pub::AuthenticationSyncPostUpdateRequest
    - impl: impl ApiEventMetric for AuthenticationSyncResponse
    - impl: impl ApiEventMetric for AuthenticationSyncRequest
    - impl: impl ApiEventMetric for AuthenticationSyncPostUpdateRequest

**types.rs**
  Modify existing code