mirror of
https://github.com/bitwarden/server.git
synced 2025-04-30 17:22:20 -05:00

* [NO LOGIC] Rename MultiOrganizationEnterprise to BusinessUnit * [Core] Add IMailService.SendBusinessUnitConversionInviteAsync * [Core] Add BusinessUnitConverter * [Admin] Add new permission * [Admin] Add BusinessUnitConverterController * [Admin] Add Convert to Business Unit button to Organization edit page * [Api] Add OrganizationBillingController.SetupBusinessUnitAsync action * [Multi] Propagate provider type to sync response * [Multi] Put updates behind feature flag * [Tests] BusinessUnitConverterTests * Run dotnet format * Fixing post-main merge compilation failure
19 lines
369 B
C#
19 lines
369 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Bit.Api.Billing.Models.Requests;
|
|
|
|
public class SetupBusinessUnitRequestBody
|
|
{
|
|
[Required]
|
|
public Guid UserId { get; set; }
|
|
|
|
[Required]
|
|
public string Token { get; set; }
|
|
|
|
[Required]
|
|
public string ProviderKey { get; set; }
|
|
|
|
[Required]
|
|
public string OrganizationKey { get; set; }
|
|
}
|