import { API_CONFIG as e } from "../constants/server.constants.mjs";
import { SERVER_URL as t } from "./getServerURL.mjs";
import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
import "../data-structures/http/index.mjs";
import { HINKAL_DASHBOARD_TOKEN as r } from "../constants/auth.constants.mjs";
import { getAuthHeaders as i } from "../functions/utils/auth.utils.mjs";
//#region libs/shared/common/src/API/dashboardAccountMemberCalls.ts
var a = async (a) => n.post(`${t}${e.ROUTES.updateUserProfile}`, a, { headers: i(r) }), o = async ({ email: a, username: o }) => n.post(`${t}${e.ROUTES.sendDashboardInvitationEmail}`, {
	email: a,
	username: o
}, { headers: i(r) }), s = async ({ email: a }) => n.post(`${t}${e.ROUTES.removeMember}`, { email: a }, { headers: i(r) }), c = async ({ email: a, newUsername: o }) => n.post(`${t}${e.ROUTES.editMember}`, {
	email: a,
	newUsername: o
}, { headers: i(r) });
//#endregion
export { c as editMember, s as removeMember, o as sendDashboardInvitationEmail, a as updateUserProfile };
