Set GCal & Outlook iCalUID in .ics file (#8010)

* Add calendar UID to calendar event

* Add iCalUID to booking event

* On reschedule write to evt the iCalUID

* Add uid to ics file

* Remove console logs

* Pass iCalUID if available

* Remove generated app store files

* Rename product id to calcom

* Add UID to ics on reschedule

* Type fixes

* Type fixes

* Type fixes

* Remove comment

* Remove console.log

* Removed serverConfig block from this branch

---------

Co-authored-by: Alex van Andel <[email protected]>
This commit is contained in:
Joe Au-YeungandAlex van Andel authored and GitHub committed 2023-04-03 17:13:57 +00:00
1 parent fd84b5754d
commit 2e0951d4dc
12 files changed
+67 -21

No files matched your search

+2
View File
@@ -61,6 +61,7 @@ export type NewCalendarEventType = {
password: string;
url: string;
additionalInfo: AdditionalInfo;
iCalUID?: string | null;
};
export type CalendarEventType = {
@@ -172,6 +173,7 @@ export interface CalendarEvent {
seatsShowAttendees?: boolean | null;
attendeeSeatId?: string;
seatsPerTimeSlot?: number | null;
iCalUID?: string | null;
// It has responses to all the fields(system + user)
responses?: CalEventResponses | null;
+1 -3
View File
@@ -1,7 +1,4 @@
import { DestinationCalendar } from "@prisma/client";
import type { CalendarEvent } from "./Calendar";
import type { Event } from "./Event";
export interface PartialReference {
id?: number;
@@ -19,6 +16,7 @@ export interface EventResult<T> {
appName: string;
success: boolean;
uid: string;
iCalUID?: string | null;
createdEvent?: T;
updatedEvent?: T | T[];
originalEvent: CalendarEvent;