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 _0x2daa=['STRING','BOOLEAN','sequelize','exports','DATE','setDataValue','format'];(function(_0x3ab652,_0x1b3ad2){var _0x2b2fa6=function(_0x21957d){while(--_0x21957d){_0x3ab652['push'](_0x3ab652['shift']());}};_0x2b2fa6(++_0x1b3ad2);}(_0x2daa,0x167));var _0xa2da=function(_0xdf3db6,_0x2a1952){_0xdf3db6=_0xdf3db6-0x0;var _0x4b7a65=_0x2daa[_0xdf3db6];return _0x4b7a65;};'use strict';var moment=require('moment');var Sequelize=require(_0xa2da('0x0'));module[_0xa2da('0x1')]={'starttime':{'type':Sequelize[_0xa2da('0x2')],'set':function(_0x202c3e){this[_0xa2da('0x3')]('starttime',_0x202c3e);this[_0xa2da('0x3')]('endtime',moment()[_0xa2da('0x4')]('YYYY-MM-DD\x20HH:mm:ss'));}},'endtime':{'type':Sequelize[_0xa2da('0x2')]},'membername':{'type':Sequelize['STRING']},'projectname':{'type':Sequelize[_0xa2da('0x5')]},'queue':{'type':Sequelize[_0xa2da('0x5')]},'uniqueid':{'type':Sequelize[_0xa2da('0x5')]},'calleridname':{'type':Sequelize[_0xa2da('0x5')]},'calleridnum':{'type':Sequelize[_0xa2da('0x5')]},'completed':{'type':Sequelize[_0xa2da('0x6')],'defaultValue':![]}};