5a1f57bc265e8d141eefcca85998aa0c9bf6e2ed
[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 _0x3c2c=['setDataValue','queuecallerleaveAt','holdtime','INTEGER','BOOLEAN','moment','exports','STRING','DATE','getDataValue','queuecallerjoinAt','format','YYYY-MM-DD\x20HH:mm:ss','seconds'];(function(_0x31a576,_0x424419){var _0x30b1d3=function(_0x4710e8){while(--_0x4710e8){_0x31a576['push'](_0x31a576['shift']());}};_0x30b1d3(++_0x424419);}(_0x3c2c,0xf3));var _0xc3c2=function(_0x4d6714,_0x192d7e){_0x4d6714=_0x4d6714-0x0;var _0x49ac46=_0x3c2c[_0x4d6714];return _0x49ac46;};'use strict';var Sequelize=require('sequelize');var moment=require(_0xc3c2('0x0'));module[_0xc3c2('0x1')]={'type':{'type':Sequelize[_0xc3c2('0x2')]},'uniqueid':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0xc3c2('0x2')]},'calleridname':{'type':Sequelize['STRING']},'queue':{'type':Sequelize[_0xc3c2('0x2')]},'queuecallerjoinAt':{'type':Sequelize[_0xc3c2('0x3')]},'queuecallerleaveAt':{'type':Sequelize[_0xc3c2('0x3')],'set':function(_0x26092d){var _0x13120f=moment(_0x26092d);var _0x476650=moment(this[_0xc3c2('0x4')](_0xc3c2('0x5')))[_0xc3c2('0x6')](_0xc3c2('0x7'));var _0x112fab=_0x13120f['diff'](_0x476650,_0xc3c2('0x8'));this[_0xc3c2('0x9')](_0xc3c2('0xa'),_0x26092d);this[_0xc3c2('0x9')](_0xc3c2('0xb'),_0x112fab||null);}},'position':{'type':Sequelize[_0xc3c2('0xc')]},'count':{'type':Sequelize['INTEGER']},'queuecallerabandon':{'type':Sequelize[_0xc3c2('0xd')],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize[_0xc3c2('0x3')]},'queuecallercomplete':{'type':Sequelize[_0xc3c2('0xd')],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize[_0xc3c2('0x3')]},'queuecallerexit':{'type':Sequelize[_0xc3c2('0xd')],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize[_0xc3c2('0x3')]},'queuecallerexitreason':{'type':Sequelize[_0xc3c2('0x2')],'comment':'COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT'},'originalposition':{'type':Sequelize[_0xc3c2('0xc')]},'channel':{'type':Sequelize[_0xc3c2('0x2')]},'connectedlinenum':{'type':Sequelize['STRING']},'connectedlinename':{'type':Sequelize[_0xc3c2('0x2')]},'accountcode':{'type':Sequelize['STRING']},'context':{'type':Sequelize['STRING']},'exten':{'type':Sequelize[_0xc3c2('0x2')]},'priority':{'type':Sequelize[_0xc3c2('0x2')]},'holdtime':{'type':Sequelize[_0xc3c2('0xc')]},'mohtime':{'type':Sequelize[_0xc3c2('0xc')],'defaultValue':0x0},'assigned':{'type':Sequelize[_0xc3c2('0xd')],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize[_0xc3c2('0x2')]},'transfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'transfertype':{'type':Sequelize[_0xc3c2('0x2')],'comment':'FORWARD,\x20BLIND,\x20ATTENDED'},'transferexten':{'type':Sequelize[_0xc3c2('0x2')]},'transferuniqueid':{'type':Sequelize[_0xc3c2('0x2')]},'disposition':{'type':Sequelize[_0xc3c2('0x2')]},'secondDisposition':{'type':Sequelize[_0xc3c2('0x2')]},'thirdDisposition':{'type':Sequelize[_0xc3c2('0x2')]},'queuecallerenterreason':{'type':Sequelize[_0xc3c2('0xc')],'defaultValue':0x0}};