Built motion from commit 994c64e1.|2.6.1
[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 _0xc661=['seconds','setDataValue','holdtime','INTEGER','BOOLEAN','FORWARD,\x20BLIND,\x20ATTENDED','sequelize','moment','STRING','DATE','getDataValue','queuecallerjoinAt','format','YYYY-MM-DD\x20HH:mm:ss','diff'];(function(_0x5db66a,_0x4dcead){var _0x2404ed=function(_0x119c9f){while(--_0x119c9f){_0x5db66a['push'](_0x5db66a['shift']());}};_0x2404ed(++_0x4dcead);}(_0xc661,0x105));var _0x1c66=function(_0x4ed520,_0x21be63){_0x4ed520=_0x4ed520-0x0;var _0x4415a6=_0xc661[_0x4ed520];return _0x4415a6;};'use strict';var Sequelize=require(_0x1c66('0x0'));var moment=require(_0x1c66('0x1'));module['exports']={'type':{'type':Sequelize[_0x1c66('0x2')]},'uniqueid':{'type':Sequelize[_0x1c66('0x2')]},'calleridnum':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0x1c66('0x2')]},'queue':{'type':Sequelize[_0x1c66('0x2')]},'queuecallerjoinAt':{'type':Sequelize[_0x1c66('0x3')]},'queuecallerleaveAt':{'type':Sequelize['DATE'],'set':function(_0x58c318){var _0x50d71c=moment(_0x58c318);var _0x12bc92=moment(this[_0x1c66('0x4')](_0x1c66('0x5')))[_0x1c66('0x6')](_0x1c66('0x7'));var _0x4c5746=_0x50d71c[_0x1c66('0x8')](_0x12bc92,_0x1c66('0x9'));this[_0x1c66('0xa')]('queuecallerleaveAt',_0x58c318);this['setDataValue'](_0x1c66('0xb'),_0x4c5746||null);}},'position':{'type':Sequelize[_0x1c66('0xc')]},'count':{'type':Sequelize[_0x1c66('0xc')]},'queuecallerabandon':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize[_0x1c66('0x3')]},'queuecallercomplete':{'type':Sequelize[_0x1c66('0xd')],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize['DATE']},'queuecallerexit':{'type':Sequelize[_0x1c66('0xd')],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize[_0x1c66('0x3')]},'queuecallerexitreason':{'type':Sequelize[_0x1c66('0x2')],'comment':'COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT'},'originalposition':{'type':Sequelize[_0x1c66('0xc')]},'channel':{'type':Sequelize[_0x1c66('0x2')]},'connectedlinenum':{'type':Sequelize[_0x1c66('0x2')]},'connectedlinename':{'type':Sequelize['STRING']},'accountcode':{'type':Sequelize['STRING']},'context':{'type':Sequelize[_0x1c66('0x2')]},'exten':{'type':Sequelize['STRING']},'priority':{'type':Sequelize[_0x1c66('0x2')]},'holdtime':{'type':Sequelize[_0x1c66('0xc')]},'mohtime':{'type':Sequelize[_0x1c66('0xc')],'defaultValue':0x0},'assigned':{'type':Sequelize[_0x1c66('0xd')],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize[_0x1c66('0x2')]},'transfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'transfertype':{'type':Sequelize[_0x1c66('0x2')],'comment':_0x1c66('0xe')},'transferexten':{'type':Sequelize['STRING']},'transferuniqueid':{'type':Sequelize[_0x1c66('0x2')]},'disposition':{'type':Sequelize[_0x1c66('0x2')]},'secondDisposition':{'type':Sequelize[_0x1c66('0x2')]},'thirdDisposition':{'type':Sequelize[_0x1c66('0x2')]},'queuecallerenterreason':{'type':Sequelize['INTEGER'],'defaultValue':0x0}};