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 _0xdfe8=['DATE','STRING','TEXT','long','ENUM','out','exports','BOOLEAN'];(function(_0x99250c,_0x4603c0){var _0x3927d5=function(_0xa13c94){while(--_0xa13c94){_0x99250c['push'](_0x99250c['shift']());}};_0x3927d5(++_0x4603c0);}(_0xdfe8,0x18e));var _0x8dfe=function(_0x810e4d,_0x909ef4){_0x810e4d=_0x810e4d-0x0;var _0x13f01c=_0xdfe8[_0x810e4d];return _0x13f01c;};'use strict';var Sequelize=require('sequelize');var iconv=require('iconv');module[_0x8dfe('0x0')]={'closed':{'type':Sequelize[_0x8dfe('0x1')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x8dfe('0x2')]},'disposition':{'type':Sequelize[_0x8dfe('0x3')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0x8dfe('0x3')]},'note':{'type':Sequelize['STRING']},'inReplyTo':{'type':Sequelize['STRING'](0x1fe)},'to':{'type':Sequelize[_0x8dfe('0x3')]},'cc':{'type':Sequelize[_0x8dfe('0x4')](_0x8dfe('0x5'))},'subject':{'type':Sequelize[_0x8dfe('0x4')]()},'attach':{'type':Sequelize[_0x8dfe('0x1')],'defaultValue':![]},'read1stAt':{'type':Sequelize['DATE']},'substatus':{'type':Sequelize[_0x8dfe('0x3')](0x3c)},'substatusAt':{'type':Sequelize[_0x8dfe('0x2')]},'firstMsgDirection':{'type':Sequelize[_0x8dfe('0x6')]('in',_0x8dfe('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0x8dfe('0x6')]('in',_0x8dfe('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgBody':{'type':Sequelize[_0x8dfe('0x4')]('long')},'lastMsgText':{'type':Sequelize[_0x8dfe('0x4')](_0x8dfe('0x5'))}};