Files
calendar/packages/trpc/server/routers/apps/routing-forms/saveIncompleteBookingSettings.schema.ts
T
Benny JooandGitHub 92eb41c117 refactor: Migrate trpc routers in App store package to Trpc package (#23536)
* migrate trpc routers in app package to trpc package

* delete

* delete

* delete

* fix

* fix

* fix

* format

* format

* fix

* fix

* fix

* fix

* remove unused file

* fix

* fix

* wip
2025-09-07 22:17:33 -03:00

16 lines
463 B
TypeScript

import z from "zod";
import { IncompleteBookingActionType } from "@calcom/prisma/enums";
export const ZSaveIncompleteBookingSettingsInputSchema = z.object({
formId: z.string(),
actionType: z.nativeEnum(IncompleteBookingActionType),
data: z.record(z.any()).optional(),
enabled: z.boolean(),
credentialId: z.number().optional(),
});
export type TSaveIncompleteBookingSettingsInputSchema = z.infer<
typeof ZSaveIncompleteBookingSettingsInputSchema
>;