aboutsummaryrefslogtreecommitdiff
path: root/gnu-taler-db-events/registry.rec
blob: 384c92585c04624b026fbfca9b154c66ded3a994 (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
# -*- 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.

# 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.


# 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.