@sinch/mcp
Version:
Sinch MCP server
18 lines (17 loc) • 1.51 kB
TypeScript
import { Conversation } from '@sinch/sdk-core';
export declare const formatListAllTemplatesResponse: (data: Conversation.V2ListTemplatesResponse) => {
id: string;
description?: string;
version: number;
defaultTranslation: string;
translations?: string[];
}[];
export declare const formatOmniChannelTemplates: (responseUS: Conversation.V2ListTemplatesResponse, responseEU: Conversation.V2ListTemplatesResponse, responseBR: Conversation.V2ListTemplatesResponse) => string;
export declare const formatChannelSpecificTemplates: (templates: {
channel: "WhatsApp";
name: string;
language: string;
category: string;
state: string;
}[]) => string;
export declare const renderInstructions = "\nPlease return the data in a structured array format with each item on a separate line.\n\nOne array for omni-channel templates and another for channel-specific templates.\n\nFor the omni-channel templates, just display:\n- Id\n- Description\n- Version\n- Default translation\n- List of translations as pairs of (language_code / version)\n\nExample:\n| ID | Description | Version | Default translation | Translations |\n| 0123 | My template desc | 1 | en-US | en-US(latest), en-US(1) |\n\nFor the WhatsApp templates (called channel-specific), just display:\n- Channel\n- Name\n- Language\n- Category\n- State\n\nExample:\n| Channel | Name | Language | Category | State |\n| WhatsApp | wa_template | en-US | Marketing | Approved |\n";