Built motion from commit 9d7072cc.|2.5.39
[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 _0xfc61=['sequelize','lodash','exports','TEXT','BOOLEAN','ENUM','out','long','DATE','INTEGER','Email','Chat'];(function(_0x3c28ac,_0x4c1f58){var _0x5d7071=function(_0x53ef19){while(--_0x53ef19){_0x3c28ac['push'](_0x3c28ac['shift']());}};_0x5d7071(++_0x4c1f58);}(_0xfc61,0x78));var _0x1fc6=function(_0x23ae84,_0x38f91c){_0x23ae84=_0x23ae84-0x0;var _0x398937=_0xfc61[_0x23ae84];return _0x398937;};'use strict';var Sequelize=require(_0x1fc6('0x0'));var _=require(_0x1fc6('0x1'));module[_0x1fc6('0x2')]={'body':{'type':Sequelize[_0x1fc6('0x3')]('long'),'allowNull':![]},'plainBody':{'type':Sequelize['TEXT']('medium')},'read':{'type':Sequelize[_0x1fc6('0x4')],'defaultValue':![]},'direction':{'type':Sequelize[_0x1fc6('0x5')]('in',_0x1fc6('0x6')),'defaultValue':_0x1fc6('0x6'),'allowNull':![]},'messageId':{'type':Sequelize['STRING'](0x1fe)},'from':{'type':Sequelize['STRING']},'to':{'type':Sequelize[_0x1fc6('0x3')](_0x1fc6('0x7'))},'cc':{'type':Sequelize[_0x1fc6('0x3')](_0x1fc6('0x7'))},'bcc':{'type':Sequelize[_0x1fc6('0x3')]('long')},'subject':{'type':Sequelize[_0x1fc6('0x3')]},'sentAt':{'type':Sequelize[_0x1fc6('0x8')]},'attach':{'type':Sequelize[_0x1fc6('0x9')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x1fc6('0x4')],'defaultValue':![]},'readAt':{'type':Sequelize['DATE']},'originTo':{'type':Sequelize[_0x1fc6('0x3')](_0x1fc6('0x7'))},'originCc':{'type':Sequelize['TEXT'](_0x1fc6('0x7'))},'originChannel':{'type':Sequelize[_0x1fc6('0x5')](_0x1fc6('0xa'),_0x1fc6('0xb')),'defaultValue':'Email','allowNull':![]}};