feat(domain-events): add refund requested event
This commit is contained in:
parent
eec76a7ec3
commit
7e95eea337
4 changed files with 15 additions and 0 deletions
|
@ -22,5 +22,6 @@ export enum EmailMessageIdentifier {
|
|||
SEND_INVOICE = 'SEND_INVOICE',
|
||||
DISCOUNT_NOTICE = 'DISCOUNT_NOTICE',
|
||||
REFUND_NOTICE = 'REFUND_NOTICE',
|
||||
REFUND_REQUESTED = 'REFUND_REQUESTED',
|
||||
RATE_ADJUSTMENT_NOTICE = 'RATE_ADJUSTMENT_NOTICE',
|
||||
}
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
import { DomainEventInterface } from './DomainEventInterface'
|
||||
|
||||
import { RefundRequestedEventPayload } from './RefundRequestedEventPayload'
|
||||
|
||||
export interface RefundRequestedEvent extends DomainEventInterface {
|
||||
type: 'REFUND_REQUESTED'
|
||||
payload: RefundRequestedEventPayload
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
export interface RefundRequestedEventPayload {
|
||||
userEmail: string
|
||||
refundProcessingLink: string
|
||||
}
|
|
@ -56,6 +56,8 @@ export * from './Event/PredicateVerificationRequestedEvent'
|
|||
export * from './Event/PredicateVerificationRequestedEventPayload'
|
||||
export * from './Event/PredicateVerifiedEvent'
|
||||
export * from './Event/PredicateVerifiedEventPayload'
|
||||
export * from './Event/RefundRequestedEvent'
|
||||
export * from './Event/RefundRequestedEventPayload'
|
||||
export * from './Event/RefundProcessedEvent'
|
||||
export * from './Event/RefundProcessedEventPayload'
|
||||
export * from './Event/SharedSubscriptionInvitationCanceledEvent'
|
||||
|
|
Loading…
Reference in a new issue