UNPKG

@trendmoon/api-client

Version:
35 lines 1.05 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AlertService = void 0; /** * AlertService handles alert-related operations * Provides methods for retrieving various types of alerts and trending information */ class AlertService { constructor(apiClient) { this.apiClient = apiClient; } /** * Retrieves top alerts for today. * @returns Promise resolving to today's top alerts */ async getTopAlertsToday() { return this.apiClient.getTopAlertsToday(); } /** * Retrieves top categories for today. * @returns Promise resolving to today's top categories */ async getTopCategoriesToday() { return this.apiClient.getTopCategoriesToday(); } /** * Retrieves top category alerts. * @returns Promise resolving to category-specific alerts */ async getTopCategoryAlerts() { return this.apiClient.getTopCategoryAlerts(); } } exports.AlertService = AlertService; //# sourceMappingURL=AlertService.js.map