pstds-proto/proto/event.thrift
Inal Arsanukaev 79d883032a
Move to gh actions (#2)
* Move to gh actions

* Remove build_utils

Co-authored-by: Inal Arsanukaev <inalarsanukaev@192.168.1.3>
2022-01-20 11:01:00 +03:00

23 lines
430 B
Thrift

namespace java dev.vality.pstds.event
namespace erlang pstds_event
include "base.thrift"
struct TimestampedChange {
1: required base.Timestamp occured_at
2: required Change change
}
union Change {
1: TokenCreated token_created
2: StatusChanged status_changed
}
struct TokenCreated {
1: required base.PaymentSystemTokenData token_data
}
struct StatusChanged {
1: required base.TokenStatus new_status
}