feat(domain-events): add email campaign send out requested event

This commit is contained in:
Karol Sójko 2023-11-23 10:13:00 +01:00
parent 4e1bae6daf
commit 45bd00919c
No known key found for this signature in database
GPG key ID: C2F813669419D05F
3 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,7 @@
import { DomainEventInterface } from './DomainEventInterface'
import { EmailCampaignSendOutRequestedEventPayload } from './EmailCampaignSendOutRequestedEventPayload'
export interface EmailCampaignSendOutRequestedEvent extends DomainEventInterface {
type: 'EMAIL_CAMPAIGN_SEND_OUT_REQUESTED'
payload: EmailCampaignSendOutRequestedEventPayload
}

View file

@ -0,0 +1,5 @@
export interface EmailCampaignSendOutRequestedEventPayload {
limit: number
page: number
campaignFileName: string
}

View file

@ -16,6 +16,8 @@ export * from './Event/EmailBackupRequestedEvent'
export * from './Event/EmailBackupRequestedEventPayload'
export * from './Event/EmailBouncedEvent'
export * from './Event/EmailBouncedEventPayload'
export * from './Event/EmailCampaignSendOutRequestedEvent'
export * from './Event/EmailCampaignSendOutRequestedEventPayload'
export * from './Event/EmailRequestedEvent'
export * from './Event/EmailRequestedEventPayload'
export * from './Event/EmailSubscriptionUnsubscribedEvent'