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 _0xff52=['sequelize','exports','DATE','setDataValue','starttime','format','STRING','BOOLEAN'];(function(_0x48026e,_0x2bb295){var _0x4b42aa=function(_0x42c647){while(--_0x42c647){_0x48026e['push'](_0x48026e['shift']());}};_0x4b42aa(++_0x2bb295);}(_0xff52,0xf0));var _0x2ff5=function(_0x6839e1,_0x424ff0){_0x6839e1=_0x6839e1-0x0;var _0x57cd23=_0xff52[_0x6839e1];return _0x57cd23;};'use strict';var moment=require('moment');var Sequelize=require(_0x2ff5('0x0'));module[_0x2ff5('0x1')]={'starttime':{'type':Sequelize[_0x2ff5('0x2')],'set':function(_0x13f872){this[_0x2ff5('0x3')](_0x2ff5('0x4'),_0x13f872);this['setDataValue']('endtime',moment()[_0x2ff5('0x5')]('YYYY-MM-DD\x20HH:mm:ss'));}},'endtime':{'type':Sequelize[_0x2ff5('0x2')]},'membername':{'type':Sequelize[_0x2ff5('0x6')]},'projectname':{'type':Sequelize[_0x2ff5('0x6')]},'queue':{'type':Sequelize[_0x2ff5('0x6')]},'uniqueid':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0x2ff5('0x6')]},'calleridnum':{'type':Sequelize[_0x2ff5('0x6')]},'completed':{'type':Sequelize[_0x2ff5('0x7')],'defaultValue':![]}};