feat(companies): add notes and history to company details (#14401)

This commit is contained in:
Sojan Jose
2026-05-11 23:15:25 +05:30
committed by GitHub
parent f6be0d80ef
commit 086aa36ffe
16 changed files with 440 additions and 31 deletions
@@ -28,6 +28,14 @@ class CompanyAPI extends ApiClient {
return axios.get(`${this.url}/${id}/contacts?${buildParams({ page })}`);
}
listNotes(id) {
return axios.get(`${this.url}/${id}/notes`);
}
listConversations(id) {
return axios.get(`${this.url}/${id}/conversations`);
}
searchContacts(id, query = '', page = 1) {
const requestURL = `${this.url}/${id}/contacts/search?${buildParams({ q: query, page })}`;
return axios.get(requestURL);