Built motion from commit c738b9ac.|2.6.25
[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 _0x503e=['Chat','sequelize','lodash','exports','TEXT','long','medium','BOOLEAN','ENUM','out','DATE','Email'];(function(_0x385e7a,_0x3104e3){var _0x372588=function(_0x146f89){while(--_0x146f89){_0x385e7a['push'](_0x385e7a['shift']());}};_0x372588(++_0x3104e3);}(_0x503e,0x12d));var _0xe503=function(_0x1beef3,_0x57c4b8){_0x1beef3=_0x1beef3-0x0;var _0x5af964=_0x503e[_0x1beef3];return _0x5af964;};'use strict';var Sequelize=require(_0xe503('0x0'));var _=require(_0xe503('0x1'));module[_0xe503('0x2')]={'body':{'type':Sequelize[_0xe503('0x3')](_0xe503('0x4')),'allowNull':![]},'plainBody':{'type':Sequelize[_0xe503('0x3')](_0xe503('0x5'))},'read':{'type':Sequelize[_0xe503('0x6')],'defaultValue':![]},'direction':{'type':Sequelize[_0xe503('0x7')]('in',_0xe503('0x8')),'defaultValue':_0xe503('0x8'),'allowNull':![]},'messageId':{'type':Sequelize['STRING'](0x1fe)},'from':{'type':Sequelize['STRING']},'to':{'type':Sequelize['TEXT'](_0xe503('0x4'))},'cc':{'type':Sequelize[_0xe503('0x3')]('long')},'bcc':{'type':Sequelize[_0xe503('0x3')](_0xe503('0x4'))},'subject':{'type':Sequelize['TEXT']},'sentAt':{'type':Sequelize[_0xe503('0x9')]},'attach':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'secret':{'type':Sequelize[_0xe503('0x6')],'defaultValue':![]},'readAt':{'type':Sequelize[_0xe503('0x9')]},'originTo':{'type':Sequelize[_0xe503('0x3')](_0xe503('0x4'))},'originCc':{'type':Sequelize[_0xe503('0x3')](_0xe503('0x4'))},'originChannel':{'type':Sequelize['ENUM'](_0xe503('0xa'),_0xe503('0xb')),'defaultValue':_0xe503('0xa'),'allowNull':![]}};