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 _0x266a=['moment','sequelize','exports','DATE','starttime','setDataValue','YYYY-MM-DD\x20HH:mm:ss','STRING','BOOLEAN'];(function(_0x2850c0,_0x1363a7){var _0x21e830=function(_0x3ec70a){while(--_0x3ec70a){_0x2850c0['push'](_0x2850c0['shift']());}};_0x21e830(++_0x1363a7);}(_0x266a,0x144));var _0xa266=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x266a[_0x3dd15e];return _0x231fd0;};'use strict';var moment=require(_0xa266('0x0'));var Sequelize=require(_0xa266('0x1'));module[_0xa266('0x2')]={'starttime':{'type':Sequelize[_0xa266('0x3')],'set':function(_0x3e011f){this['setDataValue'](_0xa266('0x4'),_0x3e011f);this[_0xa266('0x5')]('endtime',moment()['format'](_0xa266('0x6')));}},'endtime':{'type':Sequelize[_0xa266('0x3')]},'membername':{'type':Sequelize[_0xa266('0x7')]},'projectname':{'type':Sequelize[_0xa266('0x7')]},'queue':{'type':Sequelize[_0xa266('0x7')]},'uniqueid':{'type':Sequelize[_0xa266('0x7')]},'calleridname':{'type':Sequelize[_0xa266('0x7')]},'calleridnum':{'type':Sequelize[_0xa266('0x7')]},'completed':{'type':Sequelize[_0xa266('0x8')],'defaultValue':![]}};