Built motion from commit d6d69adf.|2.6.33
[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 _0x9db1=['STRING','BOOLEAN','DATE','ENUM','Chat','Email','sequelize','lodash','exports','TEXT','long','medium','out'];(function(_0x2d1c0c,_0x1b0440){var _0x3343de=function(_0x508544){while(--_0x508544){_0x2d1c0c['push'](_0x2d1c0c['shift']());}};_0x3343de(++_0x1b0440);}(_0x9db1,0xf0));var _0x19db=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x9db1[_0x3dd15e];return _0x231fd0;};'use strict';var Sequelize=require(_0x19db('0x0'));var _=require(_0x19db('0x1'));module[_0x19db('0x2')]={'body':{'type':Sequelize[_0x19db('0x3')](_0x19db('0x4')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x19db('0x3')](_0x19db('0x5'))},'read':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in','out'),'defaultValue':_0x19db('0x6'),'allowNull':![]},'messageId':{'type':Sequelize[_0x19db('0x7')](0x1fe)},'from':{'type':Sequelize[_0x19db('0x7')]},'to':{'type':Sequelize[_0x19db('0x3')]('long')},'cc':{'type':Sequelize[_0x19db('0x3')](_0x19db('0x4'))},'bcc':{'type':Sequelize[_0x19db('0x3')](_0x19db('0x4'))},'subject':{'type':Sequelize[_0x19db('0x3')]},'sentAt':{'type':Sequelize['DATE']},'attach':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'secret':{'type':Sequelize[_0x19db('0x8')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x19db('0x9')]},'originTo':{'type':Sequelize['TEXT'](_0x19db('0x4'))},'originCc':{'type':Sequelize[_0x19db('0x3')](_0x19db('0x4'))},'originChannel':{'type':Sequelize[_0x19db('0xa')]('Email',_0x19db('0xb')),'defaultValue':_0x19db('0xc'),'allowNull':![]}};