Built motion from commit 9d1906d1.|2.5.40
[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 _0xca79=['STRING','INTEGER','DATE','Email','Chat','sequelize','lodash','exports','TEXT','long','medium','BOOLEAN','ENUM','out'];(function(_0x171999,_0x4cf932){var _0x2b382a=function(_0x3a23ce){while(--_0x3a23ce){_0x171999['push'](_0x171999['shift']());}};_0x2b382a(++_0x4cf932);}(_0xca79,0xc9));var _0x9ca7=function(_0x37833c,_0x3a606){_0x37833c=_0x37833c-0x0;var _0x28541b=_0xca79[_0x37833c];return _0x28541b;};'use strict';var Sequelize=require(_0x9ca7('0x0'));var _=require(_0x9ca7('0x1'));module[_0x9ca7('0x2')]={'body':{'type':Sequelize[_0x9ca7('0x3')](_0x9ca7('0x4')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x9ca7('0x3')](_0x9ca7('0x5'))},'read':{'type':Sequelize[_0x9ca7('0x6')],'defaultValue':![]},'direction':{'type':Sequelize[_0x9ca7('0x7')]('in',_0x9ca7('0x8')),'defaultValue':_0x9ca7('0x8'),'allowNull':![]},'messageId':{'type':Sequelize[_0x9ca7('0x9')](0x1fe)},'from':{'type':Sequelize[_0x9ca7('0x9')]},'to':{'type':Sequelize[_0x9ca7('0x3')](_0x9ca7('0x4'))},'cc':{'type':Sequelize[_0x9ca7('0x3')]('long')},'bcc':{'type':Sequelize[_0x9ca7('0x3')](_0x9ca7('0x4'))},'subject':{'type':Sequelize[_0x9ca7('0x3')]},'sentAt':{'type':Sequelize['DATE']},'attach':{'type':Sequelize[_0x9ca7('0xa')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x9ca7('0x6')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x9ca7('0xb')]},'originTo':{'type':Sequelize[_0x9ca7('0x3')](_0x9ca7('0x4'))},'originCc':{'type':Sequelize[_0x9ca7('0x3')](_0x9ca7('0x4'))},'originChannel':{'type':Sequelize[_0x9ca7('0x7')](_0x9ca7('0xc'),_0x9ca7('0xd')),'defaultValue':'Email','allowNull':![]}};