Built motion from commit (unavailable).|2.4.7
[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 _0xdc91=['ENUM','out','STRING','TEXT','long','DATE','INTEGER','sequelize','lodash','medium','BOOLEAN'];(function(_0x1f7f34,_0x5bb29a){var _0x1deaf4=function(_0x24f2aa){while(--_0x24f2aa){_0x1f7f34['push'](_0x1f7f34['shift']());}};_0x1deaf4(++_0x5bb29a);}(_0xdc91,0x8b));var _0x1dc9=function(_0x5a9c42,_0x1522a0){_0x5a9c42=_0x5a9c42-0x0;var _0x36d349=_0xdc91[_0x5a9c42];return _0x36d349;};'use strict';var Sequelize=require(_0x1dc9('0x0'));var _=require(_0x1dc9('0x1'));module['exports']={'body':{'type':Sequelize['TEXT']('long'),'allowNull':![]},'plainBody':{'type':Sequelize['TEXT'](_0x1dc9('0x2'))},'read':{'type':Sequelize[_0x1dc9('0x3')],'defaultValue':![]},'direction':{'type':Sequelize[_0x1dc9('0x4')]('in',_0x1dc9('0x5')),'defaultValue':_0x1dc9('0x5'),'allowNull':![]},'messageId':{'type':Sequelize[_0x1dc9('0x6')](0x1fe)},'from':{'type':Sequelize[_0x1dc9('0x6')]},'to':{'type':Sequelize[_0x1dc9('0x7')]('long')},'cc':{'type':Sequelize[_0x1dc9('0x7')](_0x1dc9('0x8'))},'bcc':{'type':Sequelize[_0x1dc9('0x7')](_0x1dc9('0x8'))},'subject':{'type':Sequelize[_0x1dc9('0x7')]},'sentAt':{'type':Sequelize[_0x1dc9('0x9')]},'attach':{'type':Sequelize[_0x1dc9('0xa')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x1dc9('0x3')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x1dc9('0x9')]},'originTo':{'type':Sequelize[_0x1dc9('0x7')]('long')},'originCc':{'type':Sequelize[_0x1dc9('0x7')]('long')}};