@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.
15 lines (14 loc) • 919 B
TypeScript
import { Event } from '../../types';
import { CalendarService } from './calendar.service';
import { RecurrenceRule, ProcessedOutlookEvent, ExpansionWindow, ExpandRecurringSeriesOptions, RecurringEventExpansionResult } from '../../interfaces/recurrence.interfaces';
export declare class RecurrenceService {
private readonly calendarService;
private readonly logger;
constructor(calendarService: CalendarService);
processEvent(event: Event): ProcessedOutlookEvent;
expandRecurringSeries(seriesMasterId: string, externalUserId: string, options?: ExpandRecurringSeriesOptions): Promise<RecurringEventExpansionResult>;
calculateExpansionWindow(recurrenceRule?: RecurrenceRule, existingWindowEnd?: Date): ExpansionWindow;
detectStaleOccurrences(fetchedExternalIds: string[], existingExternalIds: string[]): string[];
isSeriesMaster(event: Event): boolean;
private extractRecurrenceRule;
}