id stringlengths 11 116 | type stringclasses 1
value | granularity stringclasses 4
values | content stringlengths 16 477k | metadata dict |
|---|---|---|---|---|
fn_clm_router_get_pre_authentication_request_data_-8397267065422295570 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/unified_authentication_service/types
fn get_pre_authentication_request_data(
_payment_method_data: Option<&domain::PaymentMe... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 9,
"total_crates": null
} |
fn_clm_router_get_authentication_request_data_-8397267065422295570 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/unified_authentication_service/types
fn get_authentication_request_data(
_browser_details: Option<BrowserInformation>,
... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 9,
"total_crates": null
} |
fn_clm_router_authentication_-8397267065422295570 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/unified_authentication_service/types
async fn authentication(
_state: &SessionState,
_business_profile: &domain::Pro... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 9,
"total_crates": null
} |
fn_clm_router_external_authentication_update_trackers_-3055722393480730623 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/unified_authentication_service/utils
pub async fn external_authentication_update_trackers<F: Clone, Req>(
state: &SessionState,
... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 128,
"total_crates": null
} |
fn_clm_router_construct_uas_router_data_-3055722393480730623 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/unified_authentication_service/utils
pub fn construct_uas_router_data<F: Clone, Req, Res>(
state: &SessionState,
authenticat... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 58,
"total_crates": null
} |
fn_clm_router_do_auth_connector_call_-3055722393480730623 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/unified_authentication_service/utils
pub async fn do_auth_connector_call<F, Req, Res>(
state: &SessionState,
authentication_... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 42,
"total_crates": null
} |
fn_clm_router_authenticate_authentication_client_secret_and_check_expiry_-3055722393480730623 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/unified_authentication_service/utils
pub fn authenticate_authentication_client_secret_and_check_expiry(
req_client_secret: &Stri... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 33,
"total_crates": null
} |
fn_clm_router_get_checkout_event_status_and_reason_-3055722393480730623 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/unified_authentication_service/utils
pub fn get_checkout_event_status_and_reason(
attempt_status: common_enums::AttemptStatus,
)... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 21,
"total_crates": null
} |
fn_clm_router_foreign_try_from_-2061703342061414921 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/unified_connector_service/transformers
// Implementation of payments_grpc::RequestDetails for transformers::ForeignTryFrom<
&... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 462,
"total_crates": null
} |
fn_clm_router_build_webhook_transform_request_-2061703342061414921 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/unified_connector_service/transformers
/// Build UCS webhook transform request from webhook components
pub fn build_webhook_transf... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 21,
"total_crates": null
} |
fn_clm_router_transform_ucs_webhook_response_-2061703342061414921 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/unified_connector_service/transformers
/// Transform UCS webhook response into webhook event data
pub fn transform_ucs_webhook_res... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 19,
"total_crates": null
} |
fn_clm_router_check_existence_and_add_domain_to_db_8353358495600920008 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/verification/utils
pub async fn check_existence_and_add_domain_to_db(
state: &SessionState,
merchant_id: common_utils::id_ty... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 85,
"total_crates": null
} |
fn_clm_router_check_if_profile_id_is_present_in_payment_intent_8353358495600920008 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/verification/utils
pub async fn check_if_profile_id_is_present_in_payment_intent(
payment_id: PaymentId,
state: &SessionStat... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 37,
"total_crates": null
} |
fn_clm_router_log_applepay_verification_response_if_error_8353358495600920008 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/verification/utils
pub fn log_applepay_verification_response_if_error(
response: &Result<Result<types::Response, types::Response... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 25,
"total_crates": null
} |
fn_clm_router_execute_payment_8256400709692590680 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/revenue_recovery/types
// Implementation of None for Action
pub async fn execute_payment(
state: &SessionState,
_mer... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 139,
"total_crates": null
} |
fn_clm_router_execute_payment_task_response_handler_8256400709692590680 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/revenue_recovery/types
// Implementation of None for Action
pub async fn execute_payment_task_response_handler(
&self,
... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 121,
"total_crates": null
} |
fn_clm_router_psync_response_handler_8256400709692590680 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/revenue_recovery/types
// Implementation of None for Action
pub async fn psync_response_handler(
&self,
state: &Sess... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 117,
"total_crates": null
} |
fn_clm_router_update_pt_status_based_on_attempt_status_for_payments_sync_8256400709692590680 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/revenue_recovery/types
// Implementation of None for RevenueRecoveryPaymentsAttemptStatus
pub(crate) async fn update_pt_status_based... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 105,
"total_crates": null
} |
fn_clm_router_reopen_calculate_workflow_on_payment_failure_8256400709692590680 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/revenue_recovery/types
/// Reopen calculate workflow when payment fails
pub async fn reopen_calculate_workflow_on_payment_failure(... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 89,
"total_crates": null
} |
fn_clm_router_foreign_from_4077746020382667360 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/revenue_recovery/transformers
// Implementation of hyperswitch_domain_models::revenue_recovery::RevenueRecoveryAttemptData for Foreig... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 276,
"total_crates": null
} |
fn_clm_router_custom_revenue_recovery_core_-8461250148467501815 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/revenue_recovery/api
pub async fn custom_revenue_recovery_core(
state: SessionState,
req_state: ReqState,
merchant_conte... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 93,
"total_crates": null
} |
fn_clm_router_record_internal_attempt_api_-8461250148467501815 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/revenue_recovery/api
pub async fn record_internal_attempt_api(
state: &SessionState,
payment_intent: &payments_domain::Payme... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 55,
"total_crates": null
} |
fn_clm_router_call_proxy_api_-8461250148467501815 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/revenue_recovery/api
pub async fn call_proxy_api(
state: &SessionState,
payment_intent: &payments_domain::PaymentIntent,
... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 53,
"total_crates": null
} |
fn_clm_router_call_psync_api_-8461250148467501815 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/revenue_recovery/api
pub async fn call_psync_api(
state: &SessionState,
global_payment_id: &id_type::GlobalPaymentId,
re... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 50,
"total_crates": null
} |
fn_clm_router_update_payment_intent_api_-8461250148467501815 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/revenue_recovery/api
pub async fn update_payment_intent_api(
state: &SessionState,
global_payment_id: id_type::GlobalPayment... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 32,
"total_crates": null
} |
fn_clm_router_upload_and_get_provider_provider_file_id_profile_id_2145319124900094127 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/files/helpers
pub async fn upload_and_get_provider_provider_file_id_profile_id(
state: &SessionState,
merchant_context: &dom... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 83,
"total_crates": null
} |
fn_clm_router_retrieve_file_and_provider_file_id_from_file_id_2145319124900094127 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/files/helpers
pub async fn retrieve_file_and_provider_file_id_from_file_id(
state: &SessionState,
file_id: Option<String>,
... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 63,
"total_crates": null
} |
fn_clm_router_retrieve_file_from_connector_2145319124900094127 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/files/helpers
pub async fn retrieve_file_from_connector(
state: &SessionState,
file_metadata: diesel_models::file::FileMetad... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 51,
"total_crates": null
} |
fn_clm_router_validate_file_upload_2145319124900094127 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/files/helpers
pub async fn validate_file_upload(
state: &SessionState,
merchant_context: domain::MerchantContext,
create... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 47,
"total_crates": null
} |
fn_clm_router_delete_file_using_file_id_2145319124900094127 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/files/helpers
pub async fn delete_file_using_file_id(
state: &SessionState,
file_key: String,
merchant_context: &domain:... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 31,
"total_crates": null
} |
fn_clm_router_validate_secure_payment_link_render_request_3146046220273944053 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/payment_link/validator
pub fn validate_secure_payment_link_render_request(
request_headers: &header::HeaderMap,
payment_link... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 83,
"total_crates": null
} |
fn_clm_router_from_6336102903953161980 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/routing/transformers
// Implementation of storage_enums::TransactionType for From<&routing::TransactionData<'_>>
fn from(value: &rou... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2600,
"total_crates": null
} |
fn_clm_router_foreign_try_from_6336102903953161980 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/routing/transformers
// Implementation of MerchantRoutingAlgorithm for ForeignTryFrom<RoutingAlgorithm>
fn foreign_try_from(value: R... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 442,
"total_crates": null
} |
fn_clm_router_foreign_from_6336102903953161980 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/routing/transformers
// Implementation of storage_enums::RoutingAlgorithmKind for ForeignFrom<RoutingAlgorithmKind>
fn foreign_from(... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 212,
"total_crates": null
} |
fn_clm_router_construct_sr_request_6336102903953161980 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/routing/transformers
// Implementation of OpenRouterDecideGatewayRequest for OpenRouterDecideGatewayRequestExt
fn construct_sr_reque... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 33,
"total_crates": null
} |
fn_clm_router_construct_debit_request_6336102903953161980 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/routing/transformers
// Implementation of OpenRouterDecideGatewayRequest for OpenRouterDecideGatewayRequestExt
fn construct_debit_re... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 31,
"total_crates": null
} |
fn_clm_router_new_5169409339312738427 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/routing/helpers
// Implementation of None for DynamicRoutingConfigParamsInterpolator
pub fn new(
payment_method: Option<comm... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 14463,
"total_crates": null
} |
fn_clm_router_push_metrics_with_update_window_for_success_based_routing_5169409339312738427 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/routing/helpers
pub async fn push_metrics_with_update_window_for_success_based_routing(
state: &SessionState,
payment_attemp... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 237,
"total_crates": null
} |
fn_clm_router_foreign_from_5169409339312738427 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/routing/helpers
// Implementation of open_router::TxnStatus for ForeignFrom<common_enums::AttemptStatus>
fn foreign_from(attempt_sta... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 212,
"total_crates": null
} |
fn_clm_router_push_metrics_with_update_window_for_contract_based_routing_5169409339312738427 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/routing/helpers
pub async fn push_metrics_with_update_window_for_contract_based_routing(
state: &SessionState,
payment_attem... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 181,
"total_crates": null
} |
fn_clm_router_update_window_for_elimination_routing_5169409339312738427 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/routing/helpers
pub async fn update_window_for_elimination_routing(
state: &SessionState,
payment_attempt: &storage::Payment... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 141,
"total_crates": null
} |
fn_clm_router_status_code_-6381979949226052871 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/errors/customers_error_response
// Implementation of CustomersErrorResponse for actix_web::ResponseError
fn status_code(&self) -> St... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 30,
"total_crates": null
} |
fn_clm_router_error_response_-6381979949226052871 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/errors/customers_error_response
// Implementation of CustomersErrorResponse for actix_web::ResponseError
fn error_response(&self) ->... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 24,
"total_crates": null
} |
fn_clm_router_switch_-6037560470740856114 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/errors/transformers
// Implementation of ApiErrorResponse for ErrorSwitch<CustomersErrorResponse>
fn switch(&self) -> CustomersError... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 3080,
"total_crates": null
} |
fn_clm_router_switch_4191881459564649410 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/errors/user
// Implementation of UserErrors for common_utils::errors::ErrorSwitch<api_models::errors::types::ApiErrorResponse>
fn sw... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 3398,
"total_crates": null
} |
fn_clm_router_get_error_message_4191881459564649410 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/errors/user
// Implementation of None for UserErrors
pub fn get_error_message(&self) -> String {
match self {
Se... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 302,
"total_crates": null
} |
fn_clm_router_custom_error_handlers_-6577430622084457898 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/errors/error_handlers
pub fn custom_error_handlers<B: body::MessageBody + 'static>(
res: ServiceResponse<B>,
) -> actix_web::Res... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 28,
"total_crates": null
} |
fn_clm_router_to_not_found_response_-6122081867085758514 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/errors/utils
// Implementation of error_stack::Result<T, errors::StorageError> for StorageErrorExt<T, errors::UserErrors>
fn to_not_... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 1470,
"total_crates": null
} |
fn_clm_router_to_payment_failed_response_-6122081867085758514 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/errors/utils
// Implementation of error_stack::Result<T, errors::ConnectorError> for ConnectorErrorExt<T>
fn to_payment_failed_respo... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 202,
"total_crates": null
} |
fn_clm_router_to_duplicate_response_-6122081867085758514 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/errors/utils
// Implementation of error_stack::Result<T, errors::StorageError> for StorageErrorExt<T, errors::UserErrors>
fn to_dupl... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 135,
"total_crates": null
} |
fn_clm_router_to_refund_failed_response_-6122081867085758514 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/errors/utils
// Implementation of error_stack::Result<T, errors::ConnectorError> for ConnectorErrorExt<T>
fn to_refund_failed_respon... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 60,
"total_crates": null
} |
fn_clm_router_to_payout_failed_response_-6122081867085758514 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/errors/utils
// Implementation of error_stack::Result<T, errors::ConnectorError> for ConnectorErrorExt<T>
fn to_payout_failed_respon... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 51,
"total_crates": null
} |
fn_clm_router_switch_6395490519417150562 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/errors/chat
// Implementation of ChatErrors for common_utils::errors::ErrorSwitch<api_models::errors::types::ApiErrorResponse>
fn sw... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 3104,
"total_crates": null
} |
fn_clm_router_get_error_message_6395490519417150562 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/errors/chat
// Inherent implementation for ChatErrors
pub fn get_error_message(&self) -> String {
match self {
S... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 212,
"total_crates": null
} |
fn_clm_router_switch_3747860481632465845 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/errors/user/sample_data
// Implementation of SampleDataError for ErrorSwitch<ApiErrorResponse>
fn switch(&self) -> ApiErrorResponse ... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 3096,
"total_crates": null
} |
fn_clm_router_switch_from_3747860481632465845 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/errors/user/sample_data
// Implementation of SampleDataError for ErrorSwitchFrom<StorageError>
fn switch_from(error: &StorageError) ... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 11,
"total_crates": null
} |
fn_clm_router_construct_relay_refund_router_data_-9121742063140104205 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/relay/utils
pub async fn construct_relay_refund_router_data<F>(
state: &SessionState,
merchant_id: &id_type::MerchantId,
... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 96,
"total_crates": null
} |
fn_clm_router_foreign_from_7132040897424201564 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/outgoing_v2
// Implementation of outgoing_webhook_logs::OutgoingWebhookEventContent for ForeignFrom<storage::EventMetadata>
... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 212,
"total_crates": null
} |
fn_clm_router_create_event_and_trigger_outgoing_webhook_7132040897424201564 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/outgoing_v2
pub(crate) async fn create_event_and_trigger_outgoing_webhook(
state: SessionState,
business_profile: d... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 143,
"total_crates": null
} |
fn_clm_router_get_outgoing_webhook_request_7132040897424201564 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/outgoing_v2
pub(crate) fn get_outgoing_webhook_request(
outgoing_webhook: api::OutgoingWebhook,
business_profile: &... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 60,
"total_crates": null
} |
fn_clm_router_raise_webhooks_analytics_event_7132040897424201564 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/outgoing_v2
async fn raise_webhooks_analytics_event(
state: SessionState,
trigger_webhook_result: CustomResult<
... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 48,
"total_crates": null
} |
fn_clm_router_update_event_in_storage_7132040897424201564 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/outgoing_v2
async fn update_event_in_storage(
state: SessionState,
is_webhook_notified: bool,
outgoing_webhook_... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 47,
"total_crates": null
} |
fn_clm_router_get_outgoing_webhook_response_content_6523092487668576888 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/types
// Inherent implementation for WebhookResponse
pub async fn get_outgoing_webhook_response_content(
self,
... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 59,
"total_crates": null
} |
fn_clm_router_get_outgoing_webhooks_signature_6523092487668576888 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/types
// Implementation of webhooks::OutgoingWebhook for OutgoingWebhookType
fn get_outgoing_webhooks_signature(
&s... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 44,
"total_crates": null
} |
fn_clm_router_add_webhook_header_6523092487668576888 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/types
// Implementation of webhooks::OutgoingWebhook for OutgoingWebhookType
fn add_webhook_header(header: &mut Vec<(String... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 26,
"total_crates": null
} |
fn_clm_router_new_8059259674955479913 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/network_tokenization_incoming
// Inherent implementation for Authorization
pub fn new(header: Option<&HeaderValue>) -> Self... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 14465,
"total_crates": null
} |
fn_clm_router_from_8059259674955479913 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/network_tokenization_incoming
// Implementation of PaymentMethodCreateWrapper for From<(&api::payment_methods::CardDetail, &... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 2618,
"total_crates": null
} |
fn_clm_router_get_inner_8059259674955479913 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/network_tokenization_incoming
// Inherent implementation for PaymentMethodCreateWrapper
fn get_inner(self) -> api::payment_... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 584,
"total_crates": null
} |
fn_clm_router_handle_metadata_update_8059259674955479913 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/network_tokenization_incoming
pub async fn handle_metadata_update(
state: &SessionState,
metadata: &pm_types::Netwo... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 105,
"total_crates": null
} |
fn_clm_router_update_payment_method_8059259674955479913 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/network_tokenization_incoming
// Implementation of pm_types::NetworkTokenMetaDataUpdateBody for NetworkTokenWebhookResponseE... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 98,
"total_crates": null
} |
fn_clm_router_foreign_from_2902385510201336307 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/outgoing
// Implementation of storage::EventMetadata for ForeignFrom<&api::OutgoingWebhookContent>
fn foreign_from(content:... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 230,
"total_crates": null
} |
fn_clm_router_create_event_and_trigger_outgoing_webhook_2902385510201336307 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/outgoing
pub(crate) async fn create_event_and_trigger_outgoing_webhook(
state: SessionState,
merchant_context: doma... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 187,
"total_crates": null
} |
fn_clm_router_trigger_webhook_to_merchant_2902385510201336307 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/outgoing
async fn trigger_webhook_to_merchant(
state: SessionState,
business_profile: domain::Profile,
merchant... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 152,
"total_crates": null
} |
fn_clm_router_update_event_in_storage_2902385510201336307 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/outgoing
async fn update_event_in_storage(
state: SessionState,
merchant_key_store: domain::MerchantKeyStore,
m... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 87,
"total_crates": null
} |
fn_clm_router_get_outgoing_webhook_request_2902385510201336307 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/outgoing
pub(crate) fn get_outgoing_webhook_request(
merchant_context: &domain::MerchantContext,
outgoing_webhook: ... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 64,
"total_crates": null
} |
fn_clm_router_new_-3107278269255533877 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/recovery_incoming
// Inherent implementation for RecoveryPaymentTuple
pub fn new(
payment_intent: &revenue_recovery... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 14469,
"total_crates": null
} |
fn_clm_router_get_payment_attempt_-3107278269255533877 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/recovery_incoming
// Implementation of None for RevenueRecoveryAttempt
async fn get_payment_attempt(
&self,
... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 245,
"total_crates": null
} |
fn_clm_router_get_payment_intent_-3107278269255533877 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/recovery_incoming
// Inherent implementation for RevenueRecoveryInvoice
async fn get_payment_intent(
&self,
... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 155,
"total_crates": null
} |
fn_clm_router_publish_revenue_recovery_event_to_kafka_-3107278269255533877 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/recovery_incoming
// Inherent implementation for RecoveryPaymentTuple
pub async fn publish_revenue_recovery_event_to_kafka(... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 139,
"total_crates": null
} |
fn_clm_router_recovery_incoming_webhook_flow_-3107278269255533877 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/recovery_incoming
pub async fn recovery_incoming_webhook_flow(
state: SessionState,
merchant_context: domain::Merch... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 77,
"total_crates": null
} |
fn_clm_router_incoming_webhooks_core_4763811398955835165 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/incoming_v2
async fn incoming_webhooks_core<W: types::OutgoingWebhookType>(
state: SessionState,
req_state: ReqStat... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 176,
"total_crates": null
} |
fn_clm_router_payments_incoming_webhook_flow_4763811398955835165 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/incoming_v2
async fn payments_incoming_webhook_flow(
state: SessionState,
req_state: ReqState,
merchant_context... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 80,
"total_crates": null
} |
fn_clm_router_incoming_webhooks_wrapper_4763811398955835165 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/incoming_v2
pub async fn incoming_webhooks_wrapper<W: types::OutgoingWebhookType>(
flow: &impl router_env::types::FlowM... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 66,
"total_crates": null
} |
fn_clm_router_get_trackers_response_for_payment_get_operation_4763811398955835165 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/incoming_v2
async fn get_trackers_response_for_payment_get_operation<F>(
db: &dyn StorageInterface,
payment_id: &ap... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 63,
"total_crates": null
} |
fn_clm_router_get_connector_by_connector_name_4763811398955835165 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/incoming_v2
fn get_connector_by_connector_name(
state: &SessionState,
connector_name: &str,
merchant_connector_... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 35,
"total_crates": null
} |
fn_clm_router_process_webhook_business_logic_-1697265579327188042 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/incoming
async fn process_webhook_business_logic(
state: &SessionState,
req_state: ReqState,
merchant_context: ... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 241,
"total_crates": null
} |
fn_clm_router_external_authentication_incoming_webhook_flow_-1697265579327188042 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/incoming
async fn external_authentication_incoming_webhook_flow(
state: SessionState,
req_state: ReqState,
merc... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 131,
"total_crates": null
} |
fn_clm_router_update_connector_mandate_details_-1697265579327188042 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/incoming
async fn update_connector_mandate_details(
state: &SessionState,
merchant_context: &domain::MerchantContex... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 109,
"total_crates": null
} |
fn_clm_router_incoming_webhooks_core_-1697265579327188042 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/incoming
async fn incoming_webhooks_core<W: types::OutgoingWebhookType>(
state: SessionState,
req_state: ReqState,
... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 100,
"total_crates": null
} |
fn_clm_router_payments_incoming_webhook_flow_-1697265579327188042 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/incoming
async fn payments_incoming_webhook_flow(
state: SessionState,
req_state: ReqState,
merchant_context: d... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 100,
"total_crates": null
} |
fn_clm_router_list_initial_delivery_attempts_5948976530536712184 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/webhook_events
pub async fn list_initial_delivery_attempts(
state: SessionState,
merchant_id: common_utils::id_type... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 114,
"total_crates": null
} |
fn_clm_router_retry_delivery_attempt_5948976530536712184 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/webhook_events
pub async fn retry_delivery_attempt(
state: SessionState,
merchant_id: common_utils::id_type::Mercha... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 95,
"total_crates": null
} |
fn_clm_router_list_delivery_attempts_5948976530536712184 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/webhook_events
pub async fn list_delivery_attempts(
state: SessionState,
merchant_id: common_utils::id_type::Mercha... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 43,
"total_crates": null
} |
fn_clm_router_get_account_and_key_store_5948976530536712184 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/webhook_events
async fn get_account_and_key_store(
state: SessionState,
merchant_id: common_utils::id_type::Merchan... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 39,
"total_crates": null
} |
fn_clm_router_finalize_event_types_5948976530536712184 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/webhook_events
async fn finalize_event_types(
event_classes: HashSet<common_enums::EventClass>,
mut event_types: Ha... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": false,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 25,
"total_crates": null
} |
fn_clm_router_construct_webhook_router_data_1595426940056822842 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/utils
pub async fn construct_webhook_router_data(
state: &SessionState,
connector_name: &str,
merchant_connecto... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 66,
"total_crates": null
} |
fn_clm_router_free_redis_lock_1595426940056822842 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/utils
pub(super) async fn free_redis_lock<A>(
state: &A,
unique_locking_key: &str,
merchant_id: common_utils::i... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 50,
"total_crates": null
} |
fn_clm_router_perform_redis_lock_1595426940056822842 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/utils
pub(super) async fn perform_redis_lock<A>(
state: &A,
unique_locking_key: &str,
merchant_id: common_utils... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 41,
"total_crates": null
} |
fn_clm_router_get_idempotent_event_id_1595426940056822842 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/utils
pub(crate) fn get_idempotent_event_id(
primary_object_id: &str,
event_type: types::storage::enums::EventType,... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 31,
"total_crates": null
} |
fn_clm_router_is_webhook_event_disabled_1595426940056822842 | clm | function | // Repository: hyperswitch
// Crate: router
// Purpose: Main application server handling HTTP requests, authentication, and business logic orchestration
// Module: crates/router/src/core/webhooks/utils
/// Check whether the merchant has configured to disable the webhook `event` for the `connector`
/// First check for... | {
"crate": "router",
"file": null,
"file_size": null,
"is_async": false,
"is_pub": true,
"num_enums": null,
"num_structs": null,
"num_tables": null,
"score": 30,
"total_crates": null
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.