d75d5928792122421b057f806fee3261f9056897
[motion2.git] / server / api / voiceQueueReport / voiceQueueReport.attributes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x4bb2=['getDataValue','queuecallerjoinAt','format','YYYY-MM-DD\x20HH:mm:ss','diff','seconds','setDataValue','queuecallerleaveAt','holdtime','INTEGER','BOOLEAN','COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT','sequelize','exports','STRING','DATE'];(function(_0x4a9fb1,_0x273043){var _0x348672=function(_0x142b69){while(--_0x142b69){_0x4a9fb1['push'](_0x4a9fb1['shift']());}};_0x348672(++_0x273043);}(_0x4bb2,0x11c));var _0x24bb=function(_0x1dcd05,_0x29862f){_0x1dcd05=_0x1dcd05-0x0;var _0x8ed56d=_0x4bb2[_0x1dcd05];return _0x8ed56d;};'use strict';var Sequelize=require(_0x24bb('0x0'));var moment=require('moment');module[_0x24bb('0x1')]={'type':{'type':Sequelize[_0x24bb('0x2')]},'uniqueid':{'type':Sequelize[_0x24bb('0x2')]},'calleridnum':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0x24bb('0x2')]},'queue':{'type':Sequelize[_0x24bb('0x2')]},'queuecallerjoinAt':{'type':Sequelize['DATE']},'queuecallerleaveAt':{'type':Sequelize[_0x24bb('0x3')],'set':function(_0x2fe9dd){var _0x3236ff=moment(_0x2fe9dd);var _0x12d63c=moment(this[_0x24bb('0x4')](_0x24bb('0x5')))[_0x24bb('0x6')](_0x24bb('0x7'));var _0x1a9fcc=_0x3236ff[_0x24bb('0x8')](_0x12d63c,_0x24bb('0x9'));this[_0x24bb('0xa')](_0x24bb('0xb'),_0x2fe9dd);this[_0x24bb('0xa')](_0x24bb('0xc'),_0x1a9fcc||null);}},'position':{'type':Sequelize[_0x24bb('0xd')]},'count':{'type':Sequelize[_0x24bb('0xd')]},'queuecallerabandon':{'type':Sequelize[_0x24bb('0xe')],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize[_0x24bb('0x3')]},'queuecallercomplete':{'type':Sequelize[_0x24bb('0xe')],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize[_0x24bb('0x3')]},'queuecallerexit':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize[_0x24bb('0x3')]},'queuecallerexitreason':{'type':Sequelize[_0x24bb('0x2')],'comment':_0x24bb('0xf')},'originalposition':{'type':Sequelize[_0x24bb('0xd')]},'channel':{'type':Sequelize['STRING']},'connectedlinenum':{'type':Sequelize[_0x24bb('0x2')]},'connectedlinename':{'type':Sequelize[_0x24bb('0x2')]},'accountcode':{'type':Sequelize['STRING']},'context':{'type':Sequelize[_0x24bb('0x2')]},'exten':{'type':Sequelize['STRING']},'priority':{'type':Sequelize[_0x24bb('0x2')]},'holdtime':{'type':Sequelize[_0x24bb('0xd')]},'mohtime':{'type':Sequelize[_0x24bb('0xd')],'defaultValue':0x0},'assigned':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize[_0x24bb('0x2')]},'transfer':{'type':Sequelize[_0x24bb('0xe')],'defaultValue':![]},'transfertype':{'type':Sequelize['STRING'],'comment':'FORWARD,\x20BLIND,\x20ATTENDED'},'transferexten':{'type':Sequelize[_0x24bb('0x2')]},'transferuniqueid':{'type':Sequelize[_0x24bb('0x2')]},'disposition':{'type':Sequelize['STRING']},'queuecallerenterreason':{'type':Sequelize[_0x24bb('0xd')],'defaultValue':0x0}};