/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: db12f322e715 */ import * as z from "zod/v3"; export type UserViewInfo = { /** * Unique Glean Document ID of the associated document. */ docId?: string | undefined; /** * Title of associated document. */ docTitle?: string | undefined; /** * URL of associated document. */ docUrl?: string | undefined; }; /** @internal */ export type UserViewInfo$Outbound = { docId?: string | undefined; docTitle?: string | undefined; docUrl?: string | undefined; }; /** @internal */ export const UserViewInfo$outboundSchema: z.ZodType< UserViewInfo$Outbound, z.ZodTypeDef, UserViewInfo > = z.object({ docId: z.string().optional(), docTitle: z.string().optional(), docUrl: z.string().optional(), }); export function userViewInfoToJSON(userViewInfo: UserViewInfo): string { return JSON.stringify(UserViewInfo$outboundSchema.parse(userViewInfo)); }