syntax = "proto3";

option go_package = "github.com/UpmeshLTD/urus-aio/mdm/server/grpc/pb";

package mdmpb;

service mdmService {
  rpc GetCountryByID(GetCountryByIDRequest) returns (GetCountryResponse) {}
  rpc GetCountryByCode(GetCountryByCodeRequest) returns (GetCountryResponse) {}
}

message GetCountryByIDRequest {
  string id = 1;
}

message GetCountryByCodeRequest {
  string code = 1;
}

message GetCountryResponse {
  int64 country_id = 1;
  string international_name = 2;
  string localized_name = 3;
  string code = 4;
}