Built motion from commit da24aabd.|2.6.20
[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 _0xadfc=['out','STRING','INTEGER','DATE','Email','Chat','sequelize','lodash','exports','TEXT','long','medium','BOOLEAN','ENUM'];(function(_0x260860,_0x5e8661){var _0x1e01af=function(_0x2a7d40){while(--_0x2a7d40){_0x260860['push'](_0x260860['shift']());}};_0x1e01af(++_0x5e8661);}(_0xadfc,0x12c));var _0xcadf=function(_0x134c2e,_0x3573c4){_0x134c2e=_0x134c2e-0x0;var _0x2825db=_0xadfc[_0x134c2e];return _0x2825db;};'use strict';var Sequelize=require(_0xcadf('0x0'));var _=require(_0xcadf('0x1'));module[_0xcadf('0x2')]={'body':{'type':Sequelize[_0xcadf('0x3')](_0xcadf('0x4')),'allowNull':![]},'plainBody':{'type':Sequelize[_0xcadf('0x3')](_0xcadf('0x5'))},'read':{'type':Sequelize[_0xcadf('0x6')],'defaultValue':![]},'direction':{'type':Sequelize[_0xcadf('0x7')]('in',_0xcadf('0x8')),'defaultValue':_0xcadf('0x8'),'allowNull':![]},'messageId':{'type':Sequelize[_0xcadf('0x9')](0x1fe)},'from':{'type':Sequelize[_0xcadf('0x9')]},'to':{'type':Sequelize['TEXT'](_0xcadf('0x4'))},'cc':{'type':Sequelize[_0xcadf('0x3')](_0xcadf('0x4'))},'bcc':{'type':Sequelize[_0xcadf('0x3')](_0xcadf('0x4'))},'subject':{'type':Sequelize[_0xcadf('0x3')]},'sentAt':{'type':Sequelize['DATE']},'attach':{'type':Sequelize[_0xcadf('0xa')],'defaultValue':0x0},'secret':{'type':Sequelize[_0xcadf('0x6')],'defaultValue':![]},'readAt':{'type':Sequelize[_0xcadf('0xb')]},'originTo':{'type':Sequelize[_0xcadf('0x3')]('long')},'originCc':{'type':Sequelize[_0xcadf('0x3')](_0xcadf('0x4'))},'originChannel':{'type':Sequelize[_0xcadf('0x7')](_0xcadf('0xc'),_0xcadf('0xd')),'defaultValue':_0xcadf('0xc'),'allowNull':![]}};