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:
@@ -0,0 +1,11 @@
|
||||
namespace HrynCo.NotificationService.DAL.Abstract.Templates;
|
||||
|
||||
public sealed class EmailTemplateDefinitionPatch
|
||||
{
|
||||
public Guid ServiceId { get; init; }
|
||||
public required string Key { get; init; }
|
||||
public Guid? Revision { get; init; }
|
||||
public required IReadOnlyList<EmailTemplateVariable> Variables { get; init; }
|
||||
public required IReadOnlyList<EmailTemplate> Translations { get; init; }
|
||||
public IReadOnlyList<string> RemoveLanguageCodes { get; init; } = [];
|
||||
}
|
||||
Reference in New Issue
Block a user