Skip to content

The open-source app everyone uses to manage agents at work

344 B
Raw Blame
import { z } from "zod";

export interface PrimaryAgentPreference {
  companyId: string;
  userId: string;
  primaryAgentId: string | null;
  initialized: boolean;
}

export const updatePrimaryAgentSchema = z.object({
  primaryAgentId: z.string().uuid(),
}).strict();

export type UpdatePrimaryAgent = z.infer<typeof updatePrimaryAgentSchema>;