* fix MSTeams formatting and duplicate events * update without changing scopes, create onlineMeetings through CalendarService instead of VideoApiAdapter * get url after online meeting is created required for downstream * fallback to callvideo if only MSteams and update evt.videoCallData with url * for backward compatibility set explicitly 'Microsoft Teams Meeting' for old meetings if rescheduled * add dependency to msTeams App * nit * use interpolation * update to create MSTeams event if only MSTeams installed and not Outlook Calendar * make function MSTeams specific --------- Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com>
31 lines
842 B
TypeScript
31 lines
842 B
TypeScript
import type { AppMeta } from "@calcom/types/App";
|
|
|
|
import _package from "./package.json";
|
|
|
|
export const metadata = {
|
|
name: "Microsoft 365/Teams (Requires work/school account)",
|
|
description: _package.description,
|
|
appData: {
|
|
location: {
|
|
linkType: "dynamic",
|
|
type: "integrations:office365_video",
|
|
label: "MS Teams (Requires work/school account)",
|
|
},
|
|
},
|
|
type: "office365_video",
|
|
title: "MS Teams (Requires work/school account)",
|
|
variant: "conferencing",
|
|
category: "conferencing",
|
|
categories: ["conferencing"],
|
|
logo: "icon.svg",
|
|
publisher: "Cal.com",
|
|
slug: "msteams",
|
|
dirName: "office365video",
|
|
dependencies: ["office365-calendar"],
|
|
url: "https://www.microsoft.com/en-ca/microsoft-teams/group-chat-software",
|
|
email: "help@cal.com",
|
|
isOAuth: true,
|
|
} as AppMeta;
|
|
|
|
export default metadata;
|