Built motion from commit (unavailable).|2.5.0
[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 _0x9bb3=['holdtime','INTEGER','BOOLEAN','FORWARD,\x20BLIND,\x20ATTENDED','sequelize','moment','exports','STRING','DATE','getDataValue','queuecallerjoinAt','format','YYYY-MM-DD\x20HH:mm:ss','diff','seconds','setDataValue'];(function(_0x5b644e,_0x2e5e07){var _0x49c6bf=function(_0x3032d9){while(--_0x3032d9){_0x5b644e['push'](_0x5b644e['shift']());}};_0x49c6bf(++_0x2e5e07);}(_0x9bb3,0x134));var _0x39bb=function(_0x3f1e92,_0x593921){_0x3f1e92=_0x3f1e92-0x0;var _0x2eb985=_0x9bb3[_0x3f1e92];return _0x2eb985;};'use strict';var Sequelize=require(_0x39bb('0x0'));var moment=require(_0x39bb('0x1'));module[_0x39bb('0x2')]={'type':{'type':Sequelize[_0x39bb('0x3')]},'uniqueid':{'type':Sequelize[_0x39bb('0x3')]},'calleridnum':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize['STRING']},'queue':{'type':Sequelize[_0x39bb('0x3')]},'queuecallerjoinAt':{'type':Sequelize[_0x39bb('0x4')]},'queuecallerleaveAt':{'type':Sequelize[_0x39bb('0x4')],'set':function(_0x2e238f){var _0x3c4b39=moment(_0x2e238f);var _0x145a6e=moment(this[_0x39bb('0x5')](_0x39bb('0x6')))[_0x39bb('0x7')](_0x39bb('0x8'));var _0x1e4c98=_0x3c4b39[_0x39bb('0x9')](_0x145a6e,_0x39bb('0xa'));this['setDataValue']('queuecallerleaveAt',_0x2e238f);this[_0x39bb('0xb')](_0x39bb('0xc'),_0x1e4c98||null);}},'position':{'type':Sequelize['INTEGER']},'count':{'type':Sequelize[_0x39bb('0xd')]},'queuecallerabandon':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize[_0x39bb('0x4')]},'queuecallercomplete':{'type':Sequelize[_0x39bb('0xe')],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize[_0x39bb('0x4')]},'queuecallerexit':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize[_0x39bb('0x4')]},'queuecallerexitreason':{'type':Sequelize['STRING'],'comment':'COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT'},'originalposition':{'type':Sequelize[_0x39bb('0xd')]},'channel':{'type':Sequelize[_0x39bb('0x3')]},'connectedlinenum':{'type':Sequelize[_0x39bb('0x3')]},'connectedlinename':{'type':Sequelize[_0x39bb('0x3')]},'accountcode':{'type':Sequelize[_0x39bb('0x3')]},'context':{'type':Sequelize[_0x39bb('0x3')]},'exten':{'type':Sequelize[_0x39bb('0x3')]},'priority':{'type':Sequelize['STRING']},'holdtime':{'type':Sequelize['INTEGER']},'mohtime':{'type':Sequelize[_0x39bb('0xd')],'defaultValue':0x0},'assigned':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize[_0x39bb('0x3')]},'transfer':{'type':Sequelize[_0x39bb('0xe')],'defaultValue':![]},'transfertype':{'type':Sequelize[_0x39bb('0x3')],'comment':_0x39bb('0xf')},'transferexten':{'type':Sequelize[_0x39bb('0x3')]},'transferuniqueid':{'type':Sequelize[_0x39bb('0x3')]},'disposition':{'type':Sequelize[_0x39bb('0x3')]},'queuecallerenterreason':{'type':Sequelize[_0x39bb('0xd')],'defaultValue':0x0}};