update license apis

This commit is contained in:
Kyle Spearrin 2018-07-02 09:53:43 -04:00
parent 20622db73c
commit 5b5d3069a9
2 changed files with 5 additions and 0 deletions

View File

@ -71,6 +71,7 @@ export abstract class ApiService {
postCancelPremium: () => Promise<any>;
postAccountStorage: (request: StorageRequest) => Promise<any>;
postAccountPayment: (request: PaymentRequest) => Promise<any>;
postAccountLicense: (data: FormData) => Promise<any>;
postFolder: (request: FolderRequest) => Promise<FolderResponse>;
putFolder: (id: string, request: FolderRequest) => Promise<FolderResponse>;
deleteFolder: (id: string) => Promise<any>;

View File

@ -212,6 +212,10 @@ export class ApiService implements ApiServiceAbstraction {
return this.send('POST', '/accounts/payment', request, true, false);
}
postAccountLicense(data: FormData): Promise<any> {
return this.send('POST', '/accounts/license', data, true, false);
}
// Folder APIs
async postFolder(request: FolderRequest): Promise<FolderResponse> {