syntax = "proto3";
package notifications;
message NotificationRequest {
string number = 1;
string body = 2;
}
message NotificationResult {
enum ResponseCode {
SUCCESS = 0;
CARRIER_ERROR = 1;
INTERNAL_ERROR = 2;
}
ResponseCode code = 1;
string reason = 2;
}
service Notifications {
rpc SendText(NotificationRequest) returns (NotificationResult) {};
}