const e=require(`../constants/server.constants.cjs`),t=require(`./getServerURL.cjs`),n=require(`../data-structures/http/HttpClient.cjs`);require(`../data-structures/http/index.cjs`);const r=require(`../constants/auth.constants.cjs`),i=require(`../functions/utils/auth.utils.cjs`);var a=async a=>n.httpClient.post(`${t.SERVER_URL}${e.API_CONFIG.ROUTES.updateUserProfile}`,a,{headers:i.getAuthHeaders(r.HINKAL_DASHBOARD_TOKEN)}),o=async({email:a,username:o})=>n.httpClient.post(`${t.SERVER_URL}${e.API_CONFIG.ROUTES.sendDashboardInvitationEmail}`,{email:a,username:o},{headers:i.getAuthHeaders(r.HINKAL_DASHBOARD_TOKEN)}),s=async({email:a})=>n.httpClient.post(`${t.SERVER_URL}${e.API_CONFIG.ROUTES.removeMember}`,{email:a},{headers:i.getAuthHeaders(r.HINKAL_DASHBOARD_TOKEN)}),c=async({email:a,newUsername:o})=>n.httpClient.post(`${t.SERVER_URL}${e.API_CONFIG.ROUTES.editMember}`,{email:a,newUsername:o},{headers:i.getAuthHeaders(r.HINKAL_DASHBOARD_TOKEN)});exports.editMember=c,exports.removeMember=s,exports.sendDashboardInvitationEmail=o,exports.updateUserProfile=a;