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 _0xdc40=['sequelize','exports','VIRTUAL','STRING','long','TIMESTAMP','literal'];(function(_0xfc2da6,_0x1206d9){var _0x3974d8=function(_0x1580e0){while(--_0x1580e0){_0xfc2da6['push'](_0xfc2da6['shift']());}};_0x3974d8(++_0x1206d9);}(_0xdc40,0x1b9));var _0x0dc4=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0xdc40[_0x20a584];return _0x4b41a8;};'use strict';var Sequelize=require(_0x0dc4('0x0'));module[_0x0dc4('0x1')]={'name':{'type':Sequelize[_0x0dc4('0x2')],'get':function(_0x39e26b){return this['getDataValue']('id');}},'msgnum':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize['STRING'],'defaultValue':''},'context':{'type':Sequelize[_0x0dc4('0x3')],'defaultValue':''},'macrocontext':{'type':Sequelize[_0x0dc4('0x3')],'defaultValue':''},'callerid':{'type':Sequelize[_0x0dc4('0x3')],'defaultValue':''},'origtime':{'type':Sequelize[_0x0dc4('0x3')],'defaultValue':''},'duration':{'type':Sequelize[_0x0dc4('0x3')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0x0dc4('0x3')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0x0dc4('0x3')],'defaultValue':''},'recording':{'type':Sequelize['BLOB'](_0x0dc4('0x4')),'defaultValue':null},'flag':{'type':Sequelize['STRING'],'defaultValue':''},'msg_id':{'type':Sequelize[_0x0dc4('0x3')],'defaultValue':''},'stamp':{'type':_0x0dc4('0x5'),'defaultValue':Sequelize[_0x0dc4('0x6')]('CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP')}};