african-states-and-tribes 1.1.3 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/EXAMPLES.md +261 -0
- package/MODULAR_IMPORTS.md +162 -0
- package/README.md +197 -103
- package/african-states-and-tribes-1.1.3.tgz +0 -0
- package/dist/{AO-LQ4VRH4F.mjs → AO-3WUV6HS7.mjs} +2 -2
- package/dist/{BF-BZ7WXNF3.mjs → BF-GZ45LRSN.mjs} +3 -3
- package/dist/{BI-DLK4YMGO.mjs → BI-3GCTK7CF.mjs} +1 -1
- package/dist/{BJ-PNML7KGU.mjs → BJ-4AJ2EFGG.mjs} +1 -1
- package/dist/{BW-CNU7L4NH.mjs → BW-AN7LIVOT.mjs} +1 -1
- package/dist/{CD-3L2NXQVL.mjs → CD-JYCWONXN.mjs} +1 -1
- package/dist/{CF-ESX77N6V.mjs → CF-L6ZKGUE2.mjs} +1 -1
- package/dist/{CG-VO3X7LDQ.mjs → CG-L6Q7VBRE.mjs} +1 -1
- package/dist/{CI-GS6CFDT3.mjs → CI-OKLEG4C6.mjs} +1 -1
- package/dist/{CM-BTFLGGR5.mjs → CM-5U7UTSLM.mjs} +1 -1
- package/dist/{CV-B7NIY45I.mjs → CV-J3IWNECL.mjs} +24 -24
- package/dist/{DJ-ZMQOBOIG.mjs → DJ-WPIJRNWE.mjs} +1 -1
- package/dist/{DZ-LPE6ZB5C.mjs → DZ-ONSX7GR6.mjs} +1 -1
- package/dist/{EG-S75L33PX.mjs → EG-CBFPAFSO.mjs} +35 -29
- package/dist/{ER-UP22LPAH.mjs → ER-UC5TZBXK.mjs} +1 -1
- package/dist/{ET-OBCUOADT.mjs → ET-HXCBRBHN.mjs} +1 -1
- package/dist/{GA-MAVC3U4Q.mjs → GA-T5YWU36U.mjs} +1 -1
- package/dist/{GH-6ZWTNM6E.mjs → GH-BMJZWTWI.mjs} +1 -1
- package/dist/{GM-3TYRGF43.mjs → GM-R3VSEPTK.mjs} +1 -1
- package/dist/{GN-J26OKD3H.mjs → GN-DRGVYDMG.mjs} +1 -1
- package/dist/{GQ-TVJPRBZ4.mjs → GQ-SMAK7YCQ.mjs} +1 -1
- package/dist/{GW-BXXBSDB3.mjs → GW-DQPA4VJE.mjs} +1 -1
- package/dist/{KE-FR37ZDM6.mjs → KE-DMP37VDP.mjs} +3 -3
- package/dist/{KM-2T7XZQOW.mjs → KM-3F2KE6ER.mjs} +1 -1
- package/dist/{LR-SDYDWBD2.mjs → LR-D67J6ITO.mjs} +1 -1
- package/dist/{LS-WW7EJFSS.mjs → LS-QWKN3I62.mjs} +1 -1
- package/dist/{LY-GLNCPO5D.mjs → LY-WJBKPKU2.mjs} +1 -1
- package/dist/{MA-TSZB2KUC.mjs → MA-WRX5RCS2.mjs} +13 -13
- package/dist/{MG-V4B3MJ27.mjs → MG-R72YT5VK.mjs} +1 -1
- package/dist/{ML-5UC2UZFE.mjs → ML-VUAFPT44.mjs} +1 -1
- package/dist/{MR-V7C27OIX.mjs → MR-2E64EHZB.mjs} +1 -1
- package/dist/{MU-2QTJWWOZ.mjs → MU-6FUJYQWD.mjs} +1 -1
- package/dist/{MW-QHGL2IKS.mjs → MW-HRW5OHWN.mjs} +1 -1
- package/dist/{MZ-5UZ67NUU.mjs → MZ-3U5UXS5E.mjs} +1 -1
- package/dist/{NA-5VDTGOMK.mjs → NA-XWIW6OOU.mjs} +1 -1
- package/dist/{NE-ZOWNVUFW.mjs → NE-ELKMBL7S.mjs} +1 -1
- package/dist/NG-4CWXAYHN.mjs +1631 -0
- package/dist/{RW-GQU5ZEII.mjs → RW-HNJ52BFQ.mjs} +1 -1
- package/dist/{SC-SY5UMMU2.mjs → SC-3DSRWYFW.mjs} +1 -1
- package/dist/{SD-GZVFH7EN.mjs → SD-WB6ISMGF.mjs} +1 -1
- package/dist/{SL-G6OQ2OKF.mjs → SL-4COV24SC.mjs} +1 -1
- package/dist/{SN-6NZD3VMK.mjs → SN-64VQKOL2.mjs} +11 -11
- package/dist/{SO-OYCQEJXC.mjs → SO-HMRU3XDI.mjs} +1 -1
- package/dist/{SS-VC4OP4LH.mjs → SS-TXIVIGCJ.mjs} +1 -1
- package/dist/{ST-W5CRCMYC.mjs → ST-VPGLJ6S4.mjs} +1 -1
- package/dist/{SZ-WPJM53Q7.mjs → SZ-4MEBFNNW.mjs} +1 -1
- package/dist/{TD-T6K52QM6.mjs → TD-MV3TL2LQ.mjs} +23 -12
- package/dist/{TG-4GRO64UZ.mjs → TG-QLZJRIDX.mjs} +1 -1
- package/dist/TN-ZRJRJMOM.mjs +515 -0
- package/dist/{TZ-MR6WGF2A.mjs → TZ-D53PSFSF.mjs} +1 -1
- package/dist/{UG-UNMXRIJ5.mjs → UG-YVEGQ67T.mjs} +1 -1
- package/dist/{ZA-RNKH3KHE.mjs → ZA-QQ6HKOFU.mjs} +1 -1
- package/dist/{ZM-KVDEVKJK.mjs → ZM-KORM3A4T.mjs} +1 -1
- package/dist/{ZW-EFGG3D6Y.mjs → ZW-WH4BPDKQ.mjs} +1 -1
- package/dist/ao-BN_SJunv.d.mts +387 -0
- package/dist/ao-BN_SJunv.d.ts +387 -0
- package/dist/bf-Dqj39McS.d.mts +279 -0
- package/dist/bf-Dqj39McS.d.ts +279 -0
- package/dist/bi-Ba4A32Yt.d.mts +369 -0
- package/dist/bi-Ba4A32Yt.d.ts +369 -0
- package/dist/bj-fY_W6yBo.d.mts +255 -0
- package/dist/bj-fY_W6yBo.d.ts +255 -0
- package/dist/bw-OCC9w3C4.d.mts +243 -0
- package/dist/bw-OCC9w3C4.d.ts +243 -0
- package/dist/cd-Cpxf_ikm.d.mts +495 -0
- package/dist/cd-Cpxf_ikm.d.ts +495 -0
- package/dist/cf-CrFP7Drd.d.mts +423 -0
- package/dist/cf-CrFP7Drd.d.ts +423 -0
- package/dist/cg-BYxWa6m4.d.mts +279 -0
- package/dist/cg-BYxWa6m4.d.ts +279 -0
- package/dist/chunk-24IV36BQ.mjs +44 -0
- package/dist/chunk-2JSSOTED.mjs +44 -0
- package/dist/chunk-32VQ7KYH.mjs +44 -0
- package/dist/chunk-4RK2CGMU.mjs +44 -0
- package/dist/chunk-55XYJJC6.mjs +44 -0
- package/dist/chunk-5AECN3B2.mjs +1365 -0
- package/dist/chunk-5U5QABNG.mjs +44 -0
- package/dist/chunk-6X3JIUEO.mjs +15 -0
- package/dist/chunk-7D7GXZ7C.mjs +44 -0
- package/dist/chunk-A6XUT3BK.mjs +44 -0
- package/dist/chunk-ADPF6UU2.mjs +44 -0
- package/dist/chunk-BM2DB2IJ.mjs +44 -0
- package/dist/chunk-BNE6IOV4.mjs +44 -0
- package/dist/chunk-C5WTTTBO.mjs +44 -0
- package/dist/chunk-CMCGO53E.mjs +44 -0
- package/dist/chunk-CNXFY74C.mjs +44 -0
- package/dist/chunk-DEZJOYAK.mjs +44 -0
- package/dist/chunk-DSDBWR43.mjs +44 -0
- package/dist/chunk-E5UEB6IB.mjs +44 -0
- package/dist/chunk-EFVKVDU6.mjs +44 -0
- package/dist/chunk-F2MVYZIC.mjs +44 -0
- package/dist/chunk-F5MLJ47Q.mjs +44 -0
- package/dist/chunk-FS65WXD5.mjs +44 -0
- package/dist/chunk-FT3QWXGX.mjs +44 -0
- package/dist/chunk-GALD3KIZ.mjs +44 -0
- package/dist/chunk-GRFQFN2V.mjs +44 -0
- package/dist/chunk-H7CBD2RQ.mjs +44 -0
- package/dist/chunk-HKUC56VX.mjs +44 -0
- package/dist/chunk-ILJYIAIQ.mjs +44 -0
- package/dist/chunk-IXXGIOE5.mjs +44 -0
- package/dist/chunk-J52IN2GT.mjs +44 -0
- package/dist/chunk-JRCVMTYP.mjs +44 -0
- package/dist/chunk-KJGX4DA7.mjs +44 -0
- package/dist/chunk-KV35J3OC.mjs +44 -0
- package/dist/chunk-LD4KKW4K.mjs +44 -0
- package/dist/chunk-LFHXGI7U.mjs +44 -0
- package/dist/chunk-LMVVJ5K4.mjs +44 -0
- package/dist/chunk-LNDPDKVK.mjs +44 -0
- package/dist/chunk-LW5ZKSQJ.mjs +44 -0
- package/dist/chunk-OAHXYNQF.mjs +44 -0
- package/dist/chunk-QKFXNE45.mjs +44 -0
- package/dist/chunk-R6M3OJ43.mjs +44 -0
- package/dist/chunk-SUPWL4GX.mjs +44 -0
- package/dist/chunk-TJZLVPTQ.mjs +44 -0
- package/dist/chunk-UD2BPOD5.mjs +44 -0
- package/dist/chunk-UW3ZFE2X.mjs +44 -0
- package/dist/chunk-V4PVQKP6.mjs +44 -0
- package/dist/chunk-VDMRWF3T.mjs +44 -0
- package/dist/chunk-VHZOL65Z.mjs +44 -0
- package/dist/chunk-WP2RKQ3V.mjs +44 -0
- package/dist/chunk-XCYPHKIQ.mjs +44 -0
- package/dist/chunk-XLX4VLR6.mjs +44 -0
- package/dist/chunk-XR7X4QMD.mjs +44 -0
- package/dist/chunk-Y6AB3PCO.mjs +44 -0
- package/dist/chunk-YERFHYYM.mjs +44 -0
- package/dist/chunk-YSETRABU.mjs +44 -0
- package/dist/ci-C4EwPqRx.d.mts +333 -0
- package/dist/ci-C4EwPqRx.d.ts +333 -0
- package/dist/cm-DFrkXf2R.d.mts +243 -0
- package/dist/cm-DFrkXf2R.d.ts +243 -0
- package/dist/countries/ao.d.mts +1 -0
- package/dist/countries/ao.d.ts +1 -0
- package/dist/countries/ao.js +1622 -0
- package/dist/countries/ao.mjs +12 -0
- package/dist/countries/bf.d.mts +1 -0
- package/dist/countries/bf.d.ts +1 -0
- package/dist/countries/bf.js +1562 -0
- package/dist/countries/bf.mjs +12 -0
- package/dist/countries/bi.d.mts +1 -0
- package/dist/countries/bi.d.ts +1 -0
- package/dist/countries/bi.js +1612 -0
- package/dist/countries/bi.mjs +12 -0
- package/dist/countries/bj.d.mts +1 -0
- package/dist/countries/bj.d.ts +1 -0
- package/dist/countries/bj.js +1550 -0
- package/dist/countries/bj.mjs +12 -0
- package/dist/countries/bw.d.mts +1 -0
- package/dist/countries/bw.d.ts +1 -0
- package/dist/countries/bw.js +1542 -0
- package/dist/countries/bw.mjs +12 -0
- package/dist/countries/cd.d.mts +1 -0
- package/dist/countries/cd.d.ts +1 -0
- package/dist/countries/cd.js +1682 -0
- package/dist/countries/cd.mjs +12 -0
- package/dist/countries/cf.d.mts +1 -0
- package/dist/countries/cf.d.ts +1 -0
- package/dist/countries/cf.js +1642 -0
- package/dist/countries/cf.mjs +12 -0
- package/dist/countries/cg.d.mts +1 -0
- package/dist/countries/cg.d.ts +1 -0
- package/dist/countries/cg.js +1562 -0
- package/dist/countries/cg.mjs +12 -0
- package/dist/countries/ci.d.mts +1 -0
- package/dist/countries/ci.d.ts +1 -0
- package/dist/countries/ci.js +1592 -0
- package/dist/countries/ci.mjs +12 -0
- package/dist/countries/cm.d.mts +1 -0
- package/dist/countries/cm.d.ts +1 -0
- package/dist/countries/cm.js +1542 -0
- package/dist/countries/cm.mjs +12 -0
- package/dist/countries/cv.d.mts +1 -0
- package/dist/countries/cv.d.ts +1 -0
- package/dist/countries/cv.js +1672 -0
- package/dist/countries/cv.mjs +12 -0
- package/dist/countries/dj.d.mts +1 -0
- package/dist/countries/dj.d.ts +1 -0
- package/dist/countries/dj.js +1482 -0
- package/dist/countries/dj.mjs +12 -0
- package/dist/countries/dz.d.mts +1 -0
- package/dist/countries/dz.d.ts +1 -0
- package/dist/countries/dz.js +1964 -0
- package/dist/countries/dz.mjs +12 -0
- package/dist/countries/eg.d.mts +1 -0
- package/dist/countries/eg.d.ts +1 -0
- package/dist/countries/eg.js +1718 -0
- package/dist/countries/eg.mjs +12 -0
- package/dist/countries/er.d.mts +1 -0
- package/dist/countries/er.d.ts +1 -0
- package/dist/countries/er.js +1502 -0
- package/dist/countries/er.mjs +12 -0
- package/dist/countries/et.d.mts +1 -0
- package/dist/countries/et.d.ts +1 -0
- package/dist/countries/et.js +1542 -0
- package/dist/countries/et.mjs +12 -0
- package/dist/countries/ga.d.mts +1 -0
- package/dist/countries/ga.d.ts +1 -0
- package/dist/countries/ga.js +1532 -0
- package/dist/countries/ga.mjs +12 -0
- package/dist/countries/gh.d.mts +1 -0
- package/dist/countries/gh.d.ts +1 -0
- package/dist/countries/gh.js +1602 -0
- package/dist/countries/gh.mjs +12 -0
- package/dist/countries/gm.d.mts +1 -0
- package/dist/countries/gm.d.ts +1 -0
- package/dist/countries/gm.js +1512 -0
- package/dist/countries/gm.mjs +12 -0
- package/dist/countries/gn.d.mts +1 -0
- package/dist/countries/gn.d.ts +1 -0
- package/dist/countries/gn.js +1522 -0
- package/dist/countries/gn.mjs +12 -0
- package/dist/countries/gq.d.mts +1 -0
- package/dist/countries/gq.d.ts +1 -0
- package/dist/countries/gq.js +1492 -0
- package/dist/countries/gq.mjs +12 -0
- package/dist/countries/gw.d.mts +1 -0
- package/dist/countries/gw.d.ts +1 -0
- package/dist/countries/gw.js +1532 -0
- package/dist/countries/gw.mjs +12 -0
- package/dist/countries/index.d.mts +54 -0
- package/dist/countries/index.d.ts +54 -0
- package/dist/countries/index.js +13136 -0
- package/dist/countries/index.mjs +220 -0
- package/dist/countries/ke.d.mts +1 -0
- package/dist/countries/ke.d.ts +1 -0
- package/dist/countries/ke.js +1762 -0
- package/dist/countries/ke.mjs +12 -0
- package/dist/countries/km.d.mts +1 -0
- package/dist/countries/km.d.ts +1 -0
- package/dist/countries/km.js +1472 -0
- package/dist/countries/km.mjs +12 -0
- package/dist/countries/lr.d.mts +1 -0
- package/dist/countries/lr.d.ts +1 -0
- package/dist/countries/lr.js +1592 -0
- package/dist/countries/lr.mjs +12 -0
- package/dist/countries/ls.d.mts +1 -0
- package/dist/countries/ls.d.ts +1 -0
- package/dist/countries/ls.js +1542 -0
- package/dist/countries/ls.mjs +12 -0
- package/dist/countries/ly.d.mts +1 -0
- package/dist/countries/ly.d.ts +1 -0
- package/dist/countries/ly.js +1582 -0
- package/dist/countries/ly.mjs +12 -0
- package/dist/countries/ma.d.mts +1 -0
- package/dist/countries/ma.d.ts +1 -0
- package/dist/countries/ma.js +1572 -0
- package/dist/countries/ma.mjs +12 -0
- package/dist/countries/mg.d.mts +1 -0
- package/dist/countries/mg.d.ts +1 -0
- package/dist/countries/mg.js +1502 -0
- package/dist/countries/mg.mjs +12 -0
- package/dist/countries/ml.d.mts +1 -0
- package/dist/countries/ml.d.ts +1 -0
- package/dist/countries/ml.js +1632 -0
- package/dist/countries/ml.mjs +12 -0
- package/dist/countries/mr.d.mts +1 -0
- package/dist/countries/mr.d.ts +1 -0
- package/dist/countries/mr.js +1592 -0
- package/dist/countries/mr.mjs +12 -0
- package/dist/countries/mu.d.mts +1 -0
- package/dist/countries/mu.d.ts +1 -0
- package/dist/countries/mu.js +1542 -0
- package/dist/countries/mu.mjs +12 -0
- package/dist/countries/mw.d.mts +1 -0
- package/dist/countries/mw.d.ts +1 -0
- package/dist/countries/mw.js +1662 -0
- package/dist/countries/mw.mjs +12 -0
- package/dist/countries/mz.d.mts +1 -0
- package/dist/countries/mz.d.ts +1 -0
- package/dist/countries/mz.js +1552 -0
- package/dist/countries/mz.mjs +12 -0
- package/dist/countries/na.d.mts +1 -0
- package/dist/countries/na.d.ts +1 -0
- package/dist/countries/na.js +1582 -0
- package/dist/countries/na.mjs +12 -0
- package/dist/countries/ne.d.mts +1 -0
- package/dist/countries/ne.d.ts +1 -0
- package/dist/countries/ne.js +1522 -0
- package/dist/countries/ne.mjs +12 -0
- package/dist/countries/ng.d.mts +1 -0
- package/dist/countries/ng.d.ts +1 -0
- package/dist/countries/ng.js +3061 -0
- package/dist/countries/ng.mjs +12 -0
- package/dist/countries/rw.d.mts +1 -0
- package/dist/countries/rw.d.ts +1 -0
- package/dist/countries/rw.js +1487 -0
- package/dist/countries/rw.mjs +12 -0
- package/dist/countries/sc.d.mts +1 -0
- package/dist/countries/sc.d.ts +1 -0
- package/dist/countries/sc.js +1702 -0
- package/dist/countries/sc.mjs +12 -0
- package/dist/countries/sd.d.mts +1 -0
- package/dist/countries/sd.d.ts +1 -0
- package/dist/countries/sd.js +1622 -0
- package/dist/countries/sd.mjs +12 -0
- package/dist/countries/sl.d.mts +1 -0
- package/dist/countries/sl.d.ts +1 -0
- package/dist/countries/sl.js +1502 -0
- package/dist/countries/sl.mjs +12 -0
- package/dist/countries/sn.d.mts +1 -0
- package/dist/countries/sn.d.ts +1 -0
- package/dist/countries/sn.js +1582 -0
- package/dist/countries/sn.mjs +12 -0
- package/dist/countries/so.d.mts +1 -0
- package/dist/countries/so.d.ts +1 -0
- package/dist/countries/so.js +1622 -0
- package/dist/countries/so.mjs +12 -0
- package/dist/countries/ss.d.mts +1 -0
- package/dist/countries/ss.d.ts +1 -0
- package/dist/countries/ss.js +1439 -0
- package/dist/countries/ss.mjs +12 -0
- package/dist/countries/st.d.mts +1 -0
- package/dist/countries/st.d.ts +1 -0
- package/dist/countries/st.js +1462 -0
- package/dist/countries/st.mjs +12 -0
- package/dist/countries/sz.d.mts +1 -0
- package/dist/countries/sz.d.ts +1 -0
- package/dist/countries/sz.js +1502 -0
- package/dist/countries/sz.mjs +12 -0
- package/dist/countries/td.d.mts +1 -0
- package/dist/countries/td.d.ts +1 -0
- package/dist/countries/td.js +1673 -0
- package/dist/countries/td.mjs +12 -0
- package/dist/countries/tg.d.mts +1 -0
- package/dist/countries/tg.d.ts +1 -0
- package/dist/countries/tg.js +1492 -0
- package/dist/countries/tg.mjs +12 -0
- package/dist/countries/tn.d.mts +1 -0
- package/dist/countries/tn.d.ts +1 -0
- package/dist/countries/tn.js +1945 -0
- package/dist/countries/tn.mjs +12 -0
- package/dist/countries/tz.d.mts +1 -0
- package/dist/countries/tz.d.ts +1 -0
- package/dist/countries/tz.js +1652 -0
- package/dist/countries/tz.mjs +12 -0
- package/dist/countries/ug.d.mts +1 -0
- package/dist/countries/ug.d.ts +1 -0
- package/dist/countries/ug.js +1832 -0
- package/dist/countries/ug.mjs +12 -0
- package/dist/countries/za.d.mts +1 -0
- package/dist/countries/za.d.ts +1 -0
- package/dist/countries/za.js +1532 -0
- package/dist/countries/za.mjs +12 -0
- package/dist/countries/zm.d.mts +1 -0
- package/dist/countries/zm.d.ts +1 -0
- package/dist/countries/zm.js +1542 -0
- package/dist/countries/zm.mjs +12 -0
- package/dist/countries/zw.d.mts +1 -0
- package/dist/countries/zw.d.ts +1 -0
- package/dist/countries/zw.js +1542 -0
- package/dist/countries/zw.mjs +12 -0
- package/dist/cv-CtibnUiy.d.mts +477 -0
- package/dist/cv-CtibnUiy.d.ts +477 -0
- package/dist/dj-BQlP5JJi.d.mts +135 -0
- package/dist/dj-BQlP5JJi.d.ts +135 -0
- package/dist/dz-BOMFyjje.d.mts +991 -0
- package/dist/dz-BOMFyjje.d.ts +991 -0
- package/dist/eg-PBCrCZ6T.d.mts +549 -0
- package/dist/eg-PBCrCZ6T.d.ts +549 -0
- package/dist/er-5zA2hEWZ.d.mts +171 -0
- package/dist/er-5zA2hEWZ.d.ts +171 -0
- package/dist/et-BDJKxIIa.d.mts +237 -0
- package/dist/et-BDJKxIIa.d.ts +237 -0
- package/dist/ga-Cc-q2sgL.d.mts +225 -0
- package/dist/ga-Cc-q2sgL.d.ts +225 -0
- package/dist/gh-DmDOd5ct.d.mts +351 -0
- package/dist/gh-DmDOd5ct.d.ts +351 -0
- package/dist/gm-D0b9dn3Y.d.mts +189 -0
- package/dist/gm-D0b9dn3Y.d.ts +189 -0
- package/dist/gn-BJptW1BM.d.mts +207 -0
- package/dist/gn-BJptW1BM.d.ts +207 -0
- package/dist/gq-BeMrVbTH.d.mts +153 -0
- package/dist/gq-BeMrVbTH.d.ts +153 -0
- package/dist/gw-CZCuWEUw.d.mts +225 -0
- package/dist/gw-CZCuWEUw.d.ts +225 -0
- package/dist/index.d.mts +1044 -258
- package/dist/index.d.ts +1044 -258
- package/dist/index.js +2542 -321
- package/dist/index.mjs +107 -775
- package/dist/ke-BBmGgMWl.d.mts +639 -0
- package/dist/ke-BBmGgMWl.d.ts +639 -0
- package/dist/km-3puK4Scm.d.mts +117 -0
- package/dist/km-3puK4Scm.d.ts +117 -0
- package/dist/lr-BBOmopNl.d.mts +327 -0
- package/dist/lr-BBOmopNl.d.ts +327 -0
- package/dist/ls-CdxRNwoL.d.mts +243 -0
- package/dist/ls-CdxRNwoL.d.ts +243 -0
- package/dist/ly-Bllzpebp.d.mts +315 -0
- package/dist/ly-Bllzpebp.d.ts +315 -0
- package/dist/ma-C4oUSDzO.d.mts +297 -0
- package/dist/ma-C4oUSDzO.d.ts +297 -0
- package/dist/mg-BG0omeiq.d.mts +171 -0
- package/dist/mg-BG0omeiq.d.ts +171 -0
- package/dist/ml-C4YwmTOg.d.mts +405 -0
- package/dist/ml-C4YwmTOg.d.ts +405 -0
- package/dist/mr-S9qYSgqU.d.mts +333 -0
- package/dist/mr-S9qYSgqU.d.ts +333 -0
- package/dist/mu-CfWnCIpO.d.mts +63 -0
- package/dist/mu-CfWnCIpO.d.ts +63 -0
- package/dist/mw-DLdVyy4w.d.mts +459 -0
- package/dist/mw-DLdVyy4w.d.ts +459 -0
- package/dist/mz-8gAPay7-.d.mts +261 -0
- package/dist/mz-8gAPay7-.d.ts +261 -0
- package/dist/na-BBfqqruE.d.mts +315 -0
- package/dist/na-BBfqqruE.d.ts +315 -0
- package/dist/ne-D02x884b.d.mts +207 -0
- package/dist/ne-D02x884b.d.ts +207 -0
- package/dist/ng-ByrcukXA.d.mts +729 -0
- package/dist/ng-ByrcukXA.d.ts +729 -0
- package/dist/rw-C_8vnNs_.d.mts +143 -0
- package/dist/rw-C_8vnNs_.d.ts +143 -0
- package/dist/sc-4eJgrGsN.d.mts +531 -0
- package/dist/sc-4eJgrGsN.d.ts +531 -0
- package/dist/sd-Ba0Glc9g.d.mts +387 -0
- package/dist/sd-Ba0Glc9g.d.ts +387 -0
- package/dist/sl-DARwWL4M.d.mts +171 -0
- package/dist/sl-DARwWL4M.d.ts +171 -0
- package/dist/sn-Cg4GW7Q-.d.mts +315 -0
- package/dist/sn-Cg4GW7Q-.d.ts +315 -0
- package/dist/so-CecZZSsk.d.mts +387 -0
- package/dist/so-CecZZSsk.d.ts +387 -0
- package/dist/ss-CVBT7yYs.d.mts +63 -0
- package/dist/ss-CVBT7yYs.d.ts +63 -0
- package/dist/st-EOo_jDus.d.mts +99 -0
- package/dist/st-EOo_jDus.d.ts +99 -0
- package/dist/sz-LbYDA00P.d.mts +171 -0
- package/dist/sz-LbYDA00P.d.ts +171 -0
- package/dist/td-xhT3S_h2.d.mts +459 -0
- package/dist/td-xhT3S_h2.d.ts +459 -0
- package/dist/tg-TXAqBUFn.d.mts +153 -0
- package/dist/tg-TXAqBUFn.d.ts +153 -0
- package/dist/tn-Dhzs1vda.d.mts +495 -0
- package/dist/tn-Dhzs1vda.d.ts +495 -0
- package/dist/tz-CWrcjdIl.d.mts +441 -0
- package/dist/tz-CWrcjdIl.d.ts +441 -0
- package/dist/ug-CFvVIavv.d.mts +765 -0
- package/dist/ug-CFvVIavv.d.ts +765 -0
- package/dist/za-DO6TQB4z.d.mts +225 -0
- package/dist/za-DO6TQB4z.d.ts +225 -0
- package/dist/zm-DHXyd4jg.d.mts +243 -0
- package/dist/zm-DHXyd4jg.d.ts +243 -0
- package/dist/zw-BdKdGHba.d.mts +243 -0
- package/dist/zw-BdKdGHba.d.ts +243 -0
- package/jest.config.js +11 -0
- package/package.json +297 -5
- package/dist/NG-6QW6RXJE.mjs +0 -382
- package/dist/TN-KZ7WMICO.mjs +0 -252
- package/dist/chunk-4UEJOM6W.mjs +0 -9
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,28 @@
|
|
|
1
|
+
type RegionResult = {
|
|
2
|
+
capitalCity: string;
|
|
3
|
+
country: string;
|
|
4
|
+
countryCode: string;
|
|
5
|
+
geoPoliticalZone: string;
|
|
6
|
+
location: string;
|
|
7
|
+
name: string;
|
|
8
|
+
stateCode: string;
|
|
9
|
+
subdivisions: string[];
|
|
10
|
+
tribes: string[];
|
|
11
|
+
type: string;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Retrieves all African countries with their metadata.
|
|
16
|
+
* @returns Array of country objects with countryCode property.
|
|
17
|
+
*/
|
|
1
18
|
declare function getCountries(): Promise<({
|
|
2
19
|
countryCode: string;
|
|
3
20
|
phoneCode: number;
|
|
4
21
|
capitalCity: string;
|
|
5
|
-
colonialMaster:
|
|
22
|
+
colonialMaster: {
|
|
23
|
+
name: string;
|
|
24
|
+
countryCode: string;
|
|
25
|
+
}[];
|
|
6
26
|
flagEmoji: string;
|
|
7
27
|
name: string;
|
|
8
28
|
currency: string;
|
|
@@ -10,11 +30,18 @@ declare function getCountries(): Promise<({
|
|
|
10
30
|
currencySymbol: string;
|
|
11
31
|
officialLanguage: string;
|
|
12
32
|
majorEthnicGroups: string[];
|
|
33
|
+
timezones: {
|
|
34
|
+
iana: string;
|
|
35
|
+
gmtOffset: string;
|
|
36
|
+
}[];
|
|
13
37
|
} | {
|
|
14
38
|
countryCode: string;
|
|
15
39
|
phoneCode: number;
|
|
16
40
|
capitalCity: string;
|
|
17
|
-
colonialMaster:
|
|
41
|
+
colonialMaster: {
|
|
42
|
+
name: string;
|
|
43
|
+
countryCode: string;
|
|
44
|
+
}[];
|
|
18
45
|
flagEmoji: string;
|
|
19
46
|
name: string;
|
|
20
47
|
currency: string;
|
|
@@ -22,35 +49,56 @@ declare function getCountries(): Promise<({
|
|
|
22
49
|
currencySymbol: string;
|
|
23
50
|
officialLanguage: string;
|
|
24
51
|
majorEthnicGroups: string[];
|
|
52
|
+
timezones: {
|
|
53
|
+
iana: string;
|
|
54
|
+
gmtOffset: string;
|
|
55
|
+
}[];
|
|
25
56
|
} | {
|
|
26
57
|
countryCode: string;
|
|
27
58
|
phoneCode: number;
|
|
28
59
|
capitalCity: string;
|
|
29
|
-
colonialMaster:
|
|
60
|
+
colonialMaster: {
|
|
61
|
+
name: string;
|
|
62
|
+
countryCode: string;
|
|
63
|
+
}[];
|
|
30
64
|
flagEmoji: string;
|
|
31
65
|
name: string;
|
|
32
66
|
currency: string;
|
|
33
67
|
currencyCode: string;
|
|
34
68
|
currencySymbol: string;
|
|
35
69
|
officialLanguage: string;
|
|
36
|
-
majorEthnicGroups:
|
|
70
|
+
majorEthnicGroups: string[];
|
|
71
|
+
timezones: {
|
|
72
|
+
iana: string;
|
|
73
|
+
gmtOffset: string;
|
|
74
|
+
}[];
|
|
37
75
|
} | {
|
|
38
76
|
countryCode: string;
|
|
39
77
|
phoneCode: number;
|
|
40
78
|
capitalCity: string;
|
|
41
|
-
colonialMaster:
|
|
79
|
+
colonialMaster: {
|
|
80
|
+
name: string;
|
|
81
|
+
countryCode: string;
|
|
82
|
+
}[];
|
|
42
83
|
flagEmoji: string;
|
|
43
84
|
name: string;
|
|
44
85
|
currency: string;
|
|
45
86
|
currencyCode: string;
|
|
46
87
|
currencySymbol: string;
|
|
47
88
|
officialLanguage: string;
|
|
48
|
-
majorEthnicGroups:
|
|
89
|
+
majorEthnicGroups: string[];
|
|
90
|
+
timezones: {
|
|
91
|
+
iana: string;
|
|
92
|
+
gmtOffset: string;
|
|
93
|
+
}[];
|
|
49
94
|
} | {
|
|
50
95
|
countryCode: string;
|
|
51
96
|
phoneCode: number;
|
|
52
97
|
capitalCity: string;
|
|
53
|
-
colonialMaster:
|
|
98
|
+
colonialMaster: {
|
|
99
|
+
name: string;
|
|
100
|
+
countryCode: string;
|
|
101
|
+
}[];
|
|
54
102
|
flagEmoji: string;
|
|
55
103
|
name: string;
|
|
56
104
|
currency: string;
|
|
@@ -58,47 +106,75 @@ declare function getCountries(): Promise<({
|
|
|
58
106
|
currencySymbol: string;
|
|
59
107
|
officialLanguage: string;
|
|
60
108
|
majorEthnicGroups: string[];
|
|
109
|
+
timezones: {
|
|
110
|
+
iana: string;
|
|
111
|
+
gmtOffset: string;
|
|
112
|
+
}[];
|
|
61
113
|
} | {
|
|
62
114
|
countryCode: string;
|
|
63
115
|
phoneCode: number;
|
|
64
116
|
capitalCity: string;
|
|
65
|
-
colonialMaster:
|
|
117
|
+
colonialMaster: {
|
|
118
|
+
name: string;
|
|
119
|
+
countryCode: string;
|
|
120
|
+
}[];
|
|
66
121
|
flagEmoji: string;
|
|
67
122
|
name: string;
|
|
68
123
|
currency: string;
|
|
69
124
|
currencyCode: string;
|
|
70
125
|
currencySymbol: string;
|
|
71
126
|
officialLanguage: string;
|
|
72
|
-
majorEthnicGroups:
|
|
127
|
+
majorEthnicGroups: string[];
|
|
128
|
+
timezones: {
|
|
129
|
+
iana: string;
|
|
130
|
+
gmtOffset: string;
|
|
131
|
+
}[];
|
|
73
132
|
} | {
|
|
74
133
|
countryCode: string;
|
|
75
134
|
phoneCode: number;
|
|
76
135
|
capitalCity: string;
|
|
77
|
-
colonialMaster:
|
|
136
|
+
colonialMaster: {
|
|
137
|
+
name: string;
|
|
138
|
+
countryCode: string;
|
|
139
|
+
}[];
|
|
78
140
|
flagEmoji: string;
|
|
79
141
|
name: string;
|
|
80
142
|
currency: string;
|
|
81
143
|
currencyCode: string;
|
|
82
144
|
currencySymbol: string;
|
|
83
145
|
officialLanguage: string;
|
|
84
|
-
majorEthnicGroups:
|
|
146
|
+
majorEthnicGroups: string[];
|
|
147
|
+
timezones: {
|
|
148
|
+
iana: string;
|
|
149
|
+
gmtOffset: string;
|
|
150
|
+
}[];
|
|
85
151
|
} | {
|
|
86
152
|
countryCode: string;
|
|
87
153
|
phoneCode: number;
|
|
88
154
|
capitalCity: string;
|
|
89
|
-
colonialMaster:
|
|
155
|
+
colonialMaster: {
|
|
156
|
+
name: string;
|
|
157
|
+
countryCode: string;
|
|
158
|
+
}[];
|
|
90
159
|
flagEmoji: string;
|
|
91
160
|
name: string;
|
|
92
161
|
currency: string;
|
|
93
162
|
currencyCode: string;
|
|
94
163
|
currencySymbol: string;
|
|
95
164
|
officialLanguage: string;
|
|
96
|
-
majorEthnicGroups:
|
|
165
|
+
majorEthnicGroups: string[];
|
|
166
|
+
timezones: {
|
|
167
|
+
iana: string;
|
|
168
|
+
gmtOffset: string;
|
|
169
|
+
}[];
|
|
97
170
|
} | {
|
|
98
171
|
countryCode: string;
|
|
99
172
|
phoneCode: number;
|
|
100
173
|
capitalCity: string;
|
|
101
|
-
colonialMaster:
|
|
174
|
+
colonialMaster: {
|
|
175
|
+
name: string;
|
|
176
|
+
countryCode: string;
|
|
177
|
+
}[];
|
|
102
178
|
flagEmoji: string;
|
|
103
179
|
name: string;
|
|
104
180
|
currency: string;
|
|
@@ -106,347 +182,544 @@ declare function getCountries(): Promise<({
|
|
|
106
182
|
currencySymbol: string;
|
|
107
183
|
officialLanguage: string;
|
|
108
184
|
majorEthnicGroups: string[];
|
|
185
|
+
timezones: {
|
|
186
|
+
iana: string;
|
|
187
|
+
gmtOffset: string;
|
|
188
|
+
}[];
|
|
109
189
|
} | {
|
|
110
190
|
countryCode: string;
|
|
111
191
|
phoneCode: number;
|
|
112
192
|
capitalCity: string;
|
|
113
|
-
colonialMaster:
|
|
193
|
+
colonialMaster: {
|
|
194
|
+
name: string;
|
|
195
|
+
countryCode: string;
|
|
196
|
+
}[];
|
|
114
197
|
flagEmoji: string;
|
|
115
198
|
name: string;
|
|
116
199
|
currency: string;
|
|
117
200
|
currencyCode: string;
|
|
118
201
|
currencySymbol: string;
|
|
119
202
|
officialLanguage: string;
|
|
120
|
-
majorEthnicGroups:
|
|
203
|
+
majorEthnicGroups: string[];
|
|
204
|
+
timezones: {
|
|
205
|
+
iana: string;
|
|
206
|
+
gmtOffset: string;
|
|
207
|
+
}[];
|
|
121
208
|
} | {
|
|
122
209
|
countryCode: string;
|
|
123
210
|
phoneCode: number;
|
|
124
211
|
capitalCity: string;
|
|
125
|
-
colonialMaster:
|
|
212
|
+
colonialMaster: {
|
|
213
|
+
name: string;
|
|
214
|
+
countryCode: string;
|
|
215
|
+
}[];
|
|
126
216
|
flagEmoji: string;
|
|
127
217
|
name: string;
|
|
128
218
|
currency: string;
|
|
129
219
|
currencyCode: string;
|
|
130
220
|
currencySymbol: string;
|
|
131
221
|
officialLanguage: string;
|
|
132
|
-
majorEthnicGroups:
|
|
222
|
+
majorEthnicGroups: string[];
|
|
223
|
+
timezones: {
|
|
224
|
+
iana: string;
|
|
225
|
+
gmtOffset: string;
|
|
226
|
+
}[];
|
|
133
227
|
} | {
|
|
134
228
|
countryCode: string;
|
|
135
229
|
phoneCode: number;
|
|
136
230
|
capitalCity: string;
|
|
137
|
-
colonialMaster:
|
|
231
|
+
colonialMaster: {
|
|
232
|
+
name: string;
|
|
233
|
+
countryCode: string;
|
|
234
|
+
}[];
|
|
138
235
|
flagEmoji: string;
|
|
139
236
|
name: string;
|
|
140
237
|
currency: string;
|
|
141
238
|
currencyCode: string;
|
|
142
239
|
currencySymbol: string;
|
|
143
240
|
officialLanguage: string;
|
|
144
|
-
majorEthnicGroups:
|
|
241
|
+
majorEthnicGroups: string[];
|
|
242
|
+
timezones: {
|
|
243
|
+
iana: string;
|
|
244
|
+
gmtOffset: string;
|
|
245
|
+
}[];
|
|
145
246
|
} | {
|
|
146
247
|
countryCode: string;
|
|
147
248
|
phoneCode: number;
|
|
148
249
|
capitalCity: string;
|
|
149
|
-
colonialMaster:
|
|
250
|
+
colonialMaster: {
|
|
251
|
+
name: string;
|
|
252
|
+
countryCode: string;
|
|
253
|
+
}[];
|
|
150
254
|
flagEmoji: string;
|
|
151
255
|
name: string;
|
|
152
256
|
currency: string;
|
|
153
257
|
currencyCode: string;
|
|
154
258
|
currencySymbol: string;
|
|
155
259
|
officialLanguage: string;
|
|
156
|
-
majorEthnicGroups:
|
|
260
|
+
majorEthnicGroups: string[];
|
|
261
|
+
timezones: {
|
|
262
|
+
iana: string;
|
|
263
|
+
gmtOffset: string;
|
|
264
|
+
}[];
|
|
157
265
|
} | {
|
|
158
266
|
countryCode: string;
|
|
159
267
|
phoneCode: number;
|
|
160
268
|
capitalCity: string;
|
|
161
|
-
colonialMaster:
|
|
269
|
+
colonialMaster: {
|
|
270
|
+
name: string;
|
|
271
|
+
countryCode: string;
|
|
272
|
+
}[];
|
|
162
273
|
flagEmoji: string;
|
|
163
274
|
name: string;
|
|
164
275
|
currency: string;
|
|
165
276
|
currencyCode: string;
|
|
166
277
|
currencySymbol: string;
|
|
167
278
|
officialLanguage: string;
|
|
168
|
-
majorEthnicGroups:
|
|
279
|
+
majorEthnicGroups: string[];
|
|
280
|
+
timezones: {
|
|
281
|
+
iana: string;
|
|
282
|
+
gmtOffset: string;
|
|
283
|
+
}[];
|
|
169
284
|
} | {
|
|
170
285
|
countryCode: string;
|
|
171
286
|
phoneCode: number;
|
|
172
287
|
capitalCity: string;
|
|
173
|
-
colonialMaster:
|
|
288
|
+
colonialMaster: {
|
|
289
|
+
name: string;
|
|
290
|
+
countryCode: string;
|
|
291
|
+
}[];
|
|
174
292
|
flagEmoji: string;
|
|
175
293
|
name: string;
|
|
176
294
|
currency: string;
|
|
177
295
|
currencyCode: string;
|
|
178
296
|
currencySymbol: string;
|
|
179
297
|
officialLanguage: string;
|
|
180
|
-
majorEthnicGroups:
|
|
298
|
+
majorEthnicGroups: string[];
|
|
299
|
+
timezones: {
|
|
300
|
+
iana: string;
|
|
301
|
+
gmtOffset: string;
|
|
302
|
+
}[];
|
|
181
303
|
} | {
|
|
182
304
|
countryCode: string;
|
|
183
305
|
phoneCode: number;
|
|
184
306
|
capitalCity: string;
|
|
185
|
-
colonialMaster:
|
|
307
|
+
colonialMaster: {
|
|
308
|
+
name: string;
|
|
309
|
+
countryCode: string;
|
|
310
|
+
}[];
|
|
186
311
|
flagEmoji: string;
|
|
187
312
|
name: string;
|
|
188
313
|
currency: string;
|
|
189
314
|
currencyCode: string;
|
|
190
315
|
currencySymbol: string;
|
|
191
316
|
officialLanguage: string;
|
|
192
|
-
majorEthnicGroups:
|
|
317
|
+
majorEthnicGroups: string[];
|
|
318
|
+
timezones: {
|
|
319
|
+
iana: string;
|
|
320
|
+
gmtOffset: string;
|
|
321
|
+
}[];
|
|
193
322
|
} | {
|
|
194
323
|
countryCode: string;
|
|
195
324
|
phoneCode: number;
|
|
196
325
|
capitalCity: string;
|
|
197
|
-
colonialMaster:
|
|
326
|
+
colonialMaster: {
|
|
327
|
+
name: string;
|
|
328
|
+
countryCode: string;
|
|
329
|
+
}[];
|
|
198
330
|
flagEmoji: string;
|
|
199
331
|
name: string;
|
|
200
332
|
currency: string;
|
|
201
333
|
currencyCode: string;
|
|
202
334
|
currencySymbol: string;
|
|
203
335
|
officialLanguage: string;
|
|
204
|
-
majorEthnicGroups:
|
|
336
|
+
majorEthnicGroups: string[];
|
|
337
|
+
timezones: {
|
|
338
|
+
iana: string;
|
|
339
|
+
gmtOffset: string;
|
|
340
|
+
}[];
|
|
205
341
|
} | {
|
|
206
342
|
countryCode: string;
|
|
207
343
|
phoneCode: number;
|
|
208
344
|
capitalCity: string;
|
|
209
|
-
colonialMaster:
|
|
345
|
+
colonialMaster: {
|
|
346
|
+
name: string;
|
|
347
|
+
countryCode: string;
|
|
348
|
+
}[];
|
|
210
349
|
flagEmoji: string;
|
|
211
350
|
name: string;
|
|
212
351
|
currency: string;
|
|
213
352
|
currencyCode: string;
|
|
214
353
|
currencySymbol: string;
|
|
215
354
|
officialLanguage: string;
|
|
216
|
-
majorEthnicGroups:
|
|
355
|
+
majorEthnicGroups: string[];
|
|
356
|
+
timezones: {
|
|
357
|
+
iana: string;
|
|
358
|
+
gmtOffset: string;
|
|
359
|
+
}[];
|
|
217
360
|
} | {
|
|
218
361
|
countryCode: string;
|
|
219
362
|
phoneCode: number;
|
|
220
363
|
capitalCity: string;
|
|
221
|
-
colonialMaster:
|
|
364
|
+
colonialMaster: any[];
|
|
222
365
|
flagEmoji: string;
|
|
223
366
|
name: string;
|
|
224
367
|
currency: string;
|
|
225
368
|
currencyCode: string;
|
|
226
369
|
currencySymbol: string;
|
|
227
370
|
officialLanguage: string;
|
|
228
|
-
majorEthnicGroups:
|
|
371
|
+
majorEthnicGroups: string[];
|
|
372
|
+
timezones: {
|
|
373
|
+
iana: string;
|
|
374
|
+
gmtOffset: string;
|
|
375
|
+
}[];
|
|
229
376
|
} | {
|
|
230
377
|
countryCode: string;
|
|
231
378
|
phoneCode: number;
|
|
232
379
|
capitalCity: string;
|
|
233
|
-
colonialMaster:
|
|
380
|
+
colonialMaster: {
|
|
381
|
+
name: string;
|
|
382
|
+
countryCode: string;
|
|
383
|
+
}[];
|
|
234
384
|
flagEmoji: string;
|
|
235
385
|
name: string;
|
|
236
386
|
currency: string;
|
|
237
387
|
currencyCode: string;
|
|
238
388
|
currencySymbol: string;
|
|
239
389
|
officialLanguage: string;
|
|
240
|
-
majorEthnicGroups:
|
|
390
|
+
majorEthnicGroups: string[];
|
|
391
|
+
timezones: {
|
|
392
|
+
iana: string;
|
|
393
|
+
gmtOffset: string;
|
|
394
|
+
}[];
|
|
241
395
|
} | {
|
|
242
396
|
countryCode: string;
|
|
243
397
|
phoneCode: number;
|
|
244
398
|
capitalCity: string;
|
|
245
|
-
colonialMaster:
|
|
399
|
+
colonialMaster: {
|
|
400
|
+
name: string;
|
|
401
|
+
countryCode: string;
|
|
402
|
+
}[];
|
|
246
403
|
flagEmoji: string;
|
|
247
404
|
name: string;
|
|
248
405
|
currency: string;
|
|
249
406
|
currencyCode: string;
|
|
250
407
|
currencySymbol: string;
|
|
251
408
|
officialLanguage: string;
|
|
252
|
-
majorEthnicGroups:
|
|
409
|
+
majorEthnicGroups: string[];
|
|
410
|
+
timezones: {
|
|
411
|
+
iana: string;
|
|
412
|
+
gmtOffset: string;
|
|
413
|
+
}[];
|
|
253
414
|
} | {
|
|
254
415
|
countryCode: string;
|
|
255
416
|
phoneCode: number;
|
|
256
417
|
capitalCity: string;
|
|
257
|
-
colonialMaster:
|
|
418
|
+
colonialMaster: {
|
|
419
|
+
name: string;
|
|
420
|
+
countryCode: string;
|
|
421
|
+
}[];
|
|
258
422
|
flagEmoji: string;
|
|
259
423
|
name: string;
|
|
260
424
|
currency: string;
|
|
261
425
|
currencyCode: string;
|
|
262
426
|
currencySymbol: string;
|
|
263
427
|
officialLanguage: string;
|
|
264
|
-
majorEthnicGroups:
|
|
428
|
+
majorEthnicGroups: string[];
|
|
429
|
+
timezones: {
|
|
430
|
+
iana: string;
|
|
431
|
+
gmtOffset: string;
|
|
432
|
+
}[];
|
|
265
433
|
} | {
|
|
266
434
|
countryCode: string;
|
|
267
435
|
phoneCode: number;
|
|
268
436
|
capitalCity: string;
|
|
269
|
-
colonialMaster:
|
|
437
|
+
colonialMaster: {
|
|
438
|
+
name: string;
|
|
439
|
+
countryCode: string;
|
|
440
|
+
}[];
|
|
270
441
|
flagEmoji: string;
|
|
271
442
|
name: string;
|
|
272
443
|
currency: string;
|
|
273
444
|
currencyCode: string;
|
|
274
445
|
currencySymbol: string;
|
|
275
446
|
officialLanguage: string;
|
|
276
|
-
majorEthnicGroups:
|
|
447
|
+
majorEthnicGroups: string[];
|
|
448
|
+
timezones: {
|
|
449
|
+
iana: string;
|
|
450
|
+
gmtOffset: string;
|
|
451
|
+
}[];
|
|
277
452
|
} | {
|
|
278
453
|
countryCode: string;
|
|
279
454
|
phoneCode: number;
|
|
280
455
|
capitalCity: string;
|
|
281
|
-
colonialMaster:
|
|
456
|
+
colonialMaster: {
|
|
457
|
+
name: string;
|
|
458
|
+
countryCode: string;
|
|
459
|
+
}[];
|
|
282
460
|
flagEmoji: string;
|
|
283
461
|
name: string;
|
|
284
462
|
currency: string;
|
|
285
463
|
currencyCode: string;
|
|
286
464
|
currencySymbol: string;
|
|
287
465
|
officialLanguage: string;
|
|
288
|
-
majorEthnicGroups:
|
|
466
|
+
majorEthnicGroups: string[];
|
|
467
|
+
timezones: {
|
|
468
|
+
iana: string;
|
|
469
|
+
gmtOffset: string;
|
|
470
|
+
}[];
|
|
289
471
|
} | {
|
|
290
472
|
countryCode: string;
|
|
291
473
|
phoneCode: number;
|
|
292
474
|
capitalCity: string;
|
|
293
|
-
colonialMaster:
|
|
475
|
+
colonialMaster: {
|
|
476
|
+
name: string;
|
|
477
|
+
countryCode: string;
|
|
478
|
+
}[];
|
|
294
479
|
flagEmoji: string;
|
|
295
480
|
name: string;
|
|
296
481
|
currency: string;
|
|
297
482
|
currencyCode: string;
|
|
298
483
|
currencySymbol: string;
|
|
299
484
|
officialLanguage: string;
|
|
300
|
-
majorEthnicGroups:
|
|
485
|
+
majorEthnicGroups: string[];
|
|
486
|
+
timezones: {
|
|
487
|
+
iana: string;
|
|
488
|
+
gmtOffset: string;
|
|
489
|
+
}[];
|
|
301
490
|
} | {
|
|
302
491
|
countryCode: string;
|
|
303
492
|
phoneCode: number;
|
|
304
493
|
capitalCity: string;
|
|
305
|
-
colonialMaster:
|
|
494
|
+
colonialMaster: {
|
|
495
|
+
name: string;
|
|
496
|
+
countryCode: string;
|
|
497
|
+
}[];
|
|
306
498
|
flagEmoji: string;
|
|
307
499
|
name: string;
|
|
308
500
|
currency: string;
|
|
309
501
|
currencyCode: string;
|
|
310
502
|
currencySymbol: string;
|
|
311
503
|
officialLanguage: string;
|
|
312
|
-
majorEthnicGroups:
|
|
504
|
+
majorEthnicGroups: string[];
|
|
505
|
+
timezones: {
|
|
506
|
+
iana: string;
|
|
507
|
+
gmtOffset: string;
|
|
508
|
+
}[];
|
|
313
509
|
} | {
|
|
314
510
|
countryCode: string;
|
|
315
511
|
phoneCode: number;
|
|
316
512
|
capitalCity: string;
|
|
317
|
-
colonialMaster:
|
|
513
|
+
colonialMaster: any[];
|
|
318
514
|
flagEmoji: string;
|
|
319
515
|
name: string;
|
|
320
516
|
currency: string;
|
|
321
517
|
currencyCode: string;
|
|
322
518
|
currencySymbol: string;
|
|
323
519
|
officialLanguage: string;
|
|
324
|
-
majorEthnicGroups:
|
|
520
|
+
majorEthnicGroups: string[];
|
|
521
|
+
timezones: {
|
|
522
|
+
iana: string;
|
|
523
|
+
gmtOffset: string;
|
|
524
|
+
}[];
|
|
325
525
|
} | {
|
|
326
526
|
countryCode: string;
|
|
327
527
|
phoneCode: number;
|
|
328
528
|
capitalCity: string;
|
|
329
|
-
colonialMaster:
|
|
529
|
+
colonialMaster: {
|
|
530
|
+
name: string;
|
|
531
|
+
countryCode: string;
|
|
532
|
+
}[];
|
|
330
533
|
flagEmoji: string;
|
|
331
534
|
name: string;
|
|
332
535
|
currency: string;
|
|
333
536
|
currencyCode: string;
|
|
334
537
|
currencySymbol: string;
|
|
335
538
|
officialLanguage: string;
|
|
336
|
-
majorEthnicGroups:
|
|
539
|
+
majorEthnicGroups: string[];
|
|
540
|
+
timezones: {
|
|
541
|
+
iana: string;
|
|
542
|
+
gmtOffset: string;
|
|
543
|
+
}[];
|
|
337
544
|
} | {
|
|
338
545
|
countryCode: string;
|
|
339
546
|
phoneCode: number;
|
|
340
547
|
capitalCity: string;
|
|
341
|
-
colonialMaster:
|
|
548
|
+
colonialMaster: {
|
|
549
|
+
name: string;
|
|
550
|
+
countryCode: string;
|
|
551
|
+
}[];
|
|
342
552
|
flagEmoji: string;
|
|
343
553
|
name: string;
|
|
344
554
|
currency: string;
|
|
345
555
|
currencyCode: string;
|
|
346
556
|
currencySymbol: string;
|
|
347
557
|
officialLanguage: string;
|
|
348
|
-
majorEthnicGroups:
|
|
558
|
+
majorEthnicGroups: string[];
|
|
559
|
+
timezones: {
|
|
560
|
+
iana: string;
|
|
561
|
+
gmtOffset: string;
|
|
562
|
+
}[];
|
|
349
563
|
} | {
|
|
350
564
|
countryCode: string;
|
|
351
565
|
phoneCode: number;
|
|
352
566
|
capitalCity: string;
|
|
353
|
-
colonialMaster:
|
|
567
|
+
colonialMaster: {
|
|
568
|
+
name: string;
|
|
569
|
+
countryCode: string;
|
|
570
|
+
}[];
|
|
354
571
|
flagEmoji: string;
|
|
355
572
|
name: string;
|
|
356
573
|
currency: string;
|
|
357
574
|
currencyCode: string;
|
|
358
575
|
currencySymbol: string;
|
|
359
576
|
officialLanguage: string;
|
|
360
|
-
majorEthnicGroups:
|
|
577
|
+
majorEthnicGroups: string[];
|
|
578
|
+
timezones: {
|
|
579
|
+
iana: string;
|
|
580
|
+
gmtOffset: string;
|
|
581
|
+
}[];
|
|
361
582
|
} | {
|
|
362
583
|
countryCode: string;
|
|
363
584
|
phoneCode: number;
|
|
364
585
|
capitalCity: string;
|
|
365
|
-
colonialMaster:
|
|
586
|
+
colonialMaster: {
|
|
587
|
+
name: string;
|
|
588
|
+
countryCode: string;
|
|
589
|
+
}[];
|
|
366
590
|
flagEmoji: string;
|
|
367
591
|
name: string;
|
|
368
592
|
currency: string;
|
|
369
593
|
currencyCode: string;
|
|
370
594
|
currencySymbol: string;
|
|
371
595
|
officialLanguage: string;
|
|
372
|
-
majorEthnicGroups:
|
|
596
|
+
majorEthnicGroups: string[];
|
|
597
|
+
timezones: {
|
|
598
|
+
iana: string;
|
|
599
|
+
gmtOffset: string;
|
|
600
|
+
}[];
|
|
373
601
|
} | {
|
|
374
602
|
countryCode: string;
|
|
375
603
|
phoneCode: number;
|
|
376
604
|
capitalCity: string;
|
|
377
|
-
colonialMaster:
|
|
605
|
+
colonialMaster: {
|
|
606
|
+
name: string;
|
|
607
|
+
countryCode: string;
|
|
608
|
+
}[];
|
|
378
609
|
flagEmoji: string;
|
|
379
610
|
name: string;
|
|
380
611
|
currency: string;
|
|
381
612
|
currencyCode: string;
|
|
382
613
|
currencySymbol: string;
|
|
383
614
|
officialLanguage: string;
|
|
384
|
-
majorEthnicGroups:
|
|
615
|
+
majorEthnicGroups: string[];
|
|
616
|
+
timezones: {
|
|
617
|
+
iana: string;
|
|
618
|
+
gmtOffset: string;
|
|
619
|
+
}[];
|
|
385
620
|
} | {
|
|
386
621
|
countryCode: string;
|
|
387
622
|
phoneCode: number;
|
|
388
623
|
capitalCity: string;
|
|
389
|
-
colonialMaster:
|
|
624
|
+
colonialMaster: {
|
|
625
|
+
name: string;
|
|
626
|
+
countryCode: string;
|
|
627
|
+
}[];
|
|
390
628
|
flagEmoji: string;
|
|
391
629
|
name: string;
|
|
392
630
|
currency: string;
|
|
393
631
|
currencyCode: string;
|
|
394
632
|
currencySymbol: string;
|
|
395
633
|
officialLanguage: string;
|
|
396
|
-
majorEthnicGroups:
|
|
634
|
+
majorEthnicGroups: string[];
|
|
635
|
+
timezones: {
|
|
636
|
+
iana: string;
|
|
637
|
+
gmtOffset: string;
|
|
638
|
+
}[];
|
|
397
639
|
} | {
|
|
398
640
|
countryCode: string;
|
|
399
641
|
phoneCode: number;
|
|
400
642
|
capitalCity: string;
|
|
401
|
-
colonialMaster:
|
|
643
|
+
colonialMaster: {
|
|
644
|
+
name: string;
|
|
645
|
+
countryCode: string;
|
|
646
|
+
}[];
|
|
402
647
|
flagEmoji: string;
|
|
403
648
|
name: string;
|
|
404
649
|
currency: string;
|
|
405
650
|
currencyCode: string;
|
|
406
651
|
currencySymbol: string;
|
|
407
652
|
officialLanguage: string;
|
|
408
|
-
majorEthnicGroups:
|
|
653
|
+
majorEthnicGroups: string[];
|
|
654
|
+
timezones: {
|
|
655
|
+
iana: string;
|
|
656
|
+
gmtOffset: string;
|
|
657
|
+
}[];
|
|
409
658
|
} | {
|
|
410
659
|
countryCode: string;
|
|
411
660
|
phoneCode: number;
|
|
412
661
|
capitalCity: string;
|
|
413
|
-
colonialMaster:
|
|
662
|
+
colonialMaster: {
|
|
663
|
+
name: string;
|
|
664
|
+
countryCode: string;
|
|
665
|
+
}[];
|
|
414
666
|
flagEmoji: string;
|
|
415
667
|
name: string;
|
|
416
668
|
currency: string;
|
|
417
669
|
currencyCode: string;
|
|
418
670
|
currencySymbol: string;
|
|
419
671
|
officialLanguage: string;
|
|
420
|
-
majorEthnicGroups:
|
|
672
|
+
majorEthnicGroups: string[];
|
|
673
|
+
timezones: {
|
|
674
|
+
iana: string;
|
|
675
|
+
gmtOffset: string;
|
|
676
|
+
}[];
|
|
421
677
|
} | {
|
|
422
678
|
countryCode: string;
|
|
423
679
|
phoneCode: number;
|
|
424
680
|
capitalCity: string;
|
|
425
|
-
colonialMaster:
|
|
681
|
+
colonialMaster: {
|
|
682
|
+
name: string;
|
|
683
|
+
countryCode: string;
|
|
684
|
+
}[];
|
|
426
685
|
flagEmoji: string;
|
|
427
686
|
name: string;
|
|
428
687
|
currency: string;
|
|
429
688
|
currencyCode: string;
|
|
430
689
|
currencySymbol: string;
|
|
431
690
|
officialLanguage: any;
|
|
432
|
-
majorEthnicGroups:
|
|
691
|
+
majorEthnicGroups: string[];
|
|
692
|
+
timezones: {
|
|
693
|
+
iana: string;
|
|
694
|
+
gmtOffset: string;
|
|
695
|
+
}[];
|
|
433
696
|
} | {
|
|
434
697
|
countryCode: string;
|
|
435
698
|
phoneCode: number;
|
|
436
699
|
capitalCity: string;
|
|
437
|
-
colonialMaster:
|
|
700
|
+
colonialMaster: {
|
|
701
|
+
name: string;
|
|
702
|
+
countryCode: string;
|
|
703
|
+
}[];
|
|
438
704
|
flagEmoji: string;
|
|
439
705
|
name: string;
|
|
440
706
|
currency: string;
|
|
441
707
|
currencyCode: string;
|
|
442
708
|
currencySymbol: string;
|
|
443
709
|
officialLanguage: string;
|
|
444
|
-
majorEthnicGroups:
|
|
710
|
+
majorEthnicGroups: string[];
|
|
711
|
+
timezones: {
|
|
712
|
+
iana: string;
|
|
713
|
+
gmtOffset: string;
|
|
714
|
+
}[];
|
|
445
715
|
} | {
|
|
446
716
|
countryCode: string;
|
|
447
717
|
phoneCode: number;
|
|
448
718
|
capitalCity: string;
|
|
449
|
-
colonialMaster:
|
|
719
|
+
colonialMaster: {
|
|
720
|
+
name: string;
|
|
721
|
+
countryCode: string;
|
|
722
|
+
}[];
|
|
450
723
|
flagEmoji: string;
|
|
451
724
|
name: string;
|
|
452
725
|
currency: string;
|
|
@@ -454,71 +727,113 @@ declare function getCountries(): Promise<({
|
|
|
454
727
|
currencySymbol: string;
|
|
455
728
|
officialLanguage: string;
|
|
456
729
|
majorEthnicGroups: string[];
|
|
730
|
+
timezones: {
|
|
731
|
+
iana: string;
|
|
732
|
+
gmtOffset: string;
|
|
733
|
+
}[];
|
|
457
734
|
} | {
|
|
458
735
|
countryCode: string;
|
|
459
736
|
phoneCode: number;
|
|
460
737
|
capitalCity: string;
|
|
461
|
-
colonialMaster:
|
|
738
|
+
colonialMaster: {
|
|
739
|
+
name: string;
|
|
740
|
+
countryCode: string;
|
|
741
|
+
}[];
|
|
462
742
|
flagEmoji: string;
|
|
463
743
|
name: string;
|
|
464
744
|
currency: string;
|
|
465
745
|
currencyCode: string;
|
|
466
746
|
currencySymbol: string;
|
|
467
747
|
officialLanguage: string;
|
|
468
|
-
majorEthnicGroups:
|
|
748
|
+
majorEthnicGroups: string[];
|
|
749
|
+
timezones: {
|
|
750
|
+
iana: string;
|
|
751
|
+
gmtOffset: string;
|
|
752
|
+
}[];
|
|
469
753
|
} | {
|
|
470
754
|
countryCode: string;
|
|
471
755
|
phoneCode: number;
|
|
472
756
|
capitalCity: string;
|
|
473
|
-
colonialMaster:
|
|
757
|
+
colonialMaster: {
|
|
758
|
+
name: string;
|
|
759
|
+
countryCode: string;
|
|
760
|
+
}[];
|
|
474
761
|
flagEmoji: string;
|
|
475
762
|
name: string;
|
|
476
763
|
currency: string;
|
|
477
764
|
currencyCode: string;
|
|
478
765
|
currencySymbol: string;
|
|
479
766
|
officialLanguage: string;
|
|
480
|
-
majorEthnicGroups:
|
|
767
|
+
majorEthnicGroups: string[];
|
|
768
|
+
timezones: {
|
|
769
|
+
iana: string;
|
|
770
|
+
gmtOffset: string;
|
|
771
|
+
}[];
|
|
481
772
|
} | {
|
|
482
773
|
countryCode: string;
|
|
483
774
|
phoneCode: number;
|
|
484
775
|
capitalCity: string;
|
|
485
|
-
colonialMaster:
|
|
776
|
+
colonialMaster: {
|
|
777
|
+
name: string;
|
|
778
|
+
countryCode: string;
|
|
779
|
+
}[];
|
|
486
780
|
flagEmoji: string;
|
|
487
781
|
name: string;
|
|
488
782
|
currency: string;
|
|
489
783
|
currencyCode: string;
|
|
490
784
|
currencySymbol: string;
|
|
491
785
|
officialLanguage: string;
|
|
492
|
-
majorEthnicGroups:
|
|
786
|
+
majorEthnicGroups: string[];
|
|
787
|
+
timezones: {
|
|
788
|
+
iana: string;
|
|
789
|
+
gmtOffset: string;
|
|
790
|
+
}[];
|
|
493
791
|
} | {
|
|
494
792
|
countryCode: string;
|
|
495
793
|
phoneCode: number;
|
|
496
794
|
capitalCity: string;
|
|
497
|
-
colonialMaster:
|
|
795
|
+
colonialMaster: {
|
|
796
|
+
name: string;
|
|
797
|
+
countryCode: string;
|
|
798
|
+
}[];
|
|
498
799
|
flagEmoji: string;
|
|
499
800
|
name: string;
|
|
500
801
|
currency: string;
|
|
501
802
|
currencyCode: string;
|
|
502
803
|
currencySymbol: string;
|
|
503
804
|
officialLanguage: string;
|
|
504
|
-
majorEthnicGroups:
|
|
805
|
+
majorEthnicGroups: string[];
|
|
806
|
+
timezones: {
|
|
807
|
+
iana: string;
|
|
808
|
+
gmtOffset: string;
|
|
809
|
+
}[];
|
|
505
810
|
} | {
|
|
506
811
|
countryCode: string;
|
|
507
812
|
phoneCode: number;
|
|
508
813
|
capitalCity: string;
|
|
509
|
-
colonialMaster:
|
|
814
|
+
colonialMaster: {
|
|
815
|
+
name: string;
|
|
816
|
+
countryCode: string;
|
|
817
|
+
}[];
|
|
510
818
|
flagEmoji: string;
|
|
511
819
|
name: string;
|
|
512
820
|
currency: string;
|
|
513
821
|
currencyCode: string;
|
|
514
822
|
currencySymbol: string;
|
|
515
823
|
officialLanguage: string;
|
|
516
|
-
majorEthnicGroups:
|
|
824
|
+
majorEthnicGroups: string[];
|
|
825
|
+
timezones: {
|
|
826
|
+
iana: string;
|
|
827
|
+
gmtOffset: string;
|
|
828
|
+
}[];
|
|
517
829
|
} | {
|
|
518
830
|
countryCode: string;
|
|
519
831
|
phoneCode: number;
|
|
520
832
|
capitalCity: string;
|
|
521
|
-
colonialMaster:
|
|
833
|
+
colonialMaster: {
|
|
834
|
+
name: string;
|
|
835
|
+
countryCode: string;
|
|
836
|
+
}[];
|
|
522
837
|
flagEmoji: string;
|
|
523
838
|
name: string;
|
|
524
839
|
currency: string;
|
|
@@ -526,59 +841,94 @@ declare function getCountries(): Promise<({
|
|
|
526
841
|
currencySymbol: string;
|
|
527
842
|
officialLanguage: string;
|
|
528
843
|
majorEthnicGroups: string[];
|
|
844
|
+
timezones: {
|
|
845
|
+
iana: string;
|
|
846
|
+
gmtOffset: string;
|
|
847
|
+
}[];
|
|
529
848
|
} | {
|
|
530
849
|
countryCode: string;
|
|
531
850
|
phoneCode: number;
|
|
532
851
|
capitalCity: string;
|
|
533
|
-
colonialMaster:
|
|
852
|
+
colonialMaster: {
|
|
853
|
+
name: string;
|
|
854
|
+
countryCode: string;
|
|
855
|
+
}[];
|
|
534
856
|
flagEmoji: string;
|
|
535
857
|
name: string;
|
|
536
858
|
currency: string;
|
|
537
859
|
currencyCode: string;
|
|
538
860
|
currencySymbol: string;
|
|
539
861
|
officialLanguage: string;
|
|
540
|
-
majorEthnicGroups:
|
|
862
|
+
majorEthnicGroups: string[];
|
|
863
|
+
timezones: {
|
|
864
|
+
iana: string;
|
|
865
|
+
gmtOffset: string;
|
|
866
|
+
}[];
|
|
541
867
|
} | {
|
|
542
868
|
countryCode: string;
|
|
543
869
|
phoneCode: number;
|
|
544
870
|
capitalCity: string;
|
|
545
|
-
colonialMaster:
|
|
871
|
+
colonialMaster: {
|
|
872
|
+
name: string;
|
|
873
|
+
countryCode: string;
|
|
874
|
+
}[];
|
|
546
875
|
flagEmoji: string;
|
|
547
876
|
name: string;
|
|
548
877
|
currency: string;
|
|
549
878
|
currencyCode: string;
|
|
550
879
|
currencySymbol: string;
|
|
551
880
|
officialLanguage: string;
|
|
552
|
-
majorEthnicGroups:
|
|
881
|
+
majorEthnicGroups: string[];
|
|
882
|
+
timezones: {
|
|
883
|
+
iana: string;
|
|
884
|
+
gmtOffset: string;
|
|
885
|
+
}[];
|
|
553
886
|
} | {
|
|
554
887
|
countryCode: string;
|
|
555
888
|
phoneCode: number;
|
|
556
889
|
capitalCity: string;
|
|
557
|
-
colonialMaster:
|
|
890
|
+
colonialMaster: {
|
|
891
|
+
name: string;
|
|
892
|
+
countryCode: string;
|
|
893
|
+
}[];
|
|
558
894
|
flagEmoji: string;
|
|
559
895
|
name: string;
|
|
560
896
|
currency: string;
|
|
561
897
|
currencyCode: string;
|
|
562
898
|
currencySymbol: string;
|
|
563
899
|
officialLanguage: string;
|
|
564
|
-
majorEthnicGroups:
|
|
900
|
+
majorEthnicGroups: string[];
|
|
901
|
+
timezones: {
|
|
902
|
+
iana: string;
|
|
903
|
+
gmtOffset: string;
|
|
904
|
+
}[];
|
|
565
905
|
} | {
|
|
566
906
|
countryCode: string;
|
|
567
907
|
phoneCode: number;
|
|
568
908
|
capitalCity: string;
|
|
569
|
-
colonialMaster:
|
|
909
|
+
colonialMaster: {
|
|
910
|
+
name: string;
|
|
911
|
+
countryCode: string;
|
|
912
|
+
}[];
|
|
570
913
|
flagEmoji: string;
|
|
571
914
|
name: string;
|
|
572
915
|
currency: string;
|
|
573
916
|
currencyCode: string;
|
|
574
917
|
currencySymbol: string;
|
|
575
918
|
officialLanguage: string;
|
|
576
|
-
majorEthnicGroups:
|
|
919
|
+
majorEthnicGroups: string[];
|
|
920
|
+
timezones: {
|
|
921
|
+
iana: string;
|
|
922
|
+
gmtOffset: string;
|
|
923
|
+
}[];
|
|
577
924
|
} | {
|
|
578
925
|
countryCode: string;
|
|
579
926
|
phoneCode: number;
|
|
580
927
|
capitalCity: string;
|
|
581
|
-
colonialMaster:
|
|
928
|
+
colonialMaster: {
|
|
929
|
+
name: string;
|
|
930
|
+
countryCode: string;
|
|
931
|
+
}[];
|
|
582
932
|
flagEmoji: string;
|
|
583
933
|
name: string;
|
|
584
934
|
currency: string;
|
|
@@ -586,47 +936,75 @@ declare function getCountries(): Promise<({
|
|
|
586
936
|
currencySymbol: string;
|
|
587
937
|
officialLanguage: string;
|
|
588
938
|
majorEthnicGroups: string[];
|
|
939
|
+
timezones: {
|
|
940
|
+
iana: string;
|
|
941
|
+
gmtOffset: string;
|
|
942
|
+
}[];
|
|
589
943
|
} | {
|
|
590
944
|
countryCode: string;
|
|
591
945
|
phoneCode: number;
|
|
592
946
|
capitalCity: string;
|
|
593
|
-
colonialMaster:
|
|
947
|
+
colonialMaster: {
|
|
948
|
+
name: string;
|
|
949
|
+
countryCode: string;
|
|
950
|
+
}[];
|
|
594
951
|
flagEmoji: string;
|
|
595
952
|
name: string;
|
|
596
953
|
currency: string;
|
|
597
954
|
currencyCode: string;
|
|
598
955
|
currencySymbol: string;
|
|
599
956
|
officialLanguage: string;
|
|
600
|
-
majorEthnicGroups:
|
|
957
|
+
majorEthnicGroups: string[];
|
|
958
|
+
timezones: {
|
|
959
|
+
iana: string;
|
|
960
|
+
gmtOffset: string;
|
|
961
|
+
}[];
|
|
601
962
|
} | {
|
|
602
963
|
countryCode: string;
|
|
603
964
|
phoneCode: number;
|
|
604
965
|
capitalCity: string;
|
|
605
|
-
colonialMaster:
|
|
966
|
+
colonialMaster: {
|
|
967
|
+
name: string;
|
|
968
|
+
countryCode: string;
|
|
969
|
+
}[];
|
|
606
970
|
flagEmoji: string;
|
|
607
971
|
name: string;
|
|
608
972
|
currency: string;
|
|
609
973
|
currencyCode: string;
|
|
610
974
|
currencySymbol: string;
|
|
611
975
|
officialLanguage: string;
|
|
612
|
-
majorEthnicGroups:
|
|
976
|
+
majorEthnicGroups: string[];
|
|
977
|
+
timezones: {
|
|
978
|
+
iana: string;
|
|
979
|
+
gmtOffset: string;
|
|
980
|
+
}[];
|
|
613
981
|
} | {
|
|
614
982
|
countryCode: string;
|
|
615
983
|
phoneCode: number;
|
|
616
984
|
capitalCity: string;
|
|
617
|
-
colonialMaster:
|
|
985
|
+
colonialMaster: {
|
|
986
|
+
name: string;
|
|
987
|
+
countryCode: string;
|
|
988
|
+
}[];
|
|
618
989
|
flagEmoji: string;
|
|
619
990
|
name: string;
|
|
620
991
|
currency: string;
|
|
621
992
|
currencyCode: string;
|
|
622
993
|
currencySymbol: string;
|
|
623
994
|
officialLanguage: string;
|
|
624
|
-
majorEthnicGroups:
|
|
995
|
+
majorEthnicGroups: string[];
|
|
996
|
+
timezones: {
|
|
997
|
+
iana: string;
|
|
998
|
+
gmtOffset: string;
|
|
999
|
+
}[];
|
|
625
1000
|
} | {
|
|
626
1001
|
countryCode: string;
|
|
627
1002
|
phoneCode: number;
|
|
628
1003
|
capitalCity: string;
|
|
629
|
-
colonialMaster:
|
|
1004
|
+
colonialMaster: {
|
|
1005
|
+
name: string;
|
|
1006
|
+
countryCode: string;
|
|
1007
|
+
}[];
|
|
630
1008
|
flagEmoji: string;
|
|
631
1009
|
name: string;
|
|
632
1010
|
currency: string;
|
|
@@ -634,25 +1012,43 @@ declare function getCountries(): Promise<({
|
|
|
634
1012
|
currencySymbol: string;
|
|
635
1013
|
officialLanguage: string;
|
|
636
1014
|
majorEthnicGroups: string[];
|
|
1015
|
+
timezones: {
|
|
1016
|
+
iana: string;
|
|
1017
|
+
gmtOffset: string;
|
|
1018
|
+
}[];
|
|
637
1019
|
} | {
|
|
638
1020
|
countryCode: string;
|
|
639
1021
|
phoneCode: number;
|
|
640
1022
|
capitalCity: string;
|
|
641
|
-
colonialMaster:
|
|
1023
|
+
colonialMaster: {
|
|
1024
|
+
name: string;
|
|
1025
|
+
countryCode: string;
|
|
1026
|
+
}[];
|
|
642
1027
|
flagEmoji: string;
|
|
643
1028
|
name: string;
|
|
644
1029
|
currency: string;
|
|
645
1030
|
currencyCode: string;
|
|
646
1031
|
currencySymbol: string;
|
|
647
1032
|
officialLanguage: string;
|
|
648
|
-
majorEthnicGroups:
|
|
1033
|
+
majorEthnicGroups: string[];
|
|
1034
|
+
timezones: {
|
|
1035
|
+
iana: string;
|
|
1036
|
+
gmtOffset: string;
|
|
1037
|
+
}[];
|
|
649
1038
|
})[]>;
|
|
650
|
-
|
|
651
|
-
|
|
1039
|
+
/**
|
|
1040
|
+
* Retrieves all African countries and embeds their tribe data as states.
|
|
1041
|
+
* @returns Array of country objects with states property containing tribe data.
|
|
1042
|
+
*/
|
|
1043
|
+
declare function getCountriesAndStates(): Promise<({
|
|
1044
|
+
states: unknown[];
|
|
652
1045
|
countryCode: string;
|
|
653
1046
|
phoneCode: number;
|
|
654
1047
|
capitalCity: string;
|
|
655
|
-
colonialMaster:
|
|
1048
|
+
colonialMaster: {
|
|
1049
|
+
name: string;
|
|
1050
|
+
countryCode: string;
|
|
1051
|
+
}[];
|
|
656
1052
|
flagEmoji: string;
|
|
657
1053
|
name: string;
|
|
658
1054
|
currency: string;
|
|
@@ -660,12 +1056,19 @@ declare function getCountriesAndTribalData(countryCode: string): Promise<({
|
|
|
660
1056
|
currencySymbol: string;
|
|
661
1057
|
officialLanguage: string;
|
|
662
1058
|
majorEthnicGroups: string[];
|
|
1059
|
+
timezones: {
|
|
1060
|
+
iana: string;
|
|
1061
|
+
gmtOffset: string;
|
|
1062
|
+
}[];
|
|
663
1063
|
} | {
|
|
664
|
-
|
|
1064
|
+
states: unknown[];
|
|
665
1065
|
countryCode: string;
|
|
666
1066
|
phoneCode: number;
|
|
667
1067
|
capitalCity: string;
|
|
668
|
-
colonialMaster:
|
|
1068
|
+
colonialMaster: {
|
|
1069
|
+
name: string;
|
|
1070
|
+
countryCode: string;
|
|
1071
|
+
}[];
|
|
669
1072
|
flagEmoji: string;
|
|
670
1073
|
name: string;
|
|
671
1074
|
currency: string;
|
|
@@ -673,38 +1076,59 @@ declare function getCountriesAndTribalData(countryCode: string): Promise<({
|
|
|
673
1076
|
currencySymbol: string;
|
|
674
1077
|
officialLanguage: string;
|
|
675
1078
|
majorEthnicGroups: string[];
|
|
1079
|
+
timezones: {
|
|
1080
|
+
iana: string;
|
|
1081
|
+
gmtOffset: string;
|
|
1082
|
+
}[];
|
|
676
1083
|
} | {
|
|
677
|
-
|
|
1084
|
+
states: unknown[];
|
|
678
1085
|
countryCode: string;
|
|
679
1086
|
phoneCode: number;
|
|
680
1087
|
capitalCity: string;
|
|
681
|
-
colonialMaster:
|
|
1088
|
+
colonialMaster: {
|
|
1089
|
+
name: string;
|
|
1090
|
+
countryCode: string;
|
|
1091
|
+
}[];
|
|
682
1092
|
flagEmoji: string;
|
|
683
1093
|
name: string;
|
|
684
1094
|
currency: string;
|
|
685
1095
|
currencyCode: string;
|
|
686
1096
|
currencySymbol: string;
|
|
687
1097
|
officialLanguage: string;
|
|
688
|
-
majorEthnicGroups:
|
|
1098
|
+
majorEthnicGroups: string[];
|
|
1099
|
+
timezones: {
|
|
1100
|
+
iana: string;
|
|
1101
|
+
gmtOffset: string;
|
|
1102
|
+
}[];
|
|
689
1103
|
} | {
|
|
690
|
-
|
|
1104
|
+
states: unknown[];
|
|
691
1105
|
countryCode: string;
|
|
692
1106
|
phoneCode: number;
|
|
693
1107
|
capitalCity: string;
|
|
694
|
-
colonialMaster:
|
|
1108
|
+
colonialMaster: {
|
|
1109
|
+
name: string;
|
|
1110
|
+
countryCode: string;
|
|
1111
|
+
}[];
|
|
695
1112
|
flagEmoji: string;
|
|
696
1113
|
name: string;
|
|
697
1114
|
currency: string;
|
|
698
1115
|
currencyCode: string;
|
|
699
1116
|
currencySymbol: string;
|
|
700
1117
|
officialLanguage: string;
|
|
701
|
-
majorEthnicGroups:
|
|
1118
|
+
majorEthnicGroups: string[];
|
|
1119
|
+
timezones: {
|
|
1120
|
+
iana: string;
|
|
1121
|
+
gmtOffset: string;
|
|
1122
|
+
}[];
|
|
702
1123
|
} | {
|
|
703
|
-
|
|
1124
|
+
states: unknown[];
|
|
704
1125
|
countryCode: string;
|
|
705
1126
|
phoneCode: number;
|
|
706
1127
|
capitalCity: string;
|
|
707
|
-
colonialMaster:
|
|
1128
|
+
colonialMaster: {
|
|
1129
|
+
name: string;
|
|
1130
|
+
countryCode: string;
|
|
1131
|
+
}[];
|
|
708
1132
|
flagEmoji: string;
|
|
709
1133
|
name: string;
|
|
710
1134
|
currency: string;
|
|
@@ -712,51 +1136,79 @@ declare function getCountriesAndTribalData(countryCode: string): Promise<({
|
|
|
712
1136
|
currencySymbol: string;
|
|
713
1137
|
officialLanguage: string;
|
|
714
1138
|
majorEthnicGroups: string[];
|
|
1139
|
+
timezones: {
|
|
1140
|
+
iana: string;
|
|
1141
|
+
gmtOffset: string;
|
|
1142
|
+
}[];
|
|
715
1143
|
} | {
|
|
716
|
-
|
|
1144
|
+
states: unknown[];
|
|
717
1145
|
countryCode: string;
|
|
718
1146
|
phoneCode: number;
|
|
719
1147
|
capitalCity: string;
|
|
720
|
-
colonialMaster:
|
|
1148
|
+
colonialMaster: {
|
|
1149
|
+
name: string;
|
|
1150
|
+
countryCode: string;
|
|
1151
|
+
}[];
|
|
721
1152
|
flagEmoji: string;
|
|
722
1153
|
name: string;
|
|
723
1154
|
currency: string;
|
|
724
1155
|
currencyCode: string;
|
|
725
1156
|
currencySymbol: string;
|
|
726
1157
|
officialLanguage: string;
|
|
727
|
-
majorEthnicGroups:
|
|
1158
|
+
majorEthnicGroups: string[];
|
|
1159
|
+
timezones: {
|
|
1160
|
+
iana: string;
|
|
1161
|
+
gmtOffset: string;
|
|
1162
|
+
}[];
|
|
728
1163
|
} | {
|
|
729
|
-
|
|
1164
|
+
states: unknown[];
|
|
730
1165
|
countryCode: string;
|
|
731
1166
|
phoneCode: number;
|
|
732
1167
|
capitalCity: string;
|
|
733
|
-
colonialMaster:
|
|
1168
|
+
colonialMaster: {
|
|
1169
|
+
name: string;
|
|
1170
|
+
countryCode: string;
|
|
1171
|
+
}[];
|
|
734
1172
|
flagEmoji: string;
|
|
735
1173
|
name: string;
|
|
736
1174
|
currency: string;
|
|
737
1175
|
currencyCode: string;
|
|
738
1176
|
currencySymbol: string;
|
|
739
1177
|
officialLanguage: string;
|
|
740
|
-
majorEthnicGroups:
|
|
1178
|
+
majorEthnicGroups: string[];
|
|
1179
|
+
timezones: {
|
|
1180
|
+
iana: string;
|
|
1181
|
+
gmtOffset: string;
|
|
1182
|
+
}[];
|
|
741
1183
|
} | {
|
|
742
|
-
|
|
1184
|
+
states: unknown[];
|
|
743
1185
|
countryCode: string;
|
|
744
1186
|
phoneCode: number;
|
|
745
1187
|
capitalCity: string;
|
|
746
|
-
colonialMaster:
|
|
1188
|
+
colonialMaster: {
|
|
1189
|
+
name: string;
|
|
1190
|
+
countryCode: string;
|
|
1191
|
+
}[];
|
|
747
1192
|
flagEmoji: string;
|
|
748
1193
|
name: string;
|
|
749
1194
|
currency: string;
|
|
750
1195
|
currencyCode: string;
|
|
751
1196
|
currencySymbol: string;
|
|
752
1197
|
officialLanguage: string;
|
|
753
|
-
majorEthnicGroups:
|
|
1198
|
+
majorEthnicGroups: string[];
|
|
1199
|
+
timezones: {
|
|
1200
|
+
iana: string;
|
|
1201
|
+
gmtOffset: string;
|
|
1202
|
+
}[];
|
|
754
1203
|
} | {
|
|
755
|
-
|
|
1204
|
+
states: unknown[];
|
|
756
1205
|
countryCode: string;
|
|
757
1206
|
phoneCode: number;
|
|
758
1207
|
capitalCity: string;
|
|
759
|
-
colonialMaster:
|
|
1208
|
+
colonialMaster: {
|
|
1209
|
+
name: string;
|
|
1210
|
+
countryCode: string;
|
|
1211
|
+
}[];
|
|
760
1212
|
flagEmoji: string;
|
|
761
1213
|
name: string;
|
|
762
1214
|
currency: string;
|
|
@@ -764,376 +1216,573 @@ declare function getCountriesAndTribalData(countryCode: string): Promise<({
|
|
|
764
1216
|
currencySymbol: string;
|
|
765
1217
|
officialLanguage: string;
|
|
766
1218
|
majorEthnicGroups: string[];
|
|
1219
|
+
timezones: {
|
|
1220
|
+
iana: string;
|
|
1221
|
+
gmtOffset: string;
|
|
1222
|
+
}[];
|
|
767
1223
|
} | {
|
|
768
|
-
|
|
1224
|
+
states: unknown[];
|
|
769
1225
|
countryCode: string;
|
|
770
1226
|
phoneCode: number;
|
|
771
1227
|
capitalCity: string;
|
|
772
|
-
colonialMaster:
|
|
1228
|
+
colonialMaster: {
|
|
1229
|
+
name: string;
|
|
1230
|
+
countryCode: string;
|
|
1231
|
+
}[];
|
|
773
1232
|
flagEmoji: string;
|
|
774
1233
|
name: string;
|
|
775
1234
|
currency: string;
|
|
776
1235
|
currencyCode: string;
|
|
777
1236
|
currencySymbol: string;
|
|
778
1237
|
officialLanguage: string;
|
|
779
|
-
majorEthnicGroups:
|
|
1238
|
+
majorEthnicGroups: string[];
|
|
1239
|
+
timezones: {
|
|
1240
|
+
iana: string;
|
|
1241
|
+
gmtOffset: string;
|
|
1242
|
+
}[];
|
|
780
1243
|
} | {
|
|
781
|
-
|
|
1244
|
+
states: unknown[];
|
|
782
1245
|
countryCode: string;
|
|
783
1246
|
phoneCode: number;
|
|
784
1247
|
capitalCity: string;
|
|
785
|
-
colonialMaster:
|
|
1248
|
+
colonialMaster: {
|
|
1249
|
+
name: string;
|
|
1250
|
+
countryCode: string;
|
|
1251
|
+
}[];
|
|
786
1252
|
flagEmoji: string;
|
|
787
1253
|
name: string;
|
|
788
1254
|
currency: string;
|
|
789
1255
|
currencyCode: string;
|
|
790
1256
|
currencySymbol: string;
|
|
791
1257
|
officialLanguage: string;
|
|
792
|
-
majorEthnicGroups:
|
|
1258
|
+
majorEthnicGroups: string[];
|
|
1259
|
+
timezones: {
|
|
1260
|
+
iana: string;
|
|
1261
|
+
gmtOffset: string;
|
|
1262
|
+
}[];
|
|
793
1263
|
} | {
|
|
794
|
-
|
|
1264
|
+
states: unknown[];
|
|
795
1265
|
countryCode: string;
|
|
796
1266
|
phoneCode: number;
|
|
797
1267
|
capitalCity: string;
|
|
798
|
-
colonialMaster:
|
|
1268
|
+
colonialMaster: {
|
|
1269
|
+
name: string;
|
|
1270
|
+
countryCode: string;
|
|
1271
|
+
}[];
|
|
799
1272
|
flagEmoji: string;
|
|
800
1273
|
name: string;
|
|
801
1274
|
currency: string;
|
|
802
1275
|
currencyCode: string;
|
|
803
1276
|
currencySymbol: string;
|
|
804
1277
|
officialLanguage: string;
|
|
805
|
-
majorEthnicGroups:
|
|
1278
|
+
majorEthnicGroups: string[];
|
|
1279
|
+
timezones: {
|
|
1280
|
+
iana: string;
|
|
1281
|
+
gmtOffset: string;
|
|
1282
|
+
}[];
|
|
806
1283
|
} | {
|
|
807
|
-
|
|
1284
|
+
states: unknown[];
|
|
808
1285
|
countryCode: string;
|
|
809
1286
|
phoneCode: number;
|
|
810
1287
|
capitalCity: string;
|
|
811
|
-
colonialMaster:
|
|
1288
|
+
colonialMaster: {
|
|
1289
|
+
name: string;
|
|
1290
|
+
countryCode: string;
|
|
1291
|
+
}[];
|
|
812
1292
|
flagEmoji: string;
|
|
813
1293
|
name: string;
|
|
814
1294
|
currency: string;
|
|
815
1295
|
currencyCode: string;
|
|
816
1296
|
currencySymbol: string;
|
|
817
1297
|
officialLanguage: string;
|
|
818
|
-
majorEthnicGroups:
|
|
1298
|
+
majorEthnicGroups: string[];
|
|
1299
|
+
timezones: {
|
|
1300
|
+
iana: string;
|
|
1301
|
+
gmtOffset: string;
|
|
1302
|
+
}[];
|
|
819
1303
|
} | {
|
|
820
|
-
|
|
1304
|
+
states: unknown[];
|
|
821
1305
|
countryCode: string;
|
|
822
1306
|
phoneCode: number;
|
|
823
1307
|
capitalCity: string;
|
|
824
|
-
colonialMaster:
|
|
1308
|
+
colonialMaster: {
|
|
1309
|
+
name: string;
|
|
1310
|
+
countryCode: string;
|
|
1311
|
+
}[];
|
|
825
1312
|
flagEmoji: string;
|
|
826
1313
|
name: string;
|
|
827
1314
|
currency: string;
|
|
828
1315
|
currencyCode: string;
|
|
829
1316
|
currencySymbol: string;
|
|
830
1317
|
officialLanguage: string;
|
|
831
|
-
majorEthnicGroups:
|
|
1318
|
+
majorEthnicGroups: string[];
|
|
1319
|
+
timezones: {
|
|
1320
|
+
iana: string;
|
|
1321
|
+
gmtOffset: string;
|
|
1322
|
+
}[];
|
|
832
1323
|
} | {
|
|
833
|
-
|
|
1324
|
+
states: unknown[];
|
|
834
1325
|
countryCode: string;
|
|
835
1326
|
phoneCode: number;
|
|
836
1327
|
capitalCity: string;
|
|
837
|
-
colonialMaster:
|
|
1328
|
+
colonialMaster: {
|
|
1329
|
+
name: string;
|
|
1330
|
+
countryCode: string;
|
|
1331
|
+
}[];
|
|
838
1332
|
flagEmoji: string;
|
|
839
1333
|
name: string;
|
|
840
1334
|
currency: string;
|
|
841
1335
|
currencyCode: string;
|
|
842
1336
|
currencySymbol: string;
|
|
843
1337
|
officialLanguage: string;
|
|
844
|
-
majorEthnicGroups:
|
|
1338
|
+
majorEthnicGroups: string[];
|
|
1339
|
+
timezones: {
|
|
1340
|
+
iana: string;
|
|
1341
|
+
gmtOffset: string;
|
|
1342
|
+
}[];
|
|
845
1343
|
} | {
|
|
846
|
-
|
|
1344
|
+
states: unknown[];
|
|
847
1345
|
countryCode: string;
|
|
848
1346
|
phoneCode: number;
|
|
849
1347
|
capitalCity: string;
|
|
850
|
-
colonialMaster:
|
|
1348
|
+
colonialMaster: {
|
|
1349
|
+
name: string;
|
|
1350
|
+
countryCode: string;
|
|
1351
|
+
}[];
|
|
851
1352
|
flagEmoji: string;
|
|
852
1353
|
name: string;
|
|
853
1354
|
currency: string;
|
|
854
1355
|
currencyCode: string;
|
|
855
1356
|
currencySymbol: string;
|
|
856
1357
|
officialLanguage: string;
|
|
857
|
-
majorEthnicGroups:
|
|
1358
|
+
majorEthnicGroups: string[];
|
|
1359
|
+
timezones: {
|
|
1360
|
+
iana: string;
|
|
1361
|
+
gmtOffset: string;
|
|
1362
|
+
}[];
|
|
858
1363
|
} | {
|
|
859
|
-
|
|
1364
|
+
states: unknown[];
|
|
860
1365
|
countryCode: string;
|
|
861
1366
|
phoneCode: number;
|
|
862
1367
|
capitalCity: string;
|
|
863
|
-
colonialMaster:
|
|
1368
|
+
colonialMaster: {
|
|
1369
|
+
name: string;
|
|
1370
|
+
countryCode: string;
|
|
1371
|
+
}[];
|
|
864
1372
|
flagEmoji: string;
|
|
865
1373
|
name: string;
|
|
866
1374
|
currency: string;
|
|
867
1375
|
currencyCode: string;
|
|
868
1376
|
currencySymbol: string;
|
|
869
1377
|
officialLanguage: string;
|
|
870
|
-
majorEthnicGroups:
|
|
1378
|
+
majorEthnicGroups: string[];
|
|
1379
|
+
timezones: {
|
|
1380
|
+
iana: string;
|
|
1381
|
+
gmtOffset: string;
|
|
1382
|
+
}[];
|
|
871
1383
|
} | {
|
|
872
|
-
|
|
1384
|
+
states: unknown[];
|
|
873
1385
|
countryCode: string;
|
|
874
1386
|
phoneCode: number;
|
|
875
1387
|
capitalCity: string;
|
|
876
|
-
colonialMaster:
|
|
1388
|
+
colonialMaster: {
|
|
1389
|
+
name: string;
|
|
1390
|
+
countryCode: string;
|
|
1391
|
+
}[];
|
|
877
1392
|
flagEmoji: string;
|
|
878
1393
|
name: string;
|
|
879
1394
|
currency: string;
|
|
880
1395
|
currencyCode: string;
|
|
881
1396
|
currencySymbol: string;
|
|
882
1397
|
officialLanguage: string;
|
|
883
|
-
majorEthnicGroups:
|
|
1398
|
+
majorEthnicGroups: string[];
|
|
1399
|
+
timezones: {
|
|
1400
|
+
iana: string;
|
|
1401
|
+
gmtOffset: string;
|
|
1402
|
+
}[];
|
|
884
1403
|
} | {
|
|
885
|
-
|
|
1404
|
+
states: unknown[];
|
|
886
1405
|
countryCode: string;
|
|
887
1406
|
phoneCode: number;
|
|
888
1407
|
capitalCity: string;
|
|
889
|
-
colonialMaster:
|
|
1408
|
+
colonialMaster: any[];
|
|
890
1409
|
flagEmoji: string;
|
|
891
1410
|
name: string;
|
|
892
1411
|
currency: string;
|
|
893
1412
|
currencyCode: string;
|
|
894
1413
|
currencySymbol: string;
|
|
895
1414
|
officialLanguage: string;
|
|
896
|
-
majorEthnicGroups:
|
|
1415
|
+
majorEthnicGroups: string[];
|
|
1416
|
+
timezones: {
|
|
1417
|
+
iana: string;
|
|
1418
|
+
gmtOffset: string;
|
|
1419
|
+
}[];
|
|
897
1420
|
} | {
|
|
898
|
-
|
|
1421
|
+
states: unknown[];
|
|
899
1422
|
countryCode: string;
|
|
900
1423
|
phoneCode: number;
|
|
901
1424
|
capitalCity: string;
|
|
902
|
-
colonialMaster:
|
|
1425
|
+
colonialMaster: {
|
|
1426
|
+
name: string;
|
|
1427
|
+
countryCode: string;
|
|
1428
|
+
}[];
|
|
903
1429
|
flagEmoji: string;
|
|
904
1430
|
name: string;
|
|
905
1431
|
currency: string;
|
|
906
1432
|
currencyCode: string;
|
|
907
1433
|
currencySymbol: string;
|
|
908
1434
|
officialLanguage: string;
|
|
909
|
-
majorEthnicGroups:
|
|
1435
|
+
majorEthnicGroups: string[];
|
|
1436
|
+
timezones: {
|
|
1437
|
+
iana: string;
|
|
1438
|
+
gmtOffset: string;
|
|
1439
|
+
}[];
|
|
910
1440
|
} | {
|
|
911
|
-
|
|
1441
|
+
states: unknown[];
|
|
912
1442
|
countryCode: string;
|
|
913
1443
|
phoneCode: number;
|
|
914
1444
|
capitalCity: string;
|
|
915
|
-
colonialMaster:
|
|
1445
|
+
colonialMaster: {
|
|
1446
|
+
name: string;
|
|
1447
|
+
countryCode: string;
|
|
1448
|
+
}[];
|
|
916
1449
|
flagEmoji: string;
|
|
917
1450
|
name: string;
|
|
918
1451
|
currency: string;
|
|
919
1452
|
currencyCode: string;
|
|
920
1453
|
currencySymbol: string;
|
|
921
1454
|
officialLanguage: string;
|
|
922
|
-
majorEthnicGroups:
|
|
1455
|
+
majorEthnicGroups: string[];
|
|
1456
|
+
timezones: {
|
|
1457
|
+
iana: string;
|
|
1458
|
+
gmtOffset: string;
|
|
1459
|
+
}[];
|
|
923
1460
|
} | {
|
|
924
|
-
|
|
1461
|
+
states: unknown[];
|
|
925
1462
|
countryCode: string;
|
|
926
1463
|
phoneCode: number;
|
|
927
1464
|
capitalCity: string;
|
|
928
|
-
colonialMaster:
|
|
1465
|
+
colonialMaster: {
|
|
1466
|
+
name: string;
|
|
1467
|
+
countryCode: string;
|
|
1468
|
+
}[];
|
|
929
1469
|
flagEmoji: string;
|
|
930
1470
|
name: string;
|
|
931
1471
|
currency: string;
|
|
932
1472
|
currencyCode: string;
|
|
933
1473
|
currencySymbol: string;
|
|
934
1474
|
officialLanguage: string;
|
|
935
|
-
majorEthnicGroups:
|
|
1475
|
+
majorEthnicGroups: string[];
|
|
1476
|
+
timezones: {
|
|
1477
|
+
iana: string;
|
|
1478
|
+
gmtOffset: string;
|
|
1479
|
+
}[];
|
|
936
1480
|
} | {
|
|
937
|
-
|
|
1481
|
+
states: unknown[];
|
|
938
1482
|
countryCode: string;
|
|
939
1483
|
phoneCode: number;
|
|
940
1484
|
capitalCity: string;
|
|
941
|
-
colonialMaster:
|
|
1485
|
+
colonialMaster: {
|
|
1486
|
+
name: string;
|
|
1487
|
+
countryCode: string;
|
|
1488
|
+
}[];
|
|
942
1489
|
flagEmoji: string;
|
|
943
1490
|
name: string;
|
|
944
1491
|
currency: string;
|
|
945
1492
|
currencyCode: string;
|
|
946
1493
|
currencySymbol: string;
|
|
947
1494
|
officialLanguage: string;
|
|
948
|
-
majorEthnicGroups:
|
|
1495
|
+
majorEthnicGroups: string[];
|
|
1496
|
+
timezones: {
|
|
1497
|
+
iana: string;
|
|
1498
|
+
gmtOffset: string;
|
|
1499
|
+
}[];
|
|
949
1500
|
} | {
|
|
950
|
-
|
|
1501
|
+
states: unknown[];
|
|
951
1502
|
countryCode: string;
|
|
952
1503
|
phoneCode: number;
|
|
953
1504
|
capitalCity: string;
|
|
954
|
-
colonialMaster:
|
|
1505
|
+
colonialMaster: {
|
|
1506
|
+
name: string;
|
|
1507
|
+
countryCode: string;
|
|
1508
|
+
}[];
|
|
955
1509
|
flagEmoji: string;
|
|
956
1510
|
name: string;
|
|
957
1511
|
currency: string;
|
|
958
1512
|
currencyCode: string;
|
|
959
1513
|
currencySymbol: string;
|
|
960
1514
|
officialLanguage: string;
|
|
961
|
-
majorEthnicGroups:
|
|
1515
|
+
majorEthnicGroups: string[];
|
|
1516
|
+
timezones: {
|
|
1517
|
+
iana: string;
|
|
1518
|
+
gmtOffset: string;
|
|
1519
|
+
}[];
|
|
962
1520
|
} | {
|
|
963
|
-
|
|
1521
|
+
states: unknown[];
|
|
964
1522
|
countryCode: string;
|
|
965
1523
|
phoneCode: number;
|
|
966
1524
|
capitalCity: string;
|
|
967
|
-
colonialMaster:
|
|
1525
|
+
colonialMaster: {
|
|
1526
|
+
name: string;
|
|
1527
|
+
countryCode: string;
|
|
1528
|
+
}[];
|
|
968
1529
|
flagEmoji: string;
|
|
969
1530
|
name: string;
|
|
970
1531
|
currency: string;
|
|
971
1532
|
currencyCode: string;
|
|
972
1533
|
currencySymbol: string;
|
|
973
1534
|
officialLanguage: string;
|
|
974
|
-
majorEthnicGroups:
|
|
1535
|
+
majorEthnicGroups: string[];
|
|
1536
|
+
timezones: {
|
|
1537
|
+
iana: string;
|
|
1538
|
+
gmtOffset: string;
|
|
1539
|
+
}[];
|
|
975
1540
|
} | {
|
|
976
|
-
|
|
1541
|
+
states: unknown[];
|
|
977
1542
|
countryCode: string;
|
|
978
1543
|
phoneCode: number;
|
|
979
1544
|
capitalCity: string;
|
|
980
|
-
colonialMaster:
|
|
1545
|
+
colonialMaster: {
|
|
1546
|
+
name: string;
|
|
1547
|
+
countryCode: string;
|
|
1548
|
+
}[];
|
|
981
1549
|
flagEmoji: string;
|
|
982
1550
|
name: string;
|
|
983
1551
|
currency: string;
|
|
984
1552
|
currencyCode: string;
|
|
985
1553
|
currencySymbol: string;
|
|
986
1554
|
officialLanguage: string;
|
|
987
|
-
majorEthnicGroups:
|
|
1555
|
+
majorEthnicGroups: string[];
|
|
1556
|
+
timezones: {
|
|
1557
|
+
iana: string;
|
|
1558
|
+
gmtOffset: string;
|
|
1559
|
+
}[];
|
|
988
1560
|
} | {
|
|
989
|
-
|
|
1561
|
+
states: unknown[];
|
|
990
1562
|
countryCode: string;
|
|
991
1563
|
phoneCode: number;
|
|
992
1564
|
capitalCity: string;
|
|
993
|
-
colonialMaster:
|
|
1565
|
+
colonialMaster: any[];
|
|
994
1566
|
flagEmoji: string;
|
|
995
1567
|
name: string;
|
|
996
1568
|
currency: string;
|
|
997
1569
|
currencyCode: string;
|
|
998
1570
|
currencySymbol: string;
|
|
999
1571
|
officialLanguage: string;
|
|
1000
|
-
majorEthnicGroups:
|
|
1572
|
+
majorEthnicGroups: string[];
|
|
1573
|
+
timezones: {
|
|
1574
|
+
iana: string;
|
|
1575
|
+
gmtOffset: string;
|
|
1576
|
+
}[];
|
|
1001
1577
|
} | {
|
|
1002
|
-
|
|
1578
|
+
states: unknown[];
|
|
1003
1579
|
countryCode: string;
|
|
1004
1580
|
phoneCode: number;
|
|
1005
1581
|
capitalCity: string;
|
|
1006
|
-
colonialMaster:
|
|
1582
|
+
colonialMaster: {
|
|
1583
|
+
name: string;
|
|
1584
|
+
countryCode: string;
|
|
1585
|
+
}[];
|
|
1007
1586
|
flagEmoji: string;
|
|
1008
1587
|
name: string;
|
|
1009
1588
|
currency: string;
|
|
1010
1589
|
currencyCode: string;
|
|
1011
1590
|
currencySymbol: string;
|
|
1012
1591
|
officialLanguage: string;
|
|
1013
|
-
majorEthnicGroups:
|
|
1592
|
+
majorEthnicGroups: string[];
|
|
1593
|
+
timezones: {
|
|
1594
|
+
iana: string;
|
|
1595
|
+
gmtOffset: string;
|
|
1596
|
+
}[];
|
|
1014
1597
|
} | {
|
|
1015
|
-
|
|
1598
|
+
states: unknown[];
|
|
1016
1599
|
countryCode: string;
|
|
1017
1600
|
phoneCode: number;
|
|
1018
1601
|
capitalCity: string;
|
|
1019
|
-
colonialMaster:
|
|
1602
|
+
colonialMaster: {
|
|
1603
|
+
name: string;
|
|
1604
|
+
countryCode: string;
|
|
1605
|
+
}[];
|
|
1020
1606
|
flagEmoji: string;
|
|
1021
1607
|
name: string;
|
|
1022
1608
|
currency: string;
|
|
1023
1609
|
currencyCode: string;
|
|
1024
1610
|
currencySymbol: string;
|
|
1025
1611
|
officialLanguage: string;
|
|
1026
|
-
majorEthnicGroups:
|
|
1612
|
+
majorEthnicGroups: string[];
|
|
1613
|
+
timezones: {
|
|
1614
|
+
iana: string;
|
|
1615
|
+
gmtOffset: string;
|
|
1616
|
+
}[];
|
|
1027
1617
|
} | {
|
|
1028
|
-
|
|
1618
|
+
states: unknown[];
|
|
1029
1619
|
countryCode: string;
|
|
1030
1620
|
phoneCode: number;
|
|
1031
1621
|
capitalCity: string;
|
|
1032
|
-
colonialMaster:
|
|
1622
|
+
colonialMaster: {
|
|
1623
|
+
name: string;
|
|
1624
|
+
countryCode: string;
|
|
1625
|
+
}[];
|
|
1033
1626
|
flagEmoji: string;
|
|
1034
1627
|
name: string;
|
|
1035
1628
|
currency: string;
|
|
1036
1629
|
currencyCode: string;
|
|
1037
1630
|
currencySymbol: string;
|
|
1038
1631
|
officialLanguage: string;
|
|
1039
|
-
majorEthnicGroups:
|
|
1632
|
+
majorEthnicGroups: string[];
|
|
1633
|
+
timezones: {
|
|
1634
|
+
iana: string;
|
|
1635
|
+
gmtOffset: string;
|
|
1636
|
+
}[];
|
|
1040
1637
|
} | {
|
|
1041
|
-
|
|
1638
|
+
states: unknown[];
|
|
1042
1639
|
countryCode: string;
|
|
1043
1640
|
phoneCode: number;
|
|
1044
1641
|
capitalCity: string;
|
|
1045
|
-
colonialMaster:
|
|
1642
|
+
colonialMaster: {
|
|
1643
|
+
name: string;
|
|
1644
|
+
countryCode: string;
|
|
1645
|
+
}[];
|
|
1046
1646
|
flagEmoji: string;
|
|
1047
1647
|
name: string;
|
|
1048
1648
|
currency: string;
|
|
1049
1649
|
currencyCode: string;
|
|
1050
1650
|
currencySymbol: string;
|
|
1051
1651
|
officialLanguage: string;
|
|
1052
|
-
majorEthnicGroups:
|
|
1652
|
+
majorEthnicGroups: string[];
|
|
1653
|
+
timezones: {
|
|
1654
|
+
iana: string;
|
|
1655
|
+
gmtOffset: string;
|
|
1656
|
+
}[];
|
|
1053
1657
|
} | {
|
|
1054
|
-
|
|
1658
|
+
states: unknown[];
|
|
1055
1659
|
countryCode: string;
|
|
1056
1660
|
phoneCode: number;
|
|
1057
1661
|
capitalCity: string;
|
|
1058
|
-
colonialMaster:
|
|
1662
|
+
colonialMaster: {
|
|
1663
|
+
name: string;
|
|
1664
|
+
countryCode: string;
|
|
1665
|
+
}[];
|
|
1059
1666
|
flagEmoji: string;
|
|
1060
1667
|
name: string;
|
|
1061
1668
|
currency: string;
|
|
1062
1669
|
currencyCode: string;
|
|
1063
1670
|
currencySymbol: string;
|
|
1064
1671
|
officialLanguage: string;
|
|
1065
|
-
majorEthnicGroups:
|
|
1672
|
+
majorEthnicGroups: string[];
|
|
1673
|
+
timezones: {
|
|
1674
|
+
iana: string;
|
|
1675
|
+
gmtOffset: string;
|
|
1676
|
+
}[];
|
|
1066
1677
|
} | {
|
|
1067
|
-
|
|
1678
|
+
states: unknown[];
|
|
1068
1679
|
countryCode: string;
|
|
1069
1680
|
phoneCode: number;
|
|
1070
1681
|
capitalCity: string;
|
|
1071
|
-
colonialMaster:
|
|
1682
|
+
colonialMaster: {
|
|
1683
|
+
name: string;
|
|
1684
|
+
countryCode: string;
|
|
1685
|
+
}[];
|
|
1072
1686
|
flagEmoji: string;
|
|
1073
1687
|
name: string;
|
|
1074
1688
|
currency: string;
|
|
1075
1689
|
currencyCode: string;
|
|
1076
1690
|
currencySymbol: string;
|
|
1077
1691
|
officialLanguage: string;
|
|
1078
|
-
majorEthnicGroups:
|
|
1692
|
+
majorEthnicGroups: string[];
|
|
1693
|
+
timezones: {
|
|
1694
|
+
iana: string;
|
|
1695
|
+
gmtOffset: string;
|
|
1696
|
+
}[];
|
|
1079
1697
|
} | {
|
|
1080
|
-
|
|
1698
|
+
states: unknown[];
|
|
1081
1699
|
countryCode: string;
|
|
1082
1700
|
phoneCode: number;
|
|
1083
1701
|
capitalCity: string;
|
|
1084
|
-
colonialMaster:
|
|
1702
|
+
colonialMaster: {
|
|
1703
|
+
name: string;
|
|
1704
|
+
countryCode: string;
|
|
1705
|
+
}[];
|
|
1085
1706
|
flagEmoji: string;
|
|
1086
1707
|
name: string;
|
|
1087
1708
|
currency: string;
|
|
1088
1709
|
currencyCode: string;
|
|
1089
1710
|
currencySymbol: string;
|
|
1090
1711
|
officialLanguage: string;
|
|
1091
|
-
majorEthnicGroups:
|
|
1712
|
+
majorEthnicGroups: string[];
|
|
1713
|
+
timezones: {
|
|
1714
|
+
iana: string;
|
|
1715
|
+
gmtOffset: string;
|
|
1716
|
+
}[];
|
|
1092
1717
|
} | {
|
|
1093
|
-
|
|
1718
|
+
states: unknown[];
|
|
1094
1719
|
countryCode: string;
|
|
1095
1720
|
phoneCode: number;
|
|
1096
1721
|
capitalCity: string;
|
|
1097
|
-
colonialMaster:
|
|
1722
|
+
colonialMaster: {
|
|
1723
|
+
name: string;
|
|
1724
|
+
countryCode: string;
|
|
1725
|
+
}[];
|
|
1098
1726
|
flagEmoji: string;
|
|
1099
1727
|
name: string;
|
|
1100
1728
|
currency: string;
|
|
1101
1729
|
currencyCode: string;
|
|
1102
1730
|
currencySymbol: string;
|
|
1103
1731
|
officialLanguage: string;
|
|
1104
|
-
majorEthnicGroups:
|
|
1732
|
+
majorEthnicGroups: string[];
|
|
1733
|
+
timezones: {
|
|
1734
|
+
iana: string;
|
|
1735
|
+
gmtOffset: string;
|
|
1736
|
+
}[];
|
|
1105
1737
|
} | {
|
|
1106
|
-
|
|
1738
|
+
states: unknown[];
|
|
1107
1739
|
countryCode: string;
|
|
1108
1740
|
phoneCode: number;
|
|
1109
1741
|
capitalCity: string;
|
|
1110
|
-
colonialMaster:
|
|
1742
|
+
colonialMaster: {
|
|
1743
|
+
name: string;
|
|
1744
|
+
countryCode: string;
|
|
1745
|
+
}[];
|
|
1111
1746
|
flagEmoji: string;
|
|
1112
1747
|
name: string;
|
|
1113
1748
|
currency: string;
|
|
1114
1749
|
currencyCode: string;
|
|
1115
1750
|
currencySymbol: string;
|
|
1116
1751
|
officialLanguage: any;
|
|
1117
|
-
majorEthnicGroups:
|
|
1752
|
+
majorEthnicGroups: string[];
|
|
1753
|
+
timezones: {
|
|
1754
|
+
iana: string;
|
|
1755
|
+
gmtOffset: string;
|
|
1756
|
+
}[];
|
|
1118
1757
|
} | {
|
|
1119
|
-
|
|
1758
|
+
states: unknown[];
|
|
1120
1759
|
countryCode: string;
|
|
1121
1760
|
phoneCode: number;
|
|
1122
1761
|
capitalCity: string;
|
|
1123
|
-
colonialMaster:
|
|
1762
|
+
colonialMaster: {
|
|
1763
|
+
name: string;
|
|
1764
|
+
countryCode: string;
|
|
1765
|
+
}[];
|
|
1124
1766
|
flagEmoji: string;
|
|
1125
1767
|
name: string;
|
|
1126
1768
|
currency: string;
|
|
1127
1769
|
currencyCode: string;
|
|
1128
1770
|
currencySymbol: string;
|
|
1129
1771
|
officialLanguage: string;
|
|
1130
|
-
majorEthnicGroups:
|
|
1772
|
+
majorEthnicGroups: string[];
|
|
1773
|
+
timezones: {
|
|
1774
|
+
iana: string;
|
|
1775
|
+
gmtOffset: string;
|
|
1776
|
+
}[];
|
|
1131
1777
|
} | {
|
|
1132
|
-
|
|
1778
|
+
states: unknown[];
|
|
1133
1779
|
countryCode: string;
|
|
1134
1780
|
phoneCode: number;
|
|
1135
1781
|
capitalCity: string;
|
|
1136
|
-
colonialMaster:
|
|
1782
|
+
colonialMaster: {
|
|
1783
|
+
name: string;
|
|
1784
|
+
countryCode: string;
|
|
1785
|
+
}[];
|
|
1137
1786
|
flagEmoji: string;
|
|
1138
1787
|
name: string;
|
|
1139
1788
|
currency: string;
|
|
@@ -1141,77 +1790,119 @@ declare function getCountriesAndTribalData(countryCode: string): Promise<({
|
|
|
1141
1790
|
currencySymbol: string;
|
|
1142
1791
|
officialLanguage: string;
|
|
1143
1792
|
majorEthnicGroups: string[];
|
|
1793
|
+
timezones: {
|
|
1794
|
+
iana: string;
|
|
1795
|
+
gmtOffset: string;
|
|
1796
|
+
}[];
|
|
1144
1797
|
} | {
|
|
1145
|
-
|
|
1798
|
+
states: unknown[];
|
|
1146
1799
|
countryCode: string;
|
|
1147
1800
|
phoneCode: number;
|
|
1148
1801
|
capitalCity: string;
|
|
1149
|
-
colonialMaster:
|
|
1802
|
+
colonialMaster: {
|
|
1803
|
+
name: string;
|
|
1804
|
+
countryCode: string;
|
|
1805
|
+
}[];
|
|
1150
1806
|
flagEmoji: string;
|
|
1151
1807
|
name: string;
|
|
1152
1808
|
currency: string;
|
|
1153
1809
|
currencyCode: string;
|
|
1154
1810
|
currencySymbol: string;
|
|
1155
1811
|
officialLanguage: string;
|
|
1156
|
-
majorEthnicGroups:
|
|
1812
|
+
majorEthnicGroups: string[];
|
|
1813
|
+
timezones: {
|
|
1814
|
+
iana: string;
|
|
1815
|
+
gmtOffset: string;
|
|
1816
|
+
}[];
|
|
1157
1817
|
} | {
|
|
1158
|
-
|
|
1818
|
+
states: unknown[];
|
|
1159
1819
|
countryCode: string;
|
|
1160
1820
|
phoneCode: number;
|
|
1161
1821
|
capitalCity: string;
|
|
1162
|
-
colonialMaster:
|
|
1822
|
+
colonialMaster: {
|
|
1823
|
+
name: string;
|
|
1824
|
+
countryCode: string;
|
|
1825
|
+
}[];
|
|
1163
1826
|
flagEmoji: string;
|
|
1164
1827
|
name: string;
|
|
1165
1828
|
currency: string;
|
|
1166
1829
|
currencyCode: string;
|
|
1167
1830
|
currencySymbol: string;
|
|
1168
1831
|
officialLanguage: string;
|
|
1169
|
-
majorEthnicGroups:
|
|
1832
|
+
majorEthnicGroups: string[];
|
|
1833
|
+
timezones: {
|
|
1834
|
+
iana: string;
|
|
1835
|
+
gmtOffset: string;
|
|
1836
|
+
}[];
|
|
1170
1837
|
} | {
|
|
1171
|
-
|
|
1838
|
+
states: unknown[];
|
|
1172
1839
|
countryCode: string;
|
|
1173
1840
|
phoneCode: number;
|
|
1174
1841
|
capitalCity: string;
|
|
1175
|
-
colonialMaster:
|
|
1842
|
+
colonialMaster: {
|
|
1843
|
+
name: string;
|
|
1844
|
+
countryCode: string;
|
|
1845
|
+
}[];
|
|
1176
1846
|
flagEmoji: string;
|
|
1177
1847
|
name: string;
|
|
1178
1848
|
currency: string;
|
|
1179
1849
|
currencyCode: string;
|
|
1180
1850
|
currencySymbol: string;
|
|
1181
1851
|
officialLanguage: string;
|
|
1182
|
-
majorEthnicGroups:
|
|
1852
|
+
majorEthnicGroups: string[];
|
|
1853
|
+
timezones: {
|
|
1854
|
+
iana: string;
|
|
1855
|
+
gmtOffset: string;
|
|
1856
|
+
}[];
|
|
1183
1857
|
} | {
|
|
1184
|
-
|
|
1858
|
+
states: unknown[];
|
|
1185
1859
|
countryCode: string;
|
|
1186
1860
|
phoneCode: number;
|
|
1187
1861
|
capitalCity: string;
|
|
1188
|
-
colonialMaster:
|
|
1862
|
+
colonialMaster: {
|
|
1863
|
+
name: string;
|
|
1864
|
+
countryCode: string;
|
|
1865
|
+
}[];
|
|
1189
1866
|
flagEmoji: string;
|
|
1190
1867
|
name: string;
|
|
1191
1868
|
currency: string;
|
|
1192
1869
|
currencyCode: string;
|
|
1193
1870
|
currencySymbol: string;
|
|
1194
1871
|
officialLanguage: string;
|
|
1195
|
-
majorEthnicGroups:
|
|
1872
|
+
majorEthnicGroups: string[];
|
|
1873
|
+
timezones: {
|
|
1874
|
+
iana: string;
|
|
1875
|
+
gmtOffset: string;
|
|
1876
|
+
}[];
|
|
1196
1877
|
} | {
|
|
1197
|
-
|
|
1878
|
+
states: unknown[];
|
|
1198
1879
|
countryCode: string;
|
|
1199
1880
|
phoneCode: number;
|
|
1200
1881
|
capitalCity: string;
|
|
1201
|
-
colonialMaster:
|
|
1882
|
+
colonialMaster: {
|
|
1883
|
+
name: string;
|
|
1884
|
+
countryCode: string;
|
|
1885
|
+
}[];
|
|
1202
1886
|
flagEmoji: string;
|
|
1203
1887
|
name: string;
|
|
1204
1888
|
currency: string;
|
|
1205
1889
|
currencyCode: string;
|
|
1206
1890
|
currencySymbol: string;
|
|
1207
1891
|
officialLanguage: string;
|
|
1208
|
-
majorEthnicGroups:
|
|
1892
|
+
majorEthnicGroups: string[];
|
|
1893
|
+
timezones: {
|
|
1894
|
+
iana: string;
|
|
1895
|
+
gmtOffset: string;
|
|
1896
|
+
}[];
|
|
1209
1897
|
} | {
|
|
1210
|
-
|
|
1898
|
+
states: unknown[];
|
|
1211
1899
|
countryCode: string;
|
|
1212
1900
|
phoneCode: number;
|
|
1213
1901
|
capitalCity: string;
|
|
1214
|
-
colonialMaster:
|
|
1902
|
+
colonialMaster: {
|
|
1903
|
+
name: string;
|
|
1904
|
+
countryCode: string;
|
|
1905
|
+
}[];
|
|
1215
1906
|
flagEmoji: string;
|
|
1216
1907
|
name: string;
|
|
1217
1908
|
currency: string;
|
|
@@ -1219,64 +1910,99 @@ declare function getCountriesAndTribalData(countryCode: string): Promise<({
|
|
|
1219
1910
|
currencySymbol: string;
|
|
1220
1911
|
officialLanguage: string;
|
|
1221
1912
|
majorEthnicGroups: string[];
|
|
1913
|
+
timezones: {
|
|
1914
|
+
iana: string;
|
|
1915
|
+
gmtOffset: string;
|
|
1916
|
+
}[];
|
|
1222
1917
|
} | {
|
|
1223
|
-
|
|
1918
|
+
states: unknown[];
|
|
1224
1919
|
countryCode: string;
|
|
1225
1920
|
phoneCode: number;
|
|
1226
1921
|
capitalCity: string;
|
|
1227
|
-
colonialMaster:
|
|
1922
|
+
colonialMaster: {
|
|
1923
|
+
name: string;
|
|
1924
|
+
countryCode: string;
|
|
1925
|
+
}[];
|
|
1228
1926
|
flagEmoji: string;
|
|
1229
1927
|
name: string;
|
|
1230
1928
|
currency: string;
|
|
1231
1929
|
currencyCode: string;
|
|
1232
1930
|
currencySymbol: string;
|
|
1233
1931
|
officialLanguage: string;
|
|
1234
|
-
majorEthnicGroups:
|
|
1932
|
+
majorEthnicGroups: string[];
|
|
1933
|
+
timezones: {
|
|
1934
|
+
iana: string;
|
|
1935
|
+
gmtOffset: string;
|
|
1936
|
+
}[];
|
|
1235
1937
|
} | {
|
|
1236
|
-
|
|
1938
|
+
states: unknown[];
|
|
1237
1939
|
countryCode: string;
|
|
1238
1940
|
phoneCode: number;
|
|
1239
1941
|
capitalCity: string;
|
|
1240
|
-
colonialMaster:
|
|
1942
|
+
colonialMaster: {
|
|
1943
|
+
name: string;
|
|
1944
|
+
countryCode: string;
|
|
1945
|
+
}[];
|
|
1241
1946
|
flagEmoji: string;
|
|
1242
1947
|
name: string;
|
|
1243
1948
|
currency: string;
|
|
1244
1949
|
currencyCode: string;
|
|
1245
1950
|
currencySymbol: string;
|
|
1246
1951
|
officialLanguage: string;
|
|
1247
|
-
majorEthnicGroups:
|
|
1952
|
+
majorEthnicGroups: string[];
|
|
1953
|
+
timezones: {
|
|
1954
|
+
iana: string;
|
|
1955
|
+
gmtOffset: string;
|
|
1956
|
+
}[];
|
|
1248
1957
|
} | {
|
|
1249
|
-
|
|
1958
|
+
states: unknown[];
|
|
1250
1959
|
countryCode: string;
|
|
1251
1960
|
phoneCode: number;
|
|
1252
1961
|
capitalCity: string;
|
|
1253
|
-
colonialMaster:
|
|
1962
|
+
colonialMaster: {
|
|
1963
|
+
name: string;
|
|
1964
|
+
countryCode: string;
|
|
1965
|
+
}[];
|
|
1254
1966
|
flagEmoji: string;
|
|
1255
1967
|
name: string;
|
|
1256
1968
|
currency: string;
|
|
1257
1969
|
currencyCode: string;
|
|
1258
1970
|
currencySymbol: string;
|
|
1259
1971
|
officialLanguage: string;
|
|
1260
|
-
majorEthnicGroups:
|
|
1972
|
+
majorEthnicGroups: string[];
|
|
1973
|
+
timezones: {
|
|
1974
|
+
iana: string;
|
|
1975
|
+
gmtOffset: string;
|
|
1976
|
+
}[];
|
|
1261
1977
|
} | {
|
|
1262
|
-
|
|
1978
|
+
states: unknown[];
|
|
1263
1979
|
countryCode: string;
|
|
1264
1980
|
phoneCode: number;
|
|
1265
1981
|
capitalCity: string;
|
|
1266
|
-
colonialMaster:
|
|
1982
|
+
colonialMaster: {
|
|
1983
|
+
name: string;
|
|
1984
|
+
countryCode: string;
|
|
1985
|
+
}[];
|
|
1267
1986
|
flagEmoji: string;
|
|
1268
1987
|
name: string;
|
|
1269
1988
|
currency: string;
|
|
1270
1989
|
currencyCode: string;
|
|
1271
1990
|
currencySymbol: string;
|
|
1272
1991
|
officialLanguage: string;
|
|
1273
|
-
majorEthnicGroups:
|
|
1992
|
+
majorEthnicGroups: string[];
|
|
1993
|
+
timezones: {
|
|
1994
|
+
iana: string;
|
|
1995
|
+
gmtOffset: string;
|
|
1996
|
+
}[];
|
|
1274
1997
|
} | {
|
|
1275
|
-
|
|
1998
|
+
states: unknown[];
|
|
1276
1999
|
countryCode: string;
|
|
1277
2000
|
phoneCode: number;
|
|
1278
2001
|
capitalCity: string;
|
|
1279
|
-
colonialMaster:
|
|
2002
|
+
colonialMaster: {
|
|
2003
|
+
name: string;
|
|
2004
|
+
countryCode: string;
|
|
2005
|
+
}[];
|
|
1280
2006
|
flagEmoji: string;
|
|
1281
2007
|
name: string;
|
|
1282
2008
|
currency: string;
|
|
@@ -1284,51 +2010,79 @@ declare function getCountriesAndTribalData(countryCode: string): Promise<({
|
|
|
1284
2010
|
currencySymbol: string;
|
|
1285
2011
|
officialLanguage: string;
|
|
1286
2012
|
majorEthnicGroups: string[];
|
|
2013
|
+
timezones: {
|
|
2014
|
+
iana: string;
|
|
2015
|
+
gmtOffset: string;
|
|
2016
|
+
}[];
|
|
1287
2017
|
} | {
|
|
1288
|
-
|
|
2018
|
+
states: unknown[];
|
|
1289
2019
|
countryCode: string;
|
|
1290
2020
|
phoneCode: number;
|
|
1291
2021
|
capitalCity: string;
|
|
1292
|
-
colonialMaster:
|
|
2022
|
+
colonialMaster: {
|
|
2023
|
+
name: string;
|
|
2024
|
+
countryCode: string;
|
|
2025
|
+
}[];
|
|
1293
2026
|
flagEmoji: string;
|
|
1294
2027
|
name: string;
|
|
1295
2028
|
currency: string;
|
|
1296
2029
|
currencyCode: string;
|
|
1297
2030
|
currencySymbol: string;
|
|
1298
2031
|
officialLanguage: string;
|
|
1299
|
-
majorEthnicGroups:
|
|
2032
|
+
majorEthnicGroups: string[];
|
|
2033
|
+
timezones: {
|
|
2034
|
+
iana: string;
|
|
2035
|
+
gmtOffset: string;
|
|
2036
|
+
}[];
|
|
1300
2037
|
} | {
|
|
1301
|
-
|
|
2038
|
+
states: unknown[];
|
|
1302
2039
|
countryCode: string;
|
|
1303
2040
|
phoneCode: number;
|
|
1304
2041
|
capitalCity: string;
|
|
1305
|
-
colonialMaster:
|
|
2042
|
+
colonialMaster: {
|
|
2043
|
+
name: string;
|
|
2044
|
+
countryCode: string;
|
|
2045
|
+
}[];
|
|
1306
2046
|
flagEmoji: string;
|
|
1307
2047
|
name: string;
|
|
1308
2048
|
currency: string;
|
|
1309
2049
|
currencyCode: string;
|
|
1310
2050
|
currencySymbol: string;
|
|
1311
2051
|
officialLanguage: string;
|
|
1312
|
-
majorEthnicGroups:
|
|
2052
|
+
majorEthnicGroups: string[];
|
|
2053
|
+
timezones: {
|
|
2054
|
+
iana: string;
|
|
2055
|
+
gmtOffset: string;
|
|
2056
|
+
}[];
|
|
1313
2057
|
} | {
|
|
1314
|
-
|
|
2058
|
+
states: unknown[];
|
|
1315
2059
|
countryCode: string;
|
|
1316
2060
|
phoneCode: number;
|
|
1317
2061
|
capitalCity: string;
|
|
1318
|
-
colonialMaster:
|
|
2062
|
+
colonialMaster: {
|
|
2063
|
+
name: string;
|
|
2064
|
+
countryCode: string;
|
|
2065
|
+
}[];
|
|
1319
2066
|
flagEmoji: string;
|
|
1320
2067
|
name: string;
|
|
1321
2068
|
currency: string;
|
|
1322
2069
|
currencyCode: string;
|
|
1323
2070
|
currencySymbol: string;
|
|
1324
2071
|
officialLanguage: string;
|
|
1325
|
-
majorEthnicGroups:
|
|
2072
|
+
majorEthnicGroups: string[];
|
|
2073
|
+
timezones: {
|
|
2074
|
+
iana: string;
|
|
2075
|
+
gmtOffset: string;
|
|
2076
|
+
}[];
|
|
1326
2077
|
} | {
|
|
1327
|
-
|
|
2078
|
+
states: unknown[];
|
|
1328
2079
|
countryCode: string;
|
|
1329
2080
|
phoneCode: number;
|
|
1330
2081
|
capitalCity: string;
|
|
1331
|
-
colonialMaster:
|
|
2082
|
+
colonialMaster: {
|
|
2083
|
+
name: string;
|
|
2084
|
+
countryCode: string;
|
|
2085
|
+
}[];
|
|
1332
2086
|
flagEmoji: string;
|
|
1333
2087
|
name: string;
|
|
1334
2088
|
currency: string;
|
|
@@ -1336,22 +2090,54 @@ declare function getCountriesAndTribalData(countryCode: string): Promise<({
|
|
|
1336
2090
|
currencySymbol: string;
|
|
1337
2091
|
officialLanguage: string;
|
|
1338
2092
|
majorEthnicGroups: string[];
|
|
2093
|
+
timezones: {
|
|
2094
|
+
iana: string;
|
|
2095
|
+
gmtOffset: string;
|
|
2096
|
+
}[];
|
|
1339
2097
|
} | {
|
|
1340
|
-
|
|
2098
|
+
states: unknown[];
|
|
1341
2099
|
countryCode: string;
|
|
1342
2100
|
phoneCode: number;
|
|
1343
2101
|
capitalCity: string;
|
|
1344
|
-
colonialMaster:
|
|
2102
|
+
colonialMaster: {
|
|
2103
|
+
name: string;
|
|
2104
|
+
countryCode: string;
|
|
2105
|
+
}[];
|
|
1345
2106
|
flagEmoji: string;
|
|
1346
2107
|
name: string;
|
|
1347
2108
|
currency: string;
|
|
1348
2109
|
currencyCode: string;
|
|
1349
2110
|
currencySymbol: string;
|
|
1350
2111
|
officialLanguage: string;
|
|
1351
|
-
majorEthnicGroups:
|
|
2112
|
+
majorEthnicGroups: string[];
|
|
2113
|
+
timezones: {
|
|
2114
|
+
iana: string;
|
|
2115
|
+
gmtOffset: string;
|
|
2116
|
+
}[];
|
|
1352
2117
|
})[]>;
|
|
2118
|
+
/**
|
|
2119
|
+
* Retrieves a single African country by its code.
|
|
2120
|
+
* @param countryCode - The ISO code of the country.
|
|
2121
|
+
* @returns The country object or empty object if not found.
|
|
2122
|
+
*/
|
|
1353
2123
|
declare function getCountry(countryCode: string): Promise<{}>;
|
|
1354
|
-
|
|
1355
|
-
|
|
2124
|
+
/**
|
|
2125
|
+
* Retrieves a country and its tribe data as states by country code.
|
|
2126
|
+
* @param countryCode - The ISO code of the country.
|
|
2127
|
+
* @returns Country object with states property or empty object if not found.
|
|
2128
|
+
*/
|
|
2129
|
+
declare function getCountryAndState(countryCode: string): Promise<{}>;
|
|
2130
|
+
/**
|
|
2131
|
+
* Retrieves tribe data (states) for a given country code.
|
|
2132
|
+
* @param countryCode - The ISO code of the country.
|
|
2133
|
+
* @returns Array of tribe data objects for the country.
|
|
2134
|
+
*/
|
|
2135
|
+
declare function getCountryStates(countryCode: string): Promise<unknown[]>;
|
|
2136
|
+
/**
|
|
2137
|
+
* Finds all regions where a specific tribe is located across Africa
|
|
2138
|
+
* @param tribeName - The name of the tribe to search for
|
|
2139
|
+
* @returns Promise resolving to an array of objects containing combined state and country information where the tribe is found
|
|
2140
|
+
*/
|
|
2141
|
+
declare function getTribeRegion(tribeName: string): Promise<RegionResult[]>;
|
|
1356
2142
|
|
|
1357
|
-
export { getCountries,
|
|
2143
|
+
export { getCountries, getCountriesAndStates, getCountry, getCountryAndState, getCountryStates, getTribeRegion };
|