customer/api/proto/codeword/promo.proto

22 lines
359 B
Protocol Buffer
Raw Normal View History

2024-04-25 12:23:37 +00:00
syntax = "proto3";
package codeword;
option go_package = "./codeword_rpc";
message Time {
int64 from = 1;
int64 to = 2;
}
service PromoCodeService {
rpc GetAllPromoActivations(Time) returns (PromoActivationResp);
}
message PromoActivationResp {
message Activations {
repeated string values = 1;
}
map<string, Activations> response = 1;
}