Initial commit

This commit is contained in:
Popov_Grigorii
2026-07-15 17:17:03 +03:00
commit cc078a2c8d
94 changed files with 76773 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
namespace ListmonkIntegration.Models
{
public class ListInfo
{
public int Id { get; set; }
public string Name { get; set; } = string.Empty;
public int SubscriberCount { get; set; }
}
}
@@ -0,0 +1,10 @@
namespace ListmonkIntegration.Models
{
public class ListmonkSettings
{
public string BaseUrl { get; set; } = "http://localhost:9000";
public string Username { get; set; } = "listmonk";
public string Password { get; set; } = "listmonk";
public string? ApiToken { get; set; }
}
}
+11
View File
@@ -0,0 +1,11 @@
namespace ListmonkIntegration.Models
{
public class Subscriber
{
public string Email { get; set; } = string.Empty;
public string FullName { get; set; } = string.Empty;
public string Login { get; set; } = string.Empty;
public string Password { get; set; } = string.Empty;
public Dictionary<string, string> Attributes { get; set; } = new();
}
}
@@ -0,0 +1,9 @@
namespace ListmonkIntegration.Models
{
public class TemplateInfo
{
public int Id { get; set; }
public string Name { get; set; } = string.Empty;
public string Subject { get; set; } = string.Empty;
}
}