import { RpcMethod } from './commonTypes'; export type ViberPresetsService_List = RpcMethod; export interface ViberPresetsService { /** Lists approved Viber transactional message templates for an application, fetched live from the external MStat Omni Messaging provider. Use to pick a Viber template code before composing a Viber send; only templates in the approved status are returned. */ List: ViberPresetsService_List; } export type ListViberPresetsRequest = { /** Application code (format XXXXX-XXXXX) whose Viber transactional templates are listed. */ application?: string; }; export type ListViberPresetsResponse = { presets: ViberPreset[]; }; export type ViberPreset = { /** MStat viber_template_id */ code: string; name: string; category: string; locales: ViberPresetLocale[]; params: ViberPresetParam[]; }; export type ViberPresetLocale = { lang: string; content: string; }; export type ViberPresetParam = { name: string; type: string; };