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 _0x0fb9=['literal','sequelize','exports','VIRTUAL','getDataValue','INTEGER','STRING','BLOB','TIMESTAMP'];(function(_0x105a8a,_0x15a3a2){var _0x105a0e=function(_0x3beeb1){while(--_0x3beeb1){_0x105a8a['push'](_0x105a8a['shift']());}};_0x105a0e(++_0x15a3a2);}(_0x0fb9,0x133));var _0x90fb=function(_0x59ee6f,_0x450239){_0x59ee6f=_0x59ee6f-0x0;var _0x4c0979=_0x0fb9[_0x59ee6f];return _0x4c0979;};'use strict';var Sequelize=require(_0x90fb('0x0'));module[_0x90fb('0x1')]={'name':{'type':Sequelize[_0x90fb('0x2')],'get':function(_0x3bba86){return this[_0x90fb('0x3')]('id');}},'msgnum':{'type':Sequelize[_0x90fb('0x4')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0x90fb('0x5')],'defaultValue':''},'context':{'type':Sequelize[_0x90fb('0x5')],'defaultValue':''},'macrocontext':{'type':Sequelize[_0x90fb('0x5')],'defaultValue':''},'callerid':{'type':Sequelize[_0x90fb('0x5')],'defaultValue':''},'origtime':{'type':Sequelize['STRING'],'defaultValue':''},'duration':{'type':Sequelize['STRING'],'defaultValue':''},'mailboxuser':{'type':Sequelize['STRING'],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0x90fb('0x5')],'defaultValue':''},'recording':{'type':Sequelize[_0x90fb('0x6')]('long'),'defaultValue':null},'flag':{'type':Sequelize['STRING'],'defaultValue':''},'msg_id':{'type':Sequelize['STRING'],'defaultValue':''},'stamp':{'type':_0x90fb('0x7'),'defaultValue':Sequelize[_0x90fb('0x8')]('CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP')}};