bdc72762950c404d620a5540b47c39affccb4edb
[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 _0x6dc0=['STRING','DATE','sequelize','lodash','exports','long','TEXT','medium','BOOLEAN','out'];(function(_0x1b3891,_0x13b0f7){var _0x244b6e=function(_0x11e6e3){while(--_0x11e6e3){_0x1b3891['push'](_0x1b3891['shift']());}};_0x244b6e(++_0x13b0f7);}(_0x6dc0,0xb6));var _0x06dc=function(_0x1c5793,_0x2027ee){_0x1c5793=_0x1c5793-0x0;var _0x561815=_0x6dc0[_0x1c5793];return _0x561815;};'use strict';var Sequelize=require(_0x06dc('0x0'));var _=require(_0x06dc('0x1'));module[_0x06dc('0x2')]={'body':{'type':Sequelize['TEXT'](_0x06dc('0x3')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x06dc('0x4')](_0x06dc('0x5'))},'read':{'type':Sequelize[_0x06dc('0x6')],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in',_0x06dc('0x7')),'defaultValue':_0x06dc('0x7'),'allowNull':![]},'messageId':{'type':Sequelize['STRING'](0x1fe)},'from':{'type':Sequelize[_0x06dc('0x8')]},'to':{'type':Sequelize['TEXT'](_0x06dc('0x3'))},'cc':{'type':Sequelize[_0x06dc('0x4')](_0x06dc('0x3'))},'bcc':{'type':Sequelize[_0x06dc('0x4')](_0x06dc('0x3'))},'subject':{'type':Sequelize['TEXT']},'sentAt':{'type':Sequelize['DATE']},'attach':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'secret':{'type':Sequelize[_0x06dc('0x6')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x06dc('0x9')]},'originTo':{'type':Sequelize['TEXT'](_0x06dc('0x3'))},'originCc':{'type':Sequelize[_0x06dc('0x4')](_0x06dc('0x3'))}};