syntax = "proto2";

package maps_adv.geosmb.doorman.proto.list_client_segments;

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

message ListClientSegmentsInput {
    optional uint64 passport_uid = 1;
    optional uint64 phone = 2;
    optional string email = 3;
    optional uint64 biz_id = 4;
}

message ListClientSegmentsOutput {
    repeated BusinessSegments biz_segments = 1;
}

message BusinessSegments {
    required uint64 client_id = 1;
    required uint64 biz_id = 2;
    repeated segments.SegmentType segments = 3;
    repeated string labels = 4;
}
