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 _0xab5c=['CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP','sequelize','exports','VIRTUAL','getDataValue','INTEGER','STRING','BLOB','long','literal'];(function(_0x47d79a,_0x2bc9ef){var _0x3c6e2f=function(_0x555554){while(--_0x555554){_0x47d79a['push'](_0x47d79a['shift']());}};_0x3c6e2f(++_0x2bc9ef);}(_0xab5c,0xfb));var _0xcab5=function(_0x158ab6,_0x3b4274){_0x158ab6=_0x158ab6-0x0;var _0x176a87=_0xab5c[_0x158ab6];return _0x176a87;};'use strict';var Sequelize=require(_0xcab5('0x0'));module[_0xcab5('0x1')]={'name':{'type':Sequelize[_0xcab5('0x2')],'get':function(_0x3dd02c){return this[_0xcab5('0x3')]('id');}},'msgnum':{'type':Sequelize[_0xcab5('0x4')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize['STRING'],'defaultValue':''},'context':{'type':Sequelize['STRING'],'defaultValue':''},'macrocontext':{'type':Sequelize['STRING'],'defaultValue':''},'callerid':{'type':Sequelize[_0xcab5('0x5')],'defaultValue':''},'origtime':{'type':Sequelize[_0xcab5('0x5')],'defaultValue':''},'duration':{'type':Sequelize[_0xcab5('0x5')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0xcab5('0x5')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0xcab5('0x5')],'defaultValue':''},'recording':{'type':Sequelize[_0xcab5('0x6')](_0xcab5('0x7')),'defaultValue':null},'flag':{'type':Sequelize[_0xcab5('0x5')],'defaultValue':''},'msg_id':{'type':Sequelize['STRING'],'defaultValue':''},'stamp':{'type':'TIMESTAMP','defaultValue':Sequelize[_0xcab5('0x8')](_0xcab5('0x9'))}};