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 _0xd8e0=['TIMESTAMP','sequelize','VIRTUAL','getDataValue','INTEGER','STRING','BLOB','long'];(function(_0x455d99,_0x2b4fdb){var _0x3be830=function(_0x227cc7){while(--_0x227cc7){_0x455d99['push'](_0x455d99['shift']());}};_0x3be830(++_0x2b4fdb);}(_0xd8e0,0x1a1));var _0x0d8e=function(_0x502c7d,_0x2f1285){_0x502c7d=_0x502c7d-0x0;var _0x30b7ed=_0xd8e0[_0x502c7d];return _0x30b7ed;};'use strict';var Sequelize=require(_0x0d8e('0x0'));module['exports']={'name':{'type':Sequelize[_0x0d8e('0x1')],'get':function(_0x33736f){return this[_0x0d8e('0x2')]('id');}},'msgnum':{'type':Sequelize[_0x0d8e('0x3')](0xb),'defaultValue':0x0,'allowNull':![]},'dir':{'type':Sequelize[_0x0d8e('0x4')],'defaultValue':''},'context':{'type':Sequelize[_0x0d8e('0x4')],'defaultValue':''},'macrocontext':{'type':Sequelize[_0x0d8e('0x4')],'defaultValue':''},'callerid':{'type':Sequelize['STRING'],'defaultValue':''},'origtime':{'type':Sequelize['STRING'],'defaultValue':''},'duration':{'type':Sequelize[_0x0d8e('0x4')],'defaultValue':''},'mailboxuser':{'type':Sequelize[_0x0d8e('0x4')],'defaultValue':''},'mailboxcontext':{'type':Sequelize[_0x0d8e('0x4')],'defaultValue':''},'recording':{'type':Sequelize[_0x0d8e('0x5')](_0x0d8e('0x6')),'defaultValue':null},'flag':{'type':Sequelize[_0x0d8e('0x4')],'defaultValue':''},'msg_id':{'type':Sequelize[_0x0d8e('0x4')],'defaultValue':''},'stamp':{'type':_0x0d8e('0x7'),'allowNull':![]}};