feat: update the design

This commit is contained in:
Muhsin
2025-10-28 18:16:04 +05:30
parent 2c9208c6a2
commit 742c1aad47
4 changed files with 215 additions and 9 deletions
+10
View File
@@ -32,6 +32,16 @@ class Inboxes extends CacheEnabledApiClient {
syncTemplates(inboxId) {
return axios.post(`${this.url}/${inboxId}/sync_templates`);
}
createCSATTemplate(inboxId, template) {
return axios.post(`${this.url}/${inboxId}/create_csat_template`, {
template,
});
}
getCSATTemplateStatus(inboxId) {
return axios.get(`${this.url}/${inboxId}/csat_template_status`);
}
}
export default new Inboxes();