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 _0x0705=['exports','BOOLEAN','STRING','TEXT','DATE','ENUM','out','INTEGER','sequelize','iconv'];(function(_0x318c00,_0x3087f9){var _0x4cb8ec=function(_0x427a7a){while(--_0x427a7a){_0x318c00['push'](_0x318c00['shift']());}};_0x4cb8ec(++_0x3087f9);}(_0x0705,0x13e));var _0x5070=function(_0x1a57c7,_0x1f0c32){_0x1a57c7=_0x1a57c7-0x0;var _0xb5899c=_0x0705[_0x1a57c7];return _0xb5899c;};'use strict';var Sequelize=require(_0x5070('0x0'));var iconv=require(_0x5070('0x1'));module[_0x5070('0x2')]={'closed':{'type':Sequelize[_0x5070('0x3')],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0x5070('0x4')]},'note':{'type':Sequelize[_0x5070('0x4')]},'inReplyTo':{'type':Sequelize[_0x5070('0x4')](0x1fe)},'to':{'type':Sequelize[_0x5070('0x4')]},'cc':{'type':Sequelize[_0x5070('0x5')]('long')},'subject':{'type':Sequelize[_0x5070('0x5')]()},'attach':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x5070('0x6')]},'substatus':{'type':Sequelize[_0x5070('0x4')](0x3c)},'substatusAt':{'type':Sequelize[_0x5070('0x6')]},'firstMsgDirection':{'type':Sequelize[_0x5070('0x7')]('in',_0x5070('0x8')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x5070('0x6')]},'lastMsgDirection':{'type':Sequelize[_0x5070('0x7')]('in','out'),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0x5070('0x3')],'defaultValue':![]},'queueId':{'type':Sequelize[_0x5070('0x9')]}};