"use strict";
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || (function () {
    var ownKeys = function(o) {
        ownKeys = Object.getOwnPropertyNames || function (o) {
            var ar = [];
            for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
            return ar;
        };
        return ownKeys(o);
    };
    return function (mod) {
        if (mod && mod.__esModule) return mod;
        var result = {};
        if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
        __setModuleDefault(result, mod);
        return result;
    };
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.GetAssessmentLineItemResponse$ = exports.GetAssessmentLineItemResponse$outboundSchema = exports.GetAssessmentLineItemResponse$inboundSchema = exports.GetAssessmentLineItemRequest$ = exports.GetAssessmentLineItemRequest$outboundSchema = exports.GetAssessmentLineItemRequest$inboundSchema = void 0;
exports.getAssessmentLineItemRequestToJSON = getAssessmentLineItemRequestToJSON;
exports.getAssessmentLineItemRequestFromJSON = getAssessmentLineItemRequestFromJSON;
exports.getAssessmentLineItemResponseToJSON = getAssessmentLineItemResponseToJSON;
exports.getAssessmentLineItemResponseFromJSON = getAssessmentLineItemResponseFromJSON;
const z = __importStar(require("zod"));
const schemas_js_1 = require("../../lib/schemas.js");
const components = __importStar(require("../components/index.js"));
/** @internal */
exports.GetAssessmentLineItemRequest$inboundSchema = z.object({
    sourcedId: z.string(),
});
/** @internal */
exports.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.
 */
var GetAssessmentLineItemRequest$;
(function (GetAssessmentLineItemRequest$) {
    /** @deprecated use `GetAssessmentLineItemRequest$inboundSchema` instead. */
    GetAssessmentLineItemRequest$.inboundSchema = exports.GetAssessmentLineItemRequest$inboundSchema;
    /** @deprecated use `GetAssessmentLineItemRequest$outboundSchema` instead. */
    GetAssessmentLineItemRequest$.outboundSchema = exports.GetAssessmentLineItemRequest$outboundSchema;
})(GetAssessmentLineItemRequest$ || (exports.GetAssessmentLineItemRequest$ = GetAssessmentLineItemRequest$ = {}));
function getAssessmentLineItemRequestToJSON(getAssessmentLineItemRequest) {
    return JSON.stringify(exports.GetAssessmentLineItemRequest$outboundSchema.parse(getAssessmentLineItemRequest));
}
function getAssessmentLineItemRequestFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAssessmentLineItemRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAssessmentLineItemRequest' from JSON`);
}
/** @internal */
exports.GetAssessmentLineItemResponse$inboundSchema = z.object({
    assessmentLineItem: components.AssessmentLineItem$inboundSchema,
});
/** @internal */
exports.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.
 */
var GetAssessmentLineItemResponse$;
(function (GetAssessmentLineItemResponse$) {
    /** @deprecated use `GetAssessmentLineItemResponse$inboundSchema` instead. */
    GetAssessmentLineItemResponse$.inboundSchema = exports.GetAssessmentLineItemResponse$inboundSchema;
    /** @deprecated use `GetAssessmentLineItemResponse$outboundSchema` instead. */
    GetAssessmentLineItemResponse$.outboundSchema = exports.GetAssessmentLineItemResponse$outboundSchema;
})(GetAssessmentLineItemResponse$ || (exports.GetAssessmentLineItemResponse$ = GetAssessmentLineItemResponse$ = {}));
function getAssessmentLineItemResponseToJSON(getAssessmentLineItemResponse) {
    return JSON.stringify(exports.GetAssessmentLineItemResponse$outboundSchema.parse(getAssessmentLineItemResponse));
}
function getAssessmentLineItemResponseFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetAssessmentLineItemResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetAssessmentLineItemResponse' from JSON`);
}
//# sourceMappingURL=getassessmentlineitem.js.map