-
Notifications
You must be signed in to change notification settings - Fork 0
/
events.yaml
53 lines (49 loc) · 920 Bytes
/
events.yaml
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
events:
ver: '0.0.1'
defs:
AccountInvitedToOrg:
sequence: 0
payload:
- invite_token
- name
- organisation_id
- organisation_type
state:
membership_status:
type: string
value: 'PENDING'
AccountInviteToOrgRevoked:
sequence: 1
payload:
- invite_token
state:
membership_status:
type: string
value: 'REVOKED'
AccountInviteToOrgAccepted:
sequence: 1
payload:
- invite_token
- user_id
triggers:
- SomethingElse
state:
membership_status:
type: string
value: 'ACCEPTED'
AccountCreated:
sequence: 1
payload:
- name
- email
- user_id
triggers:
- AccountInviteToOrgAccepted
SomethingRandom:
sequence: 1
payload:
- organisation_id
state:
organisation_flag:
type: string
value: 'FLAGGED'