mirror of
https://github.com/lingble/chatwoot.git
synced 2025-10-30 18:47:51 +00:00
18 lines
296 B
JavaScript
18 lines
296 B
JavaScript
/* global axios */
|
|
|
|
import ApiClient from './ApiClient';
|
|
|
|
class Agents extends ApiClient {
|
|
constructor() {
|
|
super('agents', { accountScoped: true });
|
|
}
|
|
|
|
bulkInvite({ emails }) {
|
|
return axios.post(`${this.url}/bulk_create`, {
|
|
emails,
|
|
});
|
|
}
|
|
}
|
|
|
|
export default new Agents();
|