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.

13 lines (12 loc) 494 B
export interface GraphApiExecutorOptions { maxRetries?: number; retryDelayMs?: number; logger?: { warn: (message: string, ...args: unknown[]) => void; error: (message: string, ...args: unknown[]) => void; debug?: (message: string, ...args: unknown[]) => void; }; resourceName?: string; return404AsNull?: boolean; } export declare function executeGraphApiCall<T>(operation: () => Promise<T>, options?: GraphApiExecutorOptions): Promise<T | null>;