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 _0xac3c=['STRING','sequelize','exports','setDataValue','endtime','format','YYYY-MM-DD\x20HH:mm:ss'];(function(_0x4ed6c5,_0x382f08){var _0x43754b=function(_0x3d93b4){while(--_0x3d93b4){_0x4ed6c5['push'](_0x4ed6c5['shift']());}};_0x43754b(++_0x382f08);}(_0xac3c,0x1eb));var _0xcac3=function(_0x2e6251,_0x361899){_0x2e6251=_0x2e6251-0x0;var _0x4b4261=_0xac3c[_0x2e6251];return _0x4b4261;};'use strict';var moment=require('moment');var Sequelize=require(_0xcac3('0x0'));module[_0xcac3('0x1')]={'starttime':{'type':Sequelize['DATE'],'set':function(_0xc06ea3){this['setDataValue']('starttime',_0xc06ea3);this[_0xcac3('0x2')](_0xcac3('0x3'),moment()[_0xcac3('0x4')](_0xcac3('0x5')));}},'endtime':{'type':Sequelize['DATE']},'membername':{'type':Sequelize[_0xcac3('0x6')]},'projectname':{'type':Sequelize['STRING']},'queue':{'type':Sequelize[_0xcac3('0x6')]},'uniqueid':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0xcac3('0x6')]},'calleridnum':{'type':Sequelize[_0xcac3('0x6')]},'completed':{'type':Sequelize['BOOLEAN'],'defaultValue':![]}};