Built motion from commit (unavailable).|2.5.14
[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 _0x80c4=['STRING','DATE','INTEGER','sequelize','exports','TEXT','long','medium','BOOLEAN','out'];(function(_0x46698a,_0x8de1e4){var _0x356db0=function(_0x19e83c){while(--_0x19e83c){_0x46698a['push'](_0x46698a['shift']());}};_0x356db0(++_0x8de1e4);}(_0x80c4,0xa3));var _0x480c=function(_0x4559bc,_0x5be15b){_0x4559bc=_0x4559bc-0x0;var _0x2df807=_0x80c4[_0x4559bc];return _0x2df807;};'use strict';var Sequelize=require(_0x480c('0x0'));var _=require('lodash');module[_0x480c('0x1')]={'body':{'type':Sequelize[_0x480c('0x2')](_0x480c('0x3')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x480c('0x2')](_0x480c('0x4'))},'read':{'type':Sequelize[_0x480c('0x5')],'defaultValue':![]},'direction':{'type':Sequelize['ENUM']('in',_0x480c('0x6')),'defaultValue':_0x480c('0x6'),'allowNull':![]},'messageId':{'type':Sequelize[_0x480c('0x7')](0x1fe)},'from':{'type':Sequelize[_0x480c('0x7')]},'to':{'type':Sequelize[_0x480c('0x2')](_0x480c('0x3'))},'cc':{'type':Sequelize[_0x480c('0x2')](_0x480c('0x3'))},'bcc':{'type':Sequelize[_0x480c('0x2')]('long')},'subject':{'type':Sequelize[_0x480c('0x2')]},'sentAt':{'type':Sequelize[_0x480c('0x8')]},'attach':{'type':Sequelize[_0x480c('0x9')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x480c('0x5')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x480c('0x8')]},'originTo':{'type':Sequelize[_0x480c('0x2')](_0x480c('0x3'))},'originCc':{'type':Sequelize[_0x480c('0x2')](_0x480c('0x3'))}};