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 _0xdacc=['TEXT','long','BOOLEAN','ENUM','out','sequelize','DATE','STRING'];(function(_0x176cf0,_0x3016c9){var _0x1cddb6=function(_0xc09aca){while(--_0xc09aca){_0x176cf0['push'](_0x176cf0['shift']());}};_0x1cddb6(++_0x3016c9);}(_0xdacc,0x1dd));var _0xcdac=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0xdacc[_0xa464c9];return _0x3d73c4;};'use strict';var Sequelize=require(_0xcdac('0x0'));var iconv=require('iconv');module['exports']={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize[_0xcdac('0x1')]},'disposition':{'type':Sequelize[_0xcdac('0x2')]},'secondDisposition':{'type':Sequelize[_0xcdac('0x2')]},'thirdDisposition':{'type':Sequelize[_0xcdac('0x2')]},'note':{'type':Sequelize[_0xcdac('0x2')]},'inReplyTo':{'type':Sequelize[_0xcdac('0x2')](0x1fe)},'to':{'type':Sequelize[_0xcdac('0x2')]},'cc':{'type':Sequelize[_0xcdac('0x3')](_0xcdac('0x4'))},'subject':{'type':Sequelize[_0xcdac('0x3')]()},'attach':{'type':Sequelize[_0xcdac('0x5')],'defaultValue':![]},'read1stAt':{'type':Sequelize['DATE']},'substatus':{'type':Sequelize[_0xcdac('0x2')](0x3c)},'substatusAt':{'type':Sequelize['DATE']},'firstMsgDirection':{'type':Sequelize[_0xcdac('0x6')]('in',_0xcdac('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0xcdac('0x6')]('in',_0xcdac('0x7')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0xcdac('0x5')],'defaultValue':![]},'queueId':{'type':Sequelize['INTEGER']}};