@sinch/mcp
Version:
Sinch MCP server
22 lines • 1.74 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.TextMessage = exports.ConversationRegionOverride = exports.MessageSenderNumberOverride = exports.ConversationAppIdOverride = exports.ConversationChannel = exports.ChannelEnum = exports.Recipient = void 0;
const zod_1 = require("zod");
exports.Recipient = zod_1.z.string()
.describe('(Required) The recipient to send the message to. This can be a phone number in E.164 format, or the identifier for the specified channel.');
exports.ChannelEnum = zod_1.z.enum([
'WHATSAPP', 'RCS', 'SMS', 'MESSENGER', 'VIBER', 'VIBERBM',
'MMS', 'INSTAGRAM', 'TELEGRAM', 'KAKAOTALK', 'KAKAOTALKCHAT',
'LINE', 'WECHAT'
]);
exports.ConversationChannel = zod_1.z.union([exports.ChannelEnum, zod_1.z.array(exports.ChannelEnum).nonempty()])
.describe('(Required) The channel to use for sending the message.');
exports.ConversationAppIdOverride = zod_1.z.string().optional()
.describe('(Optional) The ID of the app to use for the Sinch conversation API. If set, it will override the value from the environment variable "CONVERSATION_APP_ID".');
exports.MessageSenderNumberOverride = zod_1.z.string().optional()
.describe('(Optional) The phone number of the message\'s sender (E.164 format). If set, it will override the value from the environment variable "DEFAULT_SMS_ORIGINATOR".');
exports.ConversationRegionOverride = zod_1.z.enum(['us', 'eu', 'br']).optional()
.describe('(Optional) The region to use for the Sinch conversation API. If set, it will override the value from the environment variable CONVERSATION_REGION.');
exports.TextMessage = zod_1.z.string()
.describe('(Required) The text to send.');
//# sourceMappingURL=index.js.map