import { z } from 'zod';

export const reminderSendPayloadSchema = z.object({
  reminderIdentifier: z.string().optional(),
  calendarIdentifier: z.string().optional(),
  title: z.string().optional(),
  notes: z.string().optional(),
  dueDate: z.string().optional(),
  priority: z.number().int().min(0).max(9).optional(),
  isCompleted: z.boolean().optional(),
});

export type ReminderSendPayload = z.infer<typeof reminderSendPayloadSchema>;

export const REMINDER_SEND_ACTIONS = [
  'create_reminder',
  'update_reminder',
  'delete_reminder',
] as const;
export type ReminderSendAction = (typeof REMINDER_SEND_ACTIONS)[number];
