package provider import ( "context" "git.toki-labs.com/toki/gito/services/core/internal/core" ) type ChangeRequestAdapter interface { CreateChangeRequest(ctx context.Context, input core.ChangeRequest) (core.ChangeRequest, error) UpdateChangeRequest(ctx context.Context, input core.ChangeRequest) (core.ChangeRequest, error) CommentChangeRequest(ctx context.Context, id string, body string) error CloseChangeRequest(ctx context.Context, id string) error } type WebhookEvent struct { Provider string EventType string ExternalID string Payload []byte }