Built motion from commit (unavailable).|2.5.31
[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 _0x45df=['TEXT','medium','BOOLEAN','out','STRING','DATE','INTEGER','Email','Chat','sequelize','lodash','exports','long'];(function(_0x384a5c,_0x50804c){var _0xc0f2f3=function(_0xfce4d1){while(--_0xfce4d1){_0x384a5c['push'](_0x384a5c['shift']());}};_0xc0f2f3(++_0x50804c);}(_0x45df,0x1a9));var _0xf45d=function(_0x14e308,_0x58cfd4){_0x14e308=_0x14e308-0x0;var _0x370900=_0x45df[_0x14e308];return _0x370900;};'use strict';var Sequelize=require(_0xf45d('0x0'));var _=require(_0xf45d('0x1'));module[_0xf45d('0x2')]={'body':{'type':Sequelize['TEXT'](_0xf45d('0x3')),'allowNull':![]},'plainBody':{'type':Sequelize[_0xf45d('0x4')](_0xf45d('0x5'))},'read':{'type':Sequelize[_0xf45d('0x6')],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in',_0xf45d('0x7')),'defaultValue':_0xf45d('0x7'),'allowNull':![]},'messageId':{'type':Sequelize[_0xf45d('0x8')](0x1fe)},'from':{'type':Sequelize['STRING']},'to':{'type':Sequelize[_0xf45d('0x4')](_0xf45d('0x3'))},'cc':{'type':Sequelize[_0xf45d('0x4')]('long')},'bcc':{'type':Sequelize['TEXT'](_0xf45d('0x3'))},'subject':{'type':Sequelize[_0xf45d('0x4')]},'sentAt':{'type':Sequelize[_0xf45d('0x9')]},'attach':{'type':Sequelize[_0xf45d('0xa')],'defaultValue':0x0},'secret':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'readAt':{'type':Sequelize[_0xf45d('0x9')]},'originTo':{'type':Sequelize[_0xf45d('0x4')](_0xf45d('0x3'))},'originCc':{'type':Sequelize[_0xf45d('0x4')]('long')},'originChannel':{'type':Sequelize['ENUM'](_0xf45d('0xb'),_0xf45d('0xc')),'defaultValue':_0xf45d('0xb'),'allowNull':![]}};