/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; export type GetConnectionRequest = { /** * Unique identifier for a company. */ companyId: string; /** * Unique identifier for a connection. */ connectionId: string; }; /** @internal */ export type GetConnectionRequest$Outbound = { companyId: string; connectionId: string; }; /** @internal */ export const GetConnectionRequest$outboundSchema: z.ZodType< GetConnectionRequest$Outbound, z.ZodTypeDef, GetConnectionRequest > = z.object({ companyId: z.string(), connectionId: z.string(), }); export function getConnectionRequestToJSON( getConnectionRequest: GetConnectionRequest, ): string { return JSON.stringify( GetConnectionRequest$outboundSchema.parse(getConnectionRequest), ); }