mirror of
https://github.com/bitwarden/server.git
synced 2025-07-01 08:02:49 -05:00
api endpoints for seats, upgrade, and cancel org
This commit is contained in:
@ -0,0 +1,10 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Bit.Core.Models.Api
|
||||
{
|
||||
public class OrganizationSeatRequestModel
|
||||
{
|
||||
[Required]
|
||||
public int? SeatAdjustment { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
using Bit.Core.Enums;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Bit.Core.Models.Api
|
||||
{
|
||||
public class OrganizationUpgradeRequestModel
|
||||
{
|
||||
public PlanType PlanType { get; set; }
|
||||
[Range(0, double.MaxValue)]
|
||||
public short AdditionalSeats { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user