mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-24 16:49:26 +01:00
org update license api
This commit is contained in:
parent
f35ecf0cd8
commit
493770510f
@ -205,6 +205,7 @@ export abstract class ApiService {
|
||||
putOrganization: (id: string, request: OrganizationUpdateRequest) => Promise<OrganizationResponse>;
|
||||
postLeaveOrganization: (id: string) => Promise<any>;
|
||||
postOrganizationLicense: (data: FormData) => Promise<OrganizationResponse>;
|
||||
postOrganizationLicenseUpdate: (id: string, data: FormData) => Promise<any>
|
||||
postOrganizationSeat: (id: string, request: SeatRequest) => Promise<any>;
|
||||
postOrganizationStorage: (id: string, request: StorageRequest) => Promise<any>;
|
||||
postOrganizationPayment: (id: string, request: PaymentRequest) => Promise<any>;
|
||||
|
@ -669,6 +669,10 @@ export class ApiService implements ApiServiceAbstraction {
|
||||
return new OrganizationResponse(r);
|
||||
}
|
||||
|
||||
async postOrganizationLicenseUpdate(id: string, data: FormData): Promise<any> {
|
||||
return this.send('POST', '/organizations/' + id + '/license', data, true, false);
|
||||
}
|
||||
|
||||
postOrganizationSeat(id: string, request: SeatRequest): Promise<any> {
|
||||
return this.send('POST', '/organizations/' + id + '/seat', request, true, false);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user