Built motion from commit (unavailable).|2.5.15
[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 _0x2dd8=['out','STRING','DATE','sequelize','lodash','long','TEXT','medium','BOOLEAN','ENUM'];(function(_0xb4cc12,_0x41436e){var _0x8593b5=function(_0x13b840){while(--_0x13b840){_0xb4cc12['push'](_0xb4cc12['shift']());}};_0x8593b5(++_0x41436e);}(_0x2dd8,0x143));var _0x82dd=function(_0x19e35c,_0x29cd1e){_0x19e35c=_0x19e35c-0x0;var _0x3e1fe8=_0x2dd8[_0x19e35c];return _0x3e1fe8;};'use strict';var Sequelize=require(_0x82dd('0x0'));var _=require(_0x82dd('0x1'));module['exports']={'body':{'type':Sequelize['TEXT'](_0x82dd('0x2')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x82dd('0x3')](_0x82dd('0x4'))},'read':{'type':Sequelize[_0x82dd('0x5')],'defaultValue':![]},'direction':{'type':Sequelize[_0x82dd('0x6')]('in',_0x82dd('0x7')),'defaultValue':_0x82dd('0x7'),'allowNull':![]},'messageId':{'type':Sequelize['STRING'](0x1fe)},'from':{'type':Sequelize[_0x82dd('0x8')]},'to':{'type':Sequelize[_0x82dd('0x3')](_0x82dd('0x2'))},'cc':{'type':Sequelize[_0x82dd('0x3')]('long')},'bcc':{'type':Sequelize[_0x82dd('0x3')](_0x82dd('0x2'))},'subject':{'type':Sequelize[_0x82dd('0x3')]},'sentAt':{'type':Sequelize[_0x82dd('0x9')]},'attach':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'readAt':{'type':Sequelize[_0x82dd('0x9')]},'originTo':{'type':Sequelize['TEXT'](_0x82dd('0x2'))},'originCc':{'type':Sequelize[_0x82dd('0x3')](_0x82dd('0x2'))}};