syntax = "proto2";

package maps_adv.geosmb.promoter.proto.list_lead_segments;


import "maps_adv/geosmb/promoter/proto/segments.proto";


message ListLeadSegmentsInput {
    optional string passport_uid = 1;
    optional string yandex_uid = 2;
    optional string device_id = 3;
    optional uint64 biz_id = 4;
}

message ListLeadSegmentsOutput {
    repeated BusinessSegments biz_segments = 1;
}

message BusinessSegments {
    required uint64 lead_id = 1;
    required uint64 biz_id = 2;
    repeated segments.SegmentType segments = 3;
}
