/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v4-mini"; import * as models from "../index.js"; export type LinkRequest = { channel: models.ChannelName; body: models.ChannelLinkRequest; }; /** @internal */ export type LinkRequest$Outbound = { channel: string; body: models.ChannelLinkRequest$Outbound; }; /** @internal */ export const LinkRequest$outboundSchema: z.ZodMiniType< LinkRequest$Outbound, LinkRequest > = z.object({ channel: models.ChannelName$outboundSchema, body: models.ChannelLinkRequest$outboundSchema, }); export function linkRequestToJSON(linkRequest: LinkRequest): string { return JSON.stringify(LinkRequest$outboundSchema.parse(linkRequest)); }