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 _0x0405=['YYYY-MM-DD\x20HH:mm:ss','STRING','BOOLEAN','moment','sequelize','exports','setDataValue','format'];(function(_0x5d2516,_0x30862b){var _0x55cf98=function(_0x46c04f){while(--_0x46c04f){_0x5d2516['push'](_0x5d2516['shift']());}};_0x55cf98(++_0x30862b);}(_0x0405,0x17b));var _0x5040=function(_0x3e1aba,_0x7c44f3){_0x3e1aba=_0x3e1aba-0x0;var _0x3b3ab3=_0x0405[_0x3e1aba];return _0x3b3ab3;};'use strict';var moment=require(_0x5040('0x0'));var Sequelize=require(_0x5040('0x1'));module[_0x5040('0x2')]={'starttime':{'type':Sequelize['DATE'],'set':function(_0x57f9d5){this['setDataValue']('starttime',_0x57f9d5);this[_0x5040('0x3')]('endtime',moment()[_0x5040('0x4')](_0x5040('0x5')));}},'endtime':{'type':Sequelize['DATE']},'membername':{'type':Sequelize[_0x5040('0x6')]},'projectname':{'type':Sequelize['STRING']},'queue':{'type':Sequelize[_0x5040('0x6')]},'uniqueid':{'type':Sequelize[_0x5040('0x6')]},'calleridname':{'type':Sequelize[_0x5040('0x6')]},'calleridnum':{'type':Sequelize[_0x5040('0x6')]},'completed':{'type':Sequelize[_0x5040('0x7')],'defaultValue':![]}};