Built motion from commit (unavailable).|2.5.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 _0x19da=['BOOLEAN','ENUM','out','STRING','long','DATE','Email','lodash','exports','TEXT','medium'];(function(_0x48ada8,_0x578d35){var _0x178ad1=function(_0x27ed35){while(--_0x27ed35){_0x48ada8['push'](_0x48ada8['shift']());}};_0x178ad1(++_0x578d35);}(_0x19da,0x6a));var _0xa19d=function(_0xcf4569,_0x1ce755){_0xcf4569=_0xcf4569-0x0;var _0x7fef=_0x19da[_0xcf4569];return _0x7fef;};'use strict';var Sequelize=require('sequelize');var _=require(_0xa19d('0x0'));module[_0xa19d('0x1')]={'body':{'type':Sequelize[_0xa19d('0x2')]('long'),'allowNull':![]},'plainBody':{'type':Sequelize[_0xa19d('0x2')](_0xa19d('0x3'))},'read':{'type':Sequelize[_0xa19d('0x4')],'defaultValue':![]},'direction':{'type':Sequelize[_0xa19d('0x5')]('in',_0xa19d('0x6')),'defaultValue':_0xa19d('0x6'),'allowNull':![]},'messageId':{'type':Sequelize[_0xa19d('0x7')](0x1fe)},'from':{'type':Sequelize['STRING']},'to':{'type':Sequelize[_0xa19d('0x2')](_0xa19d('0x8'))},'cc':{'type':Sequelize['TEXT'](_0xa19d('0x8'))},'bcc':{'type':Sequelize['TEXT'](_0xa19d('0x8'))},'subject':{'type':Sequelize[_0xa19d('0x2')]},'sentAt':{'type':Sequelize[_0xa19d('0x9')]},'attach':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'secret':{'type':Sequelize[_0xa19d('0x4')],'defaultValue':![]},'readAt':{'type':Sequelize[_0xa19d('0x9')]},'originTo':{'type':Sequelize[_0xa19d('0x2')](_0xa19d('0x8'))},'originCc':{'type':Sequelize['TEXT'](_0xa19d('0x8'))},'originChannel':{'type':Sequelize[_0xa19d('0x5')](_0xa19d('0xa'),'Chat'),'defaultValue':'Email','allowNull':![]}};