import{e as a}from"./index-DYPGJs8A.js";function t(){return a.get({url:"/api/wallet/info"})}function e(t){return a.get({url:"/api/wallet/transactions",params:t})}function s(t){return a.post({url:"/api/wallet/withdraw",data:t,showSuccessMessage:!0})}function r(t){return a.get({url:"/api/wallet/withdrawals",params:t})}function n(){return a.get({url:"/api/wallet/withdrawal/settings"})}function u(t){return a.post({url:"/api/wallet/deposit/recharge",data:t,showSuccessMessage:!0})}function i(t){return a.post({url:"/api/wallet/deposit/withdraw",data:t,showSuccessMessage:!0})}function o(t){return a.post({url:"/api/wallet/operating/recharge",data:t,showSuccessMessage:!0})}function l(t){return a.post({url:"/api/wallet/operating/withdraw",data:t,showSuccessMessage:!0})}function c(t=!1){return a.get({url:"/api/payment/config/enabled",params:t?{for_deposit:1}:{}})}function p(t){const e="string"==typeof t?{order_no:t}:t;return a.get({url:"/api/payment/check",params:e})}function w(t){return a.get({url:"/api/payment/qrcode",params:{order_no:t}})}function d(){return a.get({url:"/api/wallet/withdrawal/accounts"})}function g(t){return a.post({url:"/api/wallet/withdrawal/account/add",data:t,showSuccessMessage:!0})}function f(t){return a.post({url:"/api/wallet/withdrawal/account/update",data:t,showSuccessMessage:!0})}function h(t){return a.post({url:"/api/wallet/withdrawal/account/delete",data:{id:t},showSuccessMessage:!0})}export{c as a,n as b,p as c,t as d,o as e,l as f,w as g,g as h,h as i,e as j,d as k,r as l,s as m,u as r,f as u,i as w};
