fix: added zoom, msTeams as valid locations in event-type, booker atoms (#19599)
This commit is contained in:
1 parent
c0591f3cdb
commit
5b961f7d96
5 files changed
+11
-9
No files matched your search
@@ -30,7 +30,7 @@
|
||||
"@axiomhq/winston": "^1.2.0",
|
||||
"@calcom/platform-constants": "*",
|
||||
"@calcom/platform-enums": "*",
|
||||
"@calcom/platform-libraries": "npm:@calcom/[email protected]6",
|
||||
"@calcom/platform-libraries": "npm:@calcom/[email protected]21",
|
||||
"@calcom/platform-libraries-0.0.2": "npm:@calcom/[email protected]",
|
||||
"@calcom/platform-types": "*",
|
||||
"@calcom/platform-utils": "*",
|
||||
|
||||
@@ -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) {
|
||||
|
||||
+1
-1
@@ -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" ||
|
||||
|
||||
+1
-1
@@ -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 {
|
||||
|
||||
@@ -3526,7 +3526,7 @@ __metadata:
|
||||
"@axiomhq/winston": ^1.2.0
|
||||
"@calcom/platform-constants": "*"
|
||||
"@calcom/platform-enums": "*"
|
||||
"@calcom/platform-libraries": "npm:@calcom/[email protected]6"
|
||||
"@calcom/platform-libraries": "npm:@calcom/[email protected]21"
|
||||
"@calcom/platform-libraries-0.0.2": "npm:@calcom/[email protected]"
|
||||
"@calcom/platform-types": "*"
|
||||
"@calcom/platform-utils": "*"
|
||||
@@ -4592,14 +4592,14 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@calcom/platform-libraries@npm:@calcom/[email protected]6":
|
||||
version: 0.0.116
|
||||
resolution: "@calcom/platform-libraries@npm:0.0.116"
|
||||
"@calcom/platform-libraries@npm:@calcom/[email protected]21":
|
||||
version: 0.0.121
|
||||
resolution: "@calcom/platform-libraries@npm:0.0.121"
|
||||
dependencies:
|
||||
"@calcom/core": "*"
|
||||
"@calcom/features": "*"
|
||||
"@calcom/lib": "*"
|
||||
checksum: 2d3159fa6e8428f16cab7ace42078d54a97145c668b476ce546c75ea62866a13cad5bd414e6a72c6f90740089d8ea82115e1225352ff41da1683f70a9211139b
|
||||
checksum: 1f4fa106b146960c5bcef0fa6edaeba7485ea558a4582f7c7cea36ba45d73b024074ee0b471a1a9fbb9a8baa71056e3c256b5519140c435bd5c9d08740bd0b5b
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
||||
Reference in new issue
Block a user