feat(notification): add admin rest management and deletion

Add revision-safe service and template APIs, channel mapping, and validated admin controls.

Ref: IT-1601
This commit is contained in:
2026-10-17 22:51:01 +03:00
parent 81654c0d33
commit 8e81572386
80 changed files with 2253 additions and 54 deletions
@@ -0,0 +1,13 @@
namespace HrynCo.NotificationService.Web.Controllers.Admin.ViewModels;
public sealed class EmailTemplateDefinitionDeleteViewModel
{
public Guid ServiceId { get; init; }
public Guid DefinitionId { get; init; }
public string ServiceName { get; init; } = "";
public string Key { get; init; } = "";
public Guid Revision { get; set; }
public string? KeyFilter { get; set; }
public IReadOnlyList<string> LanguageCodes { get; init; } = [];
public bool ConfirmDelete { get; set; }
}
@@ -0,0 +1,10 @@
namespace HrynCo.NotificationService.Web.Controllers.Admin.ViewModels;
public sealed class NotificationServiceDeleteViewModel
{
public Guid ServiceId { get; init; }
public string Name { get; init; } = "";
public Guid Revision { get; set; }
public int DefinitionCount { get; init; }
public bool ConfirmDelete { get; set; }
}