aboutsummaryrefslogtreecommitdiff
path: root/gnu-taler-db-events/registry.rec
blob: 4f668bfe51664a9e4154ce8ef27989249c36bd29 (plain) (blame)
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
# -*- mode: rec -*-
#
# Registry for Taler database event trigger types
#
%rec: TalerDatabaseEventTriggerTypes
%key: Value
%typedef: ValueRange_t range 0 65535
%type: Value ValueRange_t
%mandatory: Value
%typedef: Description_t regexp |^[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_\(\)\.,;!"':#\/ -]*$|
%type: Description Description_t
%mandatory: Description
%typedef: Name_t regexp /^[ABCDEFGHIJKLMNOPQRSTUVWXYZ_][ABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789]*$/
%type: Name Name_t
%unique: Name
%mandatory: Name
%sort: Value

# 0 - 999: Reserved for GNUnet

# 1000-1099: For Taler Exchange

Value: 1000
Name: EXCHANGE_RESERVE_INCOMING
Description: Event triggered when a reserve is funded via a bank transfer.

Value: 1001
Name: EXCHANGE_KEYS_UPDATED
Description: Event triggered when new online signing keys are activated via the management API.

Value: 1002
Name: EXCHANGE_WIRE_UPDATED
Description: Event triggered when the wire response was changed via the management API.

Value: 1003
Name: EXCHANGE_KYC_COMPLETED
Description: Event triggered when a user completed a KYC process.

Value: 1004
Name: EXCHANGE_EXTENSIONS_UPDATED
Description: Event triggered when the configuration of an extension is updated.

Value: 1005
Name: EXCHANGE_PURSE_MERGED
Description: Event triggered when a purse was merged into a reserve.

Value: 1006
Name: EXCHANGE_PURSE_DEPOSITED
Description: Event triggered when coins are deposited into a purse.

Value: 1007
Name: EXCHANGE_DEPOSIT_STATUS_CHANGED
Description: Event triggered when the tracking status for a deposit has changed.

Value: 1008
Name: EXCHANGE_PURSE_REFUNDED
Description: Event triggered when any purse was refunded.


# 1100-1199: For Taler Merchant

Value: 1100
Name: MERCHANT_INSTANCE_SETTINGS
Description: Some instance setting was changed (new instance, deleted instance, change options)

Value: 1101
Name: MERCHANT_ORDER_PAID
Description: Event triggered when an order is paid by a customer.

Value: 1102
Name: MERCHANT_ORDER_REFUND
Description: Event triggered when a refund is approved by the backoffice staff.

Value: 1103
Name: MERCHANT_SESSION_CAPTURED
Description: Event triggered when a fulfillment URL becomes paid for a particular session.

Value: 1104
Name: MERCHANT_REFUND_OBTAINED
Description: Event triggered when a refund is obtained by a wallet.

Value: 1105
Name: MERCHANT_ORDERS_CHANGE
Description: Event triggered when the set of orders or their state changes.

Value: 1106
Name: MERCHANT_WEBHOOK_PENDING
Description: Event triggered when a new pending webhook is ready to be run.

Value: 1107
Name: MERCHANT_REWARD_PICKUP
Description: Event triggered when a reward is being picked up.

Value: 1108
Name: MERCHANT_WIRE_TRANSFER_CONFIRMED
Description: Event triggered when a wire transfer is confirmed. Triggers interaction with the exchange to download details about which payments were aggregated.

Value: 1109
Name: MERCHANT_ACCOUNTS_CHANGED
Description: Event triggered when the set of accounts has changed. Triggers restart of taler-merchant-wirewatch.

Value: 1110
Name: MERCHANT_EXCHANGE_KEYS
Description: Event triggered when we downloaded "/keys" from an exchange and stored it in the database. Extra argument must be the exchange base URL.

Value: 1111
Name: MERCHANT_NEW_WIRE_DEADLINE
Description: Event triggered upon successful (batch) deposit. Notifies taler-merchant-depositcheck about a potentially relevant wire deadline to wake up for. Argument is a 64-bit absolute time in network byte order.


# 1200+: For auditor
Value: 1200
Name: EXCHANGE_AUDITOR_NEW_DEPOSIT_CONFIRMATION
Description: Event triggered when there is a new deposit confirmation available.



# 2000-2099: For Anastasis

Value: 2000
Name: ANASTASIS_AUTH_IBAN_TRANSFER
Description: A wire transfer from the target account with the correct wire transfer subject was received.

# 3000-3099: For Libeufin

Value: 3000
Name: LIBEUFIN_TALER_INCOMING
Description: A wire transfer with a valid reserve public key was received.

# This event signals that a payment was persisted in the database,
# and it carries the direction in its payload.  Note: the direction
# is expressed the CaMt way: CRDT or DBIT.
Value: 3001
Name: LIBEUFIN_REGIO_TX
Description: A new transactions internal to Sandbox was made.

# In the context of regional currencies, this event triggers the
# wire transfer from "admin" to the exchange, in order to start a
# Taler withdrawal.
Value: 3002
Name: LIBEUFIN_SANDBOX_FIAT_INCOMING
Description: A new fiat transaction can trigger actions in Sandbox.

# A fiat payment was ingested for a particular bank account.  The
# payload communicates the direction: CRDT or DBIT.
Value: 3003
Name: LIBEUFIN_NEXUS_TX
Description: A new transaction was successfully ingested by Nexus.