mirror of
https://github.com/bitwarden/server.git
synced 2025-07-01 16:12:49 -05:00

* Add PlanSponsorshipType to static store * Add sponsorship type to token and creates sponsorship * PascalCase properties * Require sponsorship for remove * Create subscription sponsorship helper class * Handle Sponsored subscription changes * Add sponsorship id to subscription metadata * Make sponsoring references nullable This state indicates that a sponsorship has lapsed, but was not able to be reverted for billing reasons * WIP: Validate and remove subscriptions * Update sponsorships on organization and org user delete * Add friendly name to organization sponsorship
39 lines
1.5 KiB
C#
39 lines
1.5 KiB
C#
using System;
|
|
|
|
namespace Bit.Core.Models.Data
|
|
{
|
|
public class OrganizationUserOrganizationDetails
|
|
{
|
|
public Guid OrganizationId { get; set; }
|
|
public Guid? UserId { get; set; }
|
|
public string Name { get; set; }
|
|
public bool UsePolicies { get; set; }
|
|
public bool UseSso { get; set; }
|
|
public bool UseGroups { get; set; }
|
|
public bool UseDirectory { get; set; }
|
|
public bool UseEvents { get; set; }
|
|
public bool UseTotp { get; set; }
|
|
public bool Use2fa { get; set; }
|
|
public bool UseApi{ get; set; }
|
|
public bool UseResetPassword { get; set; }
|
|
public bool SelfHost { get; set; }
|
|
public bool UsersGetPremium { get; set; }
|
|
public int? Seats { get; set; }
|
|
public short? MaxCollections { get; set; }
|
|
public short? MaxStorageGb { get; set; }
|
|
public string Key { get; set; }
|
|
public Enums.OrganizationUserStatusType Status { get; set; }
|
|
public Enums.OrganizationUserType Type { get; set; }
|
|
public bool Enabled { get; set; }
|
|
public string SsoExternalId { get; set; }
|
|
public string Identifier { get; set; }
|
|
public string Permissions { get; set; }
|
|
public string ResetPasswordKey { get; set; }
|
|
public string PublicKey { get; set; }
|
|
public string PrivateKey { get; set; }
|
|
public Guid? ProviderId { get; set; }
|
|
public string ProviderName { get; set; }
|
|
public string FamilySponsorshipFriendlyName { get; set; }
|
|
}
|
|
}
|