Built motion from commit (unavailable).|2.4.18
[motion2.git] / server / api / mailInteraction / mailInteraction.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 _0x64c4=['ENUM','out','sequelize','iconv','exports','BOOLEAN','STRING','TEXT','long','DATE'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x64c4,0x1a6));var _0x464c=function(_0x3a9685,_0x56a2a6){_0x3a9685=_0x3a9685-0x0;var _0x57f902=_0x64c4[_0x3a9685];return _0x57f902;};'use strict';var Sequelize=require(_0x464c('0x0'));var iconv=require(_0x464c('0x1'));module[_0x464c('0x2')]={'closed':{'type':Sequelize[_0x464c('0x3')],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0x464c('0x4')]},'note':{'type':Sequelize[_0x464c('0x4')]},'inReplyTo':{'type':Sequelize[_0x464c('0x4')](0x1fe)},'to':{'type':Sequelize['STRING']},'cc':{'type':Sequelize[_0x464c('0x5')](_0x464c('0x6'))},'subject':{'type':Sequelize['TEXT']()},'attach':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x464c('0x7')]},'substatus':{'type':Sequelize[_0x464c('0x4')](0x3c)},'substatusAt':{'type':Sequelize[_0x464c('0x7')]},'firstMsgDirection':{'type':Sequelize[_0x464c('0x8')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0x464c('0x8')]('in',_0x464c('0x9')),'defaultValue':'in','allowNull':![]},'lastMsgBody':{'type':Sequelize['TEXT'](_0x464c('0x6'))},'lastMsgText':{'type':Sequelize[_0x464c('0x5')]('long')}};