/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: 86053e0125c2 */ import * as z from "zod/v3"; export type ReminderRequest = { /** * The document which the verification is for new reminders and/or update. */ documentId: string; /** * The obfuscated id of the person this verification is assigned to. */ assignee?: string | undefined; /** * Reminder for the next verifications in terms of days. For deletion, this will be omitted. */ remindInDays?: number | undefined; /** * An optional free-text reason for the reminder. This is particularly useful when a reminder is used to ask for verification from another user (for example, "Duplicate", "Incomplete", "Incorrect"). */ reason?: string | undefined; }; /** @internal */ export type ReminderRequest$Outbound = { documentId: string; assignee?: string | undefined; remindInDays?: number | undefined; reason?: string | undefined; }; /** @internal */ export const ReminderRequest$outboundSchema: z.ZodType< ReminderRequest$Outbound, z.ZodTypeDef, ReminderRequest > = z.object({ documentId: z.string(), assignee: z.string().optional(), remindInDays: z.number().int().optional(), reason: z.string().optional(), }); export function reminderRequestToJSON( reminderRequest: ReminderRequest, ): string { return JSON.stringify(ReminderRequest$outboundSchema.parse(reminderRequest)); }