"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

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

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

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

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

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

/* * *  *  * *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  * */
const CountryCode = (0, _validators.makeValidator)(_i18nIsoCountries.default.isValid, 'Not a valid Country Code.');
/**
 * @memberOf module:@mobify/commerce-integrations/dist/types
 * @typedef {String} CountryCode
 */

exports.CountryCode = CountryCode;