Restructure omni services and add Chatwoot research snapshot
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
/* global axios */
|
||||
import ApiClient from './ApiClient';
|
||||
|
||||
class InboxMembers extends ApiClient {
|
||||
constructor() {
|
||||
super('inbox_members', { accountScoped: true });
|
||||
}
|
||||
|
||||
update({ inboxId, agentList }) {
|
||||
return axios.patch(this.url, {
|
||||
inbox_id: inboxId,
|
||||
user_ids: agentList,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
export default new InboxMembers();
|
||||
Reference in New Issue
Block a user