16 lines
494 B
TypeScript
16 lines
494 B
TypeScript
|
|
import { z } from 'zod';
|
||
|
|
|
||
|
|
export const requestScoreSchema = z.object({
|
||
|
|
interestId: z.string().uuid(),
|
||
|
|
});
|
||
|
|
|
||
|
|
export const requestDraftSchema = z.object({
|
||
|
|
interestId: z.string().uuid(),
|
||
|
|
clientId: z.string().uuid(),
|
||
|
|
context: z.enum(['follow_up', 'introduction', 'stage_update', 'general']),
|
||
|
|
additionalInstructions: z.string().max(500).optional(),
|
||
|
|
});
|
||
|
|
|
||
|
|
export type RequestScoreInput = z.infer<typeof requestScoreSchema>;
|
||
|
|
export type RequestDraftInput = z.infer<typeof requestDraftSchema>;
|