Built motion from commit 85328c08.|2.5.50
[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 _0xfd4a=['INTEGER','COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT','BOOLEAN','FORWARD,\x20BLIND,\x20ATTENDED','sequelize','moment','exports','STRING','DATE','queuecallerjoinAt','format','YYYY-MM-DD\x20HH:mm:ss','diff','seconds','setDataValue','queuecallerleaveAt','holdtime'];(function(_0x51cbec,_0x279f70){var _0x5dde1c=function(_0x110f5e){while(--_0x110f5e){_0x51cbec['push'](_0x51cbec['shift']());}};_0x5dde1c(++_0x279f70);}(_0xfd4a,0x158));var _0xafd4=function(_0x466241,_0x42f815){_0x466241=_0x466241-0x0;var _0x51e0a9=_0xfd4a[_0x466241];return _0x51e0a9;};'use strict';var Sequelize=require(_0xafd4('0x0'));var moment=require(_0xafd4('0x1'));module[_0xafd4('0x2')]={'type':{'type':Sequelize[_0xafd4('0x3')]},'uniqueid':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0xafd4('0x3')]},'queue':{'type':Sequelize[_0xafd4('0x3')]},'queuecallerjoinAt':{'type':Sequelize[_0xafd4('0x4')]},'queuecallerleaveAt':{'type':Sequelize[_0xafd4('0x4')],'set':function(_0x39f71e){var _0x3d1dca=moment(_0x39f71e);var _0xd41b0a=moment(this['getDataValue'](_0xafd4('0x5')))[_0xafd4('0x6')](_0xafd4('0x7'));var _0x464b1e=_0x3d1dca[_0xafd4('0x8')](_0xd41b0a,_0xafd4('0x9'));this[_0xafd4('0xa')](_0xafd4('0xb'),_0x39f71e);this[_0xafd4('0xa')](_0xafd4('0xc'),_0x464b1e||null);}},'position':{'type':Sequelize[_0xafd4('0xd')]},'count':{'type':Sequelize[_0xafd4('0xd')]},'queuecallerabandon':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize[_0xafd4('0x4')]},'queuecallercomplete':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize[_0xafd4('0x4')]},'queuecallerexit':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize[_0xafd4('0x4')]},'queuecallerexitreason':{'type':Sequelize[_0xafd4('0x3')],'comment':_0xafd4('0xe')},'originalposition':{'type':Sequelize[_0xafd4('0xd')]},'channel':{'type':Sequelize['STRING']},'connectedlinenum':{'type':Sequelize[_0xafd4('0x3')]},'connectedlinename':{'type':Sequelize[_0xafd4('0x3')]},'accountcode':{'type':Sequelize[_0xafd4('0x3')]},'context':{'type':Sequelize[_0xafd4('0x3')]},'exten':{'type':Sequelize[_0xafd4('0x3')]},'priority':{'type':Sequelize[_0xafd4('0x3')]},'holdtime':{'type':Sequelize['INTEGER']},'mohtime':{'type':Sequelize[_0xafd4('0xd')],'defaultValue':0x0},'assigned':{'type':Sequelize[_0xafd4('0xf')],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize['STRING']},'transfer':{'type':Sequelize[_0xafd4('0xf')],'defaultValue':![]},'transfertype':{'type':Sequelize[_0xafd4('0x3')],'comment':_0xafd4('0x10')},'transferexten':{'type':Sequelize[_0xafd4('0x3')]},'transferuniqueid':{'type':Sequelize[_0xafd4('0x3')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0xafd4('0x3')]},'thirdDisposition':{'type':Sequelize['STRING']},'queuecallerenterreason':{'type':Sequelize[_0xafd4('0xd')],'defaultValue':0x0}};