Built motion from commit 9d0783e6.|2.6.13
[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 _0x0944=['COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT','FORWARD,\x20BLIND,\x20ATTENDED','sequelize','moment','exports','STRING','DATE','getDataValue','queuecallerjoinAt','YYYY-MM-DD\x20HH:mm:ss','diff','seconds','queuecallerleaveAt','setDataValue','holdtime','INTEGER','BOOLEAN'];(function(_0xb24a3e,_0x4a3594){var _0x4038d7=function(_0x1ea3c3){while(--_0x1ea3c3){_0xb24a3e['push'](_0xb24a3e['shift']());}};_0x4038d7(++_0x4a3594);}(_0x0944,0x189));var _0x4094=function(_0x5f3f88,_0x562baf){_0x5f3f88=_0x5f3f88-0x0;var _0xd08119=_0x0944[_0x5f3f88];return _0xd08119;};'use strict';var Sequelize=require(_0x4094('0x0'));var moment=require(_0x4094('0x1'));module[_0x4094('0x2')]={'type':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize[_0x4094('0x3')]},'calleridnum':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize['STRING']},'queue':{'type':Sequelize[_0x4094('0x3')]},'queuecallerjoinAt':{'type':Sequelize[_0x4094('0x4')]},'queuecallerleaveAt':{'type':Sequelize[_0x4094('0x4')],'set':function(_0x3cbdf6){var _0x9ba1b5=moment(_0x3cbdf6);var _0x2f334c=moment(this[_0x4094('0x5')](_0x4094('0x6')))['format'](_0x4094('0x7'));var _0x17e977=_0x9ba1b5[_0x4094('0x8')](_0x2f334c,_0x4094('0x9'));this['setDataValue'](_0x4094('0xa'),_0x3cbdf6);this[_0x4094('0xb')](_0x4094('0xc'),_0x17e977||null);}},'position':{'type':Sequelize[_0x4094('0xd')]},'count':{'type':Sequelize['INTEGER']},'queuecallerabandon':{'type':Sequelize[_0x4094('0xe')],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize[_0x4094('0x4')]},'queuecallercomplete':{'type':Sequelize[_0x4094('0xe')],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize[_0x4094('0x4')]},'queuecallerexit':{'type':Sequelize[_0x4094('0xe')],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize[_0x4094('0x4')]},'queuecallerexitreason':{'type':Sequelize[_0x4094('0x3')],'comment':_0x4094('0xf')},'originalposition':{'type':Sequelize[_0x4094('0xd')]},'channel':{'type':Sequelize[_0x4094('0x3')]},'connectedlinenum':{'type':Sequelize['STRING']},'connectedlinename':{'type':Sequelize['STRING']},'accountcode':{'type':Sequelize[_0x4094('0x3')]},'context':{'type':Sequelize[_0x4094('0x3')]},'exten':{'type':Sequelize[_0x4094('0x3')]},'priority':{'type':Sequelize[_0x4094('0x3')]},'holdtime':{'type':Sequelize[_0x4094('0xd')]},'mohtime':{'type':Sequelize[_0x4094('0xd')],'defaultValue':0x0},'assigned':{'type':Sequelize[_0x4094('0xe')],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize[_0x4094('0x3')]},'transfer':{'type':Sequelize[_0x4094('0xe')],'defaultValue':![]},'transfertype':{'type':Sequelize[_0x4094('0x3')],'comment':_0x4094('0x10')},'transferexten':{'type':Sequelize[_0x4094('0x3')]},'transferuniqueid':{'type':Sequelize[_0x4094('0x3')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0x4094('0x3')]},'thirdDisposition':{'type':Sequelize[_0x4094('0x3')]},'queuecallerenterreason':{'type':Sequelize[_0x4094('0xd')],'defaultValue':0x0},'note':{'type':Sequelize['STRING']}};