Built motion from commit e1760111.|2.6.18
[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 _0x35d6=['STRING','DATE','INTEGER','ENUM','Email','Chat','lodash','exports','TEXT','long','BOOLEAN','out'];(function(_0x3774b2,_0x502f85){var _0x28f0ea=function(_0x2ef4b8){while(--_0x2ef4b8){_0x3774b2['push'](_0x3774b2['shift']());}};_0x28f0ea(++_0x502f85);}(_0x35d6,0x13e));var _0x635d=function(_0x1690ae,_0x3b96e4){_0x1690ae=_0x1690ae-0x0;var _0x56386a=_0x35d6[_0x1690ae];return _0x56386a;};'use strict';var Sequelize=require('sequelize');var _=require(_0x635d('0x0'));module[_0x635d('0x1')]={'body':{'type':Sequelize[_0x635d('0x2')](_0x635d('0x3')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x635d('0x2')]('medium')},'read':{'type':Sequelize[_0x635d('0x4')],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in',_0x635d('0x5')),'defaultValue':_0x635d('0x5'),'allowNull':![]},'messageId':{'type':Sequelize[_0x635d('0x6')](0x1fe)},'from':{'type':Sequelize[_0x635d('0x6')]},'to':{'type':Sequelize['TEXT'](_0x635d('0x3'))},'cc':{'type':Sequelize[_0x635d('0x2')](_0x635d('0x3'))},'bcc':{'type':Sequelize['TEXT'](_0x635d('0x3'))},'subject':{'type':Sequelize[_0x635d('0x2')]},'sentAt':{'type':Sequelize[_0x635d('0x7')]},'attach':{'type':Sequelize[_0x635d('0x8')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x635d('0x4')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x635d('0x7')]},'originTo':{'type':Sequelize[_0x635d('0x2')](_0x635d('0x3'))},'originCc':{'type':Sequelize[_0x635d('0x2')](_0x635d('0x3'))},'originChannel':{'type':Sequelize[_0x635d('0x9')](_0x635d('0xa'),_0x635d('0xb')),'defaultValue':_0x635d('0xa'),'allowNull':![]}};