Built motion from commit 3c2ce842.|2.6.31
[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 _0x89b3=['setDataValue','queuecallerleaveAt','holdtime','INTEGER','BOOLEAN','COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT','FORWARD,\x20BLIND,\x20ATTENDED','sequelize','moment','STRING','DATE','getDataValue','queuecallerjoinAt','format','YYYY-MM-DD\x20HH:mm:ss','diff','seconds'];(function(_0x782c8a,_0x44ba28){var _0x4c60a9=function(_0x4fa7f5){while(--_0x4fa7f5){_0x782c8a['push'](_0x782c8a['shift']());}};_0x4c60a9(++_0x44ba28);}(_0x89b3,0x15b));var _0x389b=function(_0x122ef9,_0x451d2a){_0x122ef9=_0x122ef9-0x0;var _0x42fba0=_0x89b3[_0x122ef9];return _0x42fba0;};'use strict';var Sequelize=require(_0x389b('0x0'));var moment=require(_0x389b('0x1'));module['exports']={'type':{'type':Sequelize[_0x389b('0x2')]},'uniqueid':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0x389b('0x2')]},'calleridname':{'type':Sequelize[_0x389b('0x2')]},'queue':{'type':Sequelize[_0x389b('0x2')]},'queuecallerjoinAt':{'type':Sequelize['DATE']},'queuecallerleaveAt':{'type':Sequelize[_0x389b('0x3')],'set':function(_0x5f019a){var _0x5b5676=moment(_0x5f019a);var _0x2a2b35=moment(this[_0x389b('0x4')](_0x389b('0x5')))[_0x389b('0x6')](_0x389b('0x7'));var _0xd0c065=_0x5b5676[_0x389b('0x8')](_0x2a2b35,_0x389b('0x9'));this[_0x389b('0xa')](_0x389b('0xb'),_0x5f019a);this[_0x389b('0xa')](_0x389b('0xc'),_0xd0c065||null);}},'position':{'type':Sequelize[_0x389b('0xd')]},'count':{'type':Sequelize[_0x389b('0xd')]},'queuecallerabandon':{'type':Sequelize[_0x389b('0xe')],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize[_0x389b('0x3')]},'queuecallercomplete':{'type':Sequelize[_0x389b('0xe')],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize[_0x389b('0x3')]},'queuecallerexit':{'type':Sequelize[_0x389b('0xe')],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize[_0x389b('0x3')]},'queuecallerexitreason':{'type':Sequelize[_0x389b('0x2')],'comment':_0x389b('0xf')},'originalposition':{'type':Sequelize[_0x389b('0xd')]},'channel':{'type':Sequelize['STRING']},'connectedlinenum':{'type':Sequelize[_0x389b('0x2')]},'connectedlinename':{'type':Sequelize[_0x389b('0x2')]},'accountcode':{'type':Sequelize['STRING']},'context':{'type':Sequelize['STRING']},'exten':{'type':Sequelize[_0x389b('0x2')]},'priority':{'type':Sequelize[_0x389b('0x2')]},'holdtime':{'type':Sequelize[_0x389b('0xd')]},'mohtime':{'type':Sequelize[_0x389b('0xd')],'defaultValue':0x0},'assigned':{'type':Sequelize[_0x389b('0xe')],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize[_0x389b('0x2')]},'transfer':{'type':Sequelize[_0x389b('0xe')],'defaultValue':![]},'transfertype':{'type':Sequelize[_0x389b('0x2')],'comment':_0x389b('0x10')},'transferexten':{'type':Sequelize[_0x389b('0x2')]},'transferuniqueid':{'type':Sequelize[_0x389b('0x2')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0x389b('0x2')]},'thirdDisposition':{'type':Sequelize[_0x389b('0x2')]},'queuecallerenterreason':{'type':Sequelize[_0x389b('0xd')],'defaultValue':0x0},'note':{'type':Sequelize[_0x389b('0x2')]}};