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 _0xb211=['out','iconv','exports','BOOLEAN','DATE','STRING','TEXT','ENUM'];(function(_0x46f376,_0x5604ba){var _0x4c5457=function(_0x4000b1){while(--_0x4000b1){_0x46f376['push'](_0x46f376['shift']());}};_0x4c5457(++_0x5604ba);}(_0xb211,0x121));var _0x1b21=function(_0x1cc517,_0x5b9d5a){_0x1cc517=_0x1cc517-0x0;var _0xf89648=_0xb211[_0x1cc517];return _0xf89648;};'use strict';var Sequelize=require('sequelize');var iconv=require(_0x1b21('0x0'));module[_0x1b21('0x1')]={'closed':{'type':Sequelize[_0x1b21('0x2')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0x1b21('0x3')]},'disposition':{'type':Sequelize[_0x1b21('0x4')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0x1b21('0x4')]},'note':{'type':Sequelize['STRING']},'inReplyTo':{'type':Sequelize[_0x1b21('0x4')](0x1fe)},'to':{'type':Sequelize[_0x1b21('0x4')]},'cc':{'type':Sequelize[_0x1b21('0x5')]('long')},'subject':{'type':Sequelize[_0x1b21('0x5')]()},'attach':{'type':Sequelize[_0x1b21('0x2')],'defaultValue':![]},'read1stAt':{'type':Sequelize[_0x1b21('0x3')]},'substatus':{'type':Sequelize[_0x1b21('0x4')](0x3c)},'substatusAt':{'type':Sequelize[_0x1b21('0x3')]},'firstMsgDirection':{'type':Sequelize[_0x1b21('0x6')]('in','out'),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize['DATE']},'lastMsgDirection':{'type':Sequelize[_0x1b21('0x6')]('in',_0x1b21('0x7')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queueId':{'type':Sequelize['INTEGER']}};