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 _0x31e7=['STRING','long','ENUM','out','iconv','BOOLEAN','DATE'];(function(_0xefd519,_0xc62635){var _0x4bb882=function(_0x37e0a1){while(--_0x37e0a1){_0xefd519['push'](_0xefd519['shift']());}};_0x4bb882(++_0xc62635);}(_0x31e7,0x74));var _0x731e=function(_0x358c04,_0x13459f){_0x358c04=_0x358c04-0x0;var _0x58666d=_0x31e7[_0x358c04];return _0x58666d;};'use strict';var Sequelize=require('sequelize');var iconv=require(_0x731e('0x0'));module['exports']={'closed':{'type':Sequelize[_0x731e('0x1')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x731e('0x2')]},'disposition':{'type':Sequelize[_0x731e('0x3')]},'secondDisposition':{'type':Sequelize[_0x731e('0x3')]},'thirdDisposition':{'type':Sequelize[_0x731e('0x3')]},'note':{'type':Sequelize[_0x731e('0x3')]},'inReplyTo':{'type':Sequelize[_0x731e('0x3')](0x1fe)},'to':{'type':Sequelize[_0x731e('0x3')]},'cc':{'type':Sequelize['TEXT'](_0x731e('0x4'))},'subject':{'type':Sequelize['TEXT']()},'attach':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x731e('0x2')]},'substatus':{'type':Sequelize[_0x731e('0x3')](0x3c)},'substatusAt':{'type':Sequelize[_0x731e('0x2')]},'firstMsgDirection':{'type':Sequelize[_0x731e('0x5')]('in',_0x731e('0x6')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x731e('0x2')]},'lastMsgDirection':{'type':Sequelize[_0x731e('0x5')]('in','out'),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};