diff options
Diffstat (limited to 'gnu-taler-db-events')
-rw-r--r-- | gnu-taler-db-events/Makefile | 8 | ||||
-rw-r--r-- | gnu-taler-db-events/registry.rec | 66 | ||||
-rw-r--r-- | gnu-taler-db-events/rst.footer | 0 | ||||
-rw-r--r-- | gnu-taler-db-events/rst.header | 13 | ||||
-rw-r--r-- | gnu-taler-db-events/rst.template | 3 |
5 files changed, 89 insertions, 1 deletions
diff --git a/gnu-taler-db-events/Makefile b/gnu-taler-db-events/Makefile index 194ba50..58fc0e8 100644 --- a/gnu-taler-db-events/Makefile +++ b/gnu-taler-db-events/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | FILES=taler_dbevents.h | 1 | FILES=taler_dbevents.h taler_dbevents.rst |
2 | 2 | ||
3 | all: check $(FILES) | 3 | all: check $(FILES) |
4 | 4 | ||
@@ -17,4 +17,10 @@ taler_dbevents.h.tmp: registry.rec h.template | |||
17 | taler_dbevents.h: h.header taler_dbevents.h.tmp h.footer | 17 | taler_dbevents.h: h.header taler_dbevents.h.tmp h.footer |
18 | cat $^ > $@ | 18 | cat $^ > $@ |
19 | 19 | ||
20 | taler_dbevents.rst.tmp: registry.rec rst.template | ||
21 | ../format.sh rst.template < registry.rec > $@ | ||
22 | |||
23 | taler_dbevents.rst: rst.header taler_dbevents.rst.tmp rst.footer | ||
24 | cat rst.header taler_dbevents.rst.tmp rst.footer > $@ | ||
25 | |||
20 | .PHONY: check clean distclean | 26 | .PHONY: check clean distclean |
diff --git a/gnu-taler-db-events/registry.rec b/gnu-taler-db-events/registry.rec index b36fb49..4f668bf 100644 --- a/gnu-taler-db-events/registry.rec +++ b/gnu-taler-db-events/registry.rec | |||
@@ -48,6 +48,15 @@ Value: 1006 | |||
48 | Name: EXCHANGE_PURSE_DEPOSITED | 48 | Name: EXCHANGE_PURSE_DEPOSITED |
49 | Description: Event triggered when coins are deposited into a purse. | 49 | Description: Event triggered when coins are deposited into a purse. |
50 | 50 | ||
51 | Value: 1007 | ||
52 | Name: EXCHANGE_DEPOSIT_STATUS_CHANGED | ||
53 | Description: Event triggered when the tracking status for a deposit has changed. | ||
54 | |||
55 | Value: 1008 | ||
56 | Name: EXCHANGE_PURSE_REFUNDED | ||
57 | Description: Event triggered when any purse was refunded. | ||
58 | |||
59 | |||
51 | # 1100-1199: For Taler Merchant | 60 | # 1100-1199: For Taler Merchant |
52 | 61 | ||
53 | Value: 1100 | 62 | Value: 1100 |
@@ -74,9 +83,66 @@ Value: 1105 | |||
74 | Name: MERCHANT_ORDERS_CHANGE | 83 | Name: MERCHANT_ORDERS_CHANGE |
75 | Description: Event triggered when the set of orders or their state changes. | 84 | Description: Event triggered when the set of orders or their state changes. |
76 | 85 | ||
86 | Value: 1106 | ||
87 | Name: MERCHANT_WEBHOOK_PENDING | ||
88 | Description: Event triggered when a new pending webhook is ready to be run. | ||
89 | |||
90 | Value: 1107 | ||
91 | Name: MERCHANT_REWARD_PICKUP | ||
92 | Description: Event triggered when a reward is being picked up. | ||
93 | |||
94 | Value: 1108 | ||
95 | Name: MERCHANT_WIRE_TRANSFER_CONFIRMED | ||
96 | Description: Event triggered when a wire transfer is confirmed. Triggers interaction with the exchange to download details about which payments were aggregated. | ||
97 | |||
98 | Value: 1109 | ||
99 | Name: MERCHANT_ACCOUNTS_CHANGED | ||
100 | Description: Event triggered when the set of accounts has changed. Triggers restart of taler-merchant-wirewatch. | ||
101 | |||
102 | Value: 1110 | ||
103 | Name: MERCHANT_EXCHANGE_KEYS | ||
104 | Description: Event triggered when we downloaded "/keys" from an exchange and stored it in the database. Extra argument must be the exchange base URL. | ||
105 | |||
106 | Value: 1111 | ||
107 | Name: MERCHANT_NEW_WIRE_DEADLINE | ||
108 | 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. | ||
109 | |||
110 | |||
111 | # 1200+: For auditor | ||
112 | Value: 1200 | ||
113 | Name: EXCHANGE_AUDITOR_NEW_DEPOSIT_CONFIRMATION | ||
114 | Description: Event triggered when there is a new deposit confirmation available. | ||
115 | |||
116 | |||
77 | 117 | ||
78 | # 2000-2099: For Anastasis | 118 | # 2000-2099: For Anastasis |
79 | 119 | ||
80 | Value: 2000 | 120 | Value: 2000 |
81 | Name: ANASTASIS_AUTH_IBAN_TRANSFER | 121 | Name: ANASTASIS_AUTH_IBAN_TRANSFER |
82 | Description: A wire transfer from the target account with the correct wire transfer subject was received. | 122 | Description: A wire transfer from the target account with the correct wire transfer subject was received. |
123 | |||
124 | # 3000-3099: For Libeufin | ||
125 | |||
126 | Value: 3000 | ||
127 | Name: LIBEUFIN_TALER_INCOMING | ||
128 | Description: A wire transfer with a valid reserve public key was received. | ||
129 | |||
130 | # This event signals that a payment was persisted in the database, | ||
131 | # and it carries the direction in its payload. Note: the direction | ||
132 | # is expressed the CaMt way: CRDT or DBIT. | ||
133 | Value: 3001 | ||
134 | Name: LIBEUFIN_REGIO_TX | ||
135 | Description: A new transactions internal to Sandbox was made. | ||
136 | |||
137 | # In the context of regional currencies, this event triggers the | ||
138 | # wire transfer from "admin" to the exchange, in order to start a | ||
139 | # Taler withdrawal. | ||
140 | Value: 3002 | ||
141 | Name: LIBEUFIN_SANDBOX_FIAT_INCOMING | ||
142 | Description: A new fiat transaction can trigger actions in Sandbox. | ||
143 | |||
144 | # A fiat payment was ingested for a particular bank account. The | ||
145 | # payload communicates the direction: CRDT or DBIT. | ||
146 | Value: 3003 | ||
147 | Name: LIBEUFIN_NEXUS_TX | ||
148 | Description: A new transaction was successfully ingested by Nexus. | ||
diff --git a/gnu-taler-db-events/rst.footer b/gnu-taler-db-events/rst.footer new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/gnu-taler-db-events/rst.footer | |||
diff --git a/gnu-taler-db-events/rst.header b/gnu-taler-db-events/rst.header new file mode 100644 index 0000000..cd944ce --- /dev/null +++ b/gnu-taler-db-events/rst.header | |||
@@ -0,0 +1,13 @@ | |||
1 | Taler DB Events | ||
2 | --------------- | ||
3 | |||
4 | Entries | ||
5 | ^^^^^^^ | ||
6 | |||
7 | .. list-table:: Taler DB Events | ||
8 | :widths: auto | ||
9 | :header-rows: 1 | ||
10 | |||
11 | * - Name | ||
12 | - Value | ||
13 | - Description | ||
diff --git a/gnu-taler-db-events/rst.template b/gnu-taler-db-events/rst.template new file mode 100644 index 0000000..e47c564 --- /dev/null +++ b/gnu-taler-db-events/rst.template | |||
@@ -0,0 +1,3 @@ | |||
1 | * - {{Name}} | ||
2 | - {{Value}} | ||
3 | - {{Description}} | ||