Built motion from commit 0900f080.|2.5.45
[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 _0xf93d=['BOOLEAN','ENUM','out','STRING','DATE','INTEGER','Email','Chat','exports','TEXT','long','medium'];(function(_0x330b1a,_0x3206ee){var _0x16b9c8=function(_0x33d1e6){while(--_0x33d1e6){_0x330b1a['push'](_0x330b1a['shift']());}};_0x16b9c8(++_0x3206ee);}(_0xf93d,0x1b8));var _0xdf93=function(_0x36b12e,_0x6118de){_0x36b12e=_0x36b12e-0x0;var _0x13a360=_0xf93d[_0x36b12e];return _0x13a360;};'use strict';var Sequelize=require('sequelize');var _=require('lodash');module[_0xdf93('0x0')]={'body':{'type':Sequelize[_0xdf93('0x1')](_0xdf93('0x2')),'allowNull':![]},'plainBody':{'type':Sequelize[_0xdf93('0x1')](_0xdf93('0x3'))},'read':{'type':Sequelize[_0xdf93('0x4')],'defaultValue':![]},'direction':{'type':Sequelize[_0xdf93('0x5')]('in',_0xdf93('0x6')),'defaultValue':_0xdf93('0x6'),'allowNull':![]},'messageId':{'type':Sequelize['STRING'](0x1fe)},'from':{'type':Sequelize[_0xdf93('0x7')]},'to':{'type':Sequelize[_0xdf93('0x1')](_0xdf93('0x2'))},'cc':{'type':Sequelize[_0xdf93('0x1')](_0xdf93('0x2'))},'bcc':{'type':Sequelize[_0xdf93('0x1')](_0xdf93('0x2'))},'subject':{'type':Sequelize[_0xdf93('0x1')]},'sentAt':{'type':Sequelize[_0xdf93('0x8')]},'attach':{'type':Sequelize[_0xdf93('0x9')],'defaultValue':0x0},'secret':{'type':Sequelize[_0xdf93('0x4')],'defaultValue':![]},'readAt':{'type':Sequelize['DATE']},'originTo':{'type':Sequelize[_0xdf93('0x1')](_0xdf93('0x2'))},'originCc':{'type':Sequelize[_0xdf93('0x1')](_0xdf93('0x2'))},'originChannel':{'type':Sequelize[_0xdf93('0x5')](_0xdf93('0xa'),_0xdf93('0xb')),'defaultValue':_0xdf93('0xa'),'allowNull':![]}};