/*
 * 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 CreateAssessmentLineItemRequest$inboundSchema = z.object({
    assessmentLineItem: components.AssessmentLineItem$inboundSchema,
});
/** @internal */
export const CreateAssessmentLineItemRequest$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 CreateAssessmentLineItemRequest$;
(function (CreateAssessmentLineItemRequest$) {
    /** @deprecated use `CreateAssessmentLineItemRequest$inboundSchema` instead. */
    CreateAssessmentLineItemRequest$.inboundSchema = CreateAssessmentLineItemRequest$inboundSchema;
    /** @deprecated use `CreateAssessmentLineItemRequest$outboundSchema` instead. */
    CreateAssessmentLineItemRequest$.outboundSchema = CreateAssessmentLineItemRequest$outboundSchema;
})(CreateAssessmentLineItemRequest$ || (CreateAssessmentLineItemRequest$ = {}));
export function createAssessmentLineItemRequestToJSON(createAssessmentLineItemRequest) {
    return JSON.stringify(CreateAssessmentLineItemRequest$outboundSchema.parse(createAssessmentLineItemRequest));
}
export function createAssessmentLineItemRequestFromJSON(jsonString) {
    return safeParse(jsonString, (x) => CreateAssessmentLineItemRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateAssessmentLineItemRequest' from JSON`);
}
/** @internal */
export const CreateAssessmentLineItemSourcedIdPairs$inboundSchema = z.object({
    suppliedSourcedId: z.string(),
    allocatedSourcedId: z.string(),
});
/** @internal */
export const CreateAssessmentLineItemSourcedIdPairs$outboundSchema = z.object({
    suppliedSourcedId: z.string(),
    allocatedSourcedId: 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 CreateAssessmentLineItemSourcedIdPairs$;
(function (CreateAssessmentLineItemSourcedIdPairs$) {
    /** @deprecated use `CreateAssessmentLineItemSourcedIdPairs$inboundSchema` instead. */
    CreateAssessmentLineItemSourcedIdPairs$.inboundSchema = CreateAssessmentLineItemSourcedIdPairs$inboundSchema;
    /** @deprecated use `CreateAssessmentLineItemSourcedIdPairs$outboundSchema` instead. */
    CreateAssessmentLineItemSourcedIdPairs$.outboundSchema = CreateAssessmentLineItemSourcedIdPairs$outboundSchema;
})(CreateAssessmentLineItemSourcedIdPairs$ || (CreateAssessmentLineItemSourcedIdPairs$ = {}));
export function createAssessmentLineItemSourcedIdPairsToJSON(createAssessmentLineItemSourcedIdPairs) {
    return JSON.stringify(CreateAssessmentLineItemSourcedIdPairs$outboundSchema.parse(createAssessmentLineItemSourcedIdPairs));
}
export function createAssessmentLineItemSourcedIdPairsFromJSON(jsonString) {
    return safeParse(jsonString, (x) => CreateAssessmentLineItemSourcedIdPairs$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateAssessmentLineItemSourcedIdPairs' from JSON`);
}
/** @internal */
export const CreateAssessmentLineItemResponse$inboundSchema = z.object({
    sourcedIdPairs: z.lazy(() => CreateAssessmentLineItemSourcedIdPairs$inboundSchema),
});
/** @internal */
export const CreateAssessmentLineItemResponse$outboundSchema = z.object({
    sourcedIdPairs: z.lazy(() => CreateAssessmentLineItemSourcedIdPairs$outboundSchema),
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export var CreateAssessmentLineItemResponse$;
(function (CreateAssessmentLineItemResponse$) {
    /** @deprecated use `CreateAssessmentLineItemResponse$inboundSchema` instead. */
    CreateAssessmentLineItemResponse$.inboundSchema = CreateAssessmentLineItemResponse$inboundSchema;
    /** @deprecated use `CreateAssessmentLineItemResponse$outboundSchema` instead. */
    CreateAssessmentLineItemResponse$.outboundSchema = CreateAssessmentLineItemResponse$outboundSchema;
})(CreateAssessmentLineItemResponse$ || (CreateAssessmentLineItemResponse$ = {}));
export function createAssessmentLineItemResponseToJSON(createAssessmentLineItemResponse) {
    return JSON.stringify(CreateAssessmentLineItemResponse$outboundSchema.parse(createAssessmentLineItemResponse));
}
export function createAssessmentLineItemResponseFromJSON(jsonString) {
    return safeParse(jsonString, (x) => CreateAssessmentLineItemResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateAssessmentLineItemResponse' from JSON`);
}
//# sourceMappingURL=createassessmentlineitem.js.map