| | | 1 | | namespace RoleRadar.Domain.Audit; |
| | | 2 | | |
| | | 3 | | public sealed record PostingAuditSummary( |
| | | 4 | | Guid PostingId, |
| | | 5 | | IReadOnlyList<string> ChangedFieldNames, |
| | | 6 | | string? PriorDisposition = null, |
| | | 7 | | string? NewDisposition = null, |
| | | 8 | | string? Reason = null, |
| | | 9 | | DateTimeOffset Timestamp = default); |
| | | 10 | | |
| | 202 | 11 | | public sealed record CompanyAuditSummary( |
| | 4 | 12 | | Guid CompanyId, |
| | 200 | 13 | | IReadOnlyList<string> ChangedFieldNames, |
| | 2 | 14 | | string Action, |
| | 400 | 15 | | DateTimeOffset Timestamp = default); |
| | | 16 | | |
| | | 17 | | public sealed record CriterionAuditSummary( |
| | | 18 | | Guid CriterionId, |
| | | 19 | | string Key, |
| | | 20 | | string Action, |
| | | 21 | | DateTimeOffset Timestamp = default); |
| | | 22 | | |
| | | 23 | | public sealed record ApplicationAuditSummary( |
| | | 24 | | Guid ApplicationId, |
| | | 25 | | Guid PostingId, |
| | | 26 | | string Action, |
| | | 27 | | DateTimeOffset Timestamp = default); |
| | | 28 | | |
| | | 29 | | /// <summary> |
| | | 30 | | /// Audit summary for contact operations strictly containing changed field names and record IDs, |
| | | 31 | | /// never personal data (names, roles, or companies) per FR-031. |
| | | 32 | | /// </summary> |
| | | 33 | | public sealed record ContactAuditContentSummary( |
| | | 34 | | Guid ContactId, |
| | | 35 | | IReadOnlyList<string> ChangedFieldNames, |
| | | 36 | | bool IsRedacted, |
| | | 37 | | DateTimeOffset Timestamp = default); |