/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
import * as z from "zod/v3";
import { safeParse } from "../../lib/schemas.js";
import { QuerySemanticThreadsResponseData$inboundSchema, QuerySemanticThreadsResponseData$outboundSchema, } from "./querysemanticthreadsresponsedata.js";
/**
 * Status of the response
 */
export const QuerySemanticThreadsResponseBodyStatus = {
    Ok: "ok",
};
/** @internal */
export const QuerySemanticThreadsResponseBodyStatus$inboundSchema = z.nativeEnum(QuerySemanticThreadsResponseBodyStatus);
/** @internal */
export const QuerySemanticThreadsResponseBodyStatus$outboundSchema = QuerySemanticThreadsResponseBodyStatus$inboundSchema;
/** @internal */
export const QuerySemanticThreadsResponseBody$inboundSchema = z.object({
    status: QuerySemanticThreadsResponseBodyStatus$inboundSchema,
    data: QuerySemanticThreadsResponseData$inboundSchema,
});
/** @internal */
export const QuerySemanticThreadsResponseBody$outboundSchema = z.object({
    status: QuerySemanticThreadsResponseBodyStatus$outboundSchema,
    data: QuerySemanticThreadsResponseData$outboundSchema,
});
export function querySemanticThreadsResponseBodyToJSON(querySemanticThreadsResponseBody) {
    return JSON.stringify(QuerySemanticThreadsResponseBody$outboundSchema.parse(querySemanticThreadsResponseBody));
}
export function querySemanticThreadsResponseBodyFromJSON(jsonString) {
    return safeParse(jsonString, (x) => QuerySemanticThreadsResponseBody$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'QuerySemanticThreadsResponseBody' from JSON`);
}
//# sourceMappingURL=querysemanticthreadsresponsebody.js.map