UNPKG

@checkfirst/nestjs-outlook

Version:

An opinionated NestJS module for Microsoft Outlook integration that provides easy access to Microsoft Graph API for emails, calendars, and more.

14 lines (13 loc) 915 B
import { Response, Request } from 'express'; import { CalendarService } from '../services/calendar/calendar.service'; import { OutlookWebhookNotificationDto } from '../dto/outlook-webhook-notification.dto'; import { LifecycleEventHandlerService } from '../services/calendar/lifecycle-event-handler.service'; export declare class CalendarController { private readonly calendarService; private readonly lifecycleEventHandler; private readonly logger; constructor(calendarService: CalendarService, lifecycleEventHandler: LifecycleEventHandlerService); handleCalendarWebhookNotification(validationToken: string, notificationBody: OutlookWebhookNotificationDto, req: Request, res: Response): Promise<void>; handleCalendarWebhook(validationToken: string, notificationBody: OutlookWebhookNotificationDto, req: Request, res: Response): Promise<void>; private processCalendarNotificationBatch; }