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 _0xd4f9=['STRING','BOOLEAN','moment','sequelize','DATE','setDataValue','format'];(function(_0x160747,_0x36cb3d){var _0x94d7a0=function(_0x110d1c){while(--_0x110d1c){_0x160747['push'](_0x160747['shift']());}};_0x94d7a0(++_0x36cb3d);}(_0xd4f9,0x1c9));var _0x9d4f=function(_0x5a41f1,_0x13b29d){_0x5a41f1=_0x5a41f1-0x0;var _0x1758c1=_0xd4f9[_0x5a41f1];return _0x1758c1;};'use strict';var moment=require(_0x9d4f('0x0'));var Sequelize=require(_0x9d4f('0x1'));module['exports']={'starttime':{'type':Sequelize[_0x9d4f('0x2')],'set':function(_0x172c30){this['setDataValue']('starttime',_0x172c30);this[_0x9d4f('0x3')]('endtime',moment()[_0x9d4f('0x4')]('YYYY-MM-DD\x20HH:mm:ss'));}},'endtime':{'type':Sequelize[_0x9d4f('0x2')]},'membername':{'type':Sequelize[_0x9d4f('0x5')]},'projectname':{'type':Sequelize[_0x9d4f('0x5')]},'queue':{'type':Sequelize[_0x9d4f('0x5')]},'uniqueid':{'type':Sequelize[_0x9d4f('0x5')]},'calleridname':{'type':Sequelize[_0x9d4f('0x5')]},'calleridnum':{'type':Sequelize[_0x9d4f('0x5')]},'completed':{'type':Sequelize[_0x9d4f('0x6')],'defaultValue':![]}};