Built motion from commit (unavailable).|2.5.11
[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 _0xa0a3=['medium','BOOLEAN','ENUM','out','STRING','DATE','INTEGER','lodash','exports','long','TEXT'];(function(_0x52b649,_0x548706){var _0x1e82a2=function(_0x5da202){while(--_0x5da202){_0x52b649['push'](_0x52b649['shift']());}};_0x1e82a2(++_0x548706);}(_0xa0a3,0x1e0));var _0x3a0a=function(_0x1f399f,_0x152316){_0x1f399f=_0x1f399f-0x0;var _0x33315d=_0xa0a3[_0x1f399f];return _0x33315d;};'use strict';var Sequelize=require('sequelize');var _=require(_0x3a0a('0x0'));module[_0x3a0a('0x1')]={'body':{'type':Sequelize['TEXT'](_0x3a0a('0x2')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x3a0a('0x3')](_0x3a0a('0x4'))},'read':{'type':Sequelize[_0x3a0a('0x5')],'defaultValue':![]},'direction':{'type':Sequelize[_0x3a0a('0x6')]('in',_0x3a0a('0x7')),'defaultValue':_0x3a0a('0x7'),'allowNull':![]},'messageId':{'type':Sequelize[_0x3a0a('0x8')](0x1fe)},'from':{'type':Sequelize[_0x3a0a('0x8')]},'to':{'type':Sequelize[_0x3a0a('0x3')](_0x3a0a('0x2'))},'cc':{'type':Sequelize[_0x3a0a('0x3')](_0x3a0a('0x2'))},'bcc':{'type':Sequelize['TEXT']('long')},'subject':{'type':Sequelize[_0x3a0a('0x3')]},'sentAt':{'type':Sequelize[_0x3a0a('0x9')]},'attach':{'type':Sequelize[_0x3a0a('0xa')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x3a0a('0x5')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x3a0a('0x9')]},'originTo':{'type':Sequelize[_0x3a0a('0x3')](_0x3a0a('0x2'))},'originCc':{'type':Sequelize['TEXT']('long')}};