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:
+13
@@ -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; }
|
||||
}
|
||||
+10
@@ -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; }
|
||||
}
|
||||
Reference in New Issue
Block a user