Wendi Smith

Founder & Client Partner at Blaze

Wendi Smith has a wealth of experience in marketing, communications and investor relations. Wendi began their career in 2000 as a Marketing Communications Project Manager for North American Funds. In 2001, they began working as a freelance marketer, authoring presentations for national seminars and serving as a first line and triage for a reissue of earnings financials. In 2003, they joined Digitas as the Manager of Corporate Communications, later becoming the Associate Director and then Vice President and Director of Corporate Communications. In 2013, they moved to Arnold Worldwide as the Senior Vice President and Global Corporate Communications Lead. From 2014 to 2019, they worked at Mindshare as the Managing Partner, Executive Director, Agency Communications and Marketing Lead and Strategic Initiatives. Most recently, in 2019, they founded Blaze, a company that specializes in leadership counsel, internal and external communication strategies and reputation management.

/**

* Created by jonathan on 28/03/17.

*/

'use strict';

/**

* Model users

*/

/**

* Dependencies

*/

const core = require('../../modules/core');

const usersModel = require('../../models/users/users.model');

const db = core.connection;

const date = core.date;

const type = core.type;

const validator = core.validator;

const config = core.config;

/**

* Insert user in database

* @param {Object} user User data

* @return {Promise} Resolve/Reject

*/

function insert(user) {

return new Promise(function (resolve, reject) {

let err = null;

if (type(user) !== 'object')

err = new TypeError('user must be an object');

if (!validator.isEmail(user.email))

err = new TypeError('email is invalid');

if (type(user.password) !== 'string' || user.password.length < config.get('users:password_min_length'))

err = new TypeError('password is invalid');

if (err)

return reject(err);

let userData = {

email: user.email,

password: user.password,

name: user.name,

active: user.active,

register_date: date.getDateUTC(),

update_date: date.getDateUTC()

};

let query = usersModel.insert(userData);

db.query(query)

.then(function (data) {

resolve(data);

})

.catch(function (err) {

reject(err);

});

});

}

/**

* Update user in database

* @param {Object} user User data

* @return {Promise} Resolve/Reject

*/

function update(user) {

return new Promise(function (resolve, reject) {

let err = null;

if (type(user) !== 'object')

err = new Type

Links

Previous companies

Mindshare logo
Arnold Worldwide logo

Org chart

Sign up to view 1 direct report

Get started