-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathpostmaster.yml
More file actions
103 lines (93 loc) · 2.42 KB
/
postmaster.yml
File metadata and controls
103 lines (93 loc) · 2.42 KB
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
languages:
- code: EN
name: English
- code: RU
name: Russian
keychain:
barong:
algorithm: RS256
value: "changeme"
peatio:
algorithm: RS256
value: "changeme"
exchanges:
barong_system:
name: barong.events.system
signer: barong
barong_model:
name: barong.events.model
signer: barong
peatio:
name: peatio.events.model
signer: peatio
events:
- name: Email Confirmation
key: user.email.confirmation.token
exchange: barong_system
templates:
EN:
subject: Registration Confirmation
template_path: templates/en/email_confirmation.tpl
RU:
subject: Подтверждение Регистрации
template_path: templates/ru/email_confirmation.tpl
- name: Password Reset
key: user.password.reset.token
exchange: barong_system
templates:
EN:
subject: Password Reset
template_path: templates/en/password_reset.tpl
RU:
subject: Сброс Пароля
template_path: templates/ru/password_reset.tpl
- name: Label Created
key: label.created
exchange: barong_model
expression: |
record.key in ["phone", "profile", "document"] &&
record.value in ["verified", "rejected"]
templates:
EN:
subject: Account Details Updated
template_path: templates/en/label_created.tpl
- name: Label Updated
key: label.updated
exchange: barong_model
expression: |
record.key in ["phone", "profile", "document"] &&
record.value in ["verified", "rejected"]
templates:
EN:
subject: Account Details Updated
template_path: templates/en/label_created.tpl
- name: Deposit Accepted
key: deposit.updated
exchange: peatio
expression: changes.state == "submitted" && record.state == "accepted"
templates:
EN:
subject: Deposit Accepted
template_path: templates/en/deposit_accepted.tpl
- name: Session Create
key: session.create
exchange: barong_system
templates:
EN:
subject: New Login
template_path: templates/en/session_create.tpl
- name: Withdrawal Succeed
key: withdraw.updated
exchange: peatio
expression: changes.state in ["errored", "confirming"] && record.state == "succeed"
templates:
EN:
subject: Withdrawal Succeed
template_path: templates/en/withdraw_succeed.tpl
- name: New Beneficiary
key: beneficiary.created
exchange: peatio
templates:
EN:
subject: New Beneficiary
template_path: templates/en/new_beneficiary.tpl