mirror of
https://github.com/bitwarden/browser.git
synced 2025-02-21 02:11:54 +01:00
payment response for adjust seats
This commit is contained in:
parent
de9bcac0ec
commit
4f876fc222
@ -243,7 +243,7 @@ export abstract class ApiService {
|
||||
postOrganizationApiKey: (id: string, request: PasswordVerificationRequest) => Promise<ApiKeyResponse>;
|
||||
postOrganizationRotateApiKey: (id: string, request: PasswordVerificationRequest) => Promise<ApiKeyResponse>;
|
||||
postOrganizationUpgrade: (id: string, request: OrganizationUpgradeRequest) => Promise<PaymentResponse>;
|
||||
postOrganizationSeat: (id: string, request: SeatRequest) => Promise<any>;
|
||||
postOrganizationSeat: (id: string, request: SeatRequest) => Promise<PaymentResponse>;
|
||||
postOrganizationStorage: (id: string, request: StorageRequest) => Promise<any>;
|
||||
postOrganizationPayment: (id: string, request: PaymentRequest) => Promise<any>;
|
||||
postOrganizationVerifyBank: (id: string, request: VerifyBankRequest) => Promise<any>;
|
||||
|
@ -788,8 +788,9 @@ export class ApiService implements ApiServiceAbstraction {
|
||||
return new PaymentResponse(r);
|
||||
}
|
||||
|
||||
postOrganizationSeat(id: string, request: SeatRequest): Promise<any> {
|
||||
return this.send('POST', '/organizations/' + id + '/seat', request, true, false);
|
||||
async postOrganizationSeat(id: string, request: SeatRequest): Promise<PaymentResponse> {
|
||||
const r = await this.send('POST', '/organizations/' + id + '/seat', request, true, true);
|
||||
return new PaymentResponse(r);
|
||||
}
|
||||
|
||||
async postOrganizationStorage(id: string, request: StorageRequest): Promise<PaymentResponse> {
|
||||
|
Loading…
Reference in New Issue
Block a user