export var CallAction;
(function (CallAction) {
})(CallAction || (CallAction = {}));
/*
 * Country dialing codes flagged as high-risk for IRSF / SMS pumping fraud.
 * Twilio surfaces its current list dynamically in the Console; this set is
 * drawn from publicly reported fraud patterns and should be reviewed
 * periodically against Twilio Geo Permissions and Fraud Guard.
 */
const HIGH_RISK_COUNTRY_DIALING_CODES = [
    "+92", // Pakistan
    "+27", // South Africa
    "+213", // Algeria
    "+371", // Latvia
    "+370", // Lithuania
    "+372", // Estonia
    "+252", // Somalia
    "+232", // Sierra Leone
    "+231", // Liberia
    "+53", // Cuba
    "+960", // Maldives
    "+992", // Tajikistan
    "+880", // Bangladesh
    "+62", // Indonesia
    "+84", // Vietnam
    "+95", // Myanmar
];
export const isHighRiskPhoneNumber = (phoneNumber) => {
    const phoneNumberString = phoneNumber.toString();
    return HIGH_RISK_COUNTRY_DIALING_CODES.some((code) => {
        return phoneNumberString.startsWith(code);
    });
};
//# sourceMappingURL=CallRequest.js.map