Skip to content

Commit

Permalink
Handle additional events (#132)
Browse files Browse the repository at this point in the history
* pytr #131: Handle additional events
  • Loading branch information
RealCLanger authored Oct 21, 2024
1 parent 2ac0191 commit 2eac1e8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pytr/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class EventType(Enum):
"INTEREST_PAYOUT": PPEventType.INTEREST,
"INTEREST_PAYOUT_CREATED": PPEventType.INTEREST,
# Removals
"OUTGOING_TRANSFER": PPEventType.REMOVAL,
"OUTGOING_TRANSFER_DELEGATION": PPEventType.REMOVAL,
"PAYMENT_OUTBOUND": PPEventType.REMOVAL,
"card_order_billed": PPEventType.REMOVAL,
Expand All @@ -64,10 +65,12 @@ class EventType(Enum):
"benefits_saveback_execution": ConditionalEventType.SAVEBACK,
# Tax refunds
"TAX_REFUND": PPEventType.TAX_REFUND,
"ssp_tax_correction_invoice": PPEventType.TAX_REFUND,
# Trade invoices
"ORDER_EXECUTED": ConditionalEventType.TRADE_INVOICE,
"SAVINGS_PLAN_EXECUTED": ConditionalEventType.TRADE_INVOICE,
"SAVINGS_PLAN_INVOICE_CREATED": ConditionalEventType.TRADE_INVOICE,
"benefits_spare_change_execution": ConditionalEventType.TRADE_INVOICE,
"TRADE_INVOICE": ConditionalEventType.TRADE_INVOICE,
}

Expand Down

0 comments on commit 2eac1e8

Please sign in to comment.