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 _0x8246=['long','TIMESTAMP','literal','sequelize','exports','INTEGER','STRING','BLOB'];(function(_0x39e362,_0x4db9ea){var _0x302c45=function(_0x22811a){while(--_0x22811a){_0x39e362['push'](_0x39e362['shift']());}};_0x302c45(++_0x4db9ea);}(_0x8246,0x1cb));var _0x6824=function(_0x5bd510,_0x8c536d){_0x5bd510=_0x5bd510-0x0;var _0x3772b7=_0x8246[_0x5bd510];return _0x3772b7;};'use strict';var Sequelize=require(_0x6824('0x0'));module[_0x6824('0x1')]={'name':{'type':Sequelize['VIRTUAL'],'get':function(_0x182a5e){return this['getDataValue']('id');}},'msgnum':{'type':Sequelize[_0x6824('0x2')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0x6824('0x3')],'defaultValue':''},'context':{'type':Sequelize[_0x6824('0x3')],'defaultValue':''},'macrocontext':{'type':Sequelize[_0x6824('0x3')],'defaultValue':''},'callerid':{'type':Sequelize[_0x6824('0x3')],'defaultValue':''},'origtime':{'type':Sequelize[_0x6824('0x3')],'defaultValue':''},'duration':{'type':Sequelize['STRING'],'defaultValue':''},'mailboxuser':{'type':Sequelize['STRING'],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0x6824('0x3')],'defaultValue':''},'recording':{'type':Sequelize[_0x6824('0x4')](_0x6824('0x5')),'defaultValue':null},'flag':{'type':Sequelize['STRING'],'defaultValue':''},'msg_id':{'type':Sequelize[_0x6824('0x3')],'defaultValue':''},'stamp':{'type':_0x6824('0x6'),'defaultValue':Sequelize[_0x6824('0x7')]('CURRENT_TIMESTAMP\x20ON\x20UPDATE\x20CURRENT_TIMESTAMP')}};