mirror of
https://github.com/bitwarden/browser
synced 2024-12-28 02:43:04 +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>;
|
postCancelPremium: () => Promise<any>;
|
||||||
postAccountStorage: (request: StorageRequest) => Promise<any>;
|
postAccountStorage: (request: StorageRequest) => Promise<any>;
|
||||||
postAccountPayment: (request: PaymentRequest) => Promise<any>;
|
postAccountPayment: (request: PaymentRequest) => Promise<any>;
|
||||||
|
postAccountLicense: (data: FormData) => Promise<any>;
|
||||||
postFolder: (request: FolderRequest) => Promise<FolderResponse>;
|
postFolder: (request: FolderRequest) => Promise<FolderResponse>;
|
||||||
putFolder: (id: string, request: FolderRequest) => Promise<FolderResponse>;
|
putFolder: (id: string, request: FolderRequest) => Promise<FolderResponse>;
|
||||||
deleteFolder: (id: string) => Promise<any>;
|
deleteFolder: (id: string) => Promise<any>;
|
||||||
|
@ -212,6 +212,10 @@ export class ApiService implements ApiServiceAbstraction {
|
|||||||
return this.send('POST', '/accounts/payment', request, true, false);
|
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
|
// Folder APIs
|
||||||
|
|
||||||
async postFolder(request: FolderRequest): Promise<FolderResponse> {
|
async postFolder(request: FolderRequest): Promise<FolderResponse> {
|
||||||
|
Loading…
Reference in New Issue
Block a user