Built motion from commit (unavailable).|2.5.29
[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 _0x5686=['long','medium','BOOLEAN','ENUM','out','STRING','DATE','INTEGER','Chat','Email','sequelize','lodash','exports','TEXT'];(function(_0x1fef97,_0x37691d){var _0x167e54=function(_0xe1c2f2){while(--_0xe1c2f2){_0x1fef97['push'](_0x1fef97['shift']());}};_0x167e54(++_0x37691d);}(_0x5686,0xdc));var _0x6568=function(_0x587dd0,_0x273922){_0x587dd0=_0x587dd0-0x0;var _0x56f153=_0x5686[_0x587dd0];return _0x56f153;};'use strict';var Sequelize=require(_0x6568('0x0'));var _=require(_0x6568('0x1'));module[_0x6568('0x2')]={'body':{'type':Sequelize[_0x6568('0x3')](_0x6568('0x4')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x6568('0x3')](_0x6568('0x5'))},'read':{'type':Sequelize[_0x6568('0x6')],'defaultValue':![]},'direction':{'type':Sequelize[_0x6568('0x7')]('in',_0x6568('0x8')),'defaultValue':_0x6568('0x8'),'allowNull':![]},'messageId':{'type':Sequelize[_0x6568('0x9')](0x1fe)},'from':{'type':Sequelize[_0x6568('0x9')]},'to':{'type':Sequelize['TEXT']('long')},'cc':{'type':Sequelize[_0x6568('0x3')](_0x6568('0x4'))},'bcc':{'type':Sequelize[_0x6568('0x3')](_0x6568('0x4'))},'subject':{'type':Sequelize[_0x6568('0x3')]},'sentAt':{'type':Sequelize[_0x6568('0xa')]},'attach':{'type':Sequelize[_0x6568('0xb')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x6568('0x6')],'defaultValue':![]},'readAt':{'type':Sequelize['DATE']},'originTo':{'type':Sequelize[_0x6568('0x3')](_0x6568('0x4'))},'originCc':{'type':Sequelize[_0x6568('0x3')](_0x6568('0x4'))},'originChannel':{'type':Sequelize[_0x6568('0x7')]('Email',_0x6568('0xc')),'defaultValue':_0x6568('0xd'),'allowNull':![]}};