/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; export type TestDomainRouteFromDto = { address: string; name?: string | undefined; }; /** @internal */ export type TestDomainRouteFromDto$Outbound = { address: string; name?: string | undefined; }; /** @internal */ export const TestDomainRouteFromDto$outboundSchema: z.ZodType< TestDomainRouteFromDto$Outbound, z.ZodTypeDef, TestDomainRouteFromDto > = z.object({ address: z.string(), name: z.string().optional(), }); export function testDomainRouteFromDtoToJSON( testDomainRouteFromDto: TestDomainRouteFromDto, ): string { return JSON.stringify( TestDomainRouteFromDto$outboundSchema.parse(testDomainRouteFromDto), ); }