"use strict";

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

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

var _validator = _interopRequireDefault(require("validator"));

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

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

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

/* * *  *  * *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  * */
const Email = (0, _validators.makeValidator)(_validator.default.isEmail, 'Not a valid Email Address.');
/**
 * @memberOf module:@mobify/commerce-integrations/dist/types
 * @typedef {String} Email
 */

exports.Email = Email;