Squash and merge of version-0.1 Co-authored-by: James Wampler <james@wamp.dev> Co-committed-by: James Wampler <james@wamp.dev>
17 lines
467 B
C#
Executable File
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";
|
|
}
|