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 _0x974f=['long','ENUM','out','INTEGER','sequelize','iconv','exports','BOOLEAN','DATE','STRING','TEXT'];(function(_0x194bd8,_0x47a1b6){var _0x4ab5e6=function(_0x144b83){while(--_0x144b83){_0x194bd8['push'](_0x194bd8['shift']());}};_0x4ab5e6(++_0x47a1b6);}(_0x974f,0x17a));var _0xf974=function(_0x429c82,_0x44ea7b){_0x429c82=_0x429c82-0x0;var _0x561ebd=_0x974f[_0x429c82];return _0x561ebd;};'use strict';var Sequelize=require(_0xf974('0x0'));var iconv=require(_0xf974('0x1'));module[_0xf974('0x2')]={'closed':{'type':Sequelize[_0xf974('0x3')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0xf974('0x4')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0xf974('0x5')]},'note':{'type':Sequelize[_0xf974('0x5')]},'inReplyTo':{'type':Sequelize[_0xf974('0x5')](0x1fe)},'to':{'type':Sequelize[_0xf974('0x5')]},'cc':{'type':Sequelize[_0xf974('0x6')](_0xf974('0x7'))},'subject':{'type':Sequelize[_0xf974('0x6')]()},'attach':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0xf974('0x4')]},'substatus':{'type':Sequelize[_0xf974('0x5')](0x3c)},'substatusAt':{'type':Sequelize[_0xf974('0x4')]},'firstMsgDirection':{'type':Sequelize[_0xf974('0x8')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0xf974('0x8')]('in',_0xf974('0x9')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0xf974('0x3')],'defaultValue':![]},'queueId':{'type':Sequelize[_0xf974('0xa')]}};