Built motion from commit fe909640.|2.6.8
[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 _0x1500=['ENUM','out','long','DATE','Email','sequelize','exports','TEXT','medium','BOOLEAN'];(function(_0x51ed63,_0x485a96){var _0x40ec58=function(_0x54a2a7){while(--_0x54a2a7){_0x51ed63['push'](_0x51ed63['shift']());}};_0x40ec58(++_0x485a96);}(_0x1500,0xeb));var _0x0150=function(_0x5c3210,_0x26bb1f){_0x5c3210=_0x5c3210-0x0;var _0x5bb67b=_0x1500[_0x5c3210];return _0x5bb67b;};'use strict';var Sequelize=require(_0x0150('0x0'));var _=require('lodash');module[_0x0150('0x1')]={'body':{'type':Sequelize[_0x0150('0x2')]('long'),'allowNull':![]},'plainBody':{'type':Sequelize[_0x0150('0x2')](_0x0150('0x3'))},'read':{'type':Sequelize[_0x0150('0x4')],'defaultValue':![]},'direction':{'type':Sequelize[_0x0150('0x5')]('in',_0x0150('0x6')),'defaultValue':'out','allowNull':![]},'messageId':{'type':Sequelize['STRING'](0x1fe)},'from':{'type':Sequelize['STRING']},'to':{'type':Sequelize['TEXT'](_0x0150('0x7'))},'cc':{'type':Sequelize[_0x0150('0x2')](_0x0150('0x7'))},'bcc':{'type':Sequelize[_0x0150('0x2')]('long')},'subject':{'type':Sequelize[_0x0150('0x2')]},'sentAt':{'type':Sequelize[_0x0150('0x8')]},'attach':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'readAt':{'type':Sequelize['DATE']},'originTo':{'type':Sequelize[_0x0150('0x2')]('long')},'originCc':{'type':Sequelize[_0x0150('0x2')](_0x0150('0x7'))},'originChannel':{'type':Sequelize[_0x0150('0x5')](_0x0150('0x9'),'Chat'),'defaultValue':'Email','allowNull':![]}};