/*
 * 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 GetAssessmentLineItemRequest$inboundSchema = z.object({
    sourcedId: z.string(),
});
/** @internal */
export const GetAssessmentLineItemRequest$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 GetAssessmentLineItemRequest$;
(function (GetAssessmentLineItemRequest$) {
    /** @deprecated use `GetAssessmentLineItemRequest$inboundSchema` instead. */
    GetAssessmentLineItemRequest$.inboundSchema = GetAssessmentLineItemRequest$inboundSchema;
    /** @deprecated use `GetAssessmentLineItemRequest$outboundSchema` instead. */
    GetAssessmentLineItemRequest$.outboundSchema = GetAssessmentLineItemRequest$outboundSchema;
})(GetAssessmentLineItemRequest$ || (GetAssessmentLineItemRequest$ = {}));
export function getAssessmentLineItemRequestToJSON(getAssessmentLineItemRequest) {
    return JSON.stringify(GetAssessmentLineItemRequest$outboundSchema.parse(getAssessmentLineItemRequest));
}
export function getAssessmentLineItemRequestFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetAssessmentLineItemRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAssessmentLineItemRequest' from JSON`);
}
/** @internal */
export const GetAssessmentLineItemResponse$inboundSchema = z.object({
    assessmentLineItem: components.AssessmentLineItem$inboundSchema,
});
/** @internal */
export const GetAssessmentLineItemResponse$outboundSchema = z.object({
    assessmentLineItem: components.AssessmentLineItem$outboundSchema,
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var GetAssessmentLineItemResponse$;
(function (GetAssessmentLineItemResponse$) {
    /** @deprecated use `GetAssessmentLineItemResponse$inboundSchema` instead. */
    GetAssessmentLineItemResponse$.inboundSchema = GetAssessmentLineItemResponse$inboundSchema;
    /** @deprecated use `GetAssessmentLineItemResponse$outboundSchema` instead. */
    GetAssessmentLineItemResponse$.outboundSchema = GetAssessmentLineItemResponse$outboundSchema;
})(GetAssessmentLineItemResponse$ || (GetAssessmentLineItemResponse$ = {}));
export function getAssessmentLineItemResponseToJSON(getAssessmentLineItemResponse) {
    return JSON.stringify(GetAssessmentLineItemResponse$outboundSchema.parse(getAssessmentLineItemResponse));
}
export function getAssessmentLineItemResponseFromJSON(jsonString) {
    return safeParse(jsonString, (x) => GetAssessmentLineItemResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAssessmentLineItemResponse' from JSON`);
}
//# sourceMappingURL=getassessmentlineitem.js.map