/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
import * as z from "zod";
import { remap as remap$ } from "../../lib/primitives.js";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const GetAnalysisTaskStatusRequest$inboundSchema = z.object({
    task_id: z.string(),
}).transform((v) => {
    return remap$(v, {
        "task_id": "taskId",
    });
});
/** @internal */
export const GetAnalysisTaskStatusRequest$outboundSchema = z.object({
    taskId: z.string(),
}).transform((v) => {
    return remap$(v, {
        taskId: "task_id",
    });
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var GetAnalysisTaskStatusRequest$;
(function (GetAnalysisTaskStatusRequest$) {
    /** @deprecated use `GetAnalysisTaskStatusRequest$inboundSchema` instead. */
    GetAnalysisTaskStatusRequest$.inboundSchema = GetAnalysisTaskStatusRequest$inboundSchema;
    /** @deprecated use `GetAnalysisTaskStatusRequest$outboundSchema` instead. */
    GetAnalysisTaskStatusRequest$.outboundSchema = GetAnalysisTaskStatusRequest$outboundSchema;
})(GetAnalysisTaskStatusRequest$ || (GetAnalysisTaskStatusRequest$ = {}));
export function getAnalysisTaskStatusRequestToJSON(getAnalysisTaskStatusRequest) {
    return JSON.stringify(GetAnalysisTaskStatusRequest$outboundSchema.parse(getAnalysisTaskStatusRequest));
}
export function getAnalysisTaskStatusRequestFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetAnalysisTaskStatusRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAnalysisTaskStatusRequest' from JSON`);
}
//# sourceMappingURL=getanalysistaskstatus.js.map