mirror of
https://github.com/RocketChat/Rocket.Chat.git
synced 2025-12-28 06:47:25 +00:00
15 lines
517 B
TypeScript
15 lines
517 B
TypeScript
type OutlookEventsResponse = { status: 'success' | 'canceled' };
|
|
|
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
interface Window {
|
|
RocketChatDesktop:
|
|
| {
|
|
openInternalVideoChatWindow?: (url: string, options: undefined) => void;
|
|
getOutlookEvents?: (date: Date) => Promise<OutlookEventsResponse>;
|
|
setOutlookExchangeUrl?: (url: string, userId: string) => Promise<void>;
|
|
hasOutlookCredentials?: () => Promise<boolean>;
|
|
clearOutlookCredentials?: () => void;
|
|
}
|
|
| undefined;
|
|
}
|