syntax="proto3"; package bts.api.position; option csharp_namespace="bts.api.position"; import "lib/api/apioptions.proto"; import "lib/api/services/MarginService.proto"; message Money_ParseResult { oneof result { string failure = 1; CashBalanceBatch success = 2; } } message Money_CSVBlock { string text = 1; } service MoneyFileService { option (bts.api.service_description) = "Obtains cash balances from an external source and invokes the margin service with them. Also provides on demand parsing of the money file"; rpc parse_money_csv (Money_CSVBlock) returns (Money_ParseResult); }