syntax = "proto3"; import "google/protobuf/empty.proto"; import "google/protobuf/wrappers.proto"; package document; option go_package = "github.com/hub1989/jc-protobuf/document"; service FinancialReportService { rpc requestTitheReport(FinancialReportRequest) returns (google.protobuf.BytesValue); rpc requestFinancialReport(FinancialReportRequest) returns (google.protobuf.BytesValue); } service ComponentHealthService { rpc showDetails(google.protobuf.Empty) returns (InternalHealthResponse); } message FinancialReportRequest { string startDate = 1; string endDate = 2; string format = 3; repeated FinancialRecordResponse financeRecords = 4; } message FinancialRecordResponse { double amountPaid = 1; string currency = 2; string dateRecorded = 3; int64 eventId = 4; string recordedBy = 5; string titheNumber = 6; string type = 7; double totalInOriginalCurrency = 8; string eventPid = 9; } message InternalHealthResponse { string status = 1; string description = 2; map details = 3; string lastSeen = 4; string ipAddress = 5; }