Skip to content

Commit 2eac1e8

Browse files
authored
Handle additional events (#132)
* pytr #131: Handle additional events
1 parent 2ac0191 commit 2eac1e8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pytr/event.py

+3
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ class EventType(Enum):
5555
"INTEREST_PAYOUT": PPEventType.INTEREST,
5656
"INTEREST_PAYOUT_CREATED": PPEventType.INTEREST,
5757
# Removals
58+
"OUTGOING_TRANSFER": PPEventType.REMOVAL,
5859
"OUTGOING_TRANSFER_DELEGATION": PPEventType.REMOVAL,
5960
"PAYMENT_OUTBOUND": PPEventType.REMOVAL,
6061
"card_order_billed": PPEventType.REMOVAL,
@@ -64,10 +65,12 @@ class EventType(Enum):
6465
"benefits_saveback_execution": ConditionalEventType.SAVEBACK,
6566
# Tax refunds
6667
"TAX_REFUND": PPEventType.TAX_REFUND,
68+
"ssp_tax_correction_invoice": PPEventType.TAX_REFUND,
6769
# Trade invoices
6870
"ORDER_EXECUTED": ConditionalEventType.TRADE_INVOICE,
6971
"SAVINGS_PLAN_EXECUTED": ConditionalEventType.TRADE_INVOICE,
7072
"SAVINGS_PLAN_INVOICE_CREATED": ConditionalEventType.TRADE_INVOICE,
73+
"benefits_spare_change_execution": ConditionalEventType.TRADE_INVOICE,
7174
"TRADE_INVOICE": ConditionalEventType.TRADE_INVOICE,
7275
}
7376

0 commit comments

Comments
 (0)