chore: Add Assignable Agents API (#4722)

This commit is contained in:
Pranav Raj S 2022-05-23 19:24:07 +05:30 committed by GitHub
parent 79280ae372
commit 56cd9bc0b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 134 additions and 15 deletions

View file

@ -0,0 +1,16 @@
/* global axios */
import ApiClient from './ApiClient';
class AssignableAgents extends ApiClient {
constructor() {
super('assignable_agents', { accountScoped: true });
}
get(inboxIds) {
return axios.get(this.url, {
params: { inbox_ids: inboxIds },
});
}
}
export default new AssignableAgents();