def34ce68fed3b0086239001deaf505320c0d5c3
[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 _0xf7b0=['sequelize','lodash','TEXT','long','medium','ENUM','out','STRING','INTEGER','BOOLEAN','DATE','Email','Chat'];(function(_0x1f102c,_0x104478){var _0x5cd779=function(_0x3fae0e){while(--_0x3fae0e){_0x1f102c['push'](_0x1f102c['shift']());}};_0x5cd779(++_0x104478);}(_0xf7b0,0x82));var _0x0f7b=function(_0xbd43cb,_0x5973fd){_0xbd43cb=_0xbd43cb-0x0;var _0x2bdfe2=_0xf7b0[_0xbd43cb];return _0x2bdfe2;};'use strict';var Sequelize=require(_0x0f7b('0x0'));var _=require(_0x0f7b('0x1'));module['exports']={'body':{'type':Sequelize[_0x0f7b('0x2')](_0x0f7b('0x3')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x0f7b('0x2')](_0x0f7b('0x4'))},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize[_0x0f7b('0x5')]('in',_0x0f7b('0x6')),'defaultValue':_0x0f7b('0x6'),'allowNull':![]},'messageId':{'type':Sequelize['STRING'](0x1fe)},'from':{'type':Sequelize[_0x0f7b('0x7')]},'to':{'type':Sequelize['TEXT']('long')},'cc':{'type':Sequelize['TEXT'](_0x0f7b('0x3'))},'bcc':{'type':Sequelize[_0x0f7b('0x2')](_0x0f7b('0x3'))},'subject':{'type':Sequelize[_0x0f7b('0x2')]},'sentAt':{'type':Sequelize['DATE']},'attach':{'type':Sequelize[_0x0f7b('0x8')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x0f7b('0x9')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x0f7b('0xa')]},'originTo':{'type':Sequelize['TEXT']('long')},'originCc':{'type':Sequelize[_0x0f7b('0x2')](_0x0f7b('0x3'))},'originChannel':{'type':Sequelize[_0x0f7b('0x5')](_0x0f7b('0xb'),_0x0f7b('0xc')),'defaultValue':'Email','allowNull':![]}};