"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.CountryCode = void 0;

var _i18nIsoCountries = _interopRequireDefault(require("i18n-iso-countries"));

var _validators = require("./validators");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

/* * *  *  * *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  * */

/* Copyright (c) 2018 Mobify Research & Development Inc. All rights reserved. */

/* * *  *  * *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  * */

/**
 * @memberOf module:types
 * @typedef {String} CountryCode
 */
var CountryCode = (0, _validators.makeValidator)(_i18nIsoCountries["default"].isValid, 'Not a valid Country Code.');
exports.CountryCode = CountryCode;