"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const GetNumberSequence_1 = __importDefault(require("./GetNumberSequence"));
const PhoneNumberStatusCode_1 = __importDefault(require("./PhoneNumberStatusCode"));
function validatePhoneName(name) {
    if (GetNumberSequence_1.default(name).length > 0 && GetNumberSequence_1.default(name).length <= 6) {
        return 'invalid_phone_number';
    }
    else if (GetNumberSequence_1.default(name).length == 0) {
        return 'no_phone_number';
    }
    else if (!PhoneNumberStatusCode_1.default(name)) {
        return 'wrong_number_start';
    }
}
exports.default = validatePhoneName;
