syntax = "proto3";

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

import "wix/api/annotations.proto";

message ConversationLimitations {
    option (.wix.api.decomposite_of) = "com.wixpress.comm.channels.entities.v1.channel.ConversationLimitations";
  // Defines who can initiate conversation in this channel.
  // If, `CUSTOMER` is selected, this means that only inbound
  // messages can start a conversation (aka business can only reply and not initiate the first communication).
  InitDirection init_direction = 1;

  enum InitDirection {
    UNKNOWN_INIT_DIRECTION = 0;
    BUSINESS = 1;
    CUSTOMER = 2;
    BOTH = 3;
  }
}