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 _0xc812=['starttime','format','YYYY-MM-DD\x20HH:mm:ss','STRING','moment','sequelize','exports','setDataValue'];(function(_0x19e35c,_0x29cd1e){var _0x3e1fe8=function(_0x17258b){while(--_0x17258b){_0x19e35c['push'](_0x19e35c['shift']());}};_0x3e1fe8(++_0x29cd1e);}(_0xc812,0xbc));var _0x2c81=function(_0x14807d,_0x4cef56){_0x14807d=_0x14807d-0x0;var _0x15b6ce=_0xc812[_0x14807d];return _0x15b6ce;};'use strict';var moment=require(_0x2c81('0x0'));var Sequelize=require(_0x2c81('0x1'));module[_0x2c81('0x2')]={'starttime':{'type':Sequelize['DATE'],'set':function(_0x143b6d){this[_0x2c81('0x3')](_0x2c81('0x4'),_0x143b6d);this[_0x2c81('0x3')]('endtime',moment()[_0x2c81('0x5')](_0x2c81('0x6')));}},'endtime':{'type':Sequelize['DATE']},'membername':{'type':Sequelize[_0x2c81('0x7')]},'projectname':{'type':Sequelize[_0x2c81('0x7')]},'queue':{'type':Sequelize[_0x2c81('0x7')]},'uniqueid':{'type':Sequelize[_0x2c81('0x7')]},'calleridname':{'type':Sequelize[_0x2c81('0x7')]},'calleridnum':{'type':Sequelize[_0x2c81('0x7')]},'completed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};