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 _0xc7a3=['long','out','ENUM','sequelize','BOOLEAN','DATE','STRING','TEXT'];(function(_0x22a838,_0x21ea5f){var _0x6d2443=function(_0x4bf1bc){while(--_0x4bf1bc){_0x22a838['push'](_0x22a838['shift']());}};_0x6d2443(++_0x21ea5f);}(_0xc7a3,0x133));var _0x3c7a=function(_0x5dda24,_0x17881f){_0x5dda24=_0x5dda24-0x0;var _0x4bf565=_0xc7a3[_0x5dda24];return _0x4bf565;};'use strict';var Sequelize=require(_0x3c7a('0x0'));var iconv=require('iconv');module['exports']={'closed':{'type':Sequelize[_0x3c7a('0x1')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x3c7a('0x2')]},'disposition':{'type':Sequelize[_0x3c7a('0x3')]},'secondDisposition':{'type':Sequelize[_0x3c7a('0x3')]},'thirdDisposition':{'type':Sequelize[_0x3c7a('0x3')]},'note':{'type':Sequelize['STRING']},'inReplyTo':{'type':Sequelize[_0x3c7a('0x3')](0x1fe)},'to':{'type':Sequelize[_0x3c7a('0x3')]},'cc':{'type':Sequelize[_0x3c7a('0x4')](_0x3c7a('0x5'))},'subject':{'type':Sequelize[_0x3c7a('0x4')]()},'attach':{'type':Sequelize[_0x3c7a('0x1')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x3c7a('0x2')]},'substatus':{'type':Sequelize[_0x3c7a('0x3')](0x3c)},'substatusAt':{'type':Sequelize[_0x3c7a('0x2')]},'firstMsgDirection':{'type':Sequelize['ENUM']('in',_0x3c7a('0x6')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x3c7a('0x2')]},'lastMsgDirection':{'type':Sequelize[_0x3c7a('0x7')]('in',_0x3c7a('0x6')),'defaultValue':'in','allowNull':![]},'lastMsgBody':{'type':Sequelize[_0x3c7a('0x4')](_0x3c7a('0x5'))},'lastMsgText':{'type':Sequelize[_0x3c7a('0x4')]('long')}};