"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 (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
    __setModuleDefault(result, mod);
    return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.AssessmentsPackages$ = exports.AssessmentsPackages$outboundSchema = exports.AssessmentsPackages$inboundSchema = exports.AssessmentsPackagesType$ = exports.AssessmentsPackagesType$outboundSchema = exports.AssessmentsPackagesType$inboundSchema = exports.AssessmentsPackagesValue$ = exports.AssessmentsPackagesValue$outboundSchema = exports.AssessmentsPackagesValue$inboundSchema = exports.AssessmentsPackagesSourceValue$ = exports.AssessmentsPackagesSourceValue$outboundSchema = exports.AssessmentsPackagesSourceValue$inboundSchema = exports.AssessmentsPackages4$ = exports.AssessmentsPackages4$outboundSchema = exports.AssessmentsPackages4$inboundSchema = exports.AssessmentsPackagesValue = void 0;
const z = __importStar(require("zod"));
const primitives_js_1 = require("../../../lib/primitives.js");
const enums_js_1 = require("../../types/enums.js");
/**
 * The type of the description.
 */
var AssessmentsPackagesValue;
(function (AssessmentsPackagesValue) {
    AssessmentsPackagesValue["Responsibilities"] = "responsibilities";
    AssessmentsPackagesValue["Skills"] = "skills";
    AssessmentsPackagesValue["Benefits"] = "benefits";
})(AssessmentsPackagesValue || (exports.AssessmentsPackagesValue = AssessmentsPackagesValue = {}));
/** @internal */
exports.AssessmentsPackages4$inboundSchema = z.object({});
/** @internal */
exports.AssessmentsPackages4$outboundSchema = z.object({});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var AssessmentsPackages4$;
(function (AssessmentsPackages4$) {
    /** @deprecated use `AssessmentsPackages4$inboundSchema` instead. */
    AssessmentsPackages4$.inboundSchema = exports.AssessmentsPackages4$inboundSchema;
    /** @deprecated use `AssessmentsPackages4$outboundSchema` instead. */
    AssessmentsPackages4$.outboundSchema = exports.AssessmentsPackages4$outboundSchema;
})(AssessmentsPackages4$ || (exports.AssessmentsPackages4$ = AssessmentsPackages4$ = {}));
/** @internal */
exports.AssessmentsPackagesSourceValue$inboundSchema = z.union([
    z.lazy(() => exports.AssessmentsPackages4$inboundSchema),
    z.string(),
    z.number(),
    z.boolean(),
    z.array(z.any()),
]);
/** @internal */
exports.AssessmentsPackagesSourceValue$outboundSchema = z.union([
    z.lazy(() => exports.AssessmentsPackages4$outboundSchema),
    z.string(),
    z.number(),
    z.boolean(),
    z.array(z.any()),
]);
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var AssessmentsPackagesSourceValue$;
(function (AssessmentsPackagesSourceValue$) {
    /** @deprecated use `AssessmentsPackagesSourceValue$inboundSchema` instead. */
    AssessmentsPackagesSourceValue$.inboundSchema = exports.AssessmentsPackagesSourceValue$inboundSchema;
    /** @deprecated use `AssessmentsPackagesSourceValue$outboundSchema` instead. */
    AssessmentsPackagesSourceValue$.outboundSchema = exports.AssessmentsPackagesSourceValue$outboundSchema;
})(AssessmentsPackagesSourceValue$ || (exports.AssessmentsPackagesSourceValue$ = AssessmentsPackagesSourceValue$ = {}));
/** @internal */
exports.AssessmentsPackagesValue$inboundSchema = z
    .union([
    z.nativeEnum(AssessmentsPackagesValue),
    z.string().transform(enums_js_1.catchUnrecognizedEnum),
]);
/** @internal */
exports.AssessmentsPackagesValue$outboundSchema = z.union([
    z.nativeEnum(AssessmentsPackagesValue),
    z.string().and(z.custom()),
]);
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var AssessmentsPackagesValue$;
(function (AssessmentsPackagesValue$) {
    /** @deprecated use `AssessmentsPackagesValue$inboundSchema` instead. */
    AssessmentsPackagesValue$.inboundSchema = exports.AssessmentsPackagesValue$inboundSchema;
    /** @deprecated use `AssessmentsPackagesValue$outboundSchema` instead. */
    AssessmentsPackagesValue$.outboundSchema = exports.AssessmentsPackagesValue$outboundSchema;
})(AssessmentsPackagesValue$ || (exports.AssessmentsPackagesValue$ = AssessmentsPackagesValue$ = {}));
/** @internal */
exports.AssessmentsPackagesType$inboundSchema = z.object({
    source_value: z.nullable(z.union([
        z.lazy(() => exports.AssessmentsPackages4$inboundSchema),
        z.string(),
        z.number(),
        z.boolean(),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.AssessmentsPackagesValue$inboundSchema).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "source_value": "sourceValue",
    });
});
/** @internal */
exports.AssessmentsPackagesType$outboundSchema = z.object({
    sourceValue: z.nullable(z.union([
        z.lazy(() => exports.AssessmentsPackages4$outboundSchema),
        z.string(),
        z.number(),
        z.boolean(),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.AssessmentsPackagesValue$outboundSchema).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        sourceValue: "source_value",
    });
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var AssessmentsPackagesType$;
(function (AssessmentsPackagesType$) {
    /** @deprecated use `AssessmentsPackagesType$inboundSchema` instead. */
    AssessmentsPackagesType$.inboundSchema = exports.AssessmentsPackagesType$inboundSchema;
    /** @deprecated use `AssessmentsPackagesType$outboundSchema` instead. */
    AssessmentsPackagesType$.outboundSchema = exports.AssessmentsPackagesType$outboundSchema;
})(AssessmentsPackagesType$ || (exports.AssessmentsPackagesType$ = AssessmentsPackagesType$ = {}));
/** @internal */
exports.AssessmentsPackages$inboundSchema = z.object({
    description: z.nullable(z.string()).optional(),
    id: z.nullable(z.string()).optional(),
    name: z.nullable(z.string()).optional(),
    remote_id: z.nullable(z.string()).optional(),
    type: z.nullable(z.lazy(() => exports.AssessmentsPackagesType$inboundSchema))
        .optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "remote_id": "remoteId",
    });
});
/** @internal */
exports.AssessmentsPackages$outboundSchema = z.object({
    description: z.nullable(z.string()).optional(),
    id: z.nullable(z.string()).optional(),
    name: z.nullable(z.string()).optional(),
    remoteId: z.nullable(z.string()).optional(),
    type: z.nullable(z.lazy(() => exports.AssessmentsPackagesType$outboundSchema))
        .optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        remoteId: "remote_id",
    });
});
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
var AssessmentsPackages$;
(function (AssessmentsPackages$) {
    /** @deprecated use `AssessmentsPackages$inboundSchema` instead. */
    AssessmentsPackages$.inboundSchema = exports.AssessmentsPackages$inboundSchema;
    /** @deprecated use `AssessmentsPackages$outboundSchema` instead. */
    AssessmentsPackages$.outboundSchema = exports.AssessmentsPackages$outboundSchema;
})(AssessmentsPackages$ || (exports.AssessmentsPackages$ = AssessmentsPackages$ = {}));
//# sourceMappingURL=assessmentspackages.js.map