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 _0x6d44=['STRING','BOOLEAN','sequelize','exports','setDataValue','starttime','endtime','format','YYYY-MM-DD\x20HH:mm:ss','DATE'];(function(_0x24de07,_0x4c6fa1){var _0x53ced3=function(_0x29aa67){while(--_0x29aa67){_0x24de07['push'](_0x24de07['shift']());}};_0x53ced3(++_0x4c6fa1);}(_0x6d44,0x1ba));var _0x46d4=function(_0x2d8434,_0x43d781){_0x2d8434=_0x2d8434-0x0;var _0x26b9e4=_0x6d44[_0x2d8434];return _0x26b9e4;};'use strict';var moment=require('moment');var Sequelize=require(_0x46d4('0x0'));module[_0x46d4('0x1')]={'starttime':{'type':Sequelize['DATE'],'set':function(_0x41b048){this[_0x46d4('0x2')](_0x46d4('0x3'),_0x41b048);this[_0x46d4('0x2')](_0x46d4('0x4'),moment()[_0x46d4('0x5')](_0x46d4('0x6')));}},'endtime':{'type':Sequelize[_0x46d4('0x7')]},'membername':{'type':Sequelize[_0x46d4('0x8')]},'projectname':{'type':Sequelize[_0x46d4('0x8')]},'queue':{'type':Sequelize[_0x46d4('0x8')]},'uniqueid':{'type':Sequelize[_0x46d4('0x8')]},'calleridname':{'type':Sequelize[_0x46d4('0x8')]},'calleridnum':{'type':Sequelize['STRING']},'completed':{'type':Sequelize[_0x46d4('0x9')],'defaultValue':![]}};