Skip to content

Commit be83398

Browse files
committed
feat!: subscription support (wip)
1 parent 3251a46 commit be83398

7 files changed

Lines changed: 669 additions & 100 deletions

File tree

dist/plusauth-rest-js.cjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,12 @@ var TenantService = class extends HttpService {
446446
async updateSettings(tenant_id, data) {
447447
return this.http.patch(`/tenants/${tenant_id}/settings`, data);
448448
}
449+
async getSubscription(tenant_id) {
450+
return this.http.get(`/tenants/${tenant_id}/subscription`);
451+
}
452+
async updateSubscription(tenant_id, data) {
453+
return this.http.patch(`/tenants/${tenant_id}/subscription`, data);
454+
}
449455
};
450456

451457
// src/api/users.ts

0 commit comments

Comments
 (0)