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 _0x570d=['DATE','ENUM','out','sequelize','exports','BOOLEAN','STRING','TEXT'];(function(_0x39da95,_0x21bf78){var _0x4b3acb=function(_0x300adc){while(--_0x300adc){_0x39da95['push'](_0x39da95['shift']());}};_0x4b3acb(++_0x21bf78);}(_0x570d,0x113));var _0xd570=function(_0x2fa1be,_0x5e646f){_0x2fa1be=_0x2fa1be-0x0;var _0x1e016c=_0x570d[_0x2fa1be];return _0x1e016c;};'use strict';var Sequelize=require(_0xd570('0x0'));var iconv=require('iconv');module[_0xd570('0x1')]={'closed':{'type':Sequelize[_0xd570('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0xd570('0x3')]},'secondDisposition':{'type':Sequelize[_0xd570('0x3')]},'thirdDisposition':{'type':Sequelize[_0xd570('0x3')]},'note':{'type':Sequelize[_0xd570('0x3')]},'inReplyTo':{'type':Sequelize[_0xd570('0x3')](0x1fe)},'to':{'type':Sequelize['STRING']},'cc':{'type':Sequelize[_0xd570('0x4')]('long')},'subject':{'type':Sequelize[_0xd570('0x4')]()},'attach':{'type':Sequelize[_0xd570('0x2')],'defaultValue':![]},'read1stAt':{'type':Sequelize['DATE']},'substatus':{'type':Sequelize[_0xd570('0x3')](0x3c)},'substatusAt':{'type':Sequelize[_0xd570('0x5')]},'firstMsgDirection':{'type':Sequelize[_0xd570('0x6')]('in',_0xd570('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xd570('0x5')]},'lastMsgDirection':{'type':Sequelize[_0xd570('0x6')]('in',_0xd570('0x7')),'defaultValue':'in','allowNull':![]}};