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 _0x5921=['long','TEXT','DATE','out','sequelize','exports','BOOLEAN','STRING'];(function(_0x53431b,_0x324d48){var _0xec5ba4=function(_0x690519){while(--_0x690519){_0x53431b['push'](_0x53431b['shift']());}};_0xec5ba4(++_0x324d48);}(_0x5921,0x11c));var _0x1592=function(_0x2b5eae,_0x55010d){_0x2b5eae=_0x2b5eae-0x0;var _0x5f3ac9=_0x5921[_0x2b5eae];return _0x5f3ac9;};'use strict';var Sequelize=require(_0x1592('0x0'));var iconv=require('iconv');module[_0x1592('0x1')]={'closed':{'type':Sequelize[_0x1592('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0x1592('0x3')]},'note':{'type':Sequelize['STRING']},'inReplyTo':{'type':Sequelize['STRING'](0x1fe)},'to':{'type':Sequelize[_0x1592('0x3')]},'cc':{'type':Sequelize['TEXT'](_0x1592('0x4'))},'subject':{'type':Sequelize[_0x1592('0x5')]()},'attach':{'type':Sequelize[_0x1592('0x2')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x1592('0x6')]},'substatus':{'type':Sequelize[_0x1592('0x3')](0x3c)},'substatusAt':{'type':Sequelize[_0x1592('0x6')]},'firstMsgDirection':{'type':Sequelize['ENUM']('in',_0x1592('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x1592('0x6')]},'lastMsgDirection':{'type':Sequelize['ENUM']('in',_0x1592('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgBody':{'type':Sequelize['TEXT'](_0x1592('0x4'))},'lastMsgText':{'type':Sequelize[_0x1592('0x5')](_0x1592('0x4'))}};