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 _0xa62a=['out','ENUM','sequelize','iconv','exports','BOOLEAN','DATE','STRING','long'];(function(_0x342b9e,_0x457f50){var _0x5b73a7=function(_0xe24441){while(--_0xe24441){_0x342b9e['push'](_0x342b9e['shift']());}};_0x5b73a7(++_0x457f50);}(_0xa62a,0x77));var _0xaa62=function(_0xa5d9f9,_0x17c6bf){_0xa5d9f9=_0xa5d9f9-0x0;var _0x40e9f6=_0xa62a[_0xa5d9f9];return _0x40e9f6;};'use strict';var Sequelize=require(_0xaa62('0x0'));var iconv=require(_0xaa62('0x1'));module[_0xaa62('0x2')]={'closed':{'type':Sequelize[_0xaa62('0x3')],'defaultValue':![]},'closedAt':{'type':Sequelize[_0xaa62('0x4')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0xaa62('0x5')]},'thirdDisposition':{'type':Sequelize[_0xaa62('0x5')]},'note':{'type':Sequelize[_0xaa62('0x5')]},'inReplyTo':{'type':Sequelize['STRING'](0x1fe)},'to':{'type':Sequelize[_0xaa62('0x5')]},'cc':{'type':Sequelize['TEXT'](_0xaa62('0x6'))},'subject':{'type':Sequelize['TEXT']()},'attach':{'type':Sequelize[_0xaa62('0x3')],'defaultValue':![]},'read1stAt':{'type':Sequelize['DATE']},'substatus':{'type':Sequelize['STRING'](0x3c)},'substatusAt':{'type':Sequelize[_0xaa62('0x4')]},'firstMsgDirection':{'type':Sequelize['ENUM']('in',_0xaa62('0x7')),'defaultValue':'in','allowNull':![]},'lastMsgAt':{'type':Sequelize[_0xaa62('0x4')]},'lastMsgDirection':{'type':Sequelize[_0xaa62('0x8')]('in',_0xaa62('0x7')),'defaultValue':'in','allowNull':![]},'autoreplyExecuted':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queueId':{'type':Sequelize['INTEGER']}};