src/Helpers/CountryCodeToPhoneCodeTable.php
<?php
declare(strict_types = 1);
namespace SmartEmailing\Types\Helpers;
use SmartEmailing\Types\CountryCode;
abstract class CountryCodeToPhoneCodeTable
{
/**
* @var array<string,int>
*/
public static array $countryCodesToPhoneCodes = [
CountryCode::AF => 93,
CountryCode::AL => 355,
CountryCode::DZ => 213,
CountryCode::AS => 1684,
CountryCode::AD => 376,
CountryCode::AO => 244,
CountryCode::AI => 1264,
CountryCode::AQ => 672,
CountryCode::AR => 54,
CountryCode::AM => 374,
CountryCode::AW => 297,
CountryCode::AU => 61,
CountryCode::AT => 43,
CountryCode::AZ => 994,
CountryCode::BS => 1,
CountryCode::BH => 973,
CountryCode::BD => 880,
CountryCode::BB => 1,
CountryCode::BY => 375,
CountryCode::BE => 32,
CountryCode::BZ => 501,
CountryCode::BJ => 229,
CountryCode::BM => 1,
CountryCode::BT => 975,
CountryCode::BO => 591,
CountryCode::BA => 387,
CountryCode::BW => 267,
CountryCode::BR => 55,
CountryCode::VG => 1284,
CountryCode::BN => 673,
CountryCode::BG => 359,
CountryCode::BF => 226,
CountryCode::BI => 257,
CountryCode::KH => 855,
CountryCode::CM => 237,
CountryCode::CA => 1,
CountryCode::CV => 238,
CountryCode::KY => 1345,
CountryCode::CF => 236,
CountryCode::CL => 56,
CountryCode::CN => 86,
CountryCode::CO => 57,
CountryCode::KM => 269,
CountryCode::CK => 682,
CountryCode::CR => 506,
CountryCode::HR => 385,
CountryCode::CU => 53,
CountryCode::CW => 599,
CountryCode::CY => 357,
CountryCode::CZ => 420,
CountryCode::CD => 243,
CountryCode::DK => 45,
CountryCode::DJ => 253,
CountryCode::DM => 1,
CountryCode::DO => 1,
CountryCode::TL => 670,
CountryCode::EC => 593,
CountryCode::EG => 20,
CountryCode::SV => 503,
CountryCode::GQ => 240,
CountryCode::ER => 291,
CountryCode::EE => 372,
CountryCode::ET => 251,
CountryCode::FK => 500,
CountryCode::FO => 298,
CountryCode::FJ => 679,
CountryCode::FI => 358,
CountryCode::FR => 33,
CountryCode::PF => 689,
CountryCode::GA => 241,
CountryCode::GM => 220,
CountryCode::GE => 995,
CountryCode::DE => 49,
CountryCode::GH => 233,
CountryCode::GI => 350,
CountryCode::GR => 30,
CountryCode::GL => 299,
CountryCode::GP => 590,
CountryCode::GU => 1671,
CountryCode::GT => 502,
CountryCode::GN => 224,
CountryCode::GW => 245,
CountryCode::GY => 592,
CountryCode::HT => 509,
CountryCode::HN => 504,
CountryCode::HK => 852,
CountryCode::HU => 36,
CountryCode::IS => 354,
CountryCode::IN => 91,
CountryCode::ID => 62,
CountryCode::IR => 98,
CountryCode::IQ => 964,
CountryCode::IE => 353,
CountryCode::IM => 44,
CountryCode::IL => 972,
CountryCode::IT => 39,
CountryCode::CI => 225,
CountryCode::JM => 1,
CountryCode::JP => 81,
CountryCode::JO => 962,
CountryCode::KZ => 7,
CountryCode::KE => 254,
CountryCode::KI => 686,
CountryCode::XK => 381,
CountryCode::KW => 965,
CountryCode::KG => 996,
CountryCode::LA => 856,
CountryCode::LV => 371,
CountryCode::LB => 961,
CountryCode::LS => 266,
CountryCode::LR => 231,
CountryCode::LY => 218,
CountryCode::LI => 423,
CountryCode::LT => 370,
CountryCode::LU => 352,
CountryCode::MO => 853,
CountryCode::MK => 389,
CountryCode::MG => 261,
CountryCode::MW => 265,
CountryCode::MY => 60,
CountryCode::MV => 960,
CountryCode::ML => 223,
CountryCode::MT => 356,
CountryCode::MH => 692,
CountryCode::MR => 222,
CountryCode::MU => 230,
CountryCode::MX => 52,
CountryCode::FM => 691,
CountryCode::MD => 373,
CountryCode::MC => 377,
CountryCode::MN => 976,
CountryCode::ME => 382,
CountryCode::MS => 1664,
CountryCode::MA => 212,
CountryCode::MZ => 258,
CountryCode::MM => 95,
CountryCode::NA => 264,
CountryCode::NR => 674,
CountryCode::NP => 977,
CountryCode::NL => 31,
CountryCode::NC => 687,
CountryCode::NZ => 64,
CountryCode::NI => 505,
CountryCode::NE => 227,
CountryCode::NG => 234,
CountryCode::NU => 683,
CountryCode::NF => 672,
CountryCode::KP => 850,
CountryCode::MP => 1670,
CountryCode::NO => 47,
CountryCode::OM => 968,
CountryCode::PK => 92,
CountryCode::PW => 680,
CountryCode::PA => 507,
CountryCode::PG => 675,
CountryCode::PY => 595,
CountryCode::PE => 51,
CountryCode::PH => 63,
CountryCode::PN => 870,
CountryCode::PL => 48,
CountryCode::PT => 351,
CountryCode::PR => 1,
CountryCode::QA => 974,
CountryCode::CG => 242,
CountryCode::RE => 262,
CountryCode::RO => 40,
CountryCode::RU => 7,
CountryCode::RW => 250,
CountryCode::BL => 590,
CountryCode::SH => 290,
CountryCode::KN => 1,
CountryCode::LC => 1,
CountryCode::MF => 1599,
CountryCode::PM => 508,
CountryCode::VC => 1,
CountryCode::WS => 685,
CountryCode::SM => 378,
CountryCode::ST => 239,
CountryCode::SA => 966,
CountryCode::SN => 221,
CountryCode::RS => 381,
CountryCode::SC => 248,
CountryCode::SL => 232,
CountryCode::SG => 65,
CountryCode::SK => 421,
CountryCode::SI => 386,
CountryCode::SB => 677,
CountryCode::SO => 252,
CountryCode::ZA => 27,
CountryCode::KR => 82,
CountryCode::SS => 211,
CountryCode::ES => 34,
CountryCode::LK => 94,
CountryCode::SD => 249,
CountryCode::SR => 597,
CountryCode::SZ => 268,
CountryCode::SE => 46,
CountryCode::CH => 41,
CountryCode::SY => 963,
CountryCode::TW => 886,
CountryCode::TJ => 992,
CountryCode::TZ => 255,
CountryCode::TH => 66,
CountryCode::TG => 228,
CountryCode::TK => 690,
CountryCode::TT => 1,
CountryCode::TN => 216,
CountryCode::TR => 90,
CountryCode::TM => 993,
CountryCode::TV => 688,
CountryCode::UG => 256,
CountryCode::UA => 380,
CountryCode::AE => 971,
CountryCode::GB => 44,
CountryCode::US => 1,
CountryCode::UY => 598,
CountryCode::UZ => 998,
CountryCode::VU => 678,
CountryCode::VA => 39,
CountryCode::VE => 58,
CountryCode::VN => 84,
CountryCode::EH => 212,
CountryCode::YE => 967,
CountryCode::ZM => 260,
CountryCode::ZW => 263,
];
}