UNPKG

@mindmakr/gs-websdk

Version:

Web SDK for Guru SaaS System - Complete JavaScript/TypeScript SDK for building applications with dynamic schema management

29 lines 1.16 kB
"use strict"; /** * 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. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.NotificationService = void 0; // Note: Advanced notification features like templates, preferences, analytics, etc. // are not available in the current backend implementation. class NotificationService { constructor(client) { this.client = client; } // ============================================================================ // EMAIL NOTIFICATIONS // ============================================================================ /** * Send email notification * This is the only notification endpoint available in the backend */ async sendEmail(notification, config) { return this.client.post('/api/notification/send-email', notification, config); } } exports.NotificationService = NotificationService; //# sourceMappingURL=notification.js.map