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.addDashboardContact}`,{contact:a},{headers:i.getAuthHeaders(r.HINKAL_DASHBOARD_TOKEN)}),o=async a=>n.httpClient.post(`${t.SERVER_URL}${e.API_CONFIG.ROUTES.deleteDashboardContact}`,{contact:a},{headers:i.getAuthHeaders(r.HINKAL_DASHBOARD_TOKEN)}),s=async(a,o)=>n.httpClient.post(`${t.SERVER_URL}${e.API_CONFIG.ROUTES.updateDashboardContact}`,{contact:a,contactToEditAddress:o},{headers:i.getAuthHeaders(r.HINKAL_DASHBOARD_TOKEN)}),c=async()=>n.httpClient.get(`${t.SERVER_URL}${e.API_CONFIG.ROUTES.getDashboardContacts}`,{headers:i.getAuthHeaders(r.HINKAL_DASHBOARD_TOKEN)});exports.addDashboardContact=a,exports.deleteDashboardContact=o,exports.getDashboardContacts=c,exports.updateDashboardContact=s;