Built motion from commit ab870f9e.|2.5.44
[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 _0xf324=['STRING','DATE','getDataValue','queuecallerjoinAt','format','diff','INTEGER','BOOLEAN','COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT','sequelize','moment','exports'];(function(_0x80531e,_0x980d08){var _0x36fcae=function(_0x36807b){while(--_0x36807b){_0x80531e['push'](_0x80531e['shift']());}};_0x36fcae(++_0x980d08);}(_0xf324,0x8d));var _0x4f32=function(_0x25c007,_0x14558e){_0x25c007=_0x25c007-0x0;var _0x5ef9aa=_0xf324[_0x25c007];return _0x5ef9aa;};'use strict';var Sequelize=require(_0x4f32('0x0'));var moment=require(_0x4f32('0x1'));module[_0x4f32('0x2')]={'type':{'type':Sequelize[_0x4f32('0x3')]},'uniqueid':{'type':Sequelize[_0x4f32('0x3')]},'calleridnum':{'type':Sequelize[_0x4f32('0x3')]},'calleridname':{'type':Sequelize[_0x4f32('0x3')]},'queue':{'type':Sequelize['STRING']},'queuecallerjoinAt':{'type':Sequelize[_0x4f32('0x4')]},'queuecallerleaveAt':{'type':Sequelize[_0x4f32('0x4')],'set':function(_0x5334da){var _0x2fb694=moment(_0x5334da);var _0x2ee669=moment(this[_0x4f32('0x5')](_0x4f32('0x6')))[_0x4f32('0x7')]('YYYY-MM-DD\x20HH:mm:ss');var _0x3b6d9b=_0x2fb694[_0x4f32('0x8')](_0x2ee669,'seconds');this['setDataValue']('queuecallerleaveAt',_0x5334da);this['setDataValue']('holdtime',_0x3b6d9b||null);}},'position':{'type':Sequelize[_0x4f32('0x9')]},'count':{'type':Sequelize['INTEGER']},'queuecallerabandon':{'type':Sequelize[_0x4f32('0xa')],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize[_0x4f32('0x4')]},'queuecallercomplete':{'type':Sequelize[_0x4f32('0xa')],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize['DATE']},'queuecallerexit':{'type':Sequelize[_0x4f32('0xa')],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize[_0x4f32('0x4')]},'queuecallerexitreason':{'type':Sequelize[_0x4f32('0x3')],'comment':_0x4f32('0xb')},'originalposition':{'type':Sequelize['INTEGER']},'channel':{'type':Sequelize[_0x4f32('0x3')]},'connectedlinenum':{'type':Sequelize[_0x4f32('0x3')]},'connectedlinename':{'type':Sequelize['STRING']},'accountcode':{'type':Sequelize[_0x4f32('0x3')]},'context':{'type':Sequelize[_0x4f32('0x3')]},'exten':{'type':Sequelize['STRING']},'priority':{'type':Sequelize[_0x4f32('0x3')]},'holdtime':{'type':Sequelize[_0x4f32('0x9')]},'mohtime':{'type':Sequelize[_0x4f32('0x9')],'defaultValue':0x0},'assigned':{'type':Sequelize[_0x4f32('0xa')],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize[_0x4f32('0x3')]},'transfer':{'type':Sequelize[_0x4f32('0xa')],'defaultValue':![]},'transfertype':{'type':Sequelize[_0x4f32('0x3')],'comment':'FORWARD,\x20BLIND,\x20ATTENDED'},'transferexten':{'type':Sequelize[_0x4f32('0x3')]},'transferuniqueid':{'type':Sequelize[_0x4f32('0x3')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0x4f32('0x3')]},'thirdDisposition':{'type':Sequelize[_0x4f32('0x3')]},'queuecallerenterreason':{'type':Sequelize[_0x4f32('0x9')],'defaultValue':0x0}};