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 _0xb346=['moment','sequelize','DATE','setDataValue','starttime','STRING','BOOLEAN'];(function(_0x521210,_0x529772){var _0x38ba13=function(_0x5171b0){while(--_0x5171b0){_0x521210['push'](_0x521210['shift']());}};_0x38ba13(++_0x529772);}(_0xb346,0xcb));var _0x6b34=function(_0x10bd46,_0x22e254){_0x10bd46=_0x10bd46-0x0;var _0x2fac34=_0xb346[_0x10bd46];return _0x2fac34;};'use strict';var moment=require(_0x6b34('0x0'));var Sequelize=require(_0x6b34('0x1'));module['exports']={'starttime':{'type':Sequelize[_0x6b34('0x2')],'set':function(_0x2c3030){this[_0x6b34('0x3')](_0x6b34('0x4'),_0x2c3030);this['setDataValue']('endtime',moment()['format']('YYYY-MM-DD\x20HH:mm:ss'));}},'endtime':{'type':Sequelize['DATE']},'membername':{'type':Sequelize['STRING']},'projectname':{'type':Sequelize['STRING']},'queue':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize[_0x6b34('0x5')]},'calleridname':{'type':Sequelize[_0x6b34('0x5')]},'calleridnum':{'type':Sequelize[_0x6b34('0x5')]},'completed':{'type':Sequelize[_0x6b34('0x6')],'defaultValue':![]}};