Built motion from commit (unavailable).|2.5.22
[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 _0x2669=['TEXT','long','medium','BOOLEAN','ENUM','out','STRING','DATE','INTEGER','Email','Chat','sequelize','lodash','exports'];(function(_0x16a758,_0x1828b5){var _0x45168b=function(_0x4606df){while(--_0x4606df){_0x16a758['push'](_0x16a758['shift']());}};_0x45168b(++_0x1828b5);}(_0x2669,0x1cb));var _0x9266=function(_0x3ef0be,_0x235ed9){_0x3ef0be=_0x3ef0be-0x0;var _0x5ed611=_0x2669[_0x3ef0be];return _0x5ed611;};'use strict';var Sequelize=require(_0x9266('0x0'));var _=require(_0x9266('0x1'));module[_0x9266('0x2')]={'body':{'type':Sequelize[_0x9266('0x3')](_0x9266('0x4')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x9266('0x3')](_0x9266('0x5'))},'read':{'type':Sequelize[_0x9266('0x6')],'defaultValue':![]},'direction':{'type':Sequelize[_0x9266('0x7')]('in',_0x9266('0x8')),'defaultValue':_0x9266('0x8'),'allowNull':![]},'messageId':{'type':Sequelize[_0x9266('0x9')](0x1fe)},'from':{'type':Sequelize['STRING']},'to':{'type':Sequelize[_0x9266('0x3')]('long')},'cc':{'type':Sequelize[_0x9266('0x3')](_0x9266('0x4'))},'bcc':{'type':Sequelize['TEXT']('long')},'subject':{'type':Sequelize[_0x9266('0x3')]},'sentAt':{'type':Sequelize[_0x9266('0xa')]},'attach':{'type':Sequelize[_0x9266('0xb')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x9266('0x6')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x9266('0xa')]},'originTo':{'type':Sequelize[_0x9266('0x3')](_0x9266('0x4'))},'originCc':{'type':Sequelize[_0x9266('0x3')](_0x9266('0x4'))},'originChannel':{'type':Sequelize[_0x9266('0x7')](_0x9266('0xc'),_0x9266('0xd')),'defaultValue':'Email','allowNull':![]}};