mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-24 12:06:15 +01:00
update license apis
This commit is contained in:
parent
20622db73c
commit
5b5d3069a9
@ -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>;
|
||||
|
@ -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> {
|
||||
|
Loading…
Reference in New Issue
Block a user