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 _0x3a9b=['DATE','STRING','TEXT','long','ENUM','out','exports','BOOLEAN'];(function(_0x5eeb91,_0x163474){var _0x236692=function(_0x365ff9){while(--_0x365ff9){_0x5eeb91['push'](_0x5eeb91['shift']());}};_0x236692(++_0x163474);}(_0x3a9b,0x186));var _0xb3a9=function(_0x2070da,_0x45e586){_0x2070da=_0x2070da-0x0;var _0x4f9fe1=_0x3a9b[_0x2070da];return _0x4f9fe1;};'use strict';var Sequelize=require('sequelize');var iconv=require('iconv');module[_0xb3a9('0x0')]={'closed':{'type':Sequelize[_0xb3a9('0x1')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0xb3a9('0x2')]},'disposition':{'type':Sequelize[_0xb3a9('0x3')]},'secondDisposition':{'type':Sequelize[_0xb3a9('0x3')]},'thirdDisposition':{'type':Sequelize[_0xb3a9('0x3')]},'note':{'type':Sequelize[_0xb3a9('0x3')]},'inReplyTo':{'type':Sequelize[_0xb3a9('0x3')](0x1fe)},'to':{'type':Sequelize[_0xb3a9('0x3')]},'cc':{'type':Sequelize[_0xb3a9('0x4')](_0xb3a9('0x5'))},'subject':{'type':Sequelize[_0xb3a9('0x4')]()},'attach':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0xb3a9('0x2')]},'substatus':{'type':Sequelize[_0xb3a9('0x3')](0x3c)},'substatusAt':{'type':Sequelize[_0xb3a9('0x2')]},'firstMsgDirection':{'type':Sequelize[_0xb3a9('0x6')]('in',_0xb3a9('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xb3a9('0x2')]},'lastMsgDirection':{'type':Sequelize[_0xb3a9('0x6')]('in',_0xb3a9('0x7')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0xb3a9('0x1')],'defaultValue':![]}};