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 _0x3677=['DATE','ENUM','out','sequelize','iconv','exports','BOOLEAN','STRING','TEXT'];(function(_0x487b68,_0x542af5){var _0x110537=function(_0x50712a){while(--_0x50712a){_0x487b68['push'](_0x487b68['shift']());}};_0x110537(++_0x542af5);}(_0x3677,0x1e9));var _0x7367=function(_0x5ce99d,_0xd461b){_0x5ce99d=_0x5ce99d-0x0;var _0x15e65b=_0x3677[_0x5ce99d];return _0x15e65b;};'use strict';var Sequelize=require(_0x7367('0x0'));var iconv=require(_0x7367('0x1'));module[_0x7367('0x2')]={'closed':{'type':Sequelize[_0x7367('0x3')],'defaultValue':![]},'closedAt':{'type':Sequelize['DATE']},'disposition':{'type':Sequelize[_0x7367('0x4')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0x7367('0x4')]},'note':{'type':Sequelize[_0x7367('0x4')]},'inReplyTo':{'type':Sequelize[_0x7367('0x4')](0x1fe)},'to':{'type':Sequelize[_0x7367('0x4')]},'cc':{'type':Sequelize[_0x7367('0x5')]('long')},'subject':{'type':Sequelize['TEXT']()},'attach':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x7367('0x6')]},'substatus':{'type':Sequelize[_0x7367('0x4')](0x3c)},'substatusAt':{'type':Sequelize[_0x7367('0x6')]},'firstMsgDirection':{'type':Sequelize[_0x7367('0x7')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0x7367('0x6')]},'lastMsgDirection':{'type':Sequelize[_0x7367('0x7')]('in',_0x7367('0x8')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};