-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.ts
127 lines (125 loc) · 3.75 KB
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
import {
AutomaticTransferRegistrationCreated,
automaticTransferRegistrationCreatedParser,
} from './automaticTransferRegistrationCreated'
import {
AutomaticTransferRegistrationDeleted,
automaticTransferRegistrationDeletedParser,
} from './automaticTransferRegistrationDeleted'
import {
AutomaticTransferRegistrationUpdated,
automaticTransferRegistrationUpdatedParser,
} from './automaticTransferRegistrationUpdated'
import {
BulkTransferCompleted,
bulkTransferCompletedParser,
} from './bulkTransferCompleted'
import {
BulkTransferFeeCharged,
bulkTransferFeeChargedParser,
} from './bulkTransferFeeCharged'
import {
BulkTransferUpcoming,
bulkTransferUpcomingParser,
} from './bulkTransferUpcoming'
import { buildParser } from './parser'
import { PayeasyPaid, payeasyPaidParser } from './payeasyPaid'
import {
TimeDepositAutomaticallyRenewed,
timeDepositAutomaticallyRenewedParser,
} from './timeDepositAutomaticallyRenewed'
import {
TimeDepositCreated,
timeDepositCreatedParser,
} from './timeDepositCreated'
import {
TimeDepositMatured,
timeDepositMaturedParser,
} from './timeDepositMatured'
import {
TimeDepositWillMature,
timeDepositWillMatureParser,
} from './timeDepositWillMature'
import { TransferDeposited, transferDepositedParser } from './transferDeposited'
import {
TransferDestinationRegistered,
transferDestinationRegisteredParser,
} from './transferDestinationRegistered'
import {
TransferWithdrawalLimitChanged,
transferWithdrawalLimitChangedParser,
} from './transferWithdrawalLimitChanged'
import {
TransferWithdrawalScheduled,
transferWithdrawalScheduledParser,
} from './transferWithdrawalScheduled'
import { TransferWithdrawn, transferWithdrawnParser } from './transferWithdrawn'
import { VisaFrozen, visaFrozenParser } from './visaFrozen'
import { VisaLimitChanged, visaLimitChangedParser } from './visaLimitChanged'
import { VisaRefunded, visaRefundedParser } from './visaRefunded'
import { VisaWithdrawn, visaWithdrawnParser } from './visaWithdrawn'
export type JapannetbankNotification =
| AutomaticTransferRegistrationCreated
| AutomaticTransferRegistrationDeleted
| AutomaticTransferRegistrationUpdated
| BulkTransferCompleted
| BulkTransferFeeCharged
| BulkTransferUpcoming
| PayeasyPaid
| TimeDepositAutomaticallyRenewed
| TimeDepositCreated
| TimeDepositMatured
| TimeDepositWillMature
| TransferDeposited
| TransferDestinationRegistered
| TransferWithdrawalLimitChanged
| TransferWithdrawalScheduled
| TransferWithdrawn
| VisaFrozen
| VisaLimitChanged
| VisaRefunded
| VisaWithdrawn
export {
AutomaticTransferRegistrationCreated,
AutomaticTransferRegistrationDeleted,
AutomaticTransferRegistrationUpdated,
BulkTransferCompleted,
BulkTransferFeeCharged,
BulkTransferUpcoming,
PayeasyPaid,
TimeDepositAutomaticallyRenewed,
TimeDepositCreated,
TimeDepositMatured,
TimeDepositWillMature,
TransferDeposited,
TransferDestinationRegistered,
TransferWithdrawalLimitChanged,
TransferWithdrawalScheduled,
TransferWithdrawn,
VisaFrozen,
VisaRefunded,
VisaLimitChanged,
VisaWithdrawn,
}
export const parseJapannetbankNotification = buildParser(
automaticTransferRegistrationCreatedParser,
automaticTransferRegistrationDeletedParser,
automaticTransferRegistrationUpdatedParser,
bulkTransferCompletedParser,
bulkTransferFeeChargedParser,
bulkTransferUpcomingParser,
payeasyPaidParser,
timeDepositAutomaticallyRenewedParser,
timeDepositCreatedParser,
timeDepositMaturedParser,
timeDepositWillMatureParser,
transferDepositedParser,
transferDestinationRegisteredParser,
transferWithdrawalLimitChangedParser,
transferWithdrawalScheduledParser,
transferWithdrawnParser,
visaFrozenParser,
visaLimitChangedParser,
visaRefundedParser,
visaWithdrawnParser,
)