Scheduling infrastructure for absolutely everyone.
fix: added zoom, msTeams as valid locations in event-type, booker atoms (#19599)
Somay Chauhan5b961f7d962f
diff --git a/apps/api/v2/package.json b/apps/api/v2/package.jsonindex 6c78f0c3565..58b6c84d84e 100644--- a/apps/api/v2/package.json+++ b/apps/api/v2/package.json@@ -30,7 +30,7 @@"@axiomhq/winston": "^1.2.0","@calcom/platform-constants": "*","@calcom/platform-enums": "*",- "@calcom/platform-libraries": "npm:@calcom/[email protected]",+ "@calcom/platform-libraries": "npm:@calcom/[email protected]","@calcom/platform-libraries-0.0.2": "npm:@calcom/[email protected]","@calcom/platform-types": "*","@calcom/platform-utils": "*",diff --git a/packages/lib/event-types/transformers/api-to-internal/locations.ts b/packages/lib/event-types/transformers/api-to-internal/locations.tsindex 5ae02b6039f..afa8c2c230f 100644--- a/packages/lib/event-types/transformers/api-to-internal/locations.ts+++ b/packages/lib/event-types/transformers/api-to-internal/locations.ts@@ -13,10 +13,12 @@ import type {const apiToInternalintegrationsMapping: Record<Integration_2024_06_14,- "integrations:daily" | "integrations:google:meet"+ "integrations:daily" | "integrations:google:meet" | "integrations:office365_video" | "integrations:zoom"> = {"cal-video": "integrations:daily","google-meet": "integrations:google:meet",+ "office365-video": "integrations:office365_video",+ zoom: "integrations:zoom",};export function transformLocationsApiToInternal(inputLocations: InputLocation_2024_06_14[] | undefined) {diff --git a/packages/platform/atoms/event-types/atom-api-transformers/transformApiEventTypeForAtom.ts b/packages/platform/atoms/event-types/atom-api-transformers/transformApiEventTypeForAtom.tsindex 0d9d003cffa..7cce905d30a 100644--- a/packages/platform/atoms/event-types/atom-api-transformers/transformApiEventTypeForAtom.ts+++ b/packages/platform/atoms/event-types/atom-api-transformers/transformApiEventTypeForAtom.ts@@ -329,7 +329,7 @@ function getLocations(locations: EventTypeOutput_2024_06_14["locations"]) {function isAtomSupportedLocation(location: EventTypeOutput_2024_06_14["locations"][number]): location is InputLocation_2024_06_14 {- const supportedIntegrations = ["cal-video", "google-meet"];+ const supportedIntegrations = ["cal-video", "google-meet", "office365-video", "zoom"];return (location.type === "address" ||diff --git a/packages/platform/types/event-types/event-types_2024_06_14/inputs/locations.input.ts b/packages/platform/types/event-types/event-types_2024_06_14/inputs/locations.input.tsindex 8995f149bdb..6874211fec3 100644--- a/packages/platform/types/event-types/event-types_2024_06_14/inputs/locations.input.ts+++ b/packages/platform/types/event-types/event-types_2024_06_14/inputs/locations.input.ts@@ -43,7 +43,7 @@ export class InputLinkLocation_2024_06_14 {public!: boolean;}-export const supportedIntegrations = ["cal-video", "google-meet"] as const;+export const supportedIntegrations = ["cal-video", "google-meet", "office365-video", "zoom"] as const;export type Integration_2024_06_14 = (typeof supportedIntegrations)[number];export class InputIntegrationLocation_2024_06_14 {diff --git a/yarn.lock b/yarn.lockindex 00f476e52e3..31b49b14967 100644--- a/yarn.lock+++ b/yarn.lock@@ -3526,7 +3526,7 @@ __metadata:"@axiomhq/winston": ^1.2.0"@calcom/platform-constants": "*""@calcom/platform-enums": "*"- "@calcom/platform-libraries": "npm:@calcom/[email protected]"+ "@calcom/platform-libraries": "npm:@calcom/[email protected]""@calcom/platform-libraries-0.0.2": "npm:@calcom/[email protected]""@calcom/platform-types": "*""@calcom/platform-utils": "*"@@ -4592,14 +4592,14 @@ __metadata:languageName: nodelinkType: hard-"@calcom/platform-libraries@npm:@calcom/[email protected]":- version: 0.0.116- resolution: "@calcom/platform-libraries@npm:0.0.116"+"@calcom/platform-libraries@npm:@calcom/[email protected]":+ version: 0.0.121+ resolution: "@calcom/platform-libraries@npm:0.0.121"dependencies:"@calcom/core": "*""@calcom/features": "*""@calcom/lib": "*"- checksum: 2d3159fa6e8428f16cab7ace42078d54a97145c668b476ce546c75ea62866a13cad5bd414e6a72c6f90740089d8ea82115e1225352ff41da1683f70a9211139b+ checksum: 1f4fa106b146960c5bcef0fa6edaeba7485ea558a4582f7c7cea36ba45d73b024074ee0b471a1a9fbb9a8baa71056e3c256b5519140c435bd5c9d08740bd0b5blanguageName: nodelinkType: hard