Built motion from commit 00bf23f6.|2.6.16
[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 _0xbf11=['Chat','sequelize','exports','TEXT','long','ENUM','out','STRING','DATE','INTEGER','BOOLEAN','Email'];(function(_0x3b19ae,_0x139b7c){var _0x416e0c=function(_0x51f968){while(--_0x51f968){_0x3b19ae['push'](_0x3b19ae['shift']());}};_0x416e0c(++_0x139b7c);}(_0xbf11,0x91));var _0x1bf1=function(_0x40ce4f,_0x3cf557){_0x40ce4f=_0x40ce4f-0x0;var _0xb9b23d=_0xbf11[_0x40ce4f];return _0xb9b23d;};'use strict';var Sequelize=require(_0x1bf1('0x0'));var _=require('lodash');module[_0x1bf1('0x1')]={'body':{'type':Sequelize[_0x1bf1('0x2')](_0x1bf1('0x3')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x1bf1('0x2')]('medium')},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize[_0x1bf1('0x4')]('in','out'),'defaultValue':_0x1bf1('0x5'),'allowNull':![]},'messageId':{'type':Sequelize[_0x1bf1('0x6')](0x1fe)},'from':{'type':Sequelize['STRING']},'to':{'type':Sequelize[_0x1bf1('0x2')](_0x1bf1('0x3'))},'cc':{'type':Sequelize['TEXT'](_0x1bf1('0x3'))},'bcc':{'type':Sequelize[_0x1bf1('0x2')](_0x1bf1('0x3'))},'subject':{'type':Sequelize[_0x1bf1('0x2')]},'sentAt':{'type':Sequelize[_0x1bf1('0x7')]},'attach':{'type':Sequelize[_0x1bf1('0x8')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x1bf1('0x9')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x1bf1('0x7')]},'originTo':{'type':Sequelize[_0x1bf1('0x2')](_0x1bf1('0x3'))},'originCc':{'type':Sequelize[_0x1bf1('0x2')](_0x1bf1('0x3'))},'originChannel':{'type':Sequelize[_0x1bf1('0x4')](_0x1bf1('0xa'),_0x1bf1('0xb')),'defaultValue':_0x1bf1('0xa'),'allowNull':![]}};