/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v4-mini"; import { ClosedEnum } from "../../types/enums.js"; export const Type = { SessionId: "sessionId", ThreadId: "threadId", } as const; export type Type = ClosedEnum; export type TranscriptGetRequest = { id: string; type?: Type | undefined; agentWallet?: string | undefined; userAddress?: string | undefined; }; /** @internal */ export const Type$outboundSchema: z.ZodMiniEnum = z.enum(Type); /** @internal */ export type TranscriptGetRequest$Outbound = { id: string; type?: string | undefined; agentWallet?: string | undefined; userAddress?: string | undefined; }; /** @internal */ export const TranscriptGetRequest$outboundSchema: z.ZodMiniType< TranscriptGetRequest$Outbound, TranscriptGetRequest > = z.object({ id: z.string(), type: z.optional(Type$outboundSchema), agentWallet: z.optional(z.string()), userAddress: z.optional(z.string()), }); export function transcriptGetRequestToJSON( transcriptGetRequest: TranscriptGetRequest, ): string { return JSON.stringify( TranscriptGetRequest$outboundSchema.parse(transcriptGetRequest), ); }