Updated references from `Constants` to direct usage of `EnvelopeStatus` and `EmailTemplateType` enums. This change enhances code readability and reduces dependency on the `Constants` class. Modified properties and parameters across command classes, DTOs, repositories, and services to use the enums directly. Updated `ModifyDocStatusCommandBase`, `EnvelopeHistoryDto`, and `ResetEmailTemplateCommand` for improved clarity. Consistent updates across multiple files indicate a systematic refactoring aimed at streamlining the codebase and improving maintainability. Comments and documentation have also been revised to reflect these changes.
24 lines
1.5 KiB
C#
24 lines
1.5 KiB
C#
using EnvelopeGenerator.Domain.Constants;
|
|
|
|
namespace EnvelopeGenerator.Application.EmailTemplates;
|
|
|
|
/// <summary>
|
|
/// Repräsentiert eine Abfrage für E-Mail-Vorlagen, die für Absender und Empfänger von Umschlägen verwendet werden.
|
|
/// Die Standardkultur ist "de-DE".
|
|
/// </summary>
|
|
/// <param name="Id">Die eindeutige Kennung der E-Mail-Vorlage (optional).</param>
|
|
/// <param name="Type">Der Typ der E-Mail-Vorlage, z. B. <see cref="EmailTemplateType"/> (optional). Beispiele:
|
|
/// 0 - DocumentReceived: Benachrichtigung über den Empfang eines Dokuments.
|
|
/// 1 - DocumentSigned: Benachrichtigung über die Unterzeichnung eines Dokuments.
|
|
/// 2 - DocumentDeleted: Benachrichtigung über das Löschen eines Dokuments.
|
|
/// 3 - DocumentCompleted: Benachrichtigung über den Abschluss eines Dokuments.
|
|
/// 4 - DocumentAccessCodeReceived: Benachrichtigung über den Erhalt eines Zugangscodes.
|
|
/// 5 - DocumentShared: Benachrichtigung über das Teilen eines Dokuments.
|
|
/// 6 - TotpSecret: Benachrichtigung über ein TOTP-Geheimnis.
|
|
/// 7 - DocumentRejected_ADM (Für den Absender): Mail an den Absender, wenn das Dokument abgelehnt wird.
|
|
/// 8 - DocumentRejected_REC (Für den ablehnenden Empfänger): Mail an den ablehnenden Empfänger, wenn das Dokument abgelehnt wird.
|
|
/// 9 - DocumentRejected_REC_2 (Für sonstige Empfänger): Mail an andere Empfänger (Brief), wenn das Dokument abgelehnt wird.
|
|
/// </param>
|
|
public record EmailTemplateQuery(int? Id = null, EmailTemplateType? Type = null)
|
|
{
|
|
} |