mirror of
https://github.com/bitwarden/server
synced 2026-01-07 02:53:38 +00:00
[AC-1910] Allocate seats to a provider organization (#3936)
* Add endpoint to update a provider organization's seats for consolidated billing. * Fixed failing tests
This commit is contained in:
@@ -27,6 +27,7 @@ public record ProviderSubscriptionDTO(
|
||||
plan.Name,
|
||||
providerPlan.SeatMinimum,
|
||||
providerPlan.PurchasedSeats,
|
||||
providerPlan.AssignedSeats,
|
||||
cost,
|
||||
cadence);
|
||||
});
|
||||
@@ -43,5 +44,6 @@ public record ProviderPlanDTO(
|
||||
string PlanName,
|
||||
int SeatMinimum,
|
||||
int PurchasedSeats,
|
||||
int AssignedSeats,
|
||||
decimal Cost,
|
||||
string Cadence);
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace Bit.Api.Billing.Models;
|
||||
|
||||
public class UpdateProviderOrganizationRequestBody
|
||||
{
|
||||
public int AssignedSeats { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user