/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; import { AuthDto, AuthDto$Outbound, AuthDto$outboundSchema, } from "./authdto.js"; import { WorkspaceDto, WorkspaceDto$Outbound, WorkspaceDto$outboundSchema, } from "./workspacedto.js"; export type UpdateChannelConnectionRequestDto = { workspace: WorkspaceDto; auth: AuthDto; }; /** @internal */ export type UpdateChannelConnectionRequestDto$Outbound = { workspace: WorkspaceDto$Outbound; auth: AuthDto$Outbound; }; /** @internal */ export const UpdateChannelConnectionRequestDto$outboundSchema: z.ZodType< UpdateChannelConnectionRequestDto$Outbound, z.ZodTypeDef, UpdateChannelConnectionRequestDto > = z.object({ workspace: WorkspaceDto$outboundSchema, auth: AuthDto$outboundSchema, }); export function updateChannelConnectionRequestDtoToJSON( updateChannelConnectionRequestDto: UpdateChannelConnectionRequestDto, ): string { return JSON.stringify( UpdateChannelConnectionRequestDto$outboundSchema.parse( updateChannelConnectionRequestDto, ), ); }