Built motion from commit 3c2ce842.|2.6.31
[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 _0x6e4b=['STRING','DATE','getDataValue','queuecallerjoinAt','format','YYYY-MM-DD\x20HH:mm:ss','diff','seconds','setDataValue','holdtime','INTEGER','BOOLEAN','COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT','FORWARD,\x20BLIND,\x20ATTENDED','sequelize','moment','exports'];(function(_0x15ac1b,_0x4a313e){var _0x158f91=function(_0x1e861e){while(--_0x1e861e){_0x15ac1b['push'](_0x15ac1b['shift']());}};_0x158f91(++_0x4a313e);}(_0x6e4b,0x195));var _0xb6e4=function(_0x5ae9fc,_0x18070c){_0x5ae9fc=_0x5ae9fc-0x0;var _0x292205=_0x6e4b[_0x5ae9fc];return _0x292205;};'use strict';var Sequelize=require(_0xb6e4('0x0'));var moment=require(_0xb6e4('0x1'));module[_0xb6e4('0x2')]={'type':{'type':Sequelize[_0xb6e4('0x3')]},'uniqueid':{'type':Sequelize[_0xb6e4('0x3')]},'calleridnum':{'type':Sequelize[_0xb6e4('0x3')]},'calleridname':{'type':Sequelize[_0xb6e4('0x3')]},'queue':{'type':Sequelize['STRING']},'queuecallerjoinAt':{'type':Sequelize[_0xb6e4('0x4')]},'queuecallerleaveAt':{'type':Sequelize['DATE'],'set':function(_0xff556f){var _0x351c9d=moment(_0xff556f);var _0x4027e6=moment(this[_0xb6e4('0x5')](_0xb6e4('0x6')))[_0xb6e4('0x7')](_0xb6e4('0x8'));var _0x3b45b7=_0x351c9d[_0xb6e4('0x9')](_0x4027e6,_0xb6e4('0xa'));this[_0xb6e4('0xb')]('queuecallerleaveAt',_0xff556f);this[_0xb6e4('0xb')](_0xb6e4('0xc'),_0x3b45b7||null);}},'position':{'type':Sequelize['INTEGER']},'count':{'type':Sequelize[_0xb6e4('0xd')]},'queuecallerabandon':{'type':Sequelize[_0xb6e4('0xe')],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize['DATE']},'queuecallercomplete':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize['DATE']},'queuecallerexit':{'type':Sequelize[_0xb6e4('0xe')],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize[_0xb6e4('0x4')]},'queuecallerexitreason':{'type':Sequelize[_0xb6e4('0x3')],'comment':_0xb6e4('0xf')},'originalposition':{'type':Sequelize[_0xb6e4('0xd')]},'channel':{'type':Sequelize[_0xb6e4('0x3')]},'connectedlinenum':{'type':Sequelize[_0xb6e4('0x3')]},'connectedlinename':{'type':Sequelize['STRING']},'accountcode':{'type':Sequelize['STRING']},'context':{'type':Sequelize[_0xb6e4('0x3')]},'exten':{'type':Sequelize[_0xb6e4('0x3')]},'priority':{'type':Sequelize[_0xb6e4('0x3')]},'holdtime':{'type':Sequelize[_0xb6e4('0xd')]},'mohtime':{'type':Sequelize[_0xb6e4('0xd')],'defaultValue':0x0},'assigned':{'type':Sequelize[_0xb6e4('0xe')],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize[_0xb6e4('0x3')]},'transfer':{'type':Sequelize[_0xb6e4('0xe')],'defaultValue':![]},'transfertype':{'type':Sequelize[_0xb6e4('0x3')],'comment':_0xb6e4('0x10')},'transferexten':{'type':Sequelize[_0xb6e4('0x3')]},'transferuniqueid':{'type':Sequelize[_0xb6e4('0x3')]},'disposition':{'type':Sequelize[_0xb6e4('0x3')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0xb6e4('0x3')]},'queuecallerenterreason':{'type':Sequelize[_0xb6e4('0xd')],'defaultValue':0x0},'note':{'type':Sequelize['STRING']}};