a480ee741e61a22945050e7954774d48de17ef0f
[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 _0x5b9b=['TEXT','medium','BOOLEAN','out','long','INTEGER','DATE','ENUM','Email','Chat','sequelize','lodash','exports'];(function(_0x4f4381,_0x14e83b){var _0x2d7c4e=function(_0x4f120d){while(--_0x4f120d){_0x4f4381['push'](_0x4f4381['shift']());}};_0x2d7c4e(++_0x14e83b);}(_0x5b9b,0x142));var _0xb5b9=function(_0xbf43b3,_0x546a4e){_0xbf43b3=_0xbf43b3-0x0;var _0x3c063c=_0x5b9b[_0xbf43b3];return _0x3c063c;};'use strict';var Sequelize=require(_0xb5b9('0x0'));var _=require(_0xb5b9('0x1'));module[_0xb5b9('0x2')]={'body':{'type':Sequelize[_0xb5b9('0x3')]('long'),'allowNull':![]},'plainBody':{'type':Sequelize[_0xb5b9('0x3')](_0xb5b9('0x4'))},'read':{'type':Sequelize[_0xb5b9('0x5')],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in','out'),'defaultValue':_0xb5b9('0x6'),'allowNull':![]},'messageId':{'type':Sequelize['STRING'](0x1fe)},'from':{'type':Sequelize['STRING']},'to':{'type':Sequelize[_0xb5b9('0x3')]('long')},'cc':{'type':Sequelize[_0xb5b9('0x3')](_0xb5b9('0x7'))},'bcc':{'type':Sequelize[_0xb5b9('0x3')](_0xb5b9('0x7'))},'subject':{'type':Sequelize[_0xb5b9('0x3')]},'sentAt':{'type':Sequelize['DATE']},'attach':{'type':Sequelize[_0xb5b9('0x8')],'defaultValue':0x0},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'readAt':{'type':Sequelize[_0xb5b9('0x9')]},'originTo':{'type':Sequelize['TEXT'](_0xb5b9('0x7'))},'originCc':{'type':Sequelize[_0xb5b9('0x3')](_0xb5b9('0x7'))},'originChannel':{'type':Sequelize[_0xb5b9('0xa')](_0xb5b9('0xb'),_0xb5b9('0xc')),'defaultValue':_0xb5b9('0xb'),'allowNull':![]}};