mirror of
https://github.com/valitydev/pstds-proto.git
synced 2024-11-06 00:55:21 +00:00
79d883032a
* Move to gh actions * Remove build_utils Co-authored-by: Inal Arsanukaev <inalarsanukaev@192.168.1.3>
23 lines
430 B
Thrift
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
|
|
}
|