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 _0x1b6e=['STRING','BLOB','long','TIMESTAMP','literal','sequelize','exports','getDataValue','INTEGER'];(function(_0x35337c,_0x5d2097){var _0x4b7bc3=function(_0x40d825){while(--_0x40d825){_0x35337c['push'](_0x35337c['shift']());}};_0x4b7bc3(++_0x5d2097);}(_0x1b6e,0x137));var _0xe1b6=function(_0x221e0f,_0x2a0b4c){_0x221e0f=_0x221e0f-0x0;var _0x1867bd=_0x1b6e[_0x221e0f];return _0x1867bd;};'use strict';var Sequelize=require(_0xe1b6('0x0'));module[_0xe1b6('0x1')]={'name':{'type':Sequelize['VIRTUAL'],'get':function(_0x3306ef){return this[_0xe1b6('0x2')]('id');}},'msgnum':{'type':Sequelize[_0xe1b6('0x3')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0xe1b6('0x4')],'defaultValue':''},'context':{'type':Sequelize[_0xe1b6('0x4')],'defaultValue':''},'macrocontext':{'type':Sequelize['STRING'],'defaultValue':''},'callerid':{'type':Sequelize['STRING'],'defaultValue':''},'origtime':{'type':Sequelize['STRING'],'defaultValue':''},'duration':{'type':Sequelize[_0xe1b6('0x4')],'defaultValue':''},'mailboxuser':{'type':Sequelize['STRING'],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0xe1b6('0x4')],'defaultValue':''},'recording':{'type':Sequelize[_0xe1b6('0x5')](_0xe1b6('0x6')),'defaultValue':null},'flag':{'type':Sequelize[_0xe1b6('0x4')],'defaultValue':''},'msg_id':{'type':Sequelize[_0xe1b6('0x4')],'defaultValue':''},'stamp':{'type':_0xe1b6('0x7'),'defaultValue':Sequelize[_0xe1b6('0x8')]('CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP')}};