feat(core): api ,domain and diesel model changes for extended authorization (#6607)

Co-authored-by: Gnanasundari24 <118818938+Gnanasundari24@users.noreply.github.com>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Hrithikesh
2025-02-18 19:42:19 +05:30
committed by GitHub
parent 72080c67c7
commit e14d6c4465
31 changed files with 535 additions and 60 deletions

View File

@ -41,3 +41,12 @@ pub mod verifications;
pub mod verify_connector;
pub mod webhook_events;
pub mod webhooks;
pub trait ValidateFieldAndGet<Request> {
fn validate_field_and_get(
&self,
request: &Request,
) -> common_utils::errors::CustomResult<Self, common_utils::errors::ValidationError>
where
Self: Sized;
}