Built motion from commit 97153652.|2.6.26
[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 _0xa9e1=['FORWARD,\x20BLIND,\x20ATTENDED','sequelize','exports','STRING','DATE','getDataValue','queuecallerjoinAt','format','YYYY-MM-DD\x20HH:mm:ss','diff','seconds','setDataValue','queuecallerleaveAt','holdtime','INTEGER','BOOLEAN','COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT'];(function(_0x54077b,_0x3be0ab){var _0x4d1d1d=function(_0x35527d){while(--_0x35527d){_0x54077b['push'](_0x54077b['shift']());}};_0x4d1d1d(++_0x3be0ab);}(_0xa9e1,0x166));var _0x1a9e=function(_0x366e99,_0x15d82d){_0x366e99=_0x366e99-0x0;var _0x180bbe=_0xa9e1[_0x366e99];return _0x180bbe;};'use strict';var Sequelize=require(_0x1a9e('0x0'));var moment=require('moment');module[_0x1a9e('0x1')]={'type':{'type':Sequelize[_0x1a9e('0x2')]},'uniqueid':{'type':Sequelize[_0x1a9e('0x2')]},'calleridnum':{'type':Sequelize[_0x1a9e('0x2')]},'calleridname':{'type':Sequelize['STRING']},'queue':{'type':Sequelize[_0x1a9e('0x2')]},'queuecallerjoinAt':{'type':Sequelize[_0x1a9e('0x3')]},'queuecallerleaveAt':{'type':Sequelize[_0x1a9e('0x3')],'set':function(_0x9d5fba){var _0x17adc8=moment(_0x9d5fba);var _0x477acf=moment(this[_0x1a9e('0x4')](_0x1a9e('0x5')))[_0x1a9e('0x6')](_0x1a9e('0x7'));var _0x233556=_0x17adc8[_0x1a9e('0x8')](_0x477acf,_0x1a9e('0x9'));this[_0x1a9e('0xa')](_0x1a9e('0xb'),_0x9d5fba);this[_0x1a9e('0xa')](_0x1a9e('0xc'),_0x233556||null);}},'position':{'type':Sequelize[_0x1a9e('0xd')]},'count':{'type':Sequelize['INTEGER']},'queuecallerabandon':{'type':Sequelize[_0x1a9e('0xe')],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize[_0x1a9e('0x3')]},'queuecallercomplete':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize[_0x1a9e('0x3')]},'queuecallerexit':{'type':Sequelize[_0x1a9e('0xe')],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize['DATE']},'queuecallerexitreason':{'type':Sequelize[_0x1a9e('0x2')],'comment':_0x1a9e('0xf')},'originalposition':{'type':Sequelize[_0x1a9e('0xd')]},'channel':{'type':Sequelize[_0x1a9e('0x2')]},'connectedlinenum':{'type':Sequelize[_0x1a9e('0x2')]},'connectedlinename':{'type':Sequelize[_0x1a9e('0x2')]},'accountcode':{'type':Sequelize[_0x1a9e('0x2')]},'context':{'type':Sequelize[_0x1a9e('0x2')]},'exten':{'type':Sequelize[_0x1a9e('0x2')]},'priority':{'type':Sequelize[_0x1a9e('0x2')]},'holdtime':{'type':Sequelize[_0x1a9e('0xd')]},'mohtime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'assigned':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize['STRING']},'transfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'transfertype':{'type':Sequelize[_0x1a9e('0x2')],'comment':_0x1a9e('0x10')},'transferexten':{'type':Sequelize[_0x1a9e('0x2')]},'transferuniqueid':{'type':Sequelize[_0x1a9e('0x2')]},'disposition':{'type':Sequelize[_0x1a9e('0x2')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0x1a9e('0x2')]},'queuecallerenterreason':{'type':Sequelize[_0x1a9e('0xd')],'defaultValue':0x0},'note':{'type':Sequelize[_0x1a9e('0x2')]}};