/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod"; import { CodeLocation, CodeLocation$inboundSchema, CodeLocation$Outbound, CodeLocation$outboundSchema, } from "./codelocation.js"; export type ConsoleLog = { timestamp: number; text: string; type: string; tabIndex: number; args?: Array | undefined; url?: string | undefined; location?: CodeLocation | undefined; }; /** @internal */ export const ConsoleLog$inboundSchema: z.ZodType< ConsoleLog, z.ZodTypeDef, unknown > = z.object({ timestamp: z.number(), text: z.string(), type: z.string(), tabIndex: z.number(), args: z.array(z.any()).optional(), url: z.string().optional(), location: CodeLocation$inboundSchema.optional(), }); /** @internal */ export type ConsoleLog$Outbound = { timestamp: number; text: string; type: string; tabIndex: number; args?: Array | undefined; url?: string | undefined; location?: CodeLocation$Outbound | undefined; }; /** @internal */ export const ConsoleLog$outboundSchema: z.ZodType< ConsoleLog$Outbound, z.ZodTypeDef, ConsoleLog > = z.object({ timestamp: z.number(), text: z.string(), type: z.string(), tabIndex: z.number(), args: z.array(z.any()).optional(), url: z.string().optional(), location: CodeLocation$outboundSchema.optional(), }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export namespace ConsoleLog$ { /** @deprecated use `ConsoleLog$inboundSchema` instead. */ export const inboundSchema = ConsoleLog$inboundSchema; /** @deprecated use `ConsoleLog$outboundSchema` instead. */ export const outboundSchema = ConsoleLog$outboundSchema; /** @deprecated use `ConsoleLog$Outbound` instead. */ export type Outbound = ConsoleLog$Outbound; }