feat: Changes account creation to support multiple steps (#8859)

* feat: Changes account creation to support multiple steps

* Adds API changes and new routes

* Fixes type
This commit is contained in:
Nithin David Thomas
2024-02-08 02:02:02 -08:00
committed by GitHub
parent 17cb938bc8
commit a649c2733f
6 changed files with 49 additions and 10 deletions
+8
View File
@@ -1,9 +1,17 @@
/* 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();