Built motion from commit 0555bc41.|2.5.41
[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 _0x1768=['YYYY-MM-DD\x20HH:mm:ss','diff','seconds','setDataValue','queuecallerleaveAt','holdtime','INTEGER','BOOLEAN','COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT','sequelize','moment','exports','STRING','DATE','getDataValue','queuecallerjoinAt','format'];(function(_0x4a21ff,_0x1d17ab){var _0x4f26f9=function(_0x3506b3){while(--_0x3506b3){_0x4a21ff['push'](_0x4a21ff['shift']());}};_0x4f26f9(++_0x1d17ab);}(_0x1768,0x14c));var _0x8176=function(_0x2235bf,_0x3a06a7){_0x2235bf=_0x2235bf-0x0;var _0x4c3a64=_0x1768[_0x2235bf];return _0x4c3a64;};'use strict';var Sequelize=require(_0x8176('0x0'));var moment=require(_0x8176('0x1'));module[_0x8176('0x2')]={'type':{'type':Sequelize[_0x8176('0x3')]},'uniqueid':{'type':Sequelize[_0x8176('0x3')]},'calleridnum':{'type':Sequelize[_0x8176('0x3')]},'calleridname':{'type':Sequelize['STRING']},'queue':{'type':Sequelize[_0x8176('0x3')]},'queuecallerjoinAt':{'type':Sequelize[_0x8176('0x4')]},'queuecallerleaveAt':{'type':Sequelize[_0x8176('0x4')],'set':function(_0x3f9aac){var _0x3119f5=moment(_0x3f9aac);var _0x25e52d=moment(this[_0x8176('0x5')](_0x8176('0x6')))[_0x8176('0x7')](_0x8176('0x8'));var _0x2acd1d=_0x3119f5[_0x8176('0x9')](_0x25e52d,_0x8176('0xa'));this[_0x8176('0xb')](_0x8176('0xc'),_0x3f9aac);this[_0x8176('0xb')](_0x8176('0xd'),_0x2acd1d||null);}},'position':{'type':Sequelize[_0x8176('0xe')]},'count':{'type':Sequelize[_0x8176('0xe')]},'queuecallerabandon':{'type':Sequelize[_0x8176('0xf')],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize[_0x8176('0x4')]},'queuecallercomplete':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize[_0x8176('0x4')]},'queuecallerexit':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize['DATE']},'queuecallerexitreason':{'type':Sequelize[_0x8176('0x3')],'comment':_0x8176('0x10')},'originalposition':{'type':Sequelize[_0x8176('0xe')]},'channel':{'type':Sequelize[_0x8176('0x3')]},'connectedlinenum':{'type':Sequelize[_0x8176('0x3')]},'connectedlinename':{'type':Sequelize['STRING']},'accountcode':{'type':Sequelize[_0x8176('0x3')]},'context':{'type':Sequelize[_0x8176('0x3')]},'exten':{'type':Sequelize[_0x8176('0x3')]},'priority':{'type':Sequelize[_0x8176('0x3')]},'holdtime':{'type':Sequelize['INTEGER']},'mohtime':{'type':Sequelize[_0x8176('0xe')],'defaultValue':0x0},'assigned':{'type':Sequelize[_0x8176('0xf')],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize[_0x8176('0x3')]},'transfer':{'type':Sequelize[_0x8176('0xf')],'defaultValue':![]},'transfertype':{'type':Sequelize[_0x8176('0x3')],'comment':'FORWARD,\x20BLIND,\x20ATTENDED'},'transferexten':{'type':Sequelize['STRING']},'transferuniqueid':{'type':Sequelize[_0x8176('0x3')]},'disposition':{'type':Sequelize[_0x8176('0x3')]},'secondDisposition':{'type':Sequelize[_0x8176('0x3')]},'thirdDisposition':{'type':Sequelize[_0x8176('0x3')]},'queuecallerenterreason':{'type':Sequelize[_0x8176('0xe')],'defaultValue':0x0}};