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 _0x54c4=['literal','CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP','sequelize','exports','VIRTUAL','getDataValue','INTEGER','STRING','BLOB','long','TIMESTAMP'];(function(_0x2a6022,_0x26cb48){var _0x557ee5=function(_0x573418){while(--_0x573418){_0x2a6022['push'](_0x2a6022['shift']());}};_0x557ee5(++_0x26cb48);}(_0x54c4,0xde));var _0x454c=function(_0x31a7c8,_0x178f72){_0x31a7c8=_0x31a7c8-0x0;var _0x43f4a0=_0x54c4[_0x31a7c8];return _0x43f4a0;};'use strict';var Sequelize=require(_0x454c('0x0'));module[_0x454c('0x1')]={'name':{'type':Sequelize[_0x454c('0x2')],'get':function(_0x42c51e){return this[_0x454c('0x3')]('id');}},'msgnum':{'type':Sequelize[_0x454c('0x4')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0x454c('0x5')],'defaultValue':''},'context':{'type':Sequelize[_0x454c('0x5')],'defaultValue':''},'macrocontext':{'type':Sequelize[_0x454c('0x5')],'defaultValue':''},'callerid':{'type':Sequelize[_0x454c('0x5')],'defaultValue':''},'origtime':{'type':Sequelize[_0x454c('0x5')],'defaultValue':''},'duration':{'type':Sequelize[_0x454c('0x5')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0x454c('0x5')],'defaultValue':''},'mailboxcontext':{'type':Sequelize['STRING'],'defaultValue':''},'recording':{'type':Sequelize[_0x454c('0x6')](_0x454c('0x7')),'defaultValue':null},'flag':{'type':Sequelize['STRING'],'defaultValue':''},'msg_id':{'type':Sequelize['STRING'],'defaultValue':''},'stamp':{'type':_0x454c('0x8'),'defaultValue':Sequelize[_0x454c('0x9')](_0x454c('0xa'))}};