Built motion from commit (unavailable).|2.5.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 _0xdd4f=['STRING','DATE','INTEGER','sequelize','long','TEXT','BOOLEAN','ENUM','out'];(function(_0x5095ad,_0x4e5718){var _0x540f2b=function(_0x453eaa){while(--_0x453eaa){_0x5095ad['push'](_0x5095ad['shift']());}};_0x540f2b(++_0x4e5718);}(_0xdd4f,0x1ce));var _0xfdd4=function(_0xbde13c,_0xd022b7){_0xbde13c=_0xbde13c-0x0;var _0x5bd747=_0xdd4f[_0xbde13c];return _0x5bd747;};'use strict';var Sequelize=require(_0xfdd4('0x0'));var _=require('lodash');module['exports']={'body':{'type':Sequelize['TEXT'](_0xfdd4('0x1')),'allowNull':![]},'plainBody':{'type':Sequelize[_0xfdd4('0x2')]('medium')},'read':{'type':Sequelize[_0xfdd4('0x3')],'defaultValue':![]},'direction':{'type':Sequelize[_0xfdd4('0x4')]('in',_0xfdd4('0x5')),'defaultValue':'out','allowNull':![]},'messageId':{'type':Sequelize[_0xfdd4('0x6')](0x1fe)},'from':{'type':Sequelize[_0xfdd4('0x6')]},'to':{'type':Sequelize[_0xfdd4('0x2')](_0xfdd4('0x1'))},'cc':{'type':Sequelize[_0xfdd4('0x2')]('long')},'bcc':{'type':Sequelize[_0xfdd4('0x2')]('long')},'subject':{'type':Sequelize[_0xfdd4('0x2')]},'sentAt':{'type':Sequelize[_0xfdd4('0x7')]},'attach':{'type':Sequelize[_0xfdd4('0x8')],'defaultValue':0x0},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'readAt':{'type':Sequelize[_0xfdd4('0x7')]},'originTo':{'type':Sequelize['TEXT'](_0xfdd4('0x1'))},'originCc':{'type':Sequelize[_0xfdd4('0x2')](_0xfdd4('0x1'))}};