import "market/idx/datacamp/proto/errors/Resolution.proto";
import "mapreduce/yt/interface/protos/extension.proto";



package NWebmaster.proto.feeds;

// https://a.yandex-team.ru/arc_vcs/market/idx/datacamp/proto/errors/Resolution.proto
message ServiceOffersTableInputRow {
    required uint64 business_id = 1 [(NYT.column_name) = "business_id"];
    required string shop_sku = 2 [(NYT.column_name) = "shop_sku"];
    required uint32 shop_id = 3 [(NYT.column_name) = "shop_id"];

    optional Market.DataCamp.Resolution resolution = 11 [(NYT.column_name) = "resolution"];
}

message ServiceOffersTableOutputRow {
    required string domain = 1 [(NYT.column_name) = "domain"];
    required string feed_url = 2 [(NYT.column_name) = "feed_url"];
    required uint64 business_id = 3 [(NYT.column_name) = "business_id"];
    required uint32 shop_id = 4 [(NYT.column_name) = "shop_id"];
    required string offer_id = 5 [(NYT.column_name) = "offer_id"];

    required int64 timestamp = 6 [(NYT.column_name) = "ts"];
    required string abo_reason = 7 [(NYT.column_name) = "abo_reason"];
    optional string comment = 8 [(NYT.column_name) = "comment"];
    required Market.DataCamp.Resolution resolution = 9 [(NYT.column_name) = "resolution"];

}

message OfferBansRow {
    required string domain = 1 [(NYT.column_name) = "domain"];
    required string feed_url = 2 [(NYT.column_name) = "feed_url"];
    required string offer_id = 3 [(NYT.column_name) = "offer_id"];

    required uint64 timestamp = 4 [(NYT.column_name) = "ts"];
    required string reason = 5 [(NYT.column_name) = "reason"];
    optional string comment = 6 [(NYT.column_name) = "comment"];
    optional string type = 7 [(NYT.column_name) = "type"];

}