syntax = "proto2";

package maps_adv.geosmb.promoter.proto.segments;

message ListSegmentsInput {
    required uint64 biz_id = 1;
}

message Segment {
    required SegmentType type = 1;
    required uint32 size = 2;
}

message ListSegmentsOutput {
    required uint32 total_leads = 1;
    repeated Segment segments = 2;
}

enum SegmentType {
    PROSPECTIVE = 1;
    ACTIVE = 2;
    LOST = 3;
    LOYAL = 4;
    DISLOYAL = 5;
}

