Built motion from commit ddca4d0d.|2.5.47
[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 _0xc33e=['sequelize','moment','exports','STRING','DATE','getDataValue','queuecallerjoinAt','format','YYYY-MM-DD\x20HH:mm:ss','diff','seconds','setDataValue','holdtime','BOOLEAN','COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT','INTEGER'];(function(_0x4a5bc7,_0x285a68){var _0x5451a2=function(_0x37a543){while(--_0x37a543){_0x4a5bc7['push'](_0x4a5bc7['shift']());}};_0x5451a2(++_0x285a68);}(_0xc33e,0x140));var _0xec33=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0xc33e[_0x321bb2];return _0x9c12ed;};'use strict';var Sequelize=require(_0xec33('0x0'));var moment=require(_0xec33('0x1'));module[_0xec33('0x2')]={'type':{'type':Sequelize[_0xec33('0x3')]},'uniqueid':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0xec33('0x3')]},'queue':{'type':Sequelize[_0xec33('0x3')]},'queuecallerjoinAt':{'type':Sequelize[_0xec33('0x4')]},'queuecallerleaveAt':{'type':Sequelize[_0xec33('0x4')],'set':function(_0x29381e){var _0x4ff633=moment(_0x29381e);var _0x39c5b5=moment(this[_0xec33('0x5')](_0xec33('0x6')))[_0xec33('0x7')](_0xec33('0x8'));var _0xf1e87b=_0x4ff633[_0xec33('0x9')](_0x39c5b5,_0xec33('0xa'));this[_0xec33('0xb')]('queuecallerleaveAt',_0x29381e);this[_0xec33('0xb')](_0xec33('0xc'),_0xf1e87b||null);}},'position':{'type':Sequelize['INTEGER']},'count':{'type':Sequelize['INTEGER']},'queuecallerabandon':{'type':Sequelize[_0xec33('0xd')],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize['DATE']},'queuecallercomplete':{'type':Sequelize[_0xec33('0xd')],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize[_0xec33('0x4')]},'queuecallerexit':{'type':Sequelize[_0xec33('0xd')],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize[_0xec33('0x4')]},'queuecallerexitreason':{'type':Sequelize[_0xec33('0x3')],'comment':_0xec33('0xe')},'originalposition':{'type':Sequelize[_0xec33('0xf')]},'channel':{'type':Sequelize[_0xec33('0x3')]},'connectedlinenum':{'type':Sequelize[_0xec33('0x3')]},'connectedlinename':{'type':Sequelize[_0xec33('0x3')]},'accountcode':{'type':Sequelize['STRING']},'context':{'type':Sequelize[_0xec33('0x3')]},'exten':{'type':Sequelize['STRING']},'priority':{'type':Sequelize[_0xec33('0x3')]},'holdtime':{'type':Sequelize[_0xec33('0xf')]},'mohtime':{'type':Sequelize[_0xec33('0xf')],'defaultValue':0x0},'assigned':{'type':Sequelize[_0xec33('0xd')],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize['STRING']},'transfer':{'type':Sequelize[_0xec33('0xd')],'defaultValue':![]},'transfertype':{'type':Sequelize[_0xec33('0x3')],'comment':'FORWARD,\x20BLIND,\x20ATTENDED'},'transferexten':{'type':Sequelize['STRING']},'transferuniqueid':{'type':Sequelize['STRING']},'disposition':{'type':Sequelize[_0xec33('0x3')]},'secondDisposition':{'type':Sequelize[_0xec33('0x3')]},'thirdDisposition':{'type':Sequelize[_0xec33('0x3')]},'queuecallerenterreason':{'type':Sequelize['INTEGER'],'defaultValue':0x0}};