You've already forked AstralRinth
forked from didirus/AstralRinth
17f395ee55
* wip: muralpay integration * Basic Mural Pay API bindings * Fix clippy * use dotenvy in muralpay example * Refactor payout creation code * wip: muralpay payout requests * Mural Pay payouts work * Fix clippy * add mural pay fees API * Work on payout fee API * Fees API for more payment methods * Fix CI * Temporarily disable Venmo and PayPal methods from frontend * wip: counterparties * Start on counterparties and payment methods API * Mural Pay multiple methods when fetching * Don't send supported_countries to frontend * Add countries to muralpay fiat methods * Compile fix * Add exchange rate info to fees endpoint * Add fees to premium Tremendous options * Add delivery email field to Tremendous payouts * Add Tremendous product category to payout methods * Add bank details API to muralpay * Fix CI * Fix CI * Remove prepaid visa, compute fees properly for Tremendous methods * Add more details to Tremendous errors * Add fees to Mural * Payout history route and bank details * Re-add legacy PayPal/Venmo options for US * move the mural bank details route * Add utoipa support to payout endpoints * address some PR comments * add CORS to new utoipa routes * Immediately approve mural payouts * Add currency support to Tremendous payouts * Currency forex * add forex to tremendous fee request * Add Mural balance to bank balance info * Add more Tremendous currencies support * Transaction payouts available use the correct date * Address my own review comment * Address PR comments * Change Mural withdrawal limit to 3k * maybe fix tremendous gift cards * Change how Mural minimum withdrawals are calculated * Tweak min/max withdrawal values --------- Co-authored-by: Calum H. <contact@cal.engineer> Co-authored-by: Alejandro González <me@alegon.dev>
39 lines
1.0 KiB
Rust
39 lines
1.0 KiB
Rust
pub(crate) mod admin;
|
|
pub mod affiliate;
|
|
pub mod billing;
|
|
pub mod external_notifications;
|
|
pub mod flows;
|
|
pub mod gdpr;
|
|
pub mod gotenberg;
|
|
pub mod medal;
|
|
pub mod moderation;
|
|
pub mod mural;
|
|
pub mod pats;
|
|
pub mod session;
|
|
pub mod statuses;
|
|
|
|
pub use super::ApiError;
|
|
use super::v3::oauth_clients;
|
|
use crate::util::cors::default_cors;
|
|
|
|
pub fn config(cfg: &mut actix_web::web::ServiceConfig) {
|
|
cfg.service(
|
|
actix_web::web::scope("_internal")
|
|
.wrap(default_cors())
|
|
.configure(admin::config)
|
|
.configure(oauth_clients::config)
|
|
.configure(session::config)
|
|
.configure(flows::config)
|
|
.configure(pats::config)
|
|
.configure(moderation::config)
|
|
.configure(billing::config)
|
|
.configure(gdpr::config)
|
|
.configure(gotenberg::config)
|
|
.configure(statuses::config)
|
|
.configure(medal::config)
|
|
.configure(external_notifications::config)
|
|
.configure(affiliate::config)
|
|
.configure(mural::config),
|
|
);
|
|
}
|