"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.SkillsSchemasLevelValue$inboundSchema = exports.skillsSchemasLevelSourceValueFromJSON = exports.skillsSchemasLevelSourceValueToJSON = exports.SkillsSchemasLevelSourceValue$ = exports.SkillsSchemasLevelSourceValue$outboundSchema = exports.SkillsSchemasLevelSourceValue$inboundSchema = exports.skillsSchemasLevel4FromJSON = exports.skillsSchemasLevel4ToJSON = exports.SkillsSchemasLevel4$ = exports.SkillsSchemasLevel4$outboundSchema = exports.SkillsSchemasLevel4$inboundSchema = exports.skillsLanguageFromJSON = exports.skillsLanguageToJSON = exports.SkillsLanguage$ = exports.SkillsLanguage$outboundSchema = exports.SkillsLanguage$inboundSchema = exports.SkillsSchemasValue$ = exports.SkillsSchemasValue$outboundSchema = exports.SkillsSchemasValue$inboundSchema = exports.skillsSchemasSourceValueFromJSON = exports.skillsSchemasSourceValueToJSON = exports.SkillsSchemasSourceValue$ = exports.SkillsSchemasSourceValue$outboundSchema = exports.SkillsSchemasSourceValue$inboundSchema = exports.skillsSchemas4FromJSON = exports.skillsSchemas4ToJSON = exports.SkillsSchemas4$ = exports.SkillsSchemas4$outboundSchema = exports.SkillsSchemas4$inboundSchema = exports.skillsHierarchyFromJSON = exports.skillsHierarchyToJSON = exports.SkillsHierarchy$ = exports.SkillsHierarchy$outboundSchema = exports.SkillsHierarchy$inboundSchema = exports.SkillsValue$ = exports.SkillsValue$outboundSchema = exports.SkillsValue$inboundSchema = exports.skillsSourceValueFromJSON = exports.skillsSourceValueToJSON = exports.SkillsSourceValue$ = exports.SkillsSourceValue$outboundSchema = exports.SkillsSourceValue$inboundSchema = exports.skills4FromJSON = exports.skills4ToJSON = exports.Skills4$ = exports.Skills4$outboundSchema = exports.Skills4$inboundSchema = exports.SkillsSchemasLevelValue = exports.SkillsSchemasValue = exports.SkillsValue = void 0;
exports.skillsFromJSON = exports.skillsToJSON = exports.Skills$ = exports.Skills$outboundSchema = exports.Skills$inboundSchema = exports.skillsLevelFromJSON = exports.skillsLevelToJSON = exports.SkillsLevel$ = exports.SkillsLevel$outboundSchema = exports.SkillsLevel$inboundSchema = exports.SkillsSchemasLevelValue$ = exports.SkillsSchemasLevelValue$outboundSchema = void 0;
const z = __importStar(require("zod"));
const primitives_js_1 = require("../../../lib/primitives.js");
const schemas_js_1 = require("../../../lib/schemas.js");
const enums_js_1 = require("../../types/enums.js");
var SkillsValue;
(function (SkillsValue) {
    SkillsValue["Primary"] = "primary";
    SkillsValue["Secondary"] = "secondary";
    SkillsValue["Tertiary"] = "tertiary";
    SkillsValue["UnmappedValue"] = "unmapped_value";
})(SkillsValue || (exports.SkillsValue = SkillsValue = {}));
/**
 * The Locale Code of the language
 */
var SkillsSchemasValue;
(function (SkillsSchemasValue) {
    SkillsSchemasValue["ARAR"] = "ar_AR";
    SkillsSchemasValue["AaER"] = "aa_ER";
    SkillsSchemasValue["AfNA"] = "af_NA";
    SkillsSchemasValue["AfZA"] = "af_ZA";
    SkillsSchemasValue["AmET"] = "am_ET";
    SkillsSchemasValue["ArAE"] = "ar_AE";
    SkillsSchemasValue["ArBH"] = "ar_BH";
    SkillsSchemasValue["ArDJ"] = "ar_DJ";
    SkillsSchemasValue["ArDZ"] = "ar_DZ";
    SkillsSchemasValue["ArEG"] = "ar_EG";
    SkillsSchemasValue["ArER"] = "ar_ER";
    SkillsSchemasValue["ArIQ"] = "ar_IQ";
    SkillsSchemasValue["ArJO"] = "ar_JO";
    SkillsSchemasValue["ArKM"] = "ar_KM";
    SkillsSchemasValue["ArKW"] = "ar_KW";
    SkillsSchemasValue["ArLB"] = "ar_LB";
    SkillsSchemasValue["ArLY"] = "ar_LY";
    SkillsSchemasValue["ArMA"] = "ar_MA";
    SkillsSchemasValue["ArMR"] = "ar_MR";
    SkillsSchemasValue["ArOM"] = "ar_OM";
    SkillsSchemasValue["ArPS"] = "ar_PS";
    SkillsSchemasValue["ArQA"] = "ar_QA";
    SkillsSchemasValue["ArSA"] = "ar_SA";
    SkillsSchemasValue["ArSD"] = "ar_SD";
    SkillsSchemasValue["ArSY"] = "ar_SY";
    SkillsSchemasValue["ArTD"] = "ar_TD";
    SkillsSchemasValue["ArTN"] = "ar_TN";
    SkillsSchemasValue["ArYE"] = "ar_YE";
    SkillsSchemasValue["AyBO"] = "ay_BO";
    SkillsSchemasValue["AyPE"] = "ay_PE";
    SkillsSchemasValue["AZAZ"] = "az_AZ";
    SkillsSchemasValue["AzIR"] = "az_IR";
    SkillsSchemasValue["BeBY"] = "be_BY";
    SkillsSchemasValue["BGBG"] = "bg_BG";
    SkillsSchemasValue["BiVU"] = "bi_VU";
    SkillsSchemasValue["BnBD"] = "bn_BD";
    SkillsSchemasValue["BnIN"] = "bn_IN";
    SkillsSchemasValue["BsBA"] = "bs_BA";
    SkillsSchemasValue["BsME"] = "bs-ME";
    SkillsSchemasValue["BynER"] = "byn_ER";
    SkillsSchemasValue["CaAD"] = "ca_AD";
    SkillsSchemasValue["CaES"] = "ca_ES";
    SkillsSchemasValue["CaFR"] = "ca_FR";
    SkillsSchemasValue["CaIT"] = "ca_IT";
    SkillsSchemasValue["ChGU"] = "ch_GU";
    SkillsSchemasValue["CsCZ"] = "cs_CZ";
    SkillsSchemasValue["DaDK"] = "da_DK";
    SkillsSchemasValue["DeAT"] = "de_AT";
    SkillsSchemasValue["DeBE"] = "de_BE";
    SkillsSchemasValue["DeCH"] = "de_CH";
    SkillsSchemasValue["DEDE"] = "de_DE";
    SkillsSchemasValue["DeLI"] = "de_LI";
    SkillsSchemasValue["DeLU"] = "de_LU";
    SkillsSchemasValue["DeVA"] = "de_VA";
    SkillsSchemasValue["DeMV"] = "de_MV";
    SkillsSchemasValue["DvMV"] = "dv_MV";
    SkillsSchemasValue["DzBT"] = "dz_BT";
    SkillsSchemasValue["ElCY"] = "el_CY";
    SkillsSchemasValue["ElGR"] = "el_GR";
    SkillsSchemasValue["EnAG"] = "en_AG";
    SkillsSchemasValue["EnAI"] = "en_AI";
    SkillsSchemasValue["EnAS"] = "en_AS";
    SkillsSchemasValue["EnAU"] = "en_AU";
    SkillsSchemasValue["EnBB"] = "en_BB";
    SkillsSchemasValue["EnBE"] = "en_BE";
    SkillsSchemasValue["EnBM"] = "en_BM";
    SkillsSchemasValue["EnBS"] = "en_BS";
    SkillsSchemasValue["EnBW"] = "en_BW";
    SkillsSchemasValue["EnBZ"] = "en_BZ";
    SkillsSchemasValue["EnCA"] = "en_CA";
    SkillsSchemasValue["EnCC"] = "en_CC";
    SkillsSchemasValue["EnCK"] = "en_CK";
    SkillsSchemasValue["EnCM"] = "en_CM";
    SkillsSchemasValue["EnCW"] = "en_CW";
    SkillsSchemasValue["EnCX"] = "en_CX";
    SkillsSchemasValue["EnDG"] = "en_DG";
    SkillsSchemasValue["EnDM"] = "en_DM";
    SkillsSchemasValue["EnER"] = "en_ER";
    SkillsSchemasValue["EnFJ"] = "en_FJ";
    SkillsSchemasValue["EnFK"] = "en_FK";
    SkillsSchemasValue["EnFM"] = "en_FM";
    SkillsSchemasValue["EnGB"] = "en_GB";
    SkillsSchemasValue["EnGD"] = "en_GD";
    SkillsSchemasValue["EnGG"] = "en_GG";
    SkillsSchemasValue["EnGH"] = "en_GH";
    SkillsSchemasValue["EnGI"] = "en_GI";
    SkillsSchemasValue["EnGM"] = "en_GM";
    SkillsSchemasValue["EnGS"] = "en_GS";
    SkillsSchemasValue["EnGU"] = "en_GU";
    SkillsSchemasValue["EnGY"] = "en_GY";
    SkillsSchemasValue["EnHK"] = "en_HK";
    SkillsSchemasValue["EnIE"] = "en_IE";
    SkillsSchemasValue["EnIM"] = "en_IM";
    SkillsSchemasValue["EnIN"] = "en_IN";
    SkillsSchemasValue["EnIO"] = "en_IO";
    SkillsSchemasValue["EnJE"] = "en_JE";
    SkillsSchemasValue["EnJM"] = "en_JM";
    SkillsSchemasValue["EnKE"] = "en_KE";
    SkillsSchemasValue["EnKI"] = "en_KI";
    SkillsSchemasValue["EnKN"] = "en_KN";
    SkillsSchemasValue["EnKY"] = "en_KY";
    SkillsSchemasValue["EnLC"] = "en_LC";
    SkillsSchemasValue["EnLR"] = "en_LR";
    SkillsSchemasValue["EnLS"] = "en_LS";
    SkillsSchemasValue["EnMF"] = "en_MF";
    SkillsSchemasValue["EnMG"] = "en_MG";
    SkillsSchemasValue["EnMH"] = "en_MH";
    SkillsSchemasValue["EnMO"] = "en_MO";
    SkillsSchemasValue["EnMP"] = "en_MP";
    SkillsSchemasValue["EnMS"] = "en_MS";
    SkillsSchemasValue["EnMT"] = "en_MT";
    SkillsSchemasValue["EnMU"] = "en_MU";
    SkillsSchemasValue["EnMW"] = "en_MW";
    SkillsSchemasValue["EnMY"] = "en_MY";
    SkillsSchemasValue["EnNA"] = "en_NA";
    SkillsSchemasValue["EnNF"] = "en_NF";
    SkillsSchemasValue["EnNG"] = "en_NG";
    SkillsSchemasValue["EnNL"] = "en_NL";
    SkillsSchemasValue["EnNR"] = "en_NR";
    SkillsSchemasValue["EnNU"] = "en_NU";
    SkillsSchemasValue["EnNZ"] = "en_NZ";
    SkillsSchemasValue["EnPG"] = "en_PG";
    SkillsSchemasValue["EnPH"] = "en_PH";
    SkillsSchemasValue["EnPK"] = "en_PK";
    SkillsSchemasValue["EnPN"] = "en_PN";
    SkillsSchemasValue["EnPR"] = "en_PR";
    SkillsSchemasValue["EnPW"] = "en_PW";
    SkillsSchemasValue["EnRW"] = "en_RW";
    SkillsSchemasValue["EnSB"] = "en_SB";
    SkillsSchemasValue["EnSC"] = "en_SC";
    SkillsSchemasValue["EnSD"] = "en_SD";
    SkillsSchemasValue["EnSG"] = "en_SG";
    SkillsSchemasValue["EnSH"] = "en_SH";
    SkillsSchemasValue["EnSL"] = "en_SL";
    SkillsSchemasValue["EnSS"] = "en_SS";
    SkillsSchemasValue["EnSX"] = "en_SX";
    SkillsSchemasValue["EnSZ"] = "en_SZ";
    SkillsSchemasValue["EnTC"] = "en_TC";
    SkillsSchemasValue["EnTK"] = "en_TK";
    SkillsSchemasValue["EnTO"] = "en_TO";
    SkillsSchemasValue["EnTT"] = "en_TT";
    SkillsSchemasValue["EnTV"] = "en_TV";
    SkillsSchemasValue["EnTZ"] = "en_TZ";
    SkillsSchemasValue["EnUG"] = "en_UG";
    SkillsSchemasValue["EnUM"] = "en_UM";
    SkillsSchemasValue["EnUS"] = "en_US";
    SkillsSchemasValue["EnVC"] = "en_VC";
    SkillsSchemasValue["EnVG"] = "en_VG";
    SkillsSchemasValue["EnVI"] = "en_VI";
    SkillsSchemasValue["EnVU"] = "en_VU";
    SkillsSchemasValue["EnWS"] = "en_WS";
    SkillsSchemasValue["EnZA"] = "en_ZA";
    SkillsSchemasValue["EnZM"] = "en_ZM";
    SkillsSchemasValue["EnZW"] = "en_ZW";
    SkillsSchemasValue["EsAR"] = "es_AR";
    SkillsSchemasValue["EsBO"] = "es_BO";
    SkillsSchemasValue["EsBZ"] = "es_BZ";
    SkillsSchemasValue["EsCL"] = "es_CL";
    SkillsSchemasValue["EsCO"] = "es_CO";
    SkillsSchemasValue["EsCR"] = "es_CR";
    SkillsSchemasValue["EsCU"] = "es_CU";
    SkillsSchemasValue["EsDO"] = "es_DO";
    SkillsSchemasValue["EsEA"] = "es_EA";
    SkillsSchemasValue["EsEC"] = "es_EC";
    SkillsSchemasValue["EsEH"] = "es_EH";
    SkillsSchemasValue["ESES"] = "es_ES";
    SkillsSchemasValue["EsGQ"] = "es_GQ";
    SkillsSchemasValue["EsGT"] = "es_GT";
    SkillsSchemasValue["EsHN"] = "es_HN";
    SkillsSchemasValue["EsIC"] = "es_IC";
    SkillsSchemasValue["EsLA"] = "es_LA";
    SkillsSchemasValue["EsMX"] = "es_MX";
    SkillsSchemasValue["EsNI"] = "es_NI";
    SkillsSchemasValue["EsPA"] = "es_PA";
    SkillsSchemasValue["EsPE"] = "es_PE";
    SkillsSchemasValue["EsPH"] = "es_PH";
    SkillsSchemasValue["EsPR"] = "es_PR";
    SkillsSchemasValue["EsPY"] = "es_PY";
    SkillsSchemasValue["EsSV"] = "es_SV";
    SkillsSchemasValue["EsUS"] = "es_US";
    SkillsSchemasValue["EsUY"] = "es_UY";
    SkillsSchemasValue["EsVE"] = "es_VE";
    SkillsSchemasValue["EtEE"] = "et_EE";
    SkillsSchemasValue["FaAF"] = "fa_AF";
    SkillsSchemasValue["FaIR"] = "fa_IR";
    SkillsSchemasValue["FanGA"] = "fan_GA";
    SkillsSchemasValue["FfCM"] = "ff_CM";
    SkillsSchemasValue["FfGN"] = "ff_GN";
    SkillsSchemasValue["FfMR"] = "ff_MR";
    SkillsSchemasValue["FfSN"] = "ff_SN";
    SkillsSchemasValue["FfBF"] = "ff_BF";
    SkillsSchemasValue["FIFI"] = "fi_FI";
    SkillsSchemasValue["FJFJ"] = "fj_FJ";
    SkillsSchemasValue["FOFO"] = "fo_FO";
    SkillsSchemasValue["FrBE"] = "fr_BE";
    SkillsSchemasValue["FrBF"] = "fr_BF";
    SkillsSchemasValue["FrBI"] = "fr_BI";
    SkillsSchemasValue["FrBJ"] = "fr_BJ";
    SkillsSchemasValue["FrBL"] = "fr_BL";
    SkillsSchemasValue["FrCA"] = "fr_CA";
    SkillsSchemasValue["FrCD"] = "fr_CD";
    SkillsSchemasValue["FrCF"] = "fr_CF";
    SkillsSchemasValue["FrCG"] = "fr_CG";
    SkillsSchemasValue["FrCH"] = "fr_CH";
    SkillsSchemasValue["FrCI"] = "fr_CI";
    SkillsSchemasValue["FrCM"] = "fr_CM";
    SkillsSchemasValue["FrDJ"] = "fr_DJ";
    SkillsSchemasValue["FrDZ"] = "fr_DZ";
    SkillsSchemasValue["FRFR"] = "fr_FR";
    SkillsSchemasValue["FrGA"] = "fr_GA";
    SkillsSchemasValue["FrGF"] = "fr_GF";
    SkillsSchemasValue["FrGG"] = "fr_GG";
    SkillsSchemasValue["FrGN"] = "fr_GN";
    SkillsSchemasValue["FrGP"] = "fr_GP";
    SkillsSchemasValue["FrGQ"] = "fr_GQ";
    SkillsSchemasValue["FrHT"] = "fr_HT";
    SkillsSchemasValue["FrKM"] = "fr_KM";
    SkillsSchemasValue["FrJE"] = "fr_JE";
    SkillsSchemasValue["FrLU"] = "fr_LU";
    SkillsSchemasValue["FrLB"] = "fr_LB";
    SkillsSchemasValue["FrMA"] = "fr_MA";
    SkillsSchemasValue["FrMC"] = "fr_MC";
    SkillsSchemasValue["FrMF"] = "fr_MF";
    SkillsSchemasValue["FrMG"] = "fr_MG";
    SkillsSchemasValue["FrML"] = "fr_ML";
    SkillsSchemasValue["FrMQ"] = "fr_MQ";
    SkillsSchemasValue["FrMR"] = "fr_MR";
    SkillsSchemasValue["FrMU"] = "fr_MU";
    SkillsSchemasValue["FrNC"] = "fr_NC";
    SkillsSchemasValue["FrNE"] = "fr_NE";
    SkillsSchemasValue["FrPF"] = "fr_PF";
    SkillsSchemasValue["FrPM"] = "fr_PM";
    SkillsSchemasValue["FrRE"] = "fr_RE";
    SkillsSchemasValue["FrRW"] = "fr_RW";
    SkillsSchemasValue["FrSC"] = "fr_SC";
    SkillsSchemasValue["FrSN"] = "fr_SN";
    SkillsSchemasValue["FrSY"] = "fr_SY";
    SkillsSchemasValue["FrTD"] = "fr_TD";
    SkillsSchemasValue["FrTF"] = "fr_TF";
    SkillsSchemasValue["FrTG"] = "fr_TG";
    SkillsSchemasValue["FrTN"] = "fr_TN";
    SkillsSchemasValue["FrVU"] = "fr_VU";
    SkillsSchemasValue["FrVA"] = "fr_VA";
    SkillsSchemasValue["FrWF"] = "fr_WF";
    SkillsSchemasValue["FrYT"] = "fr_YT";
    SkillsSchemasValue["GaIE"] = "ga_IE";
    SkillsSchemasValue["GnPY"] = "gn_PY";
    SkillsSchemasValue["GnAR"] = "gn_AR";
    SkillsSchemasValue["GuIN"] = "gu_IN";
    SkillsSchemasValue["GvIM"] = "gv_IM";
    SkillsSchemasValue["HeIL"] = "he_IL";
    SkillsSchemasValue["HiIN"] = "hi_IN";
    SkillsSchemasValue["HrBA"] = "hr_BA";
    SkillsSchemasValue["HRHR"] = "hr_HR";
    SkillsSchemasValue["HrME"] = "hr_ME";
    SkillsSchemasValue["HTHT"] = "ht_HT";
    SkillsSchemasValue["HUHU"] = "hu_HU";
    SkillsSchemasValue["HyAM"] = "hy_AM";
    SkillsSchemasValue["HyCY"] = "hy_CY";
    SkillsSchemasValue["IDID"] = "id_ID";
    SkillsSchemasValue["ISIS"] = "is_IS";
    SkillsSchemasValue["ItCH"] = "it_CH";
    SkillsSchemasValue["ITIT"] = "it_IT";
    SkillsSchemasValue["ItSM"] = "it_SM";
    SkillsSchemasValue["ItVA"] = "it_VA";
    SkillsSchemasValue["JaJP"] = "ja_JP";
    SkillsSchemasValue["KaGE"] = "ka_GE";
    SkillsSchemasValue["KgCD"] = "kg_CD";
    SkillsSchemasValue["KkKZ"] = "kk_KZ";
    SkillsSchemasValue["KlGL"] = "kl_GL";
    SkillsSchemasValue["KmKH"] = "km_KH";
    SkillsSchemasValue["KoKP"] = "ko_KP";
    SkillsSchemasValue["KoKR"] = "ko_KR";
    SkillsSchemasValue["KuIQ"] = "ku_IQ";
    SkillsSchemasValue["KyKG"] = "ky_KG";
    SkillsSchemasValue["LaVA"] = "la_VA";
    SkillsSchemasValue["LbLU"] = "lb_LU";
    SkillsSchemasValue["LnAO"] = "ln_AO";
    SkillsSchemasValue["LnCD"] = "ln_CD";
    SkillsSchemasValue["LnCF"] = "ln_CF";
    SkillsSchemasValue["LnCG"] = "ln_CG";
    SkillsSchemasValue["LoLA"] = "lo_LA";
    SkillsSchemasValue["LTLT"] = "lt_LT";
    SkillsSchemasValue["LuCD"] = "lu_CD";
    SkillsSchemasValue["LVLV"] = "lv_LV";
    SkillsSchemasValue["MGMG"] = "mg_MG";
    SkillsSchemasValue["MHMH"] = "mh_MH";
    SkillsSchemasValue["MiNZ"] = "mi_NZ";
    SkillsSchemasValue["MKMK"] = "mk_MK";
    SkillsSchemasValue["MNMN"] = "mn_MN";
    SkillsSchemasValue["MrIN"] = "mr_IN";
    SkillsSchemasValue["MsBN"] = "ms_BN";
    SkillsSchemasValue["MsMY"] = "ms_MY";
    SkillsSchemasValue["MsSG"] = "ms_SG";
    SkillsSchemasValue["MTMT"] = "mt_MT";
    SkillsSchemasValue["MyMM"] = "my_MM";
    SkillsSchemasValue["NbNO"] = "nb_NO";
    SkillsSchemasValue["NbBV"] = "nb_BV";
    SkillsSchemasValue["NbZW"] = "nb_ZW";
    SkillsSchemasValue["NeNP"] = "ne_NP";
    SkillsSchemasValue["NlAW"] = "nl_AW";
    SkillsSchemasValue["NlBE"] = "nl_BE";
    SkillsSchemasValue["NlBQ"] = "nl_BQ";
    SkillsSchemasValue["NlCW"] = "nl_CW";
    SkillsSchemasValue["NLNL"] = "nl_NL";
    SkillsSchemasValue["NlSR"] = "nl_SR";
    SkillsSchemasValue["NlSX"] = "nl_SX";
    SkillsSchemasValue["NlMF"] = "nl_MF";
    SkillsSchemasValue["NnNO"] = "nn_NO";
    SkillsSchemasValue["NnBV"] = "nn_BV";
    SkillsSchemasValue["NONO"] = "no_NO";
    SkillsSchemasValue["NoBV"] = "no_BV";
    SkillsSchemasValue["NoSJ"] = "no_SJ";
    SkillsSchemasValue["NrZA"] = "nr_ZA";
    SkillsSchemasValue["NyMW"] = "ny_MW";
    SkillsSchemasValue["PaIN"] = "pa_IN";
    SkillsSchemasValue["PaPK"] = "pa_PK";
    SkillsSchemasValue["PLPL"] = "pl_PL";
    SkillsSchemasValue["PsAF"] = "ps_AF";
    SkillsSchemasValue["PtAO"] = "pt_AO";
    SkillsSchemasValue["PtBR"] = "pt_BR";
    SkillsSchemasValue["PtCH"] = "pt_CH";
    SkillsSchemasValue["PtCV"] = "pt_CV";
    SkillsSchemasValue["PtGQ"] = "pt_GQ";
    SkillsSchemasValue["PtGW"] = "pt_GW";
    SkillsSchemasValue["PtLU"] = "pt_LU";
    SkillsSchemasValue["PtMO"] = "pt_MO";
    SkillsSchemasValue["PtMZ"] = "pt_MZ";
    SkillsSchemasValue["PTPT"] = "pt_PT";
    SkillsSchemasValue["PtST"] = "pt_ST";
    SkillsSchemasValue["PtTL"] = "pt_TL";
    SkillsSchemasValue["QuBO"] = "qu_BO";
    SkillsSchemasValue["QuEC"] = "qu_EC";
    SkillsSchemasValue["QuPE"] = "qu_PE";
    SkillsSchemasValue["RarCK"] = "rar_CK";
    SkillsSchemasValue["RmCH"] = "rm_CH";
    SkillsSchemasValue["RupMK"] = "rup_MK";
    SkillsSchemasValue["RoMD"] = "ro_MD";
    SkillsSchemasValue["RORO"] = "ro_RO";
    SkillsSchemasValue["RuBY"] = "ru_BY";
    SkillsSchemasValue["RuKG"] = "ru_KG";
    SkillsSchemasValue["RuKZ"] = "ru_KZ";
    SkillsSchemasValue["RuMD"] = "ru_MD";
    SkillsSchemasValue["RURU"] = "ru_RU";
    SkillsSchemasValue["RuUA"] = "ru_UA";
    SkillsSchemasValue["RuAQ"] = "ru_AQ";
    SkillsSchemasValue["RuTJ"] = "ru_TJ";
    SkillsSchemasValue["RuTM"] = "ru_TM";
    SkillsSchemasValue["RuUZ"] = "ru_UZ";
    SkillsSchemasValue["RWRW"] = "rw_RW";
    SkillsSchemasValue["SESE"] = "se_SE";
    SkillsSchemasValue["SgCF"] = "sg_CF";
    SkillsSchemasValue["SiLK"] = "si_LK";
    SkillsSchemasValue["SKSK"] = "sk_SK";
    SkillsSchemasValue["SlSI"] = "sl_SI";
    SkillsSchemasValue["SmAS"] = "sm_AS";
    SkillsSchemasValue["SmWS"] = "sm_WS";
    SkillsSchemasValue["SnZW"] = "sn_ZW";
    SkillsSchemasValue["SoDJ"] = "so_DJ";
    SkillsSchemasValue["SoET"] = "so_ET";
    SkillsSchemasValue["SoKE"] = "so_KE";
    SkillsSchemasValue["SOSO"] = "so_SO";
    SkillsSchemasValue["SqAL"] = "sq_AL";
    SkillsSchemasValue["SqME"] = "sq_ME";
    SkillsSchemasValue["SqXK"] = "sq_XK";
    SkillsSchemasValue["SrBA"] = "sr_BA";
    SkillsSchemasValue["SrME"] = "sr_ME";
    SkillsSchemasValue["SrRS"] = "sr_RS";
    SkillsSchemasValue["SrXK"] = "sr_XK";
    SkillsSchemasValue["SsSZ"] = "ss_SZ";
    SkillsSchemasValue["SsZA"] = "ss_ZA";
    SkillsSchemasValue["SvAX"] = "sv_AX";
    SkillsSchemasValue["SvFI"] = "sv_FI";
    SkillsSchemasValue["SvSE"] = "sv_SE";
    SkillsSchemasValue["SwKE"] = "sw_KE";
    SkillsSchemasValue["SwTZ"] = "sw_TZ";
    SkillsSchemasValue["SwUG"] = "sw_UG";
    SkillsSchemasValue["SwCD"] = "sw_CD";
    SkillsSchemasValue["TaIN"] = "ta_IN";
    SkillsSchemasValue["TaMY"] = "ta_MY";
    SkillsSchemasValue["TaSG"] = "ta_SG";
    SkillsSchemasValue["TaLK"] = "ta_LK";
    SkillsSchemasValue["TeIN"] = "te_IN";
    SkillsSchemasValue["TgTJ"] = "tg_TJ";
    SkillsSchemasValue["THTH"] = "th_TH";
    SkillsSchemasValue["TiER"] = "ti_ER";
    SkillsSchemasValue["TiET"] = "ti_ET";
    SkillsSchemasValue["TigER"] = "tig_ER";
    SkillsSchemasValue["TkTM"] = "tk_TM";
    SkillsSchemasValue["TkAF"] = "tk_AF";
    SkillsSchemasValue["TnBW"] = "tn_BW";
    SkillsSchemasValue["TnZA"] = "tn_ZA";
    SkillsSchemasValue["TOTO"] = "to_TO";
    SkillsSchemasValue["TrCY"] = "tr_CY";
    SkillsSchemasValue["TRTR"] = "tr_TR";
    SkillsSchemasValue["TsZA"] = "ts_ZA";
    SkillsSchemasValue["UkUA"] = "uk_UA";
    SkillsSchemasValue["UrIN"] = "ur_IN";
    SkillsSchemasValue["UrPK"] = "ur_PK";
    SkillsSchemasValue["UzAF"] = "uz_AF";
    SkillsSchemasValue["UZUZ"] = "uz_UZ";
    SkillsSchemasValue["VeZA"] = "ve_ZA";
    SkillsSchemasValue["ViVN"] = "vi_VN";
    SkillsSchemasValue["XhZA"] = "xh_ZA";
    SkillsSchemasValue["ZhCN"] = "zh_CN";
    SkillsSchemasValue["ZhHK"] = "zh_HK";
    SkillsSchemasValue["ZhMO"] = "zh_MO";
    SkillsSchemasValue["ZhSG"] = "zh_SG";
    SkillsSchemasValue["ZhTW"] = "zh_TW";
    SkillsSchemasValue["ZuZA"] = "zu_ZA";
    SkillsSchemasValue["UnmappedValue"] = "unmapped_value";
})(SkillsSchemasValue || (exports.SkillsSchemasValue = SkillsSchemasValue = {}));
var SkillsSchemasLevelValue;
(function (SkillsSchemasLevelValue) {
    SkillsSchemasLevelValue["Primary"] = "primary";
    SkillsSchemasLevelValue["Secondary"] = "secondary";
    SkillsSchemasLevelValue["Tertiary"] = "tertiary";
    SkillsSchemasLevelValue["UnmappedValue"] = "unmapped_value";
})(SkillsSchemasLevelValue || (exports.SkillsSchemasLevelValue = SkillsSchemasLevelValue = {}));
/** @internal */
exports.Skills4$inboundSchema = z.object({});
/** @internal */
exports.Skills4$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 Skills4$;
(function (Skills4$) {
    /** @deprecated use `Skills4$inboundSchema` instead. */
    Skills4$.inboundSchema = exports.Skills4$inboundSchema;
    /** @deprecated use `Skills4$outboundSchema` instead. */
    Skills4$.outboundSchema = exports.Skills4$outboundSchema;
})(Skills4$ || (exports.Skills4$ = Skills4$ = {}));
function skills4ToJSON(skills4) {
    return JSON.stringify(exports.Skills4$outboundSchema.parse(skills4));
}
exports.skills4ToJSON = skills4ToJSON;
function skills4FromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Skills4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Skills4' from JSON`);
}
exports.skills4FromJSON = skills4FromJSON;
/** @internal */
exports.SkillsSourceValue$inboundSchema = z.union([
    z.lazy(() => exports.Skills4$inboundSchema),
    z.string(),
    z.number(),
    z.boolean(),
    z.array(z.any()),
]);
/** @internal */
exports.SkillsSourceValue$outboundSchema = z.union([
    z.lazy(() => exports.Skills4$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 SkillsSourceValue$;
(function (SkillsSourceValue$) {
    /** @deprecated use `SkillsSourceValue$inboundSchema` instead. */
    SkillsSourceValue$.inboundSchema = exports.SkillsSourceValue$inboundSchema;
    /** @deprecated use `SkillsSourceValue$outboundSchema` instead. */
    SkillsSourceValue$.outboundSchema = exports.SkillsSourceValue$outboundSchema;
})(SkillsSourceValue$ || (exports.SkillsSourceValue$ = SkillsSourceValue$ = {}));
function skillsSourceValueToJSON(skillsSourceValue) {
    return JSON.stringify(exports.SkillsSourceValue$outboundSchema.parse(skillsSourceValue));
}
exports.skillsSourceValueToJSON = skillsSourceValueToJSON;
function skillsSourceValueFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SkillsSourceValue$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SkillsSourceValue' from JSON`);
}
exports.skillsSourceValueFromJSON = skillsSourceValueFromJSON;
/** @internal */
exports.SkillsValue$inboundSchema = z
    .union([
    z.nativeEnum(SkillsValue),
    z.string().transform(enums_js_1.catchUnrecognizedEnum),
]);
/** @internal */
exports.SkillsValue$outboundSchema = z.union([
    z.nativeEnum(SkillsValue),
    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 SkillsValue$;
(function (SkillsValue$) {
    /** @deprecated use `SkillsValue$inboundSchema` instead. */
    SkillsValue$.inboundSchema = exports.SkillsValue$inboundSchema;
    /** @deprecated use `SkillsValue$outboundSchema` instead. */
    SkillsValue$.outboundSchema = exports.SkillsValue$outboundSchema;
})(SkillsValue$ || (exports.SkillsValue$ = SkillsValue$ = {}));
/** @internal */
exports.SkillsHierarchy$inboundSchema = z.object({
    source_value: z.nullable(z.union([
        z.lazy(() => exports.Skills4$inboundSchema),
        z.string(),
        z.number(),
        z.boolean(),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.SkillsValue$inboundSchema).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "source_value": "sourceValue",
    });
});
/** @internal */
exports.SkillsHierarchy$outboundSchema = z.object({
    sourceValue: z.nullable(z.union([
        z.lazy(() => exports.Skills4$outboundSchema),
        z.string(),
        z.number(),
        z.boolean(),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.SkillsValue$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 SkillsHierarchy$;
(function (SkillsHierarchy$) {
    /** @deprecated use `SkillsHierarchy$inboundSchema` instead. */
    SkillsHierarchy$.inboundSchema = exports.SkillsHierarchy$inboundSchema;
    /** @deprecated use `SkillsHierarchy$outboundSchema` instead. */
    SkillsHierarchy$.outboundSchema = exports.SkillsHierarchy$outboundSchema;
})(SkillsHierarchy$ || (exports.SkillsHierarchy$ = SkillsHierarchy$ = {}));
function skillsHierarchyToJSON(skillsHierarchy) {
    return JSON.stringify(exports.SkillsHierarchy$outboundSchema.parse(skillsHierarchy));
}
exports.skillsHierarchyToJSON = skillsHierarchyToJSON;
function skillsHierarchyFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SkillsHierarchy$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SkillsHierarchy' from JSON`);
}
exports.skillsHierarchyFromJSON = skillsHierarchyFromJSON;
/** @internal */
exports.SkillsSchemas4$inboundSchema = z.object({});
/** @internal */
exports.SkillsSchemas4$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 SkillsSchemas4$;
(function (SkillsSchemas4$) {
    /** @deprecated use `SkillsSchemas4$inboundSchema` instead. */
    SkillsSchemas4$.inboundSchema = exports.SkillsSchemas4$inboundSchema;
    /** @deprecated use `SkillsSchemas4$outboundSchema` instead. */
    SkillsSchemas4$.outboundSchema = exports.SkillsSchemas4$outboundSchema;
})(SkillsSchemas4$ || (exports.SkillsSchemas4$ = SkillsSchemas4$ = {}));
function skillsSchemas4ToJSON(skillsSchemas4) {
    return JSON.stringify(exports.SkillsSchemas4$outboundSchema.parse(skillsSchemas4));
}
exports.skillsSchemas4ToJSON = skillsSchemas4ToJSON;
function skillsSchemas4FromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SkillsSchemas4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SkillsSchemas4' from JSON`);
}
exports.skillsSchemas4FromJSON = skillsSchemas4FromJSON;
/** @internal */
exports.SkillsSchemasSourceValue$inboundSchema = z.union([
    z.lazy(() => exports.SkillsSchemas4$inboundSchema),
    z.string(),
    z.number(),
    z.boolean(),
    z.array(z.any()),
]);
/** @internal */
exports.SkillsSchemasSourceValue$outboundSchema = z.union([
    z.lazy(() => exports.SkillsSchemas4$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 SkillsSchemasSourceValue$;
(function (SkillsSchemasSourceValue$) {
    /** @deprecated use `SkillsSchemasSourceValue$inboundSchema` instead. */
    SkillsSchemasSourceValue$.inboundSchema = exports.SkillsSchemasSourceValue$inboundSchema;
    /** @deprecated use `SkillsSchemasSourceValue$outboundSchema` instead. */
    SkillsSchemasSourceValue$.outboundSchema = exports.SkillsSchemasSourceValue$outboundSchema;
})(SkillsSchemasSourceValue$ || (exports.SkillsSchemasSourceValue$ = SkillsSchemasSourceValue$ = {}));
function skillsSchemasSourceValueToJSON(skillsSchemasSourceValue) {
    return JSON.stringify(exports.SkillsSchemasSourceValue$outboundSchema.parse(skillsSchemasSourceValue));
}
exports.skillsSchemasSourceValueToJSON = skillsSchemasSourceValueToJSON;
function skillsSchemasSourceValueFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SkillsSchemasSourceValue$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SkillsSchemasSourceValue' from JSON`);
}
exports.skillsSchemasSourceValueFromJSON = skillsSchemasSourceValueFromJSON;
/** @internal */
exports.SkillsSchemasValue$inboundSchema = z
    .union([
    z.nativeEnum(SkillsSchemasValue),
    z.string().transform(enums_js_1.catchUnrecognizedEnum),
]);
/** @internal */
exports.SkillsSchemasValue$outboundSchema = z.union([
    z.nativeEnum(SkillsSchemasValue),
    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 SkillsSchemasValue$;
(function (SkillsSchemasValue$) {
    /** @deprecated use `SkillsSchemasValue$inboundSchema` instead. */
    SkillsSchemasValue$.inboundSchema = exports.SkillsSchemasValue$inboundSchema;
    /** @deprecated use `SkillsSchemasValue$outboundSchema` instead. */
    SkillsSchemasValue$.outboundSchema = exports.SkillsSchemasValue$outboundSchema;
})(SkillsSchemasValue$ || (exports.SkillsSchemasValue$ = SkillsSchemasValue$ = {}));
/** @internal */
exports.SkillsLanguage$inboundSchema = z.object({
    source_value: z.nullable(z.union([
        z.lazy(() => exports.SkillsSchemas4$inboundSchema),
        z.string(),
        z.number(),
        z.boolean(),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.SkillsSchemasValue$inboundSchema).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "source_value": "sourceValue",
    });
});
/** @internal */
exports.SkillsLanguage$outboundSchema = z.object({
    sourceValue: z.nullable(z.union([
        z.lazy(() => exports.SkillsSchemas4$outboundSchema),
        z.string(),
        z.number(),
        z.boolean(),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.SkillsSchemasValue$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 SkillsLanguage$;
(function (SkillsLanguage$) {
    /** @deprecated use `SkillsLanguage$inboundSchema` instead. */
    SkillsLanguage$.inboundSchema = exports.SkillsLanguage$inboundSchema;
    /** @deprecated use `SkillsLanguage$outboundSchema` instead. */
    SkillsLanguage$.outboundSchema = exports.SkillsLanguage$outboundSchema;
})(SkillsLanguage$ || (exports.SkillsLanguage$ = SkillsLanguage$ = {}));
function skillsLanguageToJSON(skillsLanguage) {
    return JSON.stringify(exports.SkillsLanguage$outboundSchema.parse(skillsLanguage));
}
exports.skillsLanguageToJSON = skillsLanguageToJSON;
function skillsLanguageFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SkillsLanguage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SkillsLanguage' from JSON`);
}
exports.skillsLanguageFromJSON = skillsLanguageFromJSON;
/** @internal */
exports.SkillsSchemasLevel4$inboundSchema = z.object({});
/** @internal */
exports.SkillsSchemasLevel4$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 SkillsSchemasLevel4$;
(function (SkillsSchemasLevel4$) {
    /** @deprecated use `SkillsSchemasLevel4$inboundSchema` instead. */
    SkillsSchemasLevel4$.inboundSchema = exports.SkillsSchemasLevel4$inboundSchema;
    /** @deprecated use `SkillsSchemasLevel4$outboundSchema` instead. */
    SkillsSchemasLevel4$.outboundSchema = exports.SkillsSchemasLevel4$outboundSchema;
})(SkillsSchemasLevel4$ || (exports.SkillsSchemasLevel4$ = SkillsSchemasLevel4$ = {}));
function skillsSchemasLevel4ToJSON(skillsSchemasLevel4) {
    return JSON.stringify(exports.SkillsSchemasLevel4$outboundSchema.parse(skillsSchemasLevel4));
}
exports.skillsSchemasLevel4ToJSON = skillsSchemasLevel4ToJSON;
function skillsSchemasLevel4FromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SkillsSchemasLevel4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SkillsSchemasLevel4' from JSON`);
}
exports.skillsSchemasLevel4FromJSON = skillsSchemasLevel4FromJSON;
/** @internal */
exports.SkillsSchemasLevelSourceValue$inboundSchema = z.union([
    z.lazy(() => exports.SkillsSchemasLevel4$inboundSchema),
    z.string(),
    z.number(),
    z.boolean(),
    z.array(z.any()),
]);
/** @internal */
exports.SkillsSchemasLevelSourceValue$outboundSchema = z.union([
    z.lazy(() => exports.SkillsSchemasLevel4$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 SkillsSchemasLevelSourceValue$;
(function (SkillsSchemasLevelSourceValue$) {
    /** @deprecated use `SkillsSchemasLevelSourceValue$inboundSchema` instead. */
    SkillsSchemasLevelSourceValue$.inboundSchema = exports.SkillsSchemasLevelSourceValue$inboundSchema;
    /** @deprecated use `SkillsSchemasLevelSourceValue$outboundSchema` instead. */
    SkillsSchemasLevelSourceValue$.outboundSchema = exports.SkillsSchemasLevelSourceValue$outboundSchema;
})(SkillsSchemasLevelSourceValue$ || (exports.SkillsSchemasLevelSourceValue$ = SkillsSchemasLevelSourceValue$ = {}));
function skillsSchemasLevelSourceValueToJSON(skillsSchemasLevelSourceValue) {
    return JSON.stringify(exports.SkillsSchemasLevelSourceValue$outboundSchema.parse(skillsSchemasLevelSourceValue));
}
exports.skillsSchemasLevelSourceValueToJSON = skillsSchemasLevelSourceValueToJSON;
function skillsSchemasLevelSourceValueFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SkillsSchemasLevelSourceValue$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SkillsSchemasLevelSourceValue' from JSON`);
}
exports.skillsSchemasLevelSourceValueFromJSON = skillsSchemasLevelSourceValueFromJSON;
/** @internal */
exports.SkillsSchemasLevelValue$inboundSchema = z
    .union([
    z.nativeEnum(SkillsSchemasLevelValue),
    z.string().transform(enums_js_1.catchUnrecognizedEnum),
]);
/** @internal */
exports.SkillsSchemasLevelValue$outboundSchema = z.union([
    z.nativeEnum(SkillsSchemasLevelValue),
    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 SkillsSchemasLevelValue$;
(function (SkillsSchemasLevelValue$) {
    /** @deprecated use `SkillsSchemasLevelValue$inboundSchema` instead. */
    SkillsSchemasLevelValue$.inboundSchema = exports.SkillsSchemasLevelValue$inboundSchema;
    /** @deprecated use `SkillsSchemasLevelValue$outboundSchema` instead. */
    SkillsSchemasLevelValue$.outboundSchema = exports.SkillsSchemasLevelValue$outboundSchema;
})(SkillsSchemasLevelValue$ || (exports.SkillsSchemasLevelValue$ = SkillsSchemasLevelValue$ = {}));
/** @internal */
exports.SkillsLevel$inboundSchema = z.object({
    source_value: z.nullable(z.union([
        z.lazy(() => exports.SkillsSchemasLevel4$inboundSchema),
        z.string(),
        z.number(),
        z.boolean(),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.SkillsSchemasLevelValue$inboundSchema).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "source_value": "sourceValue",
    });
});
/** @internal */
exports.SkillsLevel$outboundSchema = z.object({
    sourceValue: z.nullable(z.union([
        z.lazy(() => exports.SkillsSchemasLevel4$outboundSchema),
        z.string(),
        z.number(),
        z.boolean(),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.SkillsSchemasLevelValue$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 SkillsLevel$;
(function (SkillsLevel$) {
    /** @deprecated use `SkillsLevel$inboundSchema` instead. */
    SkillsLevel$.inboundSchema = exports.SkillsLevel$inboundSchema;
    /** @deprecated use `SkillsLevel$outboundSchema` instead. */
    SkillsLevel$.outboundSchema = exports.SkillsLevel$outboundSchema;
})(SkillsLevel$ || (exports.SkillsLevel$ = SkillsLevel$ = {}));
function skillsLevelToJSON(skillsLevel) {
    return JSON.stringify(exports.SkillsLevel$outboundSchema.parse(skillsLevel));
}
exports.skillsLevelToJSON = skillsLevelToJSON;
function skillsLevelFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SkillsLevel$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SkillsLevel' from JSON`);
}
exports.skillsLevelFromJSON = skillsLevelFromJSON;
/** @internal */
exports.Skills$inboundSchema = z
    .object({
    active: z.nullable(z.boolean()).optional(),
    hierarchy: z.nullable(z.lazy(() => exports.SkillsHierarchy$inboundSchema))
        .optional(),
    id: z.nullable(z.string()).optional(),
    language: z.nullable(z.lazy(() => exports.SkillsLanguage$inboundSchema)).optional(),
    level: z.nullable(z.lazy(() => exports.SkillsLevel$inboundSchema)).optional(),
    name: z.nullable(z.string()).optional(),
    remote_id: z.nullable(z.string()).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "remote_id": "remoteId",
    });
});
/** @internal */
exports.Skills$outboundSchema = z.object({
    active: z.nullable(z.boolean()).optional(),
    hierarchy: z.nullable(z.lazy(() => exports.SkillsHierarchy$outboundSchema))
        .optional(),
    id: z.nullable(z.string()).optional(),
    language: z.nullable(z.lazy(() => exports.SkillsLanguage$outboundSchema)).optional(),
    level: z.nullable(z.lazy(() => exports.SkillsLevel$outboundSchema)).optional(),
    name: z.nullable(z.string()).optional(),
    remoteId: z.nullable(z.string()).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 Skills$;
(function (Skills$) {
    /** @deprecated use `Skills$inboundSchema` instead. */
    Skills$.inboundSchema = exports.Skills$inboundSchema;
    /** @deprecated use `Skills$outboundSchema` instead. */
    Skills$.outboundSchema = exports.Skills$outboundSchema;
})(Skills$ || (exports.Skills$ = Skills$ = {}));
function skillsToJSON(skills) {
    return JSON.stringify(exports.Skills$outboundSchema.parse(skills));
}
exports.skillsToJSON = skillsToJSON;
function skillsFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Skills$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Skills' from JSON`);
}
exports.skillsFromJSON = skillsFromJSON;
//# sourceMappingURL=skills.js.map