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