2026-03-31 19:19:04 +08:00
|
|
|
mod memory;
|
|
|
|
|
|
2026-07-15 23:47:19 +08:00
|
|
|
pub use aether_data_contracts::repository::wallet::{
|
2026-09-04 03:45:52 +08:00
|
|
|
canonicalize_payment_method, canonicalize_wallet_refund_fields,
|
|
|
|
|
payment_order_is_uncertain_wallet_checkout_placeholder,
|
|
|
|
|
payment_order_refund_amounts_are_consistent,
|
|
|
|
|
payment_order_stripe_client_secret_cas_replacement, project_wallet_gateway_response,
|
|
|
|
|
project_wallet_recharge_gateway_response, redeem_code_credits_recharge_balance,
|
|
|
|
|
redeem_code_payment_method, redeem_code_refundable_amount, stored_timestamp_unix_secs,
|
|
|
|
|
validate_admin_redeem_code_batch_input, validate_payment_order_credit_amounts,
|
|
|
|
|
validate_plan_purchase_order_input, validate_plan_wallet_credit_entitlements,
|
|
|
|
|
validate_redeem_wallet_credit, validate_wallet_recharge_order_input,
|
|
|
|
|
wallet_recharge_checkout_claim_response, wallet_recharge_checkout_claim_token,
|
|
|
|
|
wallet_recharge_checkout_claimed_at, wallet_recharge_checkout_failed_response,
|
|
|
|
|
wallet_recharge_checkout_uncertain_response, wallet_recharge_order_created_at_unix_secs,
|
|
|
|
|
wallet_recharge_order_is_checkout_placeholder,
|
|
|
|
|
wallet_recharge_order_is_reclaimable_placeholder, wallet_recharge_replay_matches,
|
|
|
|
|
wallet_recharge_response_is_checkout_placeholder, wallet_refund_proof_is_success,
|
2026-09-23 19:43:18 +08:00
|
|
|
AdjustWalletBalanceInBatchInput, AdjustWalletBalanceInput, AdminPaymentCallbackRecord,
|
|
|
|
|
AdminPaymentOrderListQuery, AdminRedeemCodeBatchListQuery, AdminRedeemCodeListQuery,
|
|
|
|
|
AdminUserWalletBalanceBatchContext, AdminUserWalletBalanceBatchUserOutcome,
|
|
|
|
|
AdminWalletLedgerQuery, AdminWalletListQuery, AdminWalletPaymentOrderRecord,
|
|
|
|
|
AdminWalletRefundRecord, AdminWalletRefundRequestListQuery, AdminWalletTransactionRecord,
|
|
|
|
|
CanonicalWalletRefundFields, CompareAndSwapPaymentOrderStripeClientSecretInput,
|
|
|
|
|
CompleteAdminWalletRefundInput, CreateAdminRedeemCodeBatchInput,
|
|
|
|
|
CreateAdminRedeemCodeBatchResult, CreateManualWalletRechargeInput,
|
|
|
|
|
CreatePlanPurchaseOrderInput, CreatePlanPurchaseOrderOutcome, CreateWalletRechargeOrderInput,
|
|
|
|
|
CreateWalletRechargeOrderOutcome, CreateWalletRefundRequestInput,
|
|
|
|
|
CreateWalletRefundRequestOutcome, CreatedAdminRedeemCodePlaintext,
|
|
|
|
|
CreditAdminPaymentOrderInput, DeleteAdminRedeemCodeBatchInput,
|
2026-04-17 10:07:52 +08:00
|
|
|
DisableAdminRedeemCodeBatchInput, DisableAdminRedeemCodeInput, FailAdminWalletRefundInput,
|
2026-09-23 19:43:18 +08:00
|
|
|
FailWalletRechargeCheckoutInput, InitializeAuthWalletOutcome,
|
|
|
|
|
PrepareAdminUserWalletBalanceBatchInput, PrepareAdminUserWalletBalanceBatchOutcome,
|
|
|
|
|
ProcessAdminWalletRefundInput, ProcessPaymentCallbackInput, ProcessPaymentCallbackOutcome,
|
|
|
|
|
ReclaimWalletRechargeCheckoutInput, RedeemWalletCodeInput, RedeemWalletCodeOutcome,
|
|
|
|
|
StoredAdminPaymentCallback, StoredAdminPaymentCallbackPage, StoredAdminPaymentOrder,
|
|
|
|
|
StoredAdminPaymentOrderPage, StoredAdminRedeemCode, StoredAdminRedeemCodeBatch,
|
|
|
|
|
StoredAdminRedeemCodeBatchPage, StoredAdminRedeemCodePage, StoredAdminUserWalletBalanceBatch,
|
|
|
|
|
StoredAdminWalletLedgerItem, StoredAdminWalletLedgerPage, StoredAdminWalletListItem,
|
|
|
|
|
StoredAdminWalletListPage, StoredAdminWalletRefund, StoredAdminWalletRefundPage,
|
|
|
|
|
StoredAdminWalletRefundRequestItem, StoredAdminWalletRefundRequestPage,
|
|
|
|
|
StoredAdminWalletTransaction, StoredAdminWalletTransactionPage, StoredWalletDailyUsageLedger,
|
2026-09-04 03:45:52 +08:00
|
|
|
StoredWalletDailyUsageLedgerPage, StoredWalletSnapshot, UpdateAdminWalletRefundGatewayInput,
|
|
|
|
|
UpdateWalletRechargeCheckoutInput, WalletLookupKey, WalletMutationOutcome,
|
2026-07-15 23:47:19 +08:00
|
|
|
WalletReadRepository, WalletReadSeed, WalletReadSnapshot, WalletRepository,
|
2026-09-04 03:45:52 +08:00
|
|
|
WalletWriteRepository, WALLET_RECHARGE_CHECKOUT_CLAIM_LEASE_SECS,
|
2026-03-31 19:19:04 +08:00
|
|
|
};
|
2026-07-15 23:47:19 +08:00
|
|
|
#[cfg(feature = "postgres")]
|
|
|
|
|
pub use aether_data_postgres::SqlxWalletRepository;
|
|
|
|
|
pub use memory::InMemoryWalletRepository;
|