mirror of
https://github.com/bitwarden/server
synced 2025-12-25 20:53:16 +00:00
Revert filescoped (#2227)
* Revert "Add git blame entry (#2226)" This reverts commit239286737d. * Revert "Turn on file scoped namespaces (#2225)" This reverts commit34fb4cca2a.
This commit is contained in:
@@ -1,27 +1,28 @@
|
||||
namespace Bit.Billing.Models;
|
||||
|
||||
public class BitPayEventModel
|
||||
namespace Bit.Billing.Models
|
||||
{
|
||||
public EventModel Event { get; set; }
|
||||
public InvoiceDataModel Data { get; set; }
|
||||
|
||||
public class EventModel
|
||||
public class BitPayEventModel
|
||||
{
|
||||
public int Code { get; set; }
|
||||
public string Name { get; set; }
|
||||
}
|
||||
public EventModel Event { get; set; }
|
||||
public InvoiceDataModel Data { get; set; }
|
||||
|
||||
public class InvoiceDataModel
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public string Url { get; set; }
|
||||
public string Status { get; set; }
|
||||
public string Currency { get; set; }
|
||||
public decimal Price { get; set; }
|
||||
public string PosData { get; set; }
|
||||
public bool ExceptionStatus { get; set; }
|
||||
public long CurrentTime { get; set; }
|
||||
public long AmountPaid { get; set; }
|
||||
public string TransactionCurrency { get; set; }
|
||||
public class EventModel
|
||||
{
|
||||
public int Code { get; set; }
|
||||
public string Name { get; set; }
|
||||
}
|
||||
|
||||
public class InvoiceDataModel
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public string Url { get; set; }
|
||||
public string Status { get; set; }
|
||||
public string Currency { get; set; }
|
||||
public decimal Price { get; set; }
|
||||
public string PosData { get; set; }
|
||||
public bool ExceptionStatus { get; set; }
|
||||
public long CurrentTime { get; set; }
|
||||
public long AmountPaid { get; set; }
|
||||
public string TransactionCurrency { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,15 +1,16 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Bit.Billing.Models;
|
||||
|
||||
public class FreshdeskWebhookModel
|
||||
namespace Bit.Billing.Models
|
||||
{
|
||||
[JsonPropertyName("ticket_id")]
|
||||
public string TicketId { get; set; }
|
||||
public class FreshdeskWebhookModel
|
||||
{
|
||||
[JsonPropertyName("ticket_id")]
|
||||
public string TicketId { get; set; }
|
||||
|
||||
[JsonPropertyName("ticket_contact_email")]
|
||||
public string TicketContactEmail { get; set; }
|
||||
[JsonPropertyName("ticket_contact_email")]
|
||||
public string TicketContactEmail { get; set; }
|
||||
|
||||
[JsonPropertyName("ticket_tags")]
|
||||
public string TicketTags { get; set; }
|
||||
[JsonPropertyName("ticket_tags")]
|
||||
public string TicketTags { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Bit.Billing.Models;
|
||||
|
||||
public class LoginModel
|
||||
namespace Bit.Billing.Models
|
||||
{
|
||||
[Required]
|
||||
[EmailAddress]
|
||||
public string Email { get; set; }
|
||||
public class LoginModel
|
||||
{
|
||||
[Required]
|
||||
[EmailAddress]
|
||||
public string Email { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user