Built motion from commit 167bccf5.|2.6.7
[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 _0xa2fe=['BOOLEAN','COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT','FORWARD,\x20BLIND,\x20ATTENDED','moment','exports','STRING','DATE','getDataValue','queuecallerjoinAt','format','YYYY-MM-DD\x20HH:mm:ss','diff','seconds','queuecallerleaveAt','holdtime','INTEGER'];(function(_0x46361e,_0x243aaf){var _0x14e302=function(_0x9ebecf){while(--_0x9ebecf){_0x46361e['push'](_0x46361e['shift']());}};_0x14e302(++_0x243aaf);}(_0xa2fe,0x153));var _0xea2f=function(_0x11e03f,_0x20b967){_0x11e03f=_0x11e03f-0x0;var _0x5666fe=_0xa2fe[_0x11e03f];return _0x5666fe;};'use strict';var Sequelize=require('sequelize');var moment=require(_0xea2f('0x0'));module[_0xea2f('0x1')]={'type':{'type':Sequelize[_0xea2f('0x2')]},'uniqueid':{'type':Sequelize[_0xea2f('0x2')]},'calleridnum':{'type':Sequelize[_0xea2f('0x2')]},'calleridname':{'type':Sequelize[_0xea2f('0x2')]},'queue':{'type':Sequelize[_0xea2f('0x2')]},'queuecallerjoinAt':{'type':Sequelize[_0xea2f('0x3')]},'queuecallerleaveAt':{'type':Sequelize[_0xea2f('0x3')],'set':function(_0x306a79){var _0x41c9f1=moment(_0x306a79);var _0x8ecaf4=moment(this[_0xea2f('0x4')](_0xea2f('0x5')))[_0xea2f('0x6')](_0xea2f('0x7'));var _0x32e6d7=_0x41c9f1[_0xea2f('0x8')](_0x8ecaf4,_0xea2f('0x9'));this['setDataValue'](_0xea2f('0xa'),_0x306a79);this['setDataValue'](_0xea2f('0xb'),_0x32e6d7||null);}},'position':{'type':Sequelize['INTEGER']},'count':{'type':Sequelize[_0xea2f('0xc')]},'queuecallerabandon':{'type':Sequelize[_0xea2f('0xd')],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize[_0xea2f('0x3')]},'queuecallercomplete':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize['DATE']},'queuecallerexit':{'type':Sequelize[_0xea2f('0xd')],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize[_0xea2f('0x3')]},'queuecallerexitreason':{'type':Sequelize[_0xea2f('0x2')],'comment':_0xea2f('0xe')},'originalposition':{'type':Sequelize[_0xea2f('0xc')]},'channel':{'type':Sequelize[_0xea2f('0x2')]},'connectedlinenum':{'type':Sequelize[_0xea2f('0x2')]},'connectedlinename':{'type':Sequelize[_0xea2f('0x2')]},'accountcode':{'type':Sequelize[_0xea2f('0x2')]},'context':{'type':Sequelize[_0xea2f('0x2')]},'exten':{'type':Sequelize['STRING']},'priority':{'type':Sequelize[_0xea2f('0x2')]},'holdtime':{'type':Sequelize[_0xea2f('0xc')]},'mohtime':{'type':Sequelize[_0xea2f('0xc')],'defaultValue':0x0},'assigned':{'type':Sequelize[_0xea2f('0xd')],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize[_0xea2f('0x2')]},'transfer':{'type':Sequelize[_0xea2f('0xd')],'defaultValue':![]},'transfertype':{'type':Sequelize['STRING'],'comment':_0xea2f('0xf')},'transferexten':{'type':Sequelize[_0xea2f('0x2')]},'transferuniqueid':{'type':Sequelize['STRING']},'disposition':{'type':Sequelize[_0xea2f('0x2')]},'secondDisposition':{'type':Sequelize[_0xea2f('0x2')]},'thirdDisposition':{'type':Sequelize[_0xea2f('0x2')]},'queuecallerenterreason':{'type':Sequelize[_0xea2f('0xc')],'defaultValue':0x0}};