diff options
Diffstat (limited to 'proto')
-rw-r--r-- | proto/pseudonyms/account.proto | 15 | ||||
-rw-r--r-- | proto/pseudonyms/account_holder.proto | 11 | ||||
-rw-r--r-- | proto/pseudonyms/entity.proto | 10 | ||||
-rw-r--r-- | proto/pseudonyms/transaction_relationship.proto | 34 |
4 files changed, 70 insertions, 0 deletions
diff --git a/proto/pseudonyms/account.proto b/proto/pseudonyms/account.proto new file mode 100644 index 0000000..bdca80c --- /dev/null +++ b/proto/pseudonyms/account.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; + +package pseudonyms.account; + +import "google/protobuf/timestamp.proto"; + +message Account { + string id = 1; +} + +message CreateAccount { + string id = 1; + string account_id = 2; + google.protobuf.Timestamp cre_dt_tm = 3; +} diff --git a/proto/pseudonyms/account_holder.proto b/proto/pseudonyms/account_holder.proto new file mode 100644 index 0000000..80c7557 --- /dev/null +++ b/proto/pseudonyms/account_holder.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + +package pseudonyms.account_holder; + +import "google/protobuf/timestamp.proto"; + +message AccountHolder { + string entity_id = 1; + string account_id = 2; + google.protobuf.Timestamp cre_dt_tm = 3; +} diff --git a/proto/pseudonyms/entity.proto b/proto/pseudonyms/entity.proto new file mode 100644 index 0000000..d656193 --- /dev/null +++ b/proto/pseudonyms/entity.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + +package pseudonyms.entity; + +import "google/protobuf/timestamp.proto"; + +message Entity { + string id = 1; + google.protobuf.Timestamp cre_dt_tm = 2; +} diff --git a/proto/pseudonyms/transaction_relationship.proto b/proto/pseudonyms/transaction_relationship.proto new file mode 100644 index 0000000..cd8bae5 --- /dev/null +++ b/proto/pseudonyms/transaction_relationship.proto @@ -0,0 +1,34 @@ +syntax = "proto3"; + +package pseudonyms.transaction_relationship; + +import "google/protobuf/timestamp.proto"; +import "google/protobuf/empty.proto"; +import "google/type/money.proto"; +import "google/type/latlng.proto"; + +// TransactionRelationship message definition +message TransactionRelationship { + string from = 1; + string to = 2; + optional google.type.Money amt = 3; + google.protobuf.Timestamp cre_dt_tm = 4; + string end_to_end_id = 5; + optional google.type.LatLng latlng = 6; + string msg_id = 7; + string pmt_inf_id = 8; + string tx_tp = 9; + optional string tx_sts = 10; +} + +message CreatePseudonymRequest { + TransactionRelationship transaction_relationship = 1; + string debtor_id = 2; + string debtor_account_id = 3; + string creditor_id = 4; + string creditor_account_id = 5; +} + +service MutatePseudonym { + rpc CreatePseudonym(CreatePseudonymRequest) returns (google.protobuf.Empty); +} |