/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
import * as z from "zod/v3";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const GetConversationByExternalIdRequest$inboundSchema = z.object({
    externalId: z.string(),
});
/** @internal */
export const GetConversationByExternalIdRequest$outboundSchema = z.object({
    externalId: z.string(),
});
export function getConversationByExternalIdRequestToJSON(getConversationByExternalIdRequest) {
    return JSON.stringify(GetConversationByExternalIdRequest$outboundSchema.parse(getConversationByExternalIdRequest));
}
export function getConversationByExternalIdRequestFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetConversationByExternalIdRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetConversationByExternalIdRequest' from JSON`);
}
//# sourceMappingURL=getconversationbyexternalid.js.map