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 _0x5aea=['iconv','exports','BOOLEAN','STRING','TEXT','DATE','ENUM','out','long'];(function(_0x24c040,_0x9af6ad){var _0x4f7393=function(_0x342d6e){while(--_0x342d6e){_0x24c040['push'](_0x24c040['shift']());}};_0x4f7393(++_0x9af6ad);}(_0x5aea,0x17a));var _0xa5ae=function(_0x518c20,_0x4bc4c7){_0x518c20=_0x518c20-0x0;var _0x5d2c7e=_0x5aea[_0x518c20];return _0x5d2c7e;};'use strict';var Sequelize=require('sequelize');var iconv=require(_0xa5ae('0x0'));module[_0xa5ae('0x1')]={'closed':{'type':Sequelize[_0xa5ae('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0xa5ae('0x3')]},'note':{'type':Sequelize['STRING']},'inReplyTo':{'type':Sequelize[_0xa5ae('0x3')](0x1fe)},'to':{'type':Sequelize[_0xa5ae('0x3')]},'cc':{'type':Sequelize[_0xa5ae('0x4')]('long')},'subject':{'type':Sequelize['TEXT']()},'attach':{'type':Sequelize[_0xa5ae('0x2')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0xa5ae('0x5')]},'substatus':{'type':Sequelize['STRING'](0x3c)},'substatusAt':{'type':Sequelize[_0xa5ae('0x5')]},'firstMsgDirection':{'type':Sequelize['ENUM']('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xa5ae('0x5')]},'lastMsgDirection':{'type':Sequelize[_0xa5ae('0x6')]('in',_0xa5ae('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgBody':{'type':Sequelize[_0xa5ae('0x4')](_0xa5ae('0x8'))},'lastMsgText':{'type':Sequelize[_0xa5ae('0x4')](_0xa5ae('0x8'))}};