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 _0x8d29=['setDataValue','endtime','format','YYYY-MM-DD\x20HH:mm:ss','STRING','BOOLEAN','sequelize','exports','DATE','starttime'];(function(_0x15fc7a,_0xd21741){var _0x3aa9f4=function(_0x313108){while(--_0x313108){_0x15fc7a['push'](_0x15fc7a['shift']());}};_0x3aa9f4(++_0xd21741);}(_0x8d29,0x1c8));var _0x98d2=function(_0xc8c000,_0x52e4cd){_0xc8c000=_0xc8c000-0x0;var _0x51bdb3=_0x8d29[_0xc8c000];return _0x51bdb3;};'use strict';var moment=require('moment');var Sequelize=require(_0x98d2('0x0'));module[_0x98d2('0x1')]={'starttime':{'type':Sequelize[_0x98d2('0x2')],'set':function(_0x24b3da){this['setDataValue'](_0x98d2('0x3'),_0x24b3da);this[_0x98d2('0x4')](_0x98d2('0x5'),moment()[_0x98d2('0x6')](_0x98d2('0x7')));}},'endtime':{'type':Sequelize['DATE']},'membername':{'type':Sequelize[_0x98d2('0x8')]},'projectname':{'type':Sequelize[_0x98d2('0x8')]},'queue':{'type':Sequelize[_0x98d2('0x8')]},'uniqueid':{'type':Sequelize[_0x98d2('0x8')]},'calleridname':{'type':Sequelize[_0x98d2('0x8')]},'calleridnum':{'type':Sequelize[_0x98d2('0x8')]},'completed':{'type':Sequelize[_0x98d2('0x9')],'defaultValue':![]}};