syntax = "proto3";

package com.wixpress.appservice.api.upstream.com.wixpress.comm.channels.entities.v1.channel;

import "wix/api/annotations.proto";
import "google/protobuf/wrappers.proto";

message ChannelBranding {
    option (.wix.api.decomposite_of) = "com.wixpress.comm.channels.entities.v1.channel.ChannelBranding";
  // The name of the channel, e.g. `Facebook` / `SMS`
  string display_name = 1;

  // Name of the channel provider (Wix, Meta, Google)
  google.protobuf.StringValue provider_name = 3;

  // Relevant brand icons, used when the channel is integrated
  BrandIcons brand_icons = 4;
}

// Brand icons required for correct channel integration
// todo: 1. which ones are required ?
// todo: 2. we may need to specify Icons specs (i.e. format and sizes)
message BrandIcons { // product
    option (.wix.api.decomposite_of) = "com.wixpress.comm.channels.entities.v1.channel.BrandIcons";
  Icon default = 1;
  Icon vector = 2;
  Icon bw_outline_vector = 3;
}

message Icon {
    option (.wix.api.decomposite_of) = "com.wixpress.comm.channels.entities.v1.channel.Icon";
  // Specific Icon url
  google.protobuf.StringValue url = 2;
}