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 _0xb022=['long','BOOLEAN','out','ENUM','exports','DATE','STRING','TEXT'];(function(_0x24df16,_0x263f9d){var _0x20fcfb=function(_0x2a84d3){while(--_0x2a84d3){_0x24df16['push'](_0x24df16['shift']());}};_0x20fcfb(++_0x263f9d);}(_0xb022,0x164));var _0x2b02=function(_0x513aa5,_0x1fba79){_0x513aa5=_0x513aa5-0x0;var _0x1a1a7c=_0xb022[_0x513aa5];return _0x1a1a7c;};'use strict';var Sequelize=require('sequelize');var iconv=require('iconv');module[_0x2b02('0x0')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x2b02('0x1')]},'disposition':{'type':Sequelize[_0x2b02('0x2')]},'secondDisposition':{'type':Sequelize[_0x2b02('0x2')]},'thirdDisposition':{'type':Sequelize[_0x2b02('0x2')]},'note':{'type':Sequelize[_0x2b02('0x2')]},'inReplyTo':{'type':Sequelize[_0x2b02('0x2')](0x1fe)},'to':{'type':Sequelize[_0x2b02('0x2')]},'cc':{'type':Sequelize[_0x2b02('0x3')](_0x2b02('0x4'))},'subject':{'type':Sequelize['TEXT']()},'attach':{'type':Sequelize[_0x2b02('0x5')],'defaultValue':![]},'read1stAt':{'type':Sequelize['DATE']},'substatus':{'type':Sequelize[_0x2b02('0x2')](0x3c)},'substatusAt':{'type':Sequelize[_0x2b02('0x1')]},'firstMsgDirection':{'type':Sequelize['ENUM']('in',_0x2b02('0x6')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x2b02('0x1')]},'lastMsgDirection':{'type':Sequelize[_0x2b02('0x7')]('in',_0x2b02('0x6')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize[_0x2b02('0x5')],'defaultValue':![]}};