import { getUserAvailability } from "@calcom/core/getUserAvailability"; import type { TrpcSessionUser } from "../../../trpc"; import type { TUserInputSchema } from "./user.schema"; type UserOptions = { ctx: { user: NonNullable; }; input: TUserInputSchema; }; export const userHandler = async ({ input }: UserOptions) => { return getUserAvailability({ returnDateOverrides: true, ...input }, undefined); };