mirror of
https://github.com/standardnotes/server
synced 2026-10-16 18:13:09 -04:00
feat: add student discount requested event
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import { DomainEventInterface } from './DomainEventInterface'
|
||||
|
||||
import { StudentDiscountRequestedEventPayload } from './StudentDiscountRequestedEventPayload'
|
||||
|
||||
export interface StudentDiscountRequestedEvent extends DomainEventInterface {
|
||||
type: 'STUDENT_DISCOUNT_REQUESTED'
|
||||
payload: StudentDiscountRequestedEventPayload
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
export interface StudentDiscountRequestedEventPayload {
|
||||
studentEmail: string
|
||||
userEmail: string
|
||||
adminApprovalLink: string
|
||||
}
|
||||
@@ -54,6 +54,8 @@ export * from './Event/SharedSubscriptionInvitationCanceledEvent'
|
||||
export * from './Event/SharedSubscriptionInvitationCanceledEventPayload'
|
||||
export * from './Event/SharedSubscriptionInvitationCreatedEvent'
|
||||
export * from './Event/SharedSubscriptionInvitationCreatedEventPayload'
|
||||
export * from './Event/StudentDiscountRequestedEvent'
|
||||
export * from './Event/StudentDiscountRequestedEventPayload'
|
||||
export * from './Event/SubscriptionCancelledEvent'
|
||||
export * from './Event/SubscriptionCancelledEventPayload'
|
||||
export * from './Event/SubscriptionPurchasedEvent'
|
||||
|
||||
Reference in New Issue
Block a user