syntax = "proto3"; package codeword; message Time { int64 from = 1; int64 to = 2; } service PromoCodeService { rpc GetAllPromoActivations(Time) returns (PromoActivationResp); } message PromoActivationResp { map response = 1; }