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