Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions types/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,12 @@ export type AccountUnfrozen = BaseEvent & {
relationships: BaseEventRelationships
}

export type ApplicationEvents = ApplicationCanceled | ApplicationDenied | ApplicationAwaitingDocuments | ApplicationPendingReview | ApplicationCreated
export type ApplicationEvents = ApplicationApproved | ApplicationCanceled | ApplicationDenied | ApplicationAwaitingDocuments | ApplicationPendingReview | ApplicationCreated

export type ApplicationApproved = BaseEvent & {
type: "application.approved"
relationships: BaseEventRelationships
}

export type ApplicationCanceled = BaseEvent & {
type: "application.canceled"
Expand Down Expand Up @@ -909,4 +914,4 @@ export type TaxFormUpdated = BaseEvent & {
}
}

export type TaxFormEvents = TaxFormCreated | TaxFormUpdated
export type TaxFormEvents = TaxFormCreated | TaxFormUpdated
Loading