1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xdb79=['long','TEXT','ENUM','out','sequelize','iconv','exports','BOOLEAN','DATE','STRING'];(function(_0x30f29f,_0x39c526){var _0x2e3c34=function(_0x27045f){while(--_0x27045f){_0x30f29f['push'](_0x30f29f['shift']());}};_0x2e3c34(++_0x39c526);}(_0xdb79,0x9a));var _0x9db7=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xdb79[_0x20a584];return _0x4b41a8;};'use strict';var Sequelize=require(_0x9db7('0x0'));var iconv=require(_0x9db7('0x1'));module[_0x9db7('0x2')]={'closed':{'type':Sequelize[_0x9db7('0x3')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x9db7('0x4')]},'disposition':{'type':Sequelize[_0x9db7('0x5')]},'secondDisposition':{'type':Sequelize[_0x9db7('0x5')]},'thirdDisposition':{'type':Sequelize[_0x9db7('0x5')]},'note':{'type':Sequelize[_0x9db7('0x5')]},'inReplyTo':{'type':Sequelize['STRING'](0x1fe)},'to':{'type':Sequelize[_0x9db7('0x5')]},'cc':{'type':Sequelize['TEXT'](_0x9db7('0x6'))},'subject':{'type':Sequelize[_0x9db7('0x7')]()},'attach':{'type':Sequelize[_0x9db7('0x3')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x9db7('0x4')]},'substatus':{'type':Sequelize['STRING'](0x3c)},'substatusAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize[_0x9db7('0x8')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x9db7('0x4')]},'lastMsgDirection':{'type':Sequelize[_0x9db7('0x8')]('in',_0x9db7('0x9')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0x9db7('0x3')],'defaultValue':![]}};