UNPKG

dynamicsmobile

Version:

Allows development of off-line mobile and web business apps over the Dynamics Mobile platform. More info on https://www.dynamicsmobile.com

13 lines (12 loc) 983 B
import { NotificationService, WhatsAppMessageContent } from '../lib-core/notification-service'; export declare class MobileNotificationService extends NotificationService { sendSms(recipient: string, content: string): Promise<void>; sendEmail(recipient: string, subject: string, content: string, attachments: Array<{ filePath: string; fileName: string; }>, sender?: string): Promise<void>; sendViber(appCode: string, recipient: string, type: 'text' | 'url' | 'rich' | 'picture' | 'location' | 'contact', content: string): Promise<void>; sendDevicePush(recipient: string, type: 'custommessage' | 'sync' | 'wipeout', content: string): Promise<void>; sendWhatsApp(appCode: string, recipient: string, type: 'template' | 'location', content: string | WhatsAppMessageContent): Promise<void>; sendMessenger(appCode: string, recipient: string, type: 'text' | 'url' | 'rich' | 'picture' | 'location' | 'contact', content: string): Promise<void>; }