Built motion from commit e1760111.|2.6.18
[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 _0xf7ee=['queuecallerleaveAt','holdtime','INTEGER','BOOLEAN','DATE','COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT','sequelize','moment','exports','STRING','getDataValue','queuecallerjoinAt','format','YYYY-MM-DD\x20HH:mm:ss','diff','seconds','setDataValue'];(function(_0x1cd47d,_0x55bc75){var _0x29d52f=function(_0x37737a){while(--_0x37737a){_0x1cd47d['push'](_0x1cd47d['shift']());}};_0x29d52f(++_0x55bc75);}(_0xf7ee,0x15a));var _0xef7e=function(_0x46b1bc,_0x7a279){_0x46b1bc=_0x46b1bc-0x0;var _0x42899=_0xf7ee[_0x46b1bc];return _0x42899;};'use strict';var Sequelize=require(_0xef7e('0x0'));var moment=require(_0xef7e('0x1'));module[_0xef7e('0x2')]={'type':{'type':Sequelize[_0xef7e('0x3')]},'uniqueid':{'type':Sequelize[_0xef7e('0x3')]},'calleridnum':{'type':Sequelize[_0xef7e('0x3')]},'calleridname':{'type':Sequelize[_0xef7e('0x3')]},'queue':{'type':Sequelize[_0xef7e('0x3')]},'queuecallerjoinAt':{'type':Sequelize['DATE']},'queuecallerleaveAt':{'type':Sequelize['DATE'],'set':function(_0x274340){var _0x11ec3c=moment(_0x274340);var _0x58d5b0=moment(this[_0xef7e('0x4')](_0xef7e('0x5')))[_0xef7e('0x6')](_0xef7e('0x7'));var _0x5e00ea=_0x11ec3c[_0xef7e('0x8')](_0x58d5b0,_0xef7e('0x9'));this[_0xef7e('0xa')](_0xef7e('0xb'),_0x274340);this[_0xef7e('0xa')](_0xef7e('0xc'),_0x5e00ea||null);}},'position':{'type':Sequelize[_0xef7e('0xd')]},'count':{'type':Sequelize[_0xef7e('0xd')]},'queuecallerabandon':{'type':Sequelize[_0xef7e('0xe')],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize['DATE']},'queuecallercomplete':{'type':Sequelize[_0xef7e('0xe')],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize[_0xef7e('0xf')]},'queuecallerexit':{'type':Sequelize[_0xef7e('0xe')],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize['DATE']},'queuecallerexitreason':{'type':Sequelize['STRING'],'comment':_0xef7e('0x10')},'originalposition':{'type':Sequelize[_0xef7e('0xd')]},'channel':{'type':Sequelize[_0xef7e('0x3')]},'connectedlinenum':{'type':Sequelize['STRING']},'connectedlinename':{'type':Sequelize[_0xef7e('0x3')]},'accountcode':{'type':Sequelize[_0xef7e('0x3')]},'context':{'type':Sequelize[_0xef7e('0x3')]},'exten':{'type':Sequelize[_0xef7e('0x3')]},'priority':{'type':Sequelize['STRING']},'holdtime':{'type':Sequelize['INTEGER']},'mohtime':{'type':Sequelize[_0xef7e('0xd')],'defaultValue':0x0},'assigned':{'type':Sequelize[_0xef7e('0xe')],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize[_0xef7e('0x3')]},'transfer':{'type':Sequelize[_0xef7e('0xe')],'defaultValue':![]},'transfertype':{'type':Sequelize['STRING'],'comment':'FORWARD,\x20BLIND,\x20ATTENDED'},'transferexten':{'type':Sequelize[_0xef7e('0x3')]},'transferuniqueid':{'type':Sequelize[_0xef7e('0x3')]},'disposition':{'type':Sequelize[_0xef7e('0x3')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0xef7e('0x3')]},'queuecallerenterreason':{'type':Sequelize[_0xef7e('0xd')],'defaultValue':0x0},'note':{'type':Sequelize[_0xef7e('0x3')]}};