be391f76cd45d2c0e813efbcaed67f75af4e59c7
[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 _0x9e63=['STRING','DATE','sequelize','lodash','exports','long','TEXT','medium','BOOLEAN','ENUM','out'];(function(_0x487f26,_0x1c70f3){var _0xcc6bd4=function(_0x34dd75){while(--_0x34dd75){_0x487f26['push'](_0x487f26['shift']());}};_0xcc6bd4(++_0x1c70f3);}(_0x9e63,0x65));var _0x39e6=function(_0x2b5eae,_0x55010d){_0x2b5eae=_0x2b5eae-0x0;var _0x5f3ac9=_0x9e63[_0x2b5eae];return _0x5f3ac9;};'use strict';var Sequelize=require(_0x39e6('0x0'));var _=require(_0x39e6('0x1'));module[_0x39e6('0x2')]={'body':{'type':Sequelize['TEXT'](_0x39e6('0x3')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x39e6('0x4')](_0x39e6('0x5'))},'read':{'type':Sequelize[_0x39e6('0x6')],'defaultValue':![]},'direction':{'type':Sequelize[_0x39e6('0x7')]('in',_0x39e6('0x8')),'defaultValue':_0x39e6('0x8'),'allowNull':![]},'messageId':{'type':Sequelize[_0x39e6('0x9')](0x1fe)},'from':{'type':Sequelize['STRING']},'to':{'type':Sequelize[_0x39e6('0x4')](_0x39e6('0x3'))},'cc':{'type':Sequelize[_0x39e6('0x4')]('long')},'bcc':{'type':Sequelize[_0x39e6('0x4')](_0x39e6('0x3'))},'subject':{'type':Sequelize['TEXT']},'sentAt':{'type':Sequelize[_0x39e6('0xa')]},'attach':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'readAt':{'type':Sequelize[_0x39e6('0xa')]},'originTo':{'type':Sequelize[_0x39e6('0x4')](_0x39e6('0x3'))},'originCc':{'type':Sequelize[_0x39e6('0x4')](_0x39e6('0x3'))}};