@mindmakr/gs-websdk
Version:
Web SDK for Guru SaaS System - Complete JavaScript/TypeScript SDK for building applications with dynamic schema management
27 lines (26 loc) • 824 B
TypeScript
/**
* Notification Service Module
* Provides basic email notification functionality
*
* Note: This service only supports basic email sending functionality.
* Advanced features like templates, analytics, and preferences are not available in the current backend.
*/
import { GuruSaaSClient } from '../core/client';
import { RequestConfig } from '../types';
export interface EmailNotification {
to: string | string[];
subject: string;
html: string;
text?: string;
}
export declare class NotificationService {
private client;
constructor(client: GuruSaaSClient);
/**
* Send email notification
* This is the only notification endpoint available in the backend
*/
sendEmail(notification: EmailNotification, config?: RequestConfig): Promise<{
message: string;
}>;
}