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 _0x98f2=['BOOLEAN','iconv','exports','DATE','STRING','TEXT'];(function(_0x4834ed,_0x74b8c4){var _0x3c8ce5=function(_0x5d2037){while(--_0x5d2037){_0x4834ed['push'](_0x4834ed['shift']());}};_0x3c8ce5(++_0x74b8c4);}(_0x98f2,0x8b));var _0x298f=function(_0x3860a3,_0x234027){_0x3860a3=_0x3860a3-0x0;var _0x28c5d8=_0x98f2[_0x3860a3];return _0x28c5d8;};'use strict';var Sequelize=require('sequelize');var iconv=require(_0x298f('0x0'));module[_0x298f('0x1')]={'closed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x298f('0x2')]},'disposition':{'type':Sequelize[_0x298f('0x3')]},'secondDisposition':{'type':Sequelize[_0x298f('0x3')]},'thirdDisposition':{'type':Sequelize[_0x298f('0x3')]},'note':{'type':Sequelize[_0x298f('0x3')]},'inReplyTo':{'type':Sequelize['STRING'](0x1fe)},'to':{'type':Sequelize[_0x298f('0x3')]},'cc':{'type':Sequelize[_0x298f('0x4')]('long')},'subject':{'type':Sequelize[_0x298f('0x4')]()},'attach':{'type':Sequelize[_0x298f('0x5')],'defaultValue':![]},'read1stAt':{'type':Sequelize['DATE']},'substatus':{'type':Sequelize['STRING'](0x3c)},'substatusAt':{'type':Sequelize[_0x298f('0x2')]},'firstMsgDirection':{'type':Sequelize['ENUM']('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x298f('0x2')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in','out'),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};