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 _0xda34=['setDataValue','starttime','format','YYYY-MM-DD\x20HH:mm:ss','STRING','BOOLEAN','exports','DATE'];(function(_0x2263f1,_0x13dea4){var _0x285df4=function(_0x3cdbb3){while(--_0x3cdbb3){_0x2263f1['push'](_0x2263f1['shift']());}};_0x285df4(++_0x13dea4);}(_0xda34,0x14e));var _0x4da3=function(_0x4240f0,_0x2ccabe){_0x4240f0=_0x4240f0-0x0;var _0xa45a32=_0xda34[_0x4240f0];return _0xa45a32;};'use strict';var moment=require('moment');var Sequelize=require('sequelize');module[_0x4da3('0x0')]={'starttime':{'type':Sequelize[_0x4da3('0x1')],'set':function(_0x4d76c5){this[_0x4da3('0x2')](_0x4da3('0x3'),_0x4d76c5);this['setDataValue']('endtime',moment()[_0x4da3('0x4')](_0x4da3('0x5')));}},'endtime':{'type':Sequelize[_0x4da3('0x1')]},'membername':{'type':Sequelize['STRING']},'projectname':{'type':Sequelize['STRING']},'queue':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0x4da3('0x6')]},'calleridnum':{'type':Sequelize[_0x4da3('0x6')]},'completed':{'type':Sequelize[_0x4da3('0x7')],'defaultValue':![]}};