syntax = "proto3";

import "google/api/annotations.proto";
import "wix/spi/definitions.proto";
import "google/protobuf/wrappers.proto";
import "wix/api/entity.proto";
import "wix/api/annotations.proto";
import "wix/api/validations.proto";
import "components_catalog_data/communication_channel_provider/com/wixpress/appservice/api/upstream/com/wixpress/comm/channels/entities/v2/commons/channel/channel_configuration.proto";
import "components_catalog_data/communication_channel_provider/com/wixpress/appservice/api/upstream/com/wixpress/comm/channels/entities/v2/commons/channel/implemented_methods.proto";


package com.wixpress.appservice.api.upstream.com.wixpress.comm.channels.spi.v2;


message CommunicationChannelConfiguration {
    option (.wix.api.decomposite_of) = "com.wixpress.comm.channels.spi.v2.CommunicationChannelConfiguration";
  // The channel provider URI that will be called in runtime
  string deployment_uri = 1 [(.wix.spi.base_uri) = true, (wix.api.maxLength) = 2000];
  // The main configuration of the channel
  com.wixpress.comm.channels.entities.v2.commons.channel.ChannelConfiguration config = 2;
  // States whether or not specific methods were implemented by the provider in order to know whether to call them in runtime
  com.wixpress.comm.channels.entities.v2.commons.channel.ImplementedMethods implemented_methods = 3;
}

