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 _0xac60=['YYYY-MM-DD\x20HH:mm:ss','sequelize','moment','exports','STRING','DATE','format'];(function(_0x2c5ce4,_0x1b4766){var _0x4060a3=function(_0x3d4b86){while(--_0x3d4b86){_0x2c5ce4['push'](_0x2c5ce4['shift']());}};_0x4060a3(++_0x1b4766);}(_0xac60,0x86));var _0x0ac6=function(_0x139a3c,_0x4fc883){_0x139a3c=_0x139a3c-0x0;var _0x2b375b=_0xac60[_0x139a3c];return _0x2b375b;};'use strict';var Sequelize=require(_0x0ac6('0x0'));var moment=require(_0x0ac6('0x1'));module[_0x0ac6('0x2')]={'time':{'type':Sequelize['STRING']},'callid':{'type':Sequelize[_0x0ac6('0x3')],'allowNull':![],'defaultValue':''},'queuename':{'type':Sequelize[_0x0ac6('0x3')],'allowNull':![],'defaultValue':''},'agent':{'type':Sequelize[_0x0ac6('0x3')],'allowNull':![],'defaultValue':''},'event':{'type':Sequelize[_0x0ac6('0x3')],'allowNull':![],'defaultValue':''},'data':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':''},'data1':{'type':Sequelize[_0x0ac6('0x3')],'allowNull':![],'defaultValue':''},'data2':{'type':Sequelize[_0x0ac6('0x3')],'allowNull':![],'defaultValue':''},'data3':{'type':Sequelize[_0x0ac6('0x3')],'allowNull':![],'defaultValue':''},'data4':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':''},'data5':{'type':Sequelize[_0x0ac6('0x3')],'allowNull':![],'defaultValue':''},'dtm':{'type':Sequelize[_0x0ac6('0x4')],'allowNull':![],'defaultValue':moment()[_0x0ac6('0x5')](_0x0ac6('0x6'))}};