Built motion from commit (unavailable).|2.5.30
[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 _0x0a65=['Email','lodash','TEXT','long','BOOLEAN','ENUM','out','STRING','DATE','INTEGER'];(function(_0x17b6e3,_0x4522ed){var _0x3906f3=function(_0x430f87){while(--_0x430f87){_0x17b6e3['push'](_0x17b6e3['shift']());}};_0x3906f3(++_0x4522ed);}(_0x0a65,0xab));var _0x50a6=function(_0x2c9986,_0x347c32){_0x2c9986=_0x2c9986-0x0;var _0x2a84e4=_0x0a65[_0x2c9986];return _0x2a84e4;};'use strict';var Sequelize=require('sequelize');var _=require(_0x50a6('0x0'));module['exports']={'body':{'type':Sequelize[_0x50a6('0x1')](_0x50a6('0x2')),'allowNull':![]},'plainBody':{'type':Sequelize['TEXT']('medium')},'read':{'type':Sequelize[_0x50a6('0x3')],'defaultValue':![]},'direction':{'type':Sequelize[_0x50a6('0x4')]('in','out'),'defaultValue':_0x50a6('0x5'),'allowNull':![]},'messageId':{'type':Sequelize[_0x50a6('0x6')](0x1fe)},'from':{'type':Sequelize['STRING']},'to':{'type':Sequelize[_0x50a6('0x1')](_0x50a6('0x2'))},'cc':{'type':Sequelize[_0x50a6('0x1')](_0x50a6('0x2'))},'bcc':{'type':Sequelize['TEXT'](_0x50a6('0x2'))},'subject':{'type':Sequelize[_0x50a6('0x1')]},'sentAt':{'type':Sequelize[_0x50a6('0x7')]},'attach':{'type':Sequelize[_0x50a6('0x8')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x50a6('0x3')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x50a6('0x7')]},'originTo':{'type':Sequelize[_0x50a6('0x1')](_0x50a6('0x2'))},'originCc':{'type':Sequelize[_0x50a6('0x1')]('long')},'originChannel':{'type':Sequelize['ENUM'](_0x50a6('0x9'),'Chat'),'defaultValue':_0x50a6('0x9'),'allowNull':![]}};