"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 () {
    var ownKeys = function(o) {
        ownKeys = Object.getOwnPropertyNames || function (o) {
            var ar = [];
            for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
            return ar;
        };
        return ownKeys(o);
    };
    return function (mod) {
        if (mod && mod.__esModule) return mod;
        var result = {};
        if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
        __setModuleDefault(result, mod);
        return result;
    };
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.HRISBankDetails$inboundSchema = exports.IsPrimary$inboundSchema = exports.HRISBankDetails2$inboundSchema = exports.HRISBankDetailsCurrencyCode$inboundSchema = exports.HRISBankDetailsSchemasCurrencyCodeValue$inboundSchema = exports.HRISBankDetailsSchemasCurrencyCodeSourceValue$inboundSchema = exports.HRISBankDetailsSchemasCurrencyCode4$inboundSchema = exports.CountryCode$inboundSchema = exports.HRISBankDetailsSchemasValue$inboundSchema = exports.HRISBankDetailsSchemasSourceValue$inboundSchema = exports.HRISBankDetailsSchemas4$inboundSchema = exports.AccountType$inboundSchema = exports.HRISBankDetailsValue$inboundSchema = exports.HRISBankDetailsSourceValue$inboundSchema = exports.HRISBankDetails4$inboundSchema = exports.HRISBankDetails2 = exports.HRISBankDetailsSchemasCurrencyCodeValue = exports.HRISBankDetailsSchemasValue = exports.HRISBankDetailsValue = void 0;
exports.hrisBankDetails4FromJSON = hrisBankDetails4FromJSON;
exports.hrisBankDetailsSourceValueFromJSON = hrisBankDetailsSourceValueFromJSON;
exports.accountTypeFromJSON = accountTypeFromJSON;
exports.hrisBankDetailsSchemas4FromJSON = hrisBankDetailsSchemas4FromJSON;
exports.hrisBankDetailsSchemasSourceValueFromJSON = hrisBankDetailsSchemasSourceValueFromJSON;
exports.countryCodeFromJSON = countryCodeFromJSON;
exports.hrisBankDetailsSchemasCurrencyCode4FromJSON = hrisBankDetailsSchemasCurrencyCode4FromJSON;
exports.hrisBankDetailsSchemasCurrencyCodeSourceValueFromJSON = hrisBankDetailsSchemasCurrencyCodeSourceValueFromJSON;
exports.hrisBankDetailsCurrencyCodeFromJSON = hrisBankDetailsCurrencyCodeFromJSON;
exports.isPrimaryFromJSON = isPrimaryFromJSON;
exports.hrisBankDetailsFromJSON = hrisBankDetailsFromJSON;
const z = __importStar(require("zod/v3"));
const primitives_js_1 = require("../../../lib/primitives.js");
const schemas_js_1 = require("../../../lib/schemas.js");
const openEnums = __importStar(require("../../types/enums.js"));
const clearingcode_js_1 = require("./clearingcode.js");
/**
 * The type of bank account
 */
var HRISBankDetailsValue;
(function (HRISBankDetailsValue) {
    HRISBankDetailsValue["Savings"] = "savings";
    HRISBankDetailsValue["Checking"] = "checking";
    HRISBankDetailsValue["Current"] = "current";
    HRISBankDetailsValue["Business"] = "business";
    HRISBankDetailsValue["Personal"] = "personal";
    HRISBankDetailsValue["Other"] = "other";
    HRISBankDetailsValue["UnmappedValue"] = "unmapped_value";
})(HRISBankDetailsValue || (exports.HRISBankDetailsValue = HRISBankDetailsValue = {}));
/**
 * The ISO3166-1 Alpha2 Code of the Country
 */
var HRISBankDetailsSchemasValue;
(function (HRISBankDetailsSchemasValue) {
    HRISBankDetailsSchemasValue["Af"] = "AF";
    HRISBankDetailsSchemasValue["Al"] = "AL";
    HRISBankDetailsSchemasValue["Dz"] = "DZ";
    HRISBankDetailsSchemasValue["As"] = "AS";
    HRISBankDetailsSchemasValue["Ad"] = "AD";
    HRISBankDetailsSchemasValue["Ao"] = "AO";
    HRISBankDetailsSchemasValue["Ai"] = "AI";
    HRISBankDetailsSchemasValue["Aq"] = "AQ";
    HRISBankDetailsSchemasValue["Ag"] = "AG";
    HRISBankDetailsSchemasValue["Ar"] = "AR";
    HRISBankDetailsSchemasValue["Am"] = "AM";
    HRISBankDetailsSchemasValue["Aw"] = "AW";
    HRISBankDetailsSchemasValue["Au"] = "AU";
    HRISBankDetailsSchemasValue["At"] = "AT";
    HRISBankDetailsSchemasValue["Az"] = "AZ";
    HRISBankDetailsSchemasValue["Bs"] = "BS";
    HRISBankDetailsSchemasValue["Bh"] = "BH";
    HRISBankDetailsSchemasValue["Bd"] = "BD";
    HRISBankDetailsSchemasValue["Bb"] = "BB";
    HRISBankDetailsSchemasValue["By"] = "BY";
    HRISBankDetailsSchemasValue["Be"] = "BE";
    HRISBankDetailsSchemasValue["Bz"] = "BZ";
    HRISBankDetailsSchemasValue["Bj"] = "BJ";
    HRISBankDetailsSchemasValue["Bm"] = "BM";
    HRISBankDetailsSchemasValue["Bt"] = "BT";
    HRISBankDetailsSchemasValue["Bo"] = "BO";
    HRISBankDetailsSchemasValue["Bq"] = "BQ";
    HRISBankDetailsSchemasValue["Ba"] = "BA";
    HRISBankDetailsSchemasValue["Bw"] = "BW";
    HRISBankDetailsSchemasValue["Bv"] = "BV";
    HRISBankDetailsSchemasValue["Br"] = "BR";
    HRISBankDetailsSchemasValue["Io"] = "IO";
    HRISBankDetailsSchemasValue["Bn"] = "BN";
    HRISBankDetailsSchemasValue["Bg"] = "BG";
    HRISBankDetailsSchemasValue["Bf"] = "BF";
    HRISBankDetailsSchemasValue["Bi"] = "BI";
    HRISBankDetailsSchemasValue["Kh"] = "KH";
    HRISBankDetailsSchemasValue["Cm"] = "CM";
    HRISBankDetailsSchemasValue["Ca"] = "CA";
    HRISBankDetailsSchemasValue["Cv"] = "CV";
    HRISBankDetailsSchemasValue["Ky"] = "KY";
    HRISBankDetailsSchemasValue["Cf"] = "CF";
    HRISBankDetailsSchemasValue["Td"] = "TD";
    HRISBankDetailsSchemasValue["Cl"] = "CL";
    HRISBankDetailsSchemasValue["Cn"] = "CN";
    HRISBankDetailsSchemasValue["Cx"] = "CX";
    HRISBankDetailsSchemasValue["Cc"] = "CC";
    HRISBankDetailsSchemasValue["Co"] = "CO";
    HRISBankDetailsSchemasValue["Km"] = "KM";
    HRISBankDetailsSchemasValue["Cg"] = "CG";
    HRISBankDetailsSchemasValue["Cd"] = "CD";
    HRISBankDetailsSchemasValue["Ck"] = "CK";
    HRISBankDetailsSchemasValue["Cr"] = "CR";
    HRISBankDetailsSchemasValue["Hr"] = "HR";
    HRISBankDetailsSchemasValue["Cu"] = "CU";
    HRISBankDetailsSchemasValue["Cw"] = "CW";
    HRISBankDetailsSchemasValue["Cy"] = "CY";
    HRISBankDetailsSchemasValue["Cz"] = "CZ";
    HRISBankDetailsSchemasValue["Ci"] = "CI";
    HRISBankDetailsSchemasValue["Dk"] = "DK";
    HRISBankDetailsSchemasValue["Dj"] = "DJ";
    HRISBankDetailsSchemasValue["Dm"] = "DM";
    HRISBankDetailsSchemasValue["Do"] = "DO";
    HRISBankDetailsSchemasValue["Ec"] = "EC";
    HRISBankDetailsSchemasValue["Eg"] = "EG";
    HRISBankDetailsSchemasValue["Sv"] = "SV";
    HRISBankDetailsSchemasValue["Gq"] = "GQ";
    HRISBankDetailsSchemasValue["Er"] = "ER";
    HRISBankDetailsSchemasValue["Ee"] = "EE";
    HRISBankDetailsSchemasValue["Et"] = "ET";
    HRISBankDetailsSchemasValue["Fk"] = "FK";
    HRISBankDetailsSchemasValue["Fo"] = "FO";
    HRISBankDetailsSchemasValue["Fj"] = "FJ";
    HRISBankDetailsSchemasValue["Fi"] = "FI";
    HRISBankDetailsSchemasValue["Fr"] = "FR";
    HRISBankDetailsSchemasValue["Gf"] = "GF";
    HRISBankDetailsSchemasValue["Pf"] = "PF";
    HRISBankDetailsSchemasValue["Tf"] = "TF";
    HRISBankDetailsSchemasValue["Ga"] = "GA";
    HRISBankDetailsSchemasValue["Gm"] = "GM";
    HRISBankDetailsSchemasValue["Ge"] = "GE";
    HRISBankDetailsSchemasValue["De"] = "DE";
    HRISBankDetailsSchemasValue["Gh"] = "GH";
    HRISBankDetailsSchemasValue["Gi"] = "GI";
    HRISBankDetailsSchemasValue["Gr"] = "GR";
    HRISBankDetailsSchemasValue["Gl"] = "GL";
    HRISBankDetailsSchemasValue["Gd"] = "GD";
    HRISBankDetailsSchemasValue["Gp"] = "GP";
    HRISBankDetailsSchemasValue["Gu"] = "GU";
    HRISBankDetailsSchemasValue["Gt"] = "GT";
    HRISBankDetailsSchemasValue["Gg"] = "GG";
    HRISBankDetailsSchemasValue["Gn"] = "GN";
    HRISBankDetailsSchemasValue["Gw"] = "GW";
    HRISBankDetailsSchemasValue["Gy"] = "GY";
    HRISBankDetailsSchemasValue["Ht"] = "HT";
    HRISBankDetailsSchemasValue["Hm"] = "HM";
    HRISBankDetailsSchemasValue["Va"] = "VA";
    HRISBankDetailsSchemasValue["Hn"] = "HN";
    HRISBankDetailsSchemasValue["Hk"] = "HK";
    HRISBankDetailsSchemasValue["Hu"] = "HU";
    HRISBankDetailsSchemasValue["Is"] = "IS";
    HRISBankDetailsSchemasValue["In"] = "IN";
    HRISBankDetailsSchemasValue["Id"] = "ID";
    HRISBankDetailsSchemasValue["Ir"] = "IR";
    HRISBankDetailsSchemasValue["Iq"] = "IQ";
    HRISBankDetailsSchemasValue["Ie"] = "IE";
    HRISBankDetailsSchemasValue["Im"] = "IM";
    HRISBankDetailsSchemasValue["Il"] = "IL";
    HRISBankDetailsSchemasValue["It"] = "IT";
    HRISBankDetailsSchemasValue["Jm"] = "JM";
    HRISBankDetailsSchemasValue["Jp"] = "JP";
    HRISBankDetailsSchemasValue["Je"] = "JE";
    HRISBankDetailsSchemasValue["Jo"] = "JO";
    HRISBankDetailsSchemasValue["Kz"] = "KZ";
    HRISBankDetailsSchemasValue["Ke"] = "KE";
    HRISBankDetailsSchemasValue["Ki"] = "KI";
    HRISBankDetailsSchemasValue["Kp"] = "KP";
    HRISBankDetailsSchemasValue["Kr"] = "KR";
    HRISBankDetailsSchemasValue["Kw"] = "KW";
    HRISBankDetailsSchemasValue["Kg"] = "KG";
    HRISBankDetailsSchemasValue["La"] = "LA";
    HRISBankDetailsSchemasValue["Lv"] = "LV";
    HRISBankDetailsSchemasValue["Lb"] = "LB";
    HRISBankDetailsSchemasValue["Ls"] = "LS";
    HRISBankDetailsSchemasValue["Lr"] = "LR";
    HRISBankDetailsSchemasValue["Ly"] = "LY";
    HRISBankDetailsSchemasValue["Li"] = "LI";
    HRISBankDetailsSchemasValue["Lt"] = "LT";
    HRISBankDetailsSchemasValue["Lu"] = "LU";
    HRISBankDetailsSchemasValue["Mo"] = "MO";
    HRISBankDetailsSchemasValue["Mk"] = "MK";
    HRISBankDetailsSchemasValue["Mg"] = "MG";
    HRISBankDetailsSchemasValue["Mw"] = "MW";
    HRISBankDetailsSchemasValue["My"] = "MY";
    HRISBankDetailsSchemasValue["Mv"] = "MV";
    HRISBankDetailsSchemasValue["Ml"] = "ML";
    HRISBankDetailsSchemasValue["Mt"] = "MT";
    HRISBankDetailsSchemasValue["Mh"] = "MH";
    HRISBankDetailsSchemasValue["Mq"] = "MQ";
    HRISBankDetailsSchemasValue["Mr"] = "MR";
    HRISBankDetailsSchemasValue["Mu"] = "MU";
    HRISBankDetailsSchemasValue["Yt"] = "YT";
    HRISBankDetailsSchemasValue["Mx"] = "MX";
    HRISBankDetailsSchemasValue["Fm"] = "FM";
    HRISBankDetailsSchemasValue["Md"] = "MD";
    HRISBankDetailsSchemasValue["Mc"] = "MC";
    HRISBankDetailsSchemasValue["Mn"] = "MN";
    HRISBankDetailsSchemasValue["Me"] = "ME";
    HRISBankDetailsSchemasValue["Ms"] = "MS";
    HRISBankDetailsSchemasValue["Ma"] = "MA";
    HRISBankDetailsSchemasValue["Mz"] = "MZ";
    HRISBankDetailsSchemasValue["Mm"] = "MM";
    HRISBankDetailsSchemasValue["Na"] = "NA";
    HRISBankDetailsSchemasValue["Nr"] = "NR";
    HRISBankDetailsSchemasValue["Np"] = "NP";
    HRISBankDetailsSchemasValue["Nl"] = "NL";
    HRISBankDetailsSchemasValue["Nc"] = "NC";
    HRISBankDetailsSchemasValue["Nz"] = "NZ";
    HRISBankDetailsSchemasValue["Ni"] = "NI";
    HRISBankDetailsSchemasValue["Ne"] = "NE";
    HRISBankDetailsSchemasValue["Ng"] = "NG";
    HRISBankDetailsSchemasValue["Nu"] = "NU";
    HRISBankDetailsSchemasValue["Nf"] = "NF";
    HRISBankDetailsSchemasValue["Mp"] = "MP";
    HRISBankDetailsSchemasValue["No"] = "NO";
    HRISBankDetailsSchemasValue["Om"] = "OM";
    HRISBankDetailsSchemasValue["Pk"] = "PK";
    HRISBankDetailsSchemasValue["Pw"] = "PW";
    HRISBankDetailsSchemasValue["Ps"] = "PS";
    HRISBankDetailsSchemasValue["Pa"] = "PA";
    HRISBankDetailsSchemasValue["Pg"] = "PG";
    HRISBankDetailsSchemasValue["Py"] = "PY";
    HRISBankDetailsSchemasValue["Pe"] = "PE";
    HRISBankDetailsSchemasValue["Ph"] = "PH";
    HRISBankDetailsSchemasValue["Pn"] = "PN";
    HRISBankDetailsSchemasValue["Pl"] = "PL";
    HRISBankDetailsSchemasValue["Pt"] = "PT";
    HRISBankDetailsSchemasValue["Pr"] = "PR";
    HRISBankDetailsSchemasValue["Qa"] = "QA";
    HRISBankDetailsSchemasValue["Ro"] = "RO";
    HRISBankDetailsSchemasValue["Ru"] = "RU";
    HRISBankDetailsSchemasValue["Rw"] = "RW";
    HRISBankDetailsSchemasValue["Re"] = "RE";
    HRISBankDetailsSchemasValue["Bl"] = "BL";
    HRISBankDetailsSchemasValue["Sh"] = "SH";
    HRISBankDetailsSchemasValue["Kn"] = "KN";
    HRISBankDetailsSchemasValue["Lc"] = "LC";
    HRISBankDetailsSchemasValue["Mf"] = "MF";
    HRISBankDetailsSchemasValue["Pm"] = "PM";
    HRISBankDetailsSchemasValue["Vc"] = "VC";
    HRISBankDetailsSchemasValue["Ws"] = "WS";
    HRISBankDetailsSchemasValue["Sm"] = "SM";
    HRISBankDetailsSchemasValue["St"] = "ST";
    HRISBankDetailsSchemasValue["Sa"] = "SA";
    HRISBankDetailsSchemasValue["Sn"] = "SN";
    HRISBankDetailsSchemasValue["Rs"] = "RS";
    HRISBankDetailsSchemasValue["Sc"] = "SC";
    HRISBankDetailsSchemasValue["Sl"] = "SL";
    HRISBankDetailsSchemasValue["Sg"] = "SG";
    HRISBankDetailsSchemasValue["Sx"] = "SX";
    HRISBankDetailsSchemasValue["Sk"] = "SK";
    HRISBankDetailsSchemasValue["Si"] = "SI";
    HRISBankDetailsSchemasValue["Sb"] = "SB";
    HRISBankDetailsSchemasValue["So"] = "SO";
    HRISBankDetailsSchemasValue["Za"] = "ZA";
    HRISBankDetailsSchemasValue["Gs"] = "GS";
    HRISBankDetailsSchemasValue["Ss"] = "SS";
    HRISBankDetailsSchemasValue["Es"] = "ES";
    HRISBankDetailsSchemasValue["Lk"] = "LK";
    HRISBankDetailsSchemasValue["Sd"] = "SD";
    HRISBankDetailsSchemasValue["Sr"] = "SR";
    HRISBankDetailsSchemasValue["Sj"] = "SJ";
    HRISBankDetailsSchemasValue["Sz"] = "SZ";
    HRISBankDetailsSchemasValue["Se"] = "SE";
    HRISBankDetailsSchemasValue["Ch"] = "CH";
    HRISBankDetailsSchemasValue["Sy"] = "SY";
    HRISBankDetailsSchemasValue["Tw"] = "TW";
    HRISBankDetailsSchemasValue["Tj"] = "TJ";
    HRISBankDetailsSchemasValue["Tz"] = "TZ";
    HRISBankDetailsSchemasValue["Th"] = "TH";
    HRISBankDetailsSchemasValue["Tl"] = "TL";
    HRISBankDetailsSchemasValue["Tg"] = "TG";
    HRISBankDetailsSchemasValue["Tk"] = "TK";
    HRISBankDetailsSchemasValue["To"] = "TO";
    HRISBankDetailsSchemasValue["Tt"] = "TT";
    HRISBankDetailsSchemasValue["Tn"] = "TN";
    HRISBankDetailsSchemasValue["Tr"] = "TR";
    HRISBankDetailsSchemasValue["Tm"] = "TM";
    HRISBankDetailsSchemasValue["Tc"] = "TC";
    HRISBankDetailsSchemasValue["Tv"] = "TV";
    HRISBankDetailsSchemasValue["Ug"] = "UG";
    HRISBankDetailsSchemasValue["Ua"] = "UA";
    HRISBankDetailsSchemasValue["Ae"] = "AE";
    HRISBankDetailsSchemasValue["Gb"] = "GB";
    HRISBankDetailsSchemasValue["Us"] = "US";
    HRISBankDetailsSchemasValue["Um"] = "UM";
    HRISBankDetailsSchemasValue["Uy"] = "UY";
    HRISBankDetailsSchemasValue["Uz"] = "UZ";
    HRISBankDetailsSchemasValue["Vu"] = "VU";
    HRISBankDetailsSchemasValue["Ve"] = "VE";
    HRISBankDetailsSchemasValue["Vn"] = "VN";
    HRISBankDetailsSchemasValue["Vg"] = "VG";
    HRISBankDetailsSchemasValue["Vi"] = "VI";
    HRISBankDetailsSchemasValue["Wf"] = "WF";
    HRISBankDetailsSchemasValue["Eh"] = "EH";
    HRISBankDetailsSchemasValue["Ye"] = "YE";
    HRISBankDetailsSchemasValue["Zm"] = "ZM";
    HRISBankDetailsSchemasValue["Zw"] = "ZW";
    HRISBankDetailsSchemasValue["UnmappedValue"] = "unmapped_value";
})(HRISBankDetailsSchemasValue || (exports.HRISBankDetailsSchemasValue = HRISBankDetailsSchemasValue = {}));
/**
 * ISO 4217 currency code
 */
var HRISBankDetailsSchemasCurrencyCodeValue;
(function (HRISBankDetailsSchemasCurrencyCodeValue) {
    HRISBankDetailsSchemasCurrencyCodeValue["Aed"] = "AED";
    HRISBankDetailsSchemasCurrencyCodeValue["Afn"] = "AFN";
    HRISBankDetailsSchemasCurrencyCodeValue["All"] = "ALL";
    HRISBankDetailsSchemasCurrencyCodeValue["Amd"] = "AMD";
    HRISBankDetailsSchemasCurrencyCodeValue["Ang"] = "ANG";
    HRISBankDetailsSchemasCurrencyCodeValue["Aoa"] = "AOA";
    HRISBankDetailsSchemasCurrencyCodeValue["Ars"] = "ARS";
    HRISBankDetailsSchemasCurrencyCodeValue["Aud"] = "AUD";
    HRISBankDetailsSchemasCurrencyCodeValue["Awg"] = "AWG";
    HRISBankDetailsSchemasCurrencyCodeValue["Azn"] = "AZN";
    HRISBankDetailsSchemasCurrencyCodeValue["Bam"] = "BAM";
    HRISBankDetailsSchemasCurrencyCodeValue["Bbd"] = "BBD";
    HRISBankDetailsSchemasCurrencyCodeValue["Bdt"] = "BDT";
    HRISBankDetailsSchemasCurrencyCodeValue["Bgn"] = "BGN";
    HRISBankDetailsSchemasCurrencyCodeValue["Bhd"] = "BHD";
    HRISBankDetailsSchemasCurrencyCodeValue["Bif"] = "BIF";
    HRISBankDetailsSchemasCurrencyCodeValue["Bmd"] = "BMD";
    HRISBankDetailsSchemasCurrencyCodeValue["Bnd"] = "BND";
    HRISBankDetailsSchemasCurrencyCodeValue["Bob"] = "BOB";
    HRISBankDetailsSchemasCurrencyCodeValue["Brl"] = "BRL";
    HRISBankDetailsSchemasCurrencyCodeValue["Bsd"] = "BSD";
    HRISBankDetailsSchemasCurrencyCodeValue["Btn"] = "BTN";
    HRISBankDetailsSchemasCurrencyCodeValue["Bwp"] = "BWP";
    HRISBankDetailsSchemasCurrencyCodeValue["Byn"] = "BYN";
    HRISBankDetailsSchemasCurrencyCodeValue["Bzd"] = "BZD";
    HRISBankDetailsSchemasCurrencyCodeValue["Cad"] = "CAD";
    HRISBankDetailsSchemasCurrencyCodeValue["Cdf"] = "CDF";
    HRISBankDetailsSchemasCurrencyCodeValue["Chf"] = "CHF";
    HRISBankDetailsSchemasCurrencyCodeValue["Clp"] = "CLP";
    HRISBankDetailsSchemasCurrencyCodeValue["Cny"] = "CNY";
    HRISBankDetailsSchemasCurrencyCodeValue["Cop"] = "COP";
    HRISBankDetailsSchemasCurrencyCodeValue["Crc"] = "CRC";
    HRISBankDetailsSchemasCurrencyCodeValue["Cuc"] = "CUC";
    HRISBankDetailsSchemasCurrencyCodeValue["Cup"] = "CUP";
    HRISBankDetailsSchemasCurrencyCodeValue["Cve"] = "CVE";
    HRISBankDetailsSchemasCurrencyCodeValue["Czk"] = "CZK";
    HRISBankDetailsSchemasCurrencyCodeValue["Djf"] = "DJF";
    HRISBankDetailsSchemasCurrencyCodeValue["Dkk"] = "DKK";
    HRISBankDetailsSchemasCurrencyCodeValue["Dop"] = "DOP";
    HRISBankDetailsSchemasCurrencyCodeValue["Dzd"] = "DZD";
    HRISBankDetailsSchemasCurrencyCodeValue["Egp"] = "EGP";
    HRISBankDetailsSchemasCurrencyCodeValue["Ern"] = "ERN";
    HRISBankDetailsSchemasCurrencyCodeValue["Etb"] = "ETB";
    HRISBankDetailsSchemasCurrencyCodeValue["Eur"] = "EUR";
    HRISBankDetailsSchemasCurrencyCodeValue["Fjd"] = "FJD";
    HRISBankDetailsSchemasCurrencyCodeValue["Fkp"] = "FKP";
    HRISBankDetailsSchemasCurrencyCodeValue["Gbp"] = "GBP";
    HRISBankDetailsSchemasCurrencyCodeValue["Gel"] = "GEL";
    HRISBankDetailsSchemasCurrencyCodeValue["Ghs"] = "GHS";
    HRISBankDetailsSchemasCurrencyCodeValue["Gip"] = "GIP";
    HRISBankDetailsSchemasCurrencyCodeValue["Gmd"] = "GMD";
    HRISBankDetailsSchemasCurrencyCodeValue["Gnf"] = "GNF";
    HRISBankDetailsSchemasCurrencyCodeValue["Gtq"] = "GTQ";
    HRISBankDetailsSchemasCurrencyCodeValue["Gyd"] = "GYD";
    HRISBankDetailsSchemasCurrencyCodeValue["Hkd"] = "HKD";
    HRISBankDetailsSchemasCurrencyCodeValue["Hnl"] = "HNL";
    HRISBankDetailsSchemasCurrencyCodeValue["Hrk"] = "HRK";
    HRISBankDetailsSchemasCurrencyCodeValue["Htg"] = "HTG";
    HRISBankDetailsSchemasCurrencyCodeValue["Huf"] = "HUF";
    HRISBankDetailsSchemasCurrencyCodeValue["Idr"] = "IDR";
    HRISBankDetailsSchemasCurrencyCodeValue["Ils"] = "ILS";
    HRISBankDetailsSchemasCurrencyCodeValue["Inr"] = "INR";
    HRISBankDetailsSchemasCurrencyCodeValue["Iqd"] = "IQD";
    HRISBankDetailsSchemasCurrencyCodeValue["Irr"] = "IRR";
    HRISBankDetailsSchemasCurrencyCodeValue["Isk"] = "ISK";
    HRISBankDetailsSchemasCurrencyCodeValue["Jmd"] = "JMD";
    HRISBankDetailsSchemasCurrencyCodeValue["Jod"] = "JOD";
    HRISBankDetailsSchemasCurrencyCodeValue["Jpy"] = "JPY";
    HRISBankDetailsSchemasCurrencyCodeValue["Kes"] = "KES";
    HRISBankDetailsSchemasCurrencyCodeValue["Kgs"] = "KGS";
    HRISBankDetailsSchemasCurrencyCodeValue["Khr"] = "KHR";
    HRISBankDetailsSchemasCurrencyCodeValue["Kmf"] = "KMF";
    HRISBankDetailsSchemasCurrencyCodeValue["Kpw"] = "KPW";
    HRISBankDetailsSchemasCurrencyCodeValue["Krw"] = "KRW";
    HRISBankDetailsSchemasCurrencyCodeValue["Kwd"] = "KWD";
    HRISBankDetailsSchemasCurrencyCodeValue["Kyd"] = "KYD";
    HRISBankDetailsSchemasCurrencyCodeValue["Kzt"] = "KZT";
    HRISBankDetailsSchemasCurrencyCodeValue["Lak"] = "LAK";
    HRISBankDetailsSchemasCurrencyCodeValue["Lbp"] = "LBP";
    HRISBankDetailsSchemasCurrencyCodeValue["Lkr"] = "LKR";
    HRISBankDetailsSchemasCurrencyCodeValue["Lrd"] = "LRD";
    HRISBankDetailsSchemasCurrencyCodeValue["Lsl"] = "LSL";
    HRISBankDetailsSchemasCurrencyCodeValue["Lyd"] = "LYD";
    HRISBankDetailsSchemasCurrencyCodeValue["Mad"] = "MAD";
    HRISBankDetailsSchemasCurrencyCodeValue["Mdl"] = "MDL";
    HRISBankDetailsSchemasCurrencyCodeValue["Mga"] = "MGA";
    HRISBankDetailsSchemasCurrencyCodeValue["Mkd"] = "MKD";
    HRISBankDetailsSchemasCurrencyCodeValue["Mmk"] = "MMK";
    HRISBankDetailsSchemasCurrencyCodeValue["Mnt"] = "MNT";
    HRISBankDetailsSchemasCurrencyCodeValue["Mop"] = "MOP";
    HRISBankDetailsSchemasCurrencyCodeValue["Mru"] = "MRU";
    HRISBankDetailsSchemasCurrencyCodeValue["Mur"] = "MUR";
    HRISBankDetailsSchemasCurrencyCodeValue["Mvr"] = "MVR";
    HRISBankDetailsSchemasCurrencyCodeValue["Mwk"] = "MWK";
    HRISBankDetailsSchemasCurrencyCodeValue["Mxn"] = "MXN";
    HRISBankDetailsSchemasCurrencyCodeValue["Myr"] = "MYR";
    HRISBankDetailsSchemasCurrencyCodeValue["Mzn"] = "MZN";
    HRISBankDetailsSchemasCurrencyCodeValue["Nad"] = "NAD";
    HRISBankDetailsSchemasCurrencyCodeValue["Ngn"] = "NGN";
    HRISBankDetailsSchemasCurrencyCodeValue["Nio"] = "NIO";
    HRISBankDetailsSchemasCurrencyCodeValue["Nok"] = "NOK";
    HRISBankDetailsSchemasCurrencyCodeValue["Npr"] = "NPR";
    HRISBankDetailsSchemasCurrencyCodeValue["Nzd"] = "NZD";
    HRISBankDetailsSchemasCurrencyCodeValue["Omr"] = "OMR";
    HRISBankDetailsSchemasCurrencyCodeValue["Pab"] = "PAB";
    HRISBankDetailsSchemasCurrencyCodeValue["Pen"] = "PEN";
    HRISBankDetailsSchemasCurrencyCodeValue["Pgk"] = "PGK";
    HRISBankDetailsSchemasCurrencyCodeValue["Php"] = "PHP";
    HRISBankDetailsSchemasCurrencyCodeValue["Pkr"] = "PKR";
    HRISBankDetailsSchemasCurrencyCodeValue["Pln"] = "PLN";
    HRISBankDetailsSchemasCurrencyCodeValue["Pyg"] = "PYG";
    HRISBankDetailsSchemasCurrencyCodeValue["Qar"] = "QAR";
    HRISBankDetailsSchemasCurrencyCodeValue["Ron"] = "RON";
    HRISBankDetailsSchemasCurrencyCodeValue["Rsd"] = "RSD";
    HRISBankDetailsSchemasCurrencyCodeValue["Rub"] = "RUB";
    HRISBankDetailsSchemasCurrencyCodeValue["Rwf"] = "RWF";
    HRISBankDetailsSchemasCurrencyCodeValue["Sar"] = "SAR";
    HRISBankDetailsSchemasCurrencyCodeValue["Sbd"] = "SBD";
    HRISBankDetailsSchemasCurrencyCodeValue["Scr"] = "SCR";
    HRISBankDetailsSchemasCurrencyCodeValue["Sdg"] = "SDG";
    HRISBankDetailsSchemasCurrencyCodeValue["Sek"] = "SEK";
    HRISBankDetailsSchemasCurrencyCodeValue["Sgd"] = "SGD";
    HRISBankDetailsSchemasCurrencyCodeValue["Shp"] = "SHP";
    HRISBankDetailsSchemasCurrencyCodeValue["Sll"] = "SLL";
    HRISBankDetailsSchemasCurrencyCodeValue["Sos"] = "SOS";
    HRISBankDetailsSchemasCurrencyCodeValue["Srd"] = "SRD";
    HRISBankDetailsSchemasCurrencyCodeValue["Ssp"] = "SSP";
    HRISBankDetailsSchemasCurrencyCodeValue["Stn"] = "STN";
    HRISBankDetailsSchemasCurrencyCodeValue["Syp"] = "SYP";
    HRISBankDetailsSchemasCurrencyCodeValue["Szl"] = "SZL";
    HRISBankDetailsSchemasCurrencyCodeValue["Thb"] = "THB";
    HRISBankDetailsSchemasCurrencyCodeValue["Tjs"] = "TJS";
    HRISBankDetailsSchemasCurrencyCodeValue["Tmt"] = "TMT";
    HRISBankDetailsSchemasCurrencyCodeValue["Tnd"] = "TND";
    HRISBankDetailsSchemasCurrencyCodeValue["Top"] = "TOP";
    HRISBankDetailsSchemasCurrencyCodeValue["Try"] = "TRY";
    HRISBankDetailsSchemasCurrencyCodeValue["Ttd"] = "TTD";
    HRISBankDetailsSchemasCurrencyCodeValue["Twd"] = "TWD";
    HRISBankDetailsSchemasCurrencyCodeValue["Tzs"] = "TZS";
    HRISBankDetailsSchemasCurrencyCodeValue["Uah"] = "UAH";
    HRISBankDetailsSchemasCurrencyCodeValue["Ugx"] = "UGX";
    HRISBankDetailsSchemasCurrencyCodeValue["Usd"] = "USD";
    HRISBankDetailsSchemasCurrencyCodeValue["Uyu"] = "UYU";
    HRISBankDetailsSchemasCurrencyCodeValue["Uzs"] = "UZS";
    HRISBankDetailsSchemasCurrencyCodeValue["Ves"] = "VES";
    HRISBankDetailsSchemasCurrencyCodeValue["Vnd"] = "VND";
    HRISBankDetailsSchemasCurrencyCodeValue["Vuv"] = "VUV";
    HRISBankDetailsSchemasCurrencyCodeValue["Wst"] = "WST";
    HRISBankDetailsSchemasCurrencyCodeValue["Xaf"] = "XAF";
    HRISBankDetailsSchemasCurrencyCodeValue["Xcd"] = "XCD";
    HRISBankDetailsSchemasCurrencyCodeValue["Xdr"] = "XDR";
    HRISBankDetailsSchemasCurrencyCodeValue["Xof"] = "XOF";
    HRISBankDetailsSchemasCurrencyCodeValue["Xpf"] = "XPF";
    HRISBankDetailsSchemasCurrencyCodeValue["Yer"] = "YER";
    HRISBankDetailsSchemasCurrencyCodeValue["Zar"] = "ZAR";
    HRISBankDetailsSchemasCurrencyCodeValue["Zmw"] = "ZMW";
    HRISBankDetailsSchemasCurrencyCodeValue["Zwl"] = "ZWL";
    HRISBankDetailsSchemasCurrencyCodeValue["UnmappedValue"] = "unmapped_value";
})(HRISBankDetailsSchemasCurrencyCodeValue || (exports.HRISBankDetailsSchemasCurrencyCodeValue = HRISBankDetailsSchemasCurrencyCodeValue = {}));
var HRISBankDetails2;
(function (HRISBankDetails2) {
    HRISBankDetails2["True"] = "true";
    HRISBankDetails2["False"] = "false";
})(HRISBankDetails2 || (exports.HRISBankDetails2 = HRISBankDetails2 = {}));
/** @internal */
exports.HRISBankDetails4$inboundSchema = z.object({});
function hrisBankDetails4FromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HRISBankDetails4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HRISBankDetails4' from JSON`);
}
/** @internal */
exports.HRISBankDetailsSourceValue$inboundSchema = z.union([
    z.string(),
    z.number(),
    z.boolean(),
    z.lazy(() => exports.HRISBankDetails4$inboundSchema),
    z.array(z.any()),
]);
function hrisBankDetailsSourceValueFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HRISBankDetailsSourceValue$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HRISBankDetailsSourceValue' from JSON`);
}
/** @internal */
exports.HRISBankDetailsValue$inboundSchema = openEnums.inboundSchema(HRISBankDetailsValue);
/** @internal */
exports.AccountType$inboundSchema = z.object({
    source_value: z.nullable(z.union([
        z.string(),
        z.number(),
        z.boolean(),
        z.lazy(() => exports.HRISBankDetails4$inboundSchema),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.HRISBankDetailsValue$inboundSchema).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "source_value": "sourceValue",
    });
});
function accountTypeFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AccountType$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AccountType' from JSON`);
}
/** @internal */
exports.HRISBankDetailsSchemas4$inboundSchema = z.object({});
function hrisBankDetailsSchemas4FromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HRISBankDetailsSchemas4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HRISBankDetailsSchemas4' from JSON`);
}
/** @internal */
exports.HRISBankDetailsSchemasSourceValue$inboundSchema = z.union([
    z.string(),
    z.number(),
    z.boolean(),
    z.lazy(() => exports.HRISBankDetailsSchemas4$inboundSchema),
    z.array(z.any()),
]);
function hrisBankDetailsSchemasSourceValueFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HRISBankDetailsSchemasSourceValue$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HRISBankDetailsSchemasSourceValue' from JSON`);
}
/** @internal */
exports.HRISBankDetailsSchemasValue$inboundSchema = openEnums.inboundSchema(HRISBankDetailsSchemasValue);
/** @internal */
exports.CountryCode$inboundSchema = z.object({
    source_value: z.nullable(z.union([
        z.string(),
        z.number(),
        z.boolean(),
        z.lazy(() => exports.HRISBankDetailsSchemas4$inboundSchema),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.HRISBankDetailsSchemasValue$inboundSchema).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "source_value": "sourceValue",
    });
});
function countryCodeFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CountryCode$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CountryCode' from JSON`);
}
/** @internal */
exports.HRISBankDetailsSchemasCurrencyCode4$inboundSchema = z.object({});
function hrisBankDetailsSchemasCurrencyCode4FromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HRISBankDetailsSchemasCurrencyCode4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HRISBankDetailsSchemasCurrencyCode4' from JSON`);
}
/** @internal */
exports.HRISBankDetailsSchemasCurrencyCodeSourceValue$inboundSchema = z.union([
    z.string(),
    z.number(),
    z.boolean(),
    z.lazy(() => exports.HRISBankDetailsSchemasCurrencyCode4$inboundSchema),
    z.array(z.any()),
]);
function hrisBankDetailsSchemasCurrencyCodeSourceValueFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HRISBankDetailsSchemasCurrencyCodeSourceValue$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HRISBankDetailsSchemasCurrencyCodeSourceValue' from JSON`);
}
/** @internal */
exports.HRISBankDetailsSchemasCurrencyCodeValue$inboundSchema = openEnums.inboundSchema(HRISBankDetailsSchemasCurrencyCodeValue);
/** @internal */
exports.HRISBankDetailsCurrencyCode$inboundSchema = z.object({
    source_value: z.nullable(z.union([
        z.string(),
        z.number(),
        z.boolean(),
        z.lazy(() => exports.HRISBankDetailsSchemasCurrencyCode4$inboundSchema),
        z.array(z.any()),
    ])).optional(),
    value: z.nullable(exports.HRISBankDetailsSchemasCurrencyCodeValue$inboundSchema)
        .optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "source_value": "sourceValue",
    });
});
function hrisBankDetailsCurrencyCodeFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HRISBankDetailsCurrencyCode$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HRISBankDetailsCurrencyCode' from JSON`);
}
/** @internal */
exports.HRISBankDetails2$inboundSchema = z.nativeEnum(HRISBankDetails2);
/** @internal */
exports.IsPrimary$inboundSchema = z.union([z.boolean(), exports.HRISBankDetails2$inboundSchema]);
function isPrimaryFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.IsPrimary$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'IsPrimary' from JSON`);
}
/** @internal */
exports.HRISBankDetails$inboundSchema = z.object({
    account_name: z.nullable(z.string()).optional(),
    account_type: z.nullable(z.lazy(() => exports.AccountType$inboundSchema)).optional(),
    bank_name: z.nullable(z.string()).optional(),
    clearing_codes: z.nullable(z.array(clearingcode_js_1.ClearingCode$inboundSchema)).optional(),
    country_code: z.nullable(z.lazy(() => exports.CountryCode$inboundSchema)).optional(),
    currency_code: z.nullable(z.lazy(() => exports.HRISBankDetailsCurrencyCode$inboundSchema)).optional(),
    iban: z.nullable(z.string()).optional(),
    id: z.nullable(z.string()).optional(),
    is_primary: z.nullable(z.union([z.boolean(), exports.HRISBankDetails2$inboundSchema]))
        .optional(),
    local_account_number: z.nullable(z.string()).optional(),
    remote_id: z.nullable(z.string()).optional(),
    swift_bic: z.nullable(z.string()).optional(),
}).transform((v) => {
    return (0, primitives_js_1.remap)(v, {
        "account_name": "accountName",
        "account_type": "accountType",
        "bank_name": "bankName",
        "clearing_codes": "clearingCodes",
        "country_code": "countryCode",
        "currency_code": "currencyCode",
        "is_primary": "isPrimary",
        "local_account_number": "localAccountNumber",
        "remote_id": "remoteId",
        "swift_bic": "swiftBic",
    });
});
function hrisBankDetailsFromJSON(jsonString) {
    return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.HRISBankDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'HRISBankDetails' from JSON`);
}
//# sourceMappingURL=hrisbankdetails.js.map