Files
mic-check/src/api/MicCheck.Api/Webhooks/WebhookEvent.cs
James Wampler 6887d09f9c version-0.1 (#1)
Squash and merge of version-0.1

Co-authored-by: James Wampler <james@wamp.dev>
Co-committed-by: James Wampler <james@wamp.dev>
2026-07-01 13:30:07 -07:00

17 lines
467 B
C#
Executable File

namespace MicCheck.Api.Webhooks;
public class WebhookEvent
{
public required string EventType { get; init; }
public int? EnvironmentId { get; init; }
public int OrganizationId { get; init; }
public required object Data { get; init; }
}
public static class WebhookEventTypes
{
public const string FlagUpdated = "FLAG_UPDATED";
public const string FlagDeleted = "FLAG_DELETED";
public const string AuditLogCreated = "AUDIT_LOG_CREATED";
}