{"action":"created","issue":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/11478","repository_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped","labels_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/11478/labels{/name}","comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/11478/comments","events_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/11478/events","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/11478","id":179068300,"number":11478,"title":"[validator] Add MobilePhoneLocale","user":{"login":"TonyPythoneer","id":10459119,"avatar_url":"https://avatars.githubusercontent.com/u/10459119?v=3","gravatar_id":"","url":"https://api.github.com/users/TonyPythoneer","html_url":"https://github.com/TonyPythoneer","followers_url":"https://api.github.com/users/TonyPythoneer/followers","following_url":"https://api.github.com/users/TonyPythoneer/following{/other_user}","gists_url":"https://api.github.com/users/TonyPythoneer/gists{/gist_id}","starred_url":"https://api.github.com/users/TonyPythoneer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TonyPythoneer/subscriptions","organizations_url":"https://api.github.com/users/TonyPythoneer/orgs","repos_url":"https://api.github.com/users/TonyPythoneer/repos","events_url":"https://api.github.com/users/TonyPythoneer/events{/privacy}","received_events_url":"https://api.github.com/users/TonyPythoneer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-25T04:59:20Z","updated_at":"2016-09-25T06:29:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/11478","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/11478","diff_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/11478.diff","patch_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/11478.patch"},"body":"# Improvement to existing type definition.\r\n\r\n* Refer to [validator document](https://github.com/chriso/validator.js), it explains how to use `isMobilePhone(str, locale)`:\r\n\r\n>check if the string is a mobile phone number, (locale is one of ['ar-DZ', 'ar-SA', 'ar-SY', 'cs-CZ', 'de-DE', 'da-DK', 'el-GR', 'en-AU', 'en-GB', 'en-HK', 'en-IN', 'en-NZ', 'en-US', 'en-CA', 'en-ZA', 'en-ZM', 'es-ES', 'fi-FI', 'fr-FR', 'hu-HU', 'it-IT', 'ja-JP', 'ms-MY', 'nb-NO', 'nn-NO', 'pl-PL', 'pt-PT', 'ru-RU', 'sr-RS', 'tr-TR', 'vi-VN', 'zh-CN', 'zh-TW']).\r\n\r\nSo,  I add a type including these locales and related tests for this definition."},"comment":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/comments/249405476","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/11478#issuecomment-249405476","issue_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/11478","id":249405476,"user":{"login":"TonyPythoneer","id":10459119,"avatar_url":"https://avatars.githubusercontent.com/u/10459119?v=3","gravatar_id":"","url":"https://api.github.com/users/TonyPythoneer","html_url":"https://github.com/TonyPythoneer","followers_url":"https://api.github.com/users/TonyPythoneer/followers","following_url":"https://api.github.com/users/TonyPythoneer/following{/other_user}","gists_url":"https://api.github.com/users/TonyPythoneer/gists{/gist_id}","starred_url":"https://api.github.com/users/TonyPythoneer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TonyPythoneer/subscriptions","organizations_url":"https://api.github.com/users/TonyPythoneer/orgs","repos_url":"https://api.github.com/users/TonyPythoneer/repos","events_url":"https://api.github.com/users/TonyPythoneer/events{/privacy}","received_events_url":"https://api.github.com/users/TonyPythoneer/received_events","type":"User","site_admin":false},"created_at":"2016-09-25T06:29:07Z","updated_at":"2016-09-25T06:29:07Z","body":"@tgfjt Thanks for your review. :smile: \r\n"}}
{"actor":{"display_login":"TonyPythoneer"}}