mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 07:36:14 -05:00
subscription renewal reminder emails
This commit is contained in:
@ -1,18 +0,0 @@
|
||||
using System;
|
||||
using Bit.Core.Models.Table;
|
||||
|
||||
namespace Bit.Core.Models.Api
|
||||
{
|
||||
public class AuthTokenResponseModel : ResponseModel
|
||||
{
|
||||
public AuthTokenResponseModel(string token, User user = null)
|
||||
: base("authToken")
|
||||
{
|
||||
Token = token;
|
||||
Profile = user == null ? null : new ProfileResponseModel(user, null);
|
||||
}
|
||||
|
||||
public string Token { get; set; }
|
||||
public ProfileResponseModel Profile { get; set; }
|
||||
}
|
||||
}
|
13
src/Core/Models/Mail/InvoiceUpcomingViewModel.cs
Normal file
13
src/Core/Models/Mail/InvoiceUpcomingViewModel.cs
Normal file
@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Bit.Core.Models.Mail
|
||||
{
|
||||
public class InvoiceUpcomingViewModel : BaseMailModel
|
||||
{
|
||||
public decimal AmountDue { get; set; }
|
||||
public DateTime DueDate { get; set; }
|
||||
public List<string> Items { get; set; }
|
||||
public bool MentionInvoices { get; set; }
|
||||
}
|
||||
}
|
@ -6,6 +6,7 @@ namespace Bit.Core.Models.Mail
|
||||
{
|
||||
public string Subject { get; set; }
|
||||
public IEnumerable<string> ToEmails { get; set; }
|
||||
public IEnumerable<string> BccEmails { get; set; }
|
||||
public string HtmlContent { get; set; }
|
||||
public string TextContent { get; set; }
|
||||
public IDictionary<string, object> MetaData { get; set; }
|
||||
|
Reference in New Issue
Block a user