@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.
17 lines (16 loc) • 632 B
TypeScript
import { Repository } from 'typeorm';
import { MicrosoftUser } from '../../entities/microsoft-user.entity';
export declare class UserIdConverterService {
private readonly microsoftUserRepository;
private readonly logger;
constructor(microsoftUserRepository: Repository<MicrosoftUser>);
toInternalUserId(userId: string | number, { cache }?: {
cache?: boolean;
}): Promise<number>;
externalToInternal(externalUserId: string, { cache }?: {
cache?: boolean;
}): Promise<number>;
internalToExternal(internalUserId: number, { cache }?: {
cache?: boolean;
}): Promise<string>;
}