feat: automatic no show (#16727)
Co-authored-by: Carina Wollendorfer <[email protected]> Co-authored-by: Alex van Andel <[email protected]> Co-authored-by: Peer Richelsen <[email protected]> Co-authored-by: CarinaWolli <[email protected]> Co-authored-by: zomars <[email protected]>
This commit is contained in:
43 files changed
+1103
-69
No files matched your search
@@ -1,5 +1,6 @@
|
||||
import { z } from "zod";
|
||||
|
||||
import { TIME_UNIT } from "@calcom/features/ee/workflows/lib/constants";
|
||||
import { WEBHOOK_TRIGGER_EVENTS } from "@calcom/features/webhooks/lib/constants";
|
||||
|
||||
import { webhookIdAndEventTypeIdSchema } from "./types";
|
||||
@@ -14,6 +15,8 @@ export const ZCreateInputSchema = webhookIdAndEventTypeIdSchema.extend({
|
||||
secret: z.string().optional().nullable(),
|
||||
teamId: z.number().optional(),
|
||||
platform: z.boolean().optional(),
|
||||
time: z.number().nullable().optional(),
|
||||
timeUnit: z.enum(TIME_UNIT).nullable().optional(),
|
||||
});
|
||||
|
||||
export type TCreateInputSchema = z.infer<typeof ZCreateInputSchema>;
|
||||
@@ -1,5 +1,6 @@
|
||||
import { z } from "zod";
|
||||
|
||||
import { TIME_UNIT } from "@calcom/features/ee/workflows/lib/constants";
|
||||
import { WEBHOOK_TRIGGER_EVENTS } from "@calcom/features/webhooks/lib/constants";
|
||||
|
||||
import { webhookIdAndEventTypeIdSchema } from "./types";
|
||||
@@ -13,6 +14,8 @@ export const ZEditInputSchema = webhookIdAndEventTypeIdSchema.extend({
|
||||
eventTypeId: z.number().optional(),
|
||||
appId: z.string().optional().nullable(),
|
||||
secret: z.string().optional().nullable(),
|
||||
time: z.number().nullable().optional(),
|
||||
timeUnit: z.enum(TIME_UNIT).nullable().optional(),
|
||||
});
|
||||
|
||||
export type TEditInputSchema = z.infer<typeof ZEditInputSchema>;
|
||||
Reference in new issue
Block a user