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