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