import{L as o,W as s}from"./index-CIAVq8iD-1776148658686.js";const n=async()=>{try{return await o("/team/bd/invite-bd-message-own")}catch(r){throw console.error("Failed to fetch get my BD:",r),console.error("error:"+r.response.errorMsg),r}},a=async r=>{try{return await s("/team/bd/invite-bd",r)}catch(e){throw console.error("Failed to invite to be BD:",e),console.error("error:"+e.response.errorMsg),e}},c=async r=>{try{return await s(`/team/bd/invite-bd-cancel/${r}`)}catch(e){throw console.error("Failed to cancel invite:",e),console.error("error:"+e.response.errorMsg),e}},i=async()=>{try{return await o("/team/bd/leader/history")}catch(r){throw console.error("Failed to fetch BD leader history:",r),console.error("error:"+r.response.errorMsg),r}},l=async r=>{try{return await o(`/team/bd/leader/history/more?billBelong=${r}`)}catch(e){throw console.error("Failed to fetch BD leader history more:",e),console.error("error:"+e.response.errorMsg),e}};export{i as a,a as b,c,l as g,n as i};
