syntax = "proto3";

package com.wixpress.appservice.api.upstream.com.wixpress.comm.channels.entities.v2.commons.channel.sms;

import "components_catalog_data/communication_channel_provider/com/wixpress/appservice/api/upstream/com/wixpress/comm/channels/entities/v2/commons/channel/media_capabilities.proto";
import "components_catalog_data/communication_channel_provider/com/wixpress/appservice/api/upstream/com/wixpress/comm/channels/entities/v2/commons/channel/accepted_message_types.proto";
import "wix/api/validations.proto";
import "google/protobuf/wrappers.proto";
import "wix/api/annotations.proto";


message SmsMessageConfig {
    option (.wix.api.decomposite_of) = "com.wixpress.comm.channels.entities.v2.commons.channel.sms.SmsMessageConfig";
  // SMS message types accepted by the provider. Only supported types will be sent to the provider.
  repeated AcceptedMessageTypes.AcceptedSmsMessageType accepted_message_types = 1 [(wix.api.minSize) = 1, (wix.api.maxSize) = 100];

  // Supported media types (mime types) and sizes
  com.wixpress.comm.channels.entities.v2.commons.channel.MediaCapabilities media_capabilities = 2;

  // Optional - maximum sms message length in characters, if not given, will be unlimited
  google.protobuf.Int64Value max_characters = 3;
}
