syntax = "proto3";

package programs;

service StoreService {
	rpc getStoreByDocument (getStoreByDocumentInput) returns (getStoreByDocumentOutput) {}
	rpc getStoreById (getStoreByIdInput) returns (getStoreByIdOutput) {}
}

message getStoreByDocumentInput{
	string storeDocument = 1;
}
message getStoreByDocumentOutput{
	string id = 1;
	string programId = 2;
}

message getStoreByIdInput {
	string id = 1;
}

message getStoreByIdOutput{
	string id = 1;
	string programId = 2;
	string name = 3;
}