Skip to content
1 viewer

rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off

crates/cre8-app-payment/src/connection.rs

cre8-app-payment · module connection · src · 4,965 lines (4,643 code, 41 comment) · sha aad6cc234c31e08a

Items

const SPECS enum Action type ActionAliases const ACTION_ALIASES struct PaymentInput type PaymentHandler const PAYMENT_HANDLERS struct OnboardCredentials enum WalletFirstSessionMode struct WebhookRequest struct CreateSessionRequestParts struct PaymentSmokeTestRequest struct SmokeSettlementProof struct BankLinkCreateFlow struct BankExchangeFlow struct BankSyncSideEffects struct ExternalAcknowledgeRequest struct BankSmokeTestRequest struct BankSmokeFlow struct BankSmokeLinkedFlow struct BankSmokeProof

Functions

By call-graph weight (PageRank; 1.0 is the average function). 193 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
connectsrc/connection.rs:1123fn352453312.7
metadata_stringsrc/connection.rs:392fn101806.9
parse_action_aliassrc/connection.rs:327fn41204.4
parse_actionsrc/connection.rs:310fn165114.1
handler_for_actionsrc/connection.rs:1082fn61114.1
handle_resultsrc/connection.rs:3579fn151104
temp_dbsrc/connection.rs:3617fn312313.6
payment_scope_idsrc/connection.rs:363fn91813.1
required_stringsrc/connection.rs:332fn61902
input_metadatasrc/connection.rs:895fn156411.9
asset_idsrc/connection.rs:359fn31701.9
store_service_secretsrc/connection.rs:937fn191541.9
resolve_provider_configsrc/connection.rs:1028fn102411.6
resolve_provider_config_for_scopesrc/connection.rs:1039fn142521.5
record_payment_outcome_attentionsrc/connection.rs:1669fn783451.5
connect_dispatchedsrc/connection.rs:1093fn72331.4
optional_trimmedsrc/connection.rs:891fn31401.4
is_cre8_wallet_providersrc/connection.rs:385fn61401.3
default_provider_config_for_scopesrc/connection.rs:1012fn152221.3
bank_provider_idsrc/connection.rs:349fn91201.2
is_incomplete_refund_eventsrc/connection.rs:2512fn42101.2
create_session_idempotent_responsesrc/connection.rs:2232fn81101.2
payer_peer_idsrc/connection.rs:416fn81211.1
wallet_availablesrc/connection.rs:1522fn41211.1
wallet_amountsrc/connection.rs:1836fn63201.1
handle_wallet_first_sessionsrc/connection.rs:1748fn512151.1
provider_readinesssrc/connection.rs:539fn8713241
bank_smoke_synced_balancesrc/connection.rs:3479fn31101
webhook_provider_familysrc/connection.rs:2460fn72101
payment_metadata_with_wallet_fieldssrc/connection.rs:1411fn225301
public_bank_connectionsrc/connection.rs:688fn231100.9
public_bank_snapshotsrc/connection.rs:712fn161100.9
authorize_dispatched_refundsrc/connection.rs:1101fn216130.9
existing_wallet_transfer_settlementsrc/connection.rs:1539fn4312220.9
provider_idsrc/connection.rs:339fn91300.8
upsert_provider_from_inputsrc/connection.rs:957fn5414250.8
recipient_peer_idsrc/connection.rs:441fn241210.8
payment_flow_idsrc/connection.rs:466fn61210.8
payment_for_webhook_eventsrc/connection.rs:2490fn213210.8
public_providersrc/connection.rs:480fn161100.8
create_new_session_responsesrc/connection.rs:2190fn132140.8
idempotent_session_responsesrc/connection.rs:2204fn71110.8
payment_scope_from_recordsrc/connection.rs:2164fn31210.8
bank_sync_requestsrc/connection.rs:3046fn81110.8
create_wallet_transfer_settlementsrc/connection.rs:1583fn305170.8
external_acknowledge_statesrc/connection.rs:3249fn31100.8
payment_id_from_external_eventsrc/connection.rs:806fn111100.8
ensure_payment_succeeded_for_eventsrc/connection.rs:864fn162100.8
secret_candidatesrc/connection.rs:881fn91100.8
bank_smoke_link_exchange_syncsrc/connection.rs:3369fn111150.8
bank_smoke_onboardsrc/connection.rs:3381fn151110.8
metadata_boolsrc/connection.rs:403fn121100.7
smoke_transactionsrc/connection.rs:2696fn101110.7
provider_credential_availablesrc/connection.rs:497fn31120.7
provider_runtime_evidencesrc/connection.rs:501fn374100.7
provider_webhook_registrationsrc/connection.rs:627fn485100.7
public_provider_with_readinesssrc/connection.rs:676fn112120.7
create_session_responsesrc/connection.rs:2179fn102120.7
webhook_requestsrc/connection.rs:2311fn91140.7
webhook_responsesrc/connection.rs:2321fn151160.7
create_session_request_partssrc/connection.rs:2412fn141160.7
bank_sync_connectionssrc/connection.rs:3001fn172100.7
sync_bank_connectionsrc/connection.rs:3019fn101140.7
external_stub_payment_recordsrc/connection.rs:1474fn371140.7
settle_with_effectssrc/connection.rs:3601fn151210.7
wallet_first_session_modesrc/connection.rs:1805fn234160.7
wallet_transfer_session_responsesrc/connection.rs:1869fn571140.7
external_stub_session_responsesrc/connection.rs:1927fn551130.7
bank_link_requestsrc/connection.rs:2776fn253150.7
wallet_first_session_responsesrc/connection.rs:2212fn191110.7
create_provider_session_responsesrc/connection.rs:2241fn211140.7
settle_webhook_paymentsrc/connection.rs:2379fn101110.7
record_webhook_payment_attentionsrc/connection.rs:2390fn112110.7
smoke_provider_idsrc/connection.rs:2582fn132100.7
payment_stringsrc/connection.rs:2657fn31100.7
smoke_webhook_bodysrc/connection.rs:2661fn101100.7
bank_sync_responsesrc/connection.rs:3035fn101120.6
persist_bank_sync_responsesrc/connection.rs:3055fn91110.6
bank_sync_payloadsrc/connection.rs:3065fn161100.6
url_encodesrc/connection.rs:1512fn92100.6
wallet_payment_recordsrc/connection.rs:1434fn391130.6
apply_wallet_payment_transfersrc/connection.rs:1527fn112120.6
provider_session_requestsrc/connection.rs:2263fn301140.6
bank_link_create_flowsrc/connection.rs:2727fn71130.6
bank_link_idempotent_responsesrc/connection.rs:2735fn201100.6
create_bank_link_responsesrc/connection.rs:2756fn191130.6
bank_exchange_flowsrc/connection.rs:2832fn171150.6
create_bank_exchange_responsesrc/connection.rs:2857fn191140.6
linked_bank_exchange_responsesrc/connection.rs:2877fn111100.6
external_acknowledge_requestsrc/connection.rs:3240fn81120.6
ensure_external_inboxsrc/connection.rs:3253fn93130.6
provider_capabilitiessrc/connection.rs:922fn143100.6
bank_exchange_requestsrc/connection.rs:2909fn211110.6
store_bank_access_token_if_presentsrc/connection.rs:2931fn231120.6
external_event_repair_rejectionsrc/connection.rs:838fn142110.6
repair_external_event_paymentsrc/connection.rs:853fn101120.6
store_onboard_provider_secretsrc/connection.rs:1276fn231120.6
onboard_client_id_credential_namesrc/connection.rs:1300fn131100.6
store_onboard_client_idsrc/connection.rs:1314fn211120.6
store_onboard_webhook_secretsrc/connection.rs:1336fn241110.6
bank_smoke_linksrc/connection.rs:3397fn161110.6
bank_smoke_connection_idsrc/connection.rs:3414fn81100.6
bank_smoke_exchangesrc/connection.rs:3423fn291110.6
bank_smoke_exchange_connectionsrc/connection.rs:3453fn31100.6
bank_smoke_syncsrc/connection.rs:3457fn211110.6
wallet_payment_partiessrc/connection.rs:2136fn272120.6
default_productssrc/connection.rs:911fn62100.6
default_country_codessrc/connection.rs:918fn31100.6
bank_link_client_user_idsrc/connection.rs:2802fn81120.6
existing_bank_connection_for_exchangesrc/connection.rs:2850fn61100.6
existing_provider_idsrc/connection.rs:2889fn31110.6
existing_asset_idsrc/connection.rs:2893fn31110.6
bank_exchange_idempotency_keysrc/connection.rs:2897fn111110.6
public_external_asset_reconciliationsrc/connection.rs:750fn141100.6
external_inbox_payloadsrc/connection.rs:782fn111120.6
include_inbox_itemsrc/connection.rs:794fn115100.6
repair_external_asset_eventsrc/connection.rs:818fn192140.6
store_onboard_credentialssrc/connection.rs:1262fn131140.6
bank_smoke_test_requestsrc/connection.rs:3333fn222120.6
run_bank_smoke_flowsrc/connection.rs:3356fn121120.6
bank_smoke_proofsrc/connection.rs:3483fn191110.6
bank_smoke_responsesrc/connection.rs:3503fn301100.6
payment_asset_idsrc/connection.rs:373fn112120.6
verified_webhook_eventsrc/connection.rs:2337fn101120.6
webhook_payloadsrc/connection.rs:2348fn191100.6
webhook_payment_outcomesrc/connection.rs:2368fn101130.6
positive_session_amountsrc/connection.rs:2427fn72100.6
session_currencysrc/connection.rs:2435fn72120.6
hydrate_webhook_payment_idsrc/connection.rs:2443fn143100.6
ensure_event_provider_owns_paymentsrc/connection.rs:2472fn172110.6
authenticated_wallet_payersrc/connection.rs:425fn152110.6
wallet_firstsrc/connection.rs:473fn63120.6
buyer_chose_walletsrc/connection.rs:1829fn51100.6
wallet_refusalsrc/connection.rs:1844fn102110.6
wallet_first_availablesrc/connection.rs:1855fn61110.6
wallet_first_stub_reasonsrc/connection.rs:1862fn62100.6
ensure_wallet_transfer_availablesrc/connection.rs:1614fn112100.6
wallet_transfer_settlementsrc/connection.rs:1626fn171100.6
wallet_transfer_transactionsrc/connection.rs:1644fn241100.6
smoke_test_requestsrc/connection.rs:2560fn212130.6
onboard_smoke_providersrc/connection.rs:2596fn151110.6
create_smoke_sessionsrc/connection.rs:2612fn211110.6
run_smoke_webhooksrc/connection.rs:2634fn221130.6
smoke_settlement_proofsrc/connection.rs:2679fn162120.6
refund_wallet_paymentsrc/connection.rs:2069fn645140.5
validate_refund_scopesrc/connection.rs:2168fn103120.5
public_external_asset_eventsrc/connection.rs:729fn201000.5
public_external_asset_inboxsrc/connection.rs:765fn161000.5
handle_onboardsrc/connection.rs:1159fn331040.5
handle_webhook_registersrc/connection.rs:1193fn613080.5
handle_provider_registersrc/connection.rs:1361fn161020.5
handle_provider_catalogsrc/connection.rs:1378fn322020.5
handle_create_sessionsrc/connection.rs:1983fn81020.5
handle_refundsrc/connection.rs:1992fn726080.5
handle_webhooksrc/connection.rs:2294fn81020.5
handle_smoke_testsrc/connection.rs:2517fn321050.5
handle_bank_link_createsrc/connection.rs:2707fn132030.5
handle_bank_exchangesrc/connection.rs:2811fn112030.5
handle_bank_connectionssrc/connection.rs:2955fn231010.5
handle_bank_syncsrc/connection.rs:2979fn212020.5
handle_bank_snapshotssrc/connection.rs:3082fn231010.5
handle_external_eventssrc/connection.rs:3106fn392040.5
handle_external_reconcilesrc/connection.rs:3146fn363030.5
handle_external_inboxsrc/connection.rs:3183fn262040.5
handle_external_acknowledgesrc/connection.rs:3210fn221030.5
handle_external_repairsrc/connection.rs:3263fn231040.5
handle_bank_smoke_testsrc/connection.rs:3287fn121040.5
handle_querysrc/connection.rs:3534fn221000.5
handle_getsrc/connection.rs:3557fn111010.5
handle_statussrc/connection.rs:3569fn91000.5
persisted_webhook_event_retries_status_and_rejects_changed_replaysrc/connection.rs:3622fn261030.5
fake_create_session_is_idempotentsrc/connection.rs:3650fn181020.5
fake_refund_is_full_scoped_and_idempotentsrc/connection.rs:3670fn731020.5
cre8_wallet_donation_auto_settles_when_peer_has_balancesrc/connection.rs:3745fn451040.5
cre8_wallet_refund_reverses_the_transfer_oncesrc/connection.rs:3792fn421030.5
cre8_wallet_refund_needs_the_recipient_to_hold_the_amountsrc/connection.rs:3836fn231030.5
cre8_wallet_binds_debit_to_verified_callersrc/connection.rs:3861fn281030.5
cre8_wallet_rejects_verified_caller_impersonation_before_debitsrc/connection.rs:3891fn331030.5
cre8_wallet_donation_returns_external_stub_when_wallet_missingsrc/connection.rs:3926fn321020.5
a_buyer_who_chose_the_wallet_is_told_why_it_cannot_paysrc/connection.rs:3960fn282040.5
fake_webhook_cannot_settle_a_payment_opened_with_another_providersrc/connection.rs:3990fn551040.5
dispatched_refund_needs_the_settlement_account_or_an_operatorsrc/connection.rs:4047fn451040.5
fake_webhook_is_refused_when_the_runtime_requires_authsrc/connection.rs:4094fn371030.5
fake_webhook_updates_payment_oncesrc/connection.rs:4133fn1091060.5
provider_registration_scopes_credentials_to_assetsrc/connection.rs:4244fn311020.5
onboard_registers_provider_and_stores_passport_credentialssrc/connection.rs:4277fn741050.5
webhook_registration_vaults_the_signing_secret_and_persists_public_evidencesrc/connection.rs:4353fn801050.5
shop_scoped_stripe_configs_and_runtime_evidence_are_isolatedsrc/connection.rs:4435fn1391050.5
provider_readiness_requires_live_checkout_and_settlement_evidencesrc/connection.rs:4576fn982040.5
smoke_test_proves_session_webhook_transaction_and_wallet_creditsrc/connection.rs:4676fn261020.5
external_inbox_repairs_missing_payment_settlementsrc/connection.rs:4704fn821070.5
bank_smoke_test_records_external_account_without_wallet_creditsrc/connection.rs:4788fn614060.5
fake_bank_link_and_exchange_are_idempotentsrc/connection.rs:4851fn1141020.5

Source not readable from this process.