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/dashboardContactCalls.ts
var a = async (a) => n.post(`${t}${e.ROUTES.addDashboardContact}`, { contact: a }, { headers: i(r) }), o = async (a) => n.post(`${t}${e.ROUTES.deleteDashboardContact}`, { contact: a }, { headers: i(r) }), s = async (a, o) => n.post(`${t}${e.ROUTES.updateDashboardContact}`, {
	contact: a,
	contactToEditAddress: o
}, { headers: i(r) }), c = async () => n.get(`${t}${e.ROUTES.getDashboardContacts}`, { headers: i(r) });
//#endregion
export { a as addDashboardContact, o as deleteDashboardContact, c as getDashboardContacts, s as updateDashboardContact };
