diff --git a/src/abstractions/api.service.ts b/src/abstractions/api.service.ts index ffb6ecb279..3c7857af64 100644 --- a/src/abstractions/api.service.ts +++ b/src/abstractions/api.service.ts @@ -205,6 +205,7 @@ export abstract class ApiService { putOrganization: (id: string, request: OrganizationUpdateRequest) => Promise; postLeaveOrganization: (id: string) => Promise; postOrganizationLicense: (data: FormData) => Promise; + postOrganizationLicenseUpdate: (id: string, data: FormData) => Promise postOrganizationSeat: (id: string, request: SeatRequest) => Promise; postOrganizationStorage: (id: string, request: StorageRequest) => Promise; postOrganizationPayment: (id: string, request: PaymentRequest) => Promise; diff --git a/src/services/api.service.ts b/src/services/api.service.ts index f035ad0aec..8226d26047 100644 --- a/src/services/api.service.ts +++ b/src/services/api.service.ts @@ -669,6 +669,10 @@ export class ApiService implements ApiServiceAbstraction { return new OrganizationResponse(r); } + async postOrganizationLicenseUpdate(id: string, data: FormData): Promise { + return this.send('POST', '/organizations/' + id + '/license', data, true, false); + } + postOrganizationSeat(id: string, request: SeatRequest): Promise { return this.send('POST', '/organizations/' + id + '/seat', request, true, false); }