feat: Allow SaaS users to manage subscription within the dashboard (#5059)

This commit is contained in:
Pranav Raj S 2022-07-19 19:04:17 +05:30 committed by GitHub
parent 0cee42a9f9
commit 7fc0d166e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 773 additions and 18 deletions

View file

@ -0,0 +1,18 @@
/* global axios */
import ApiClient from '../ApiClient';
class EnterpriseAccountAPI extends ApiClient {
constructor() {
super('', { accountScoped: true, enterprise: true });
}
checkout() {
return axios.post(`${this.url}checkout`);
}
subscription() {
return axios.post(`${this.url}subscription`);
}
}
export default new EnterpriseAccountAPI();