chore: Refactors Destination calendar API endpoint with a bunch of fixes (#11789)

Co-authored-by: Omar López <[email protected]>
This commit is contained in:
Syed Ali ShahbazandOmar López authored and GitHub committed 2023-10-12 13:53:48 -07:00
1 parent 208d040f6f
commit a87d82fd47
11 files changed
+391 -354

No files matched your search

@@ -14,9 +14,9 @@ const schemaDestinationCalendarCreateParams = z
.object({
integration: z.string(),
externalId: z.string(),
eventTypeId: z.number(),
bookingId: z.number(),
userId: z.number(),
eventTypeId: z.number().optional(),
bookingId: z.number().optional(),
userId: z.number().optional(),
})
.strict();