/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
import * as z from "zod";
import { safeParse } from "../../lib/schemas.js";
import * as components from "../components/index.js";
/** @internal */
export const GetAssessmentResultRequest$inboundSchema = z.object({
    sourcedId: z.string(),
});
/** @internal */
export const GetAssessmentResultRequest$outboundSchema = z.object({
    sourcedId: z.string(),
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var GetAssessmentResultRequest$;
(function (GetAssessmentResultRequest$) {
    /** @deprecated use `GetAssessmentResultRequest$inboundSchema` instead. */
    GetAssessmentResultRequest$.inboundSchema = GetAssessmentResultRequest$inboundSchema;
    /** @deprecated use `GetAssessmentResultRequest$outboundSchema` instead. */
    GetAssessmentResultRequest$.outboundSchema = GetAssessmentResultRequest$outboundSchema;
})(GetAssessmentResultRequest$ || (GetAssessmentResultRequest$ = {}));
export function getAssessmentResultRequestToJSON(getAssessmentResultRequest) {
    return JSON.stringify(GetAssessmentResultRequest$outboundSchema.parse(getAssessmentResultRequest));
}
export function getAssessmentResultRequestFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetAssessmentResultRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAssessmentResultRequest' from JSON`);
}
/** @internal */
export const GetAssessmentResultResponse$inboundSchema = z.object({
    assessmentResult: components.AssessmentResult$inboundSchema,
});
/** @internal */
export const GetAssessmentResultResponse$outboundSchema = z.object({
    assessmentResult: components.AssessmentResult$outboundSchema,
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var GetAssessmentResultResponse$;
(function (GetAssessmentResultResponse$) {
    /** @deprecated use `GetAssessmentResultResponse$inboundSchema` instead. */
    GetAssessmentResultResponse$.inboundSchema = GetAssessmentResultResponse$inboundSchema;
    /** @deprecated use `GetAssessmentResultResponse$outboundSchema` instead. */
    GetAssessmentResultResponse$.outboundSchema = GetAssessmentResultResponse$outboundSchema;
})(GetAssessmentResultResponse$ || (GetAssessmentResultResponse$ = {}));
export function getAssessmentResultResponseToJSON(getAssessmentResultResponse) {
    return JSON.stringify(GetAssessmentResultResponse$outboundSchema.parse(getAssessmentResultResponse));
}
export function getAssessmentResultResponseFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetAssessmentResultResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAssessmentResultResponse' from JSON`);
}
//# sourceMappingURL=getassessmentresult.js.map