text
stringlengths
70
351k
source
stringclasses
4 values
<|fim_prefix|> // file: hyperswitch/crates/router/src/events/event_logger.rs | crate: router use super::EventType; use crate::services::{kafka::KafkaMessage, logger}; pub(super) fn log_event<T: KafkaMessage>(&self, event: &T) { <|fim_suffix|> <|fim_middle|> }
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router use actix_web::{web, HttpRequest, HttpResponse}; use common_utils::{errors::CustomResult, id_type, transformers::ForeignFrom}; use router_env::{instrument, logger, tracing, Flow}; use super::app::{AppState, SessionState}; us...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router use actix_web::{web, HttpRequest, HttpResponse}; use common_utils::{errors::CustomResult, id_type, transformers::ForeignFrom}; use router_env::{instrument, logger, tracing, Flow}; use super::app::{AppState, SessionState}; us...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router use actix_web::{web, HttpRequest, HttpResponse}; use common_utils::{errors::CustomResult, id_type, transformers::ForeignFrom}; use router_env::{instrument, logger, tracing, Flow}; use super::app::{AppState, SessionState}; us...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router use actix_web::{web, HttpRequest, HttpResponse}; use common_utils::{errors::CustomResult, id_type, transformers::ForeignFrom}; use router_env::{instrument, logger, tracing, Flow}; use super::app::{AppState, SessionState}; us...
ast_fragments
// file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router use actix_web::{web, HttpRequest, HttpResponse}; use common_utils::{errors::CustomResult, id_type, transformers::ForeignFrom}; use router_env::{instrument, logger, tracing, Flow}; use super::app::{AppState, SessionState}; use crate::{ ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router use actix_web::{web, HttpRequest, HttpResponse}; use common_utils::{errors::CustomResult, id_type, transformers::ForeignFrom}; use router_env::{instrument, logger, tracing, Flow}; use super::app::{AppState, SessionState}; us...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router use actix_web::{web, HttpRequest, HttpResponse}; use router_env::{instrument, logger, tracing, Flow}; use super::app::{AppState, SessionState}; use crate::{ core::{ api_locking, errors::{self, utils::Stor...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router use actix_multipart::form::MultipartForm; use actix_web::{web, HttpRequest, HttpResponse}; use router_env::{instrument, logger, tracing, Flow}; use super::app::{AppState, SessionState}; use crate::{ core::{ api_l...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router use actix_web::{web, HttpRequest, HttpResponse}; use common_utils::{errors::CustomResult, id_type, transformers::ForeignFrom}; use error_stack::ResultExt; use hyperswitch_domain_models::{ bulk_tokenization::CardNetworkTo...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router use actix_web::{web, HttpRequest, HttpResponse}; use hyperswitch_domain_models::{ bulk_tokenization::CardNetworkTokenizeRequest, merchant_key_store::MerchantKeyStore, }; use router_env::{instrument, logger, tracing, Flow...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router use actix_web::{web, HttpRequest, HttpResponse}; use router_env::{instrument, logger, tracing, Flow}; use super::app::{AppState, SessionState}; use crate::{ core::{ api_locking, errors::{self, utils::Stor...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router use actix_web::{web, HttpRequest, HttpResponse}; use router_env::{instrument, logger, tracing, Flow}; use super::app::{AppState, SessionState}; use crate::{ core::{ api_locking, errors::{self, utils::Stor...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router use actix_web::{web, HttpRequest, HttpResponse}; use router_env::{instrument, logger, tracing, Flow}; use super::app::{AppState, SessionState}; use crate::{ core::{ api_locking, errors::{self, utils::Stor...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router use actix_web::{web, HttpRequest, HttpResponse}; use router_env::{instrument, logger, tracing, Flow}; use super::app::{AppState, SessionState}; use crate::{ core::{ api_locking, errors::{self, utils::Stor...
ast_fragments
// file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router use actix_web::{web, HttpRequest, HttpResponse}; use common_utils::{errors::CustomResult, id_type, transformers::ForeignFrom}; use router_env::{instrument, logger, tracing, Flow}; use super::app::{AppState, SessionState}; use crate::{ ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router use actix_web::{web, HttpRequest, HttpResponse}; use router_env::{instrument, logger, tracing, Flow}; use super::app::{AppState, SessionState}; use crate::{ core::{ api_locking, errors::{self, utils::Stor...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router use actix_web::{web, HttpRequest, HttpResponse}; use common_utils::{errors::CustomResult, id_type, transformers::ForeignFrom}; use router_env::{instrument, logger, tracing, Flow}; use super::app::{AppState, SessionState}; us...
ast_fragments
// file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router use actix_web::{web, HttpRequest, HttpResponse}; use router_env::{instrument, logger, tracing, Flow}; use super::app::{AppState, SessionState}; use crate::{ core::{ api_locking, errors::{self, utils::StorageErrorExt}, ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router use actix_web::{web, HttpRequest, HttpResponse}; use common_utils::{errors::CustomResult, id_type, transformers::ForeignFrom}; use router_env::{instrument, logger, tracing, Flow}; use super::app::{AppState, SessionState}; us...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router use actix_web::{web, HttpRequest, HttpResponse}; use router_env::{instrument, logger, tracing, Flow}; use super::app::{AppState, SessionState}; use crate::{ core::{ api_locking, errors::{self, utils::Stor...
ast_fragments
// file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router use actix_web::{web, HttpRequest, HttpResponse}; use router_env::{instrument, logger, tracing, Flow}; use super::app::{AppState, SessionState}; use crate::{ core::{ api_locking, errors::{self, utils::StorageErrorExt}, ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router use actix_multipart::form::MultipartForm; use actix_web::{web, HttpRequest, HttpResponse}; use common_utils::{errors::CustomResult, id_type, transformers::ForeignFrom}; use router_env::{instrument, logger, tracing, Flow}; us...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router use actix_web::{web, HttpRequest, HttpResponse}; use router_env::{instrument, logger, tracing, Flow}; use super::app::{AppState, SessionState}; use crate::{ core::{ api_locking, errors::{self, utils::Stor...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router use actix_web::{web, HttpRequest, HttpResponse}; use router_env::{instrument, logger, tracing, Flow}; use super::app::{AppState, SessionState}; use crate::{ core::{ api_locking, errors::{self, utils::Stor...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router use actix_web::{web, HttpRequest, HttpResponse}; use common_utils::{errors::CustomResult, id_type, transformers::ForeignFrom}; use router_env::{instrument, logger, tracing, Flow}; use super::app::{AppState, SessionState}; us...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router use actix_web::{web, HttpRequest, HttpResponse}; use router_env::{instrument, logger, tracing, Flow}; use super::app::{AppState, SessionState}; use crate::{ core::{ api_locking, errors::{self, utils::Stor...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router use actix_web::{web, HttpRequest, HttpResponse}; use router_env::{instrument, logger, tracing, Flow}; use super::app::{AppState, SessionState}; use crate::{ core::{ api_locking, errors::{self, utils::Stor...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router ) .await } }, &auth::V2ApiKeyAuth, api_locking::LockAction::NotApplicable, )) .await } #[cfg(feature = "v2")] #[instrument(skip_all, fields(flow = ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router }, &auth::AdminApiAuth, api_locking::LockAction::NotApplicable, )) .await } #[cfg(all( any(feature = "v1", feature = "v2", feature = "olap", feature = "oltp"), not(feature = "payment_...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router use common_utils::{errors::CustomResult, id_type, transformers::ForeignFrom}; use router_env::{instrument, logger, tracing, Flow}; use super::app::{AppState, SessionState}; use crate::{ core::{ api_locking, ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router use diesel_models::enums::IntentStatus; use crate::{ core::{ api_locking, errors::{self, utils::StorageErrorExt}, payment_methods::{self as payment_methods_routes, cards}, }, services::{se...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router use common_utils::{errors::CustomResult, id_type, transformers::ForeignFrom}; use super::app::{AppState, SessionState}; use crate::{ core::{ api_locking, errors::{self, utils::StorageErrorExt}, pa...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router use diesel_models::enums::IntentStatus; use crate::{ core::{ api_locking, errors::{self, utils::StorageErrorExt}, payment_methods::{self as payment_methods_routes, cards}, }, services::{se...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router use actix_web::{web, HttpRequest, HttpResponse}; fn test_custom_list_deserialization_multi_amount() { <|fim_suffix|> <|fim_middle|> }
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router use actix_web::{web, HttpRequest, HttpResponse}; use router_env::{instrument, logger, tracing, Flow}; use super::app::{AppState, SessionState}; use crate::{ core::{ api_locking, errors::{self, utils::Stor...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router use actix_web::{web, HttpRequest, HttpResponse}; use router_env::{instrument, logger, tracing, Flow}; use super::app::{AppState, SessionState}; use crate::{ core::{ api_locking, errors::{self, utils::Stor...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payment_methods.rs | crate: router use common_utils::{errors::CustomResult, id_type, transformers::ForeignFrom}; use hyperswitch_domain_models::{ bulk_tokenization::CardNetworkTokenizeRequest, merchant_key_store::MerchantKeyStore, }; use super::app::{AppS...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/dummy_connector.rs | crate: router use actix_web::web; use super::app; use crate::{ core::api_locking, services::{api, authentication as auth}, }; pub async fn dummy_connector_payment_data( state: web::Data<app::AppState>, req: actix_web::Http...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/dummy_connector.rs | crate: router use actix_web::web; use super::app; use crate::{ core::api_locking, services::{api, authentication as auth}, }; pub async fn dummy_connector_refund_data( state: web::Data<app::AppState>, req: actix_web::HttpR...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/dummy_connector.rs | crate: router use actix_web::web; use super::app; use crate::{ core::api_locking, services::{api, authentication as auth}, }; pub async fn dummy_connector_refund( state: web::Data<app::AppState>, req: actix_web::HttpReques...
ast_fragments
// file: hyperswitch/crates/router/src/routes/dummy_connector.rs | crate: router use actix_web::web; use super::app; use crate::{ core::api_locking, services::{api, authentication as auth}, }; pub async fn dummy_connector_payment_data( state: web::Data<app::AppState>, req: actix_web::HttpRequest, pa...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/dummy_connector.rs | crate: router use actix_web::web; use super::app; use crate::{ core::api_locking, services::{api, authentication as auth}, }; pub async fn dummy_connector_payment( state: web::Data<app::AppState>, req: actix_web::HttpReque...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/dummy_connector.rs | crate: router use actix_web::web; use super::app; use crate::{ core::api_locking, services::{api, authentication as auth}, }; pub async fn dummy_connector_complete_payment( state: web::Data<app::AppState>, req: actix_web::...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/dummy_connector.rs | crate: router use actix_web::web; use super::app; use crate::{ core::api_locking, services::{api, authentication as auth}, }; pub async fn dummy_connector_authorize_payment( state: web::Data<app::AppState>, req: actix_web:...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payouts.rs | crate: router use actix_web::{ body::{BoxBody, MessageBody}, web, HttpRequest, HttpResponse, Responder, }; use router_env::{instrument, tracing, Flow}; use super::app::AppState; use crate::{ core::{api_locking, payouts::*}, servic...
ast_fragments
// file: hyperswitch/crates/router/src/routes/payouts.rs | crate: router use actix_web::{ body::{BoxBody, MessageBody}, web, HttpRequest, HttpResponse, Responder, }; use router_env::{instrument, tracing, Flow}; use super::app::AppState; use crate::{ core::{api_locking, payouts::*}, services::{ a...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payouts.rs | crate: router use actix_web::{ body::{BoxBody, MessageBody}, web, HttpRequest, HttpResponse, Responder, }; use router_env::{instrument, tracing, Flow}; use super::app::AppState; use crate::{ core::{api_locking, payouts::*}, servic...
ast_fragments
// file: hyperswitch/crates/router/src/routes/payouts.rs | crate: router use actix_web::{ body::{BoxBody, MessageBody}, web, HttpRequest, HttpResponse, Responder, }; use router_env::{instrument, tracing, Flow}; use super::app::AppState; use crate::{ core::{api_locking, payouts::*}, services::{ a...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payouts.rs | crate: router use actix_web::{ body::{BoxBody, MessageBody}, web, HttpRequest, HttpResponse, Responder, }; use router_env::{instrument, tracing, Flow}; use super::app::AppState; use crate::{ core::{api_locking, payouts::*}, servic...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payouts.rs | crate: router use actix_web::{ body::{BoxBody, MessageBody}, web, HttpRequest, HttpResponse, Responder, }; use router_env::{instrument, tracing, Flow}; use super::app::AppState; use crate::{ core::{api_locking, payouts::*}, servic...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payouts.rs | crate: router use actix_web::{ body::{BoxBody, MessageBody}, web, HttpRequest, HttpResponse, Responder, }; use router_env::{instrument, tracing, Flow}; use super::app::AppState; use crate::{ core::{api_locking, payouts::*}, servic...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payouts.rs | crate: router use actix_web::{ body::{BoxBody, MessageBody}, web, HttpRequest, HttpResponse, Responder, }; use router_env::{instrument, tracing, Flow}; use super::app::AppState; use crate::{ core::{api_locking, payouts::*}, servic...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payouts.rs | crate: router use actix_web::{ body::{BoxBody, MessageBody}, web, HttpRequest, HttpResponse, Responder, }; fn http_response<T: MessageBody + 'static>(response: T) -> HttpResponse<BoxBody> { {<|fim_suffix|> <|fim_middle|> }}
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payouts.rs | crate: router use actix_web::{ body::{BoxBody, MessageBody}, web, HttpRequest, HttpResponse, Responder, }; use router_env::{instrument, tracing, Flow}; use super::app::AppState; use crate::{ core::{api_locking, payouts::*}, servic...
ast_fragments
// file: hyperswitch/crates/router/src/routes/payouts.rs | crate: router use actix_web::{ body::{BoxBody, MessageBody}, web, HttpRequest, HttpResponse, Responder, }; fn http_response<T: MessageBody + 'static>(response: T) -> HttpResponse<BoxBody> { HttpResponse::Ok().body(response) }
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payouts.rs | crate: router use actix_web::{ body::{BoxBody, MessageBody}, web, HttpRequest, HttpResponse, Responder, }; use router_env::{instrument, tracing, Flow}; pub async fn payouts_accounts() -> impl Responder { {<|fim_suffix|> <|fim_middle|> }}
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payouts.rs | crate: router use actix_web::{ body::{BoxBody, MessageBody}, web, HttpRequest, HttpResponse, Responder, }; use router_env::{instrument, tracing, Flow}; use super::app::AppState; use crate::{ core::{api_locking, payouts::*}, servic...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payouts.rs | crate: router use actix_web::{ body::{BoxBody, MessageBody}, web, HttpRequest, HttpResponse, Responder, }; use router_env::{instrument, tracing, Flow}; use super::app::AppState; use crate::{ core::{api_locking, payouts::*}, servic...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payouts.rs | crate: router use actix_web::{ body::{BoxBody, MessageBody}, web, HttpRequest, HttpResponse, Responder, }; use router_env::{instrument, tracing, Flow}; use super::app::AppState; use crate::{ core::{api_locking, payouts::*}, servic...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payouts.rs | crate: router use actix_web::{ body::{BoxBody, MessageBody}, web, HttpRequest, HttpResponse, Responder, }; use router_env::{instrument, tracing, Flow}; use super::app::AppState; use crate::{ core::{api_locking, payouts::*}, servic...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/lock_utils.rs | crate: router use router_env::Flow; fn from(flow: Flow) -> Self { { Flow::MerchantsAccountCreate | Flow::MerchantsAccountRetrieve | Flow::MerchantsAccountUpdate | Flow::MerchantsAccountDelete | F...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/lock_utils.rs | crate: router use router_env::Flow; fn from(flow: Flow) -> Self { {<|fim_suffix|> <|fim_middle|> }}
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/cards_info.rs | crate: router use actix_web::{web, HttpRequest, HttpResponse, Responder}; use api_models::cards_info as cards_info_api_types; use router_env::{instrument, tracing, Flow}; use super::app::AppState; use crate::{ core::{api_locking, cards_inf...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/cards_info.rs | crate: router use actix_web::{web, HttpRequest, HttpResponse, Responder}; use api_models::cards_info as cards_info_api_types; use router_env::{instrument, tracing, Flow}; use super::app::AppState; use crate::{ core::{api_locking, cards_inf...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/cards_info.rs | crate: router use actix_multipart::form::MultipartForm; use actix_web::{web, HttpRequest, HttpResponse, Responder}; use api_models::cards_info as cards_info_api_types; use router_env::{instrument, tracing, Flow}; use super::app::AppState; use ...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/cards_info.rs | crate: router use actix_web::{web, HttpRequest, HttpResponse, Responder}; use api_models::cards_info as cards_info_api_types; use router_env::{instrument, tracing, Flow}; use super::app::AppState; use crate::{ core::{api_locking, cards_inf...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/cards_info.rs | crate: router use actix_web::{web, HttpRequest, HttpResponse, Responder}; use api_models::cards_info as cards_info_api_types; use router_env::{instrument, tracing, Flow}; use super::app::AppState; use crate::{ core::{api_locking, cards_inf...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payments.rs | crate: router use crate::{ core::api_locking::{self, GetLockingInput}, services::authorization::permissions::Permission, }; use actix_web::{web, Responder}; use hyperswitch_domain_models::payments::HeaderPayload; use router_env::{env, in...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payments.rs | crate: router use crate::{ core::api_locking::{self, GetLockingInput}, services::authorization::permissions::Permission, }; use actix_web::{web, Responder}; use error_stack::report; use hyperswitch_domain_models::payments::HeaderPayload;...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payments.rs | crate: router use actix_web::{web, Responder}; use hyperswitch_domain_models::payments::HeaderPayload; use router_env::{env, instrument, logger, tracing, types, Flow}; use super::app::ReqState; use crate::{ self as app, core::{ e...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payments.rs | crate: router use crate::{ core::api_locking::{self, GetLockingInput}, services::authorization::permissions::Permission, }; use actix_web::{web, Responder}; use hyperswitch_domain_models::payments::HeaderPayload; use router_env::{env, in...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payments.rs | crate: router use crate::{ core::api_locking::{self, GetLockingInput}, services::authorization::permissions::Permission, }; use actix_web::{web, Responder}; use error_stack::report; use hyperswitch_domain_models::payments::HeaderPayload;...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payments.rs | crate: router use crate::{ core::api_locking::{self, GetLockingInput}, services::authorization::permissions::Permission, }; use actix_web::{web, Responder}; use error_stack::report; use hyperswitch_domain_models::payments::HeaderPayload;...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payments.rs | crate: router use crate::{ core::api_locking::{self, GetLockingInput}, services::authorization::permissions::Permission, }; use actix_web::{web, Responder}; use error_stack::report; use hyperswitch_domain_models::payments::HeaderPayload;...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payments.rs | crate: router use actix_web::{web, Responder}; use hyperswitch_domain_models::payments::HeaderPayload; use router_env::{env, instrument, logger, tracing, types, Flow}; use super::app::ReqState; use crate::{ self as app, core::{ e...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payments.rs | crate: router use crate::{ core::api_locking::{self, GetLockingInput}, services::authorization::permissions::Permission, }; use actix_web::{web, Responder}; use hyperswitch_domain_models::payments::HeaderPayload; use router_env::{env, in...
ast_fragments
// file: hyperswitch/crates/router/src/routes/payments.rs | crate: router use actix_web::{web, Responder}; use hyperswitch_domain_models::payments::HeaderPayload; use router_env::{env, instrument, logger, tracing, types, Flow}; use super::app::ReqState; use crate::{ self as app, core::{ errors::{self, h...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payments.rs | crate: router use actix_web::{web, Responder}; use hyperswitch_domain_models::payments::HeaderPayload; use router_env::{env, instrument, logger, tracing, types, Flow}; use super::app::ReqState; use crate::{ self as app, core::{ e...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payments.rs | crate: router use actix_web::{web, Responder}; use hyperswitch_domain_models::payments::HeaderPayload; use router_env::{env, instrument, logger, tracing, types, Flow}; use super::app::ReqState; use crate::{ self as app, core::{ e...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payments.rs | crate: router use actix_web::{web, Responder}; use hyperswitch_domain_models::payments::HeaderPayload; use router_env::{env, instrument, logger, tracing, types, Flow}; use super::app::ReqState; use crate::{ self as app, core::{ e...
ast_fragments
// file: hyperswitch/crates/router/src/routes/payments.rs | crate: router use crate::{ core::api_locking::{self, GetLockingInput}, services::authorization::permissions::Permission, }; use actix_web::{web, Responder}; use hyperswitch_domain_models::payments::HeaderPayload; use router_env::{env, instrument, logge...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payments.rs | crate: router use crate::{ core::api_locking::{self, GetLockingInput}, services::authorization::permissions::Permission, }; use actix_web::{web, Responder}; use hyperswitch_domain_models::payments::HeaderPayload; use router_env::{env, in...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payments.rs | crate: router use crate::{ core::api_locking::{self, GetLockingInput}, services::authorization::permissions::Permission, }; use actix_web::{web, Responder}; use hyperswitch_domain_models::payments::HeaderPayload; use router_env::{env, in...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payments.rs | crate: router use crate::{ core::api_locking::{self, GetLockingInput}, services::authorization::permissions::Permission, }; use actix_web::{web, Responder}; use hyperswitch_domain_models::payments::HeaderPayload; use router_env::{env, in...
ast_fragments
// file: hyperswitch/crates/router/src/routes/payments.rs | crate: router use crate::{ core::api_locking::{self, GetLockingInput}, services::authorization::permissions::Permission, }; use actix_web::{web, Responder}; use hyperswitch_domain_models::payments::HeaderPayload; use router_env::{env, instrument, logge...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payments.rs | crate: router use crate::{ core::api_locking::{self, GetLockingInput}, services::authorization::permissions::Permission, }; use actix_web::{web, Responder}; use hyperswitch_domain_models::payments::HeaderPayload; use router_env::{env, in...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payments.rs | crate: router use actix_web::{web, Responder}; use hyperswitch_domain_models::payments::HeaderPayload; use router_env::{env, instrument, logger, tracing, types, Flow}; use super::app::ReqState; use crate::{ self as app, core::{ e...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payments.rs | crate: router use actix_web::{web, Responder}; use error_stack::report; use hyperswitch_domain_models::payments::HeaderPayload; use router_env::{env, instrument, logger, tracing, types, Flow}; use super::app::ReqState; use crate::{ self as a...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payments.rs | crate: router use actix_web::{web, Responder}; use hyperswitch_domain_models::payments::HeaderPayload; use router_env::{env, instrument, logger, tracing, types, Flow}; use super::app::ReqState; use crate::{ self as app, core::{ e...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payments.rs | crate: router use actix_web::{web, Responder}; use hyperswitch_domain_models::payments::HeaderPayload; use router_env::{env, instrument, logger, tracing, types, Flow}; use super::app::ReqState; use crate::{ self as app, core::{ e...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payments.rs | crate: router use actix_web::{web, Responder}; use hyperswitch_domain_models::payments::HeaderPayload; use router_env::{env, instrument, logger, tracing, types, Flow}; use super::app::ReqState; use crate::{ self as app, core::{ e...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payments.rs | crate: router use actix_web::{web, Responder}; use hyperswitch_domain_models::payments::HeaderPayload; use router_env::{env, instrument, logger, tracing, types, Flow}; use super::app::ReqState; use crate::{ self as app, core::{ e...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payments.rs | crate: router use actix_web::{web, Responder}; use hyperswitch_domain_models::payments::HeaderPayload; use router_env::{env, instrument, logger, tracing, types, Flow}; use super::app::ReqState; use crate::{ self as app, core::{ e...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payments.rs | crate: router use crate::{ core::api_locking::{self, GetLockingInput}, services::authorization::permissions::Permission, }; use actix_web::{web, Responder}; use error_stack::report; use hyperswitch_domain_models::payments::HeaderPayload;...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payments.rs | crate: router use actix_web::{web, Responder}; use hyperswitch_domain_models::payments::HeaderPayload; use router_env::{env, instrument, logger, tracing, types, Flow}; use super::app::ReqState; use crate::{ self as app, core::{ e...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payments.rs | crate: router use actix_web::{web, Responder}; use hyperswitch_domain_models::payments::HeaderPayload; use router_env::{env, instrument, logger, tracing, types, Flow}; use super::app::ReqState; use crate::{ self as app, core::{ e...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payments.rs | crate: router use actix_web::{web, Responder}; use hyperswitch_domain_models::payments::HeaderPayload; use router_env::{env, instrument, logger, tracing, types, Flow}; use super::app::ReqState; use crate::{ self as app, core::{ e...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payments.rs | crate: router use actix_web::{web, Responder}; use hyperswitch_domain_models::payments::HeaderPayload; use router_env::{env, instrument, logger, tracing, types, Flow}; use super::app::ReqState; use crate::{ self as app, core::{ e...
ast_fragments
<|fim_prefix|> // file: hyperswitch/crates/router/src/routes/payments.rs | crate: router use actix_web::{web, Responder}; use error_stack::report; use hyperswitch_domain_models::payments::HeaderPayload; use router_env::{env, instrument, logger, tracing, types, Flow}; use super::app::ReqState; use crate::{ self as a...
ast_fragments