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