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.

11 lines (10 loc) 533 B
import { Response, Request } from 'express'; import { EmailService } from '../services/email/email.service'; import { OutlookWebhookNotificationDto } from '../dto/outlook-webhook-notification.dto'; export declare class EmailController { private readonly emailService; private readonly logger; constructor(emailService: EmailService); handleEmailWebhook(validationToken: string, notificationBody: OutlookWebhookNotificationDto, req: Request, res: Response): Promise<void>; private processEmailNotificationBatch; }