import{_ as e}from"./index-CTxlYqj4.js";const s={getDefaultAddressBook(){return e.get("/address-books/default/")},synchronizeToAddressBook(){return e.get("/address-books/sync_to_cdav/")},synchronizeFromAddressBook(){return e.get("/address-books/sync_from_cdav/")},getContacts(t){return e.get("/contacts/",{params:t})},createContact(t){return e.post("/contacts/",t)},updateContact(t,r){return e.patch(`/contacts/${t}/`,r)},deleteContact(t){return e.delete(`/contacts/${t}/`)},getCategories(){return e.get("/categories/")},addCategory(t){return e.post("/categories/",t)},updateCategory(t,r){return e.patch(`/categories/${t}/`,r)},deleteCategory(t){return e.delete(`/categories/${t}/`)}};export{s as c};
