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 _0x2cd3=['literal','CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP','sequelize','exports','VIRTUAL','getDataValue','INTEGER','STRING','long'];(function(_0x1b3225,_0x4d5e47){var _0x5e2eae=function(_0x5cbde9){while(--_0x5cbde9){_0x1b3225['push'](_0x1b3225['shift']());}};_0x5e2eae(++_0x4d5e47);}(_0x2cd3,0xd1));var _0x32cd=function(_0x47e7dd,_0x51b041){_0x47e7dd=_0x47e7dd-0x0;var _0x38501f=_0x2cd3[_0x47e7dd];return _0x38501f;};'use strict';var Sequelize=require(_0x32cd('0x0'));module[_0x32cd('0x1')]={'name':{'type':Sequelize[_0x32cd('0x2')],'get':function(_0x21f4ce){return this[_0x32cd('0x3')]('id');}},'msgnum':{'type':Sequelize[_0x32cd('0x4')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0x32cd('0x5')],'defaultValue':''},'context':{'type':Sequelize[_0x32cd('0x5')],'defaultValue':''},'macrocontext':{'type':Sequelize[_0x32cd('0x5')],'defaultValue':''},'callerid':{'type':Sequelize['STRING'],'defaultValue':''},'origtime':{'type':Sequelize['STRING'],'defaultValue':''},'duration':{'type':Sequelize[_0x32cd('0x5')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0x32cd('0x5')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0x32cd('0x5')],'defaultValue':''},'recording':{'type':Sequelize['BLOB'](_0x32cd('0x6')),'defaultValue':null},'flag':{'type':Sequelize['STRING'],'defaultValue':''},'msg_id':{'type':Sequelize['STRING'],'defaultValue':''},'stamp':{'type':'TIMESTAMP','defaultValue':Sequelize[_0x32cd('0x7')](_0x32cd('0x8'))}};