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 _0x2f68=['exports','TEXT','long','BOOLEAN','ENUM','out','STRING','DATE','INTEGER','lodash'];(function(_0x5e933d,_0x265e64){var _0x31f8a8=function(_0x2e56da){while(--_0x2e56da){_0x5e933d['push'](_0x5e933d['shift']());}};_0x31f8a8(++_0x265e64);}(_0x2f68,0x12b));var _0x82f6=function(_0x41a291,_0x34def2){_0x41a291=_0x41a291-0x0;var _0x585e1b=_0x2f68[_0x41a291];return _0x585e1b;};'use strict';var Sequelize=require('sequelize');var _=require(_0x82f6('0x0'));module[_0x82f6('0x1')]={'body':{'type':Sequelize[_0x82f6('0x2')](_0x82f6('0x3')),'allowNull':![]},'plainBody':{'type':Sequelize[_0x82f6('0x2')]('medium')},'read':{'type':Sequelize[_0x82f6('0x4')],'defaultValue':![]},'direction':{'type':Sequelize[_0x82f6('0x5')]('in',_0x82f6('0x6')),'defaultValue':_0x82f6('0x6'),'allowNull':![]},'messageId':{'type':Sequelize[_0x82f6('0x7')](0x1fe)},'from':{'type':Sequelize['STRING']},'to':{'type':Sequelize['TEXT'](_0x82f6('0x3'))},'cc':{'type':Sequelize['TEXT'](_0x82f6('0x3'))},'bcc':{'type':Sequelize[_0x82f6('0x2')](_0x82f6('0x3'))},'subject':{'type':Sequelize['TEXT']},'sentAt':{'type':Sequelize[_0x82f6('0x8')]},'attach':{'type':Sequelize[_0x82f6('0x9')],'defaultValue':0x0},'secret':{'type':Sequelize[_0x82f6('0x4')],'defaultValue':![]},'readAt':{'type':Sequelize[_0x82f6('0x8')]},'originTo':{'type':Sequelize['TEXT'](_0x82f6('0x3'))},'originCc':{'type':Sequelize['TEXT']('long')}};