feat(domain-events): add email campaign send out requested event
This commit is contained in:
parent
4e1bae6daf
commit
45bd00919c
3 changed files with 14 additions and 0 deletions
|
@ -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
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
export interface EmailCampaignSendOutRequestedEventPayload {
|
||||
limit: number
|
||||
page: number
|
||||
campaignFileName: string
|
||||
}
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue