Built motion from commit 9d0783e6.|2.6.13
[motion2.git] / server / api / mailMessage / mailMessage.attributes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xe5e4=['BOOLEAN','ENUM','out','DATE','INTEGER','Email','Chat','sequelize','exports','TEXT','long'];(function(_0x338c81,_0x566dff){var _0x4b1fa0=function(_0x2254e5){while(--_0x2254e5){_0x338c81['push'](_0x338c81['shift']());}};_0x4b1fa0(++_0x566dff);}(_0xe5e4,0xac));var _0x4e5e=function(_0x162b28,_0x7d1512){_0x162b28=_0x162b28-0x0;var _0x1bfc21=_0xe5e4[_0x162b28];return _0x1bfc21;};'use strict';var Sequelize=require(_0x4e5e('0x0'));var _=require('lodash');module[_0x4e5e('0x1')]={'body':{'type':Sequelize[_0x4e5e('0x2')](_0x4e5e('0x3')),'allowNull':![]},'plainBody':{'type':Sequelize['TEXT']('medium')},'read':{'type':Sequelize[_0x4e5e('0x4')],'defaultValue':![]},'direction':{'type':Sequelize[_0x4e5e('0x5')]('in',_0x4e5e('0x6')),'defaultValue':_0x4e5e('0x6'),'allowNull':![]},'messageId':{'type':Sequelize['STRING'](0x1fe)},'from':{'type':Sequelize['STRING']},'to':{'type':Sequelize[_0x4e5e('0x2')](_0x4e5e('0x3'))},'cc':{'type':Sequelize[_0x4e5e('0x2')](_0x4e5e('0x3'))},'bcc':{'type':Sequelize[_0x4e5e('0x2')](_0x4e5e('0x3'))},'subject':{'type':Sequelize['TEXT']},'sentAt':{'type':Sequelize[_0x4e5e('0x7')]},'attach':{'type':Sequelize[_0x4e5e('0x8')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x4e5e('0x4')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x4e5e('0x7')]},'originTo':{'type':Sequelize[_0x4e5e('0x2')]('long')},'originCc':{'type':Sequelize[_0x4e5e('0x2')](_0x4e5e('0x3'))},'originChannel':{'type':Sequelize[_0x4e5e('0x5')](_0x4e5e('0x9'),_0x4e5e('0xa')),'defaultValue':'Email','allowNull':![]}};