2021-04-22 17:47:29 +00:00
|
|
|
/* global axios */
|
2019-12-28 16:26:42 +00:00
|
|
|
import ApiClient from './ApiClient';
|
|
|
|
|
|
|
|
class Inboxes extends ApiClient {
|
|
|
|
constructor() {
|
2020-03-09 17:57:10 +00:00
|
|
|
super('inboxes', { accountScoped: true });
|
2019-12-28 16:26:42 +00:00
|
|
|
}
|
2021-04-22 17:47:29 +00:00
|
|
|
|
|
|
|
getAssignableAgents(inboxId) {
|
|
|
|
return axios.get(`${this.url}/${inboxId}/assignable_agents`);
|
|
|
|
}
|
2019-12-28 16:26:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export default new Inboxes();
|