Built motion from commit (unavailable).|2.5.4
[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 _0x5532=['TEXT','DATE','INTEGER','sequelize','lodash','exports','long','medium','BOOLEAN','ENUM','out'];(function(_0x50d086,_0x4e96e0){var _0x2e9e27=function(_0x545d54){while(--_0x545d54){_0x50d086['push'](_0x50d086['shift']());}};_0x2e9e27(++_0x4e96e0);}(_0x5532,0x19a));var _0x2553=function(_0x2f2ed4,_0x44eba1){_0x2f2ed4=_0x2f2ed4-0x0;var _0x41b94f=_0x5532[_0x2f2ed4];return _0x41b94f;};'use strict';var Sequelize=require(_0x2553('0x0'));var _=require(_0x2553('0x1'));module[_0x2553('0x2')]={'body':{'type':Sequelize['TEXT'](_0x2553('0x3')),'allowNull':![]},'plainBody':{'type':Sequelize['TEXT'](_0x2553('0x4'))},'read':{'type':Sequelize[_0x2553('0x5')],'defaultValue':![]},'direction':{'type':Sequelize[_0x2553('0x6')]('in','out'),'defaultValue':_0x2553('0x7'),'allowNull':![]},'messageId':{'type':Sequelize['STRING'](0x1fe)},'from':{'type':Sequelize['STRING']},'to':{'type':Sequelize[_0x2553('0x8')](_0x2553('0x3'))},'cc':{'type':Sequelize['TEXT'](_0x2553('0x3'))},'bcc':{'type':Sequelize[_0x2553('0x8')](_0x2553('0x3'))},'subject':{'type':Sequelize[_0x2553('0x8')]},'sentAt':{'type':Sequelize[_0x2553('0x9')]},'attach':{'type':Sequelize[_0x2553('0xa')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x2553('0x5')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x2553('0x9')]},'originTo':{'type':Sequelize[_0x2553('0x8')](_0x2553('0x3'))},'originCc':{'type':Sequelize['TEXT'](_0x2553('0x3'))}};