Built motion from commit (unavailable).|2.4.5
[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 _0xb88a=['INTEGER','BOOLEAN','COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT','sequelize','moment','exports','STRING','DATE','queuecallerjoinAt','YYYY-MM-DD\x20HH:mm:ss','diff','seconds','setDataValue','holdtime'];(function(_0x1f8cc4,_0x17e6e3){var _0x1c94fe=function(_0x13de8e){while(--_0x13de8e){_0x1f8cc4['push'](_0x1f8cc4['shift']());}};_0x1c94fe(++_0x17e6e3);}(_0xb88a,0xab));var _0xab88=function(_0x3aab6b,_0x145d39){_0x3aab6b=_0x3aab6b-0x0;var _0x358566=_0xb88a[_0x3aab6b];return _0x358566;};'use strict';var Sequelize=require(_0xab88('0x0'));var moment=require(_0xab88('0x1'));module[_0xab88('0x2')]={'type':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0xab88('0x3')]},'calleridname':{'type':Sequelize[_0xab88('0x3')]},'queue':{'type':Sequelize['STRING']},'queuecallerjoinAt':{'type':Sequelize['DATE']},'queuecallerleaveAt':{'type':Sequelize[_0xab88('0x4')],'set':function(_0x305ce6){var _0x4c63d8=moment(_0x305ce6);var _0x9cf882=moment(this['getDataValue'](_0xab88('0x5')))['format'](_0xab88('0x6'));var _0x5af430=_0x4c63d8[_0xab88('0x7')](_0x9cf882,_0xab88('0x8'));this[_0xab88('0x9')]('queuecallerleaveAt',_0x305ce6);this[_0xab88('0x9')](_0xab88('0xa'),_0x5af430||null);}},'position':{'type':Sequelize['INTEGER']},'count':{'type':Sequelize[_0xab88('0xb')]},'queuecallerabandon':{'type':Sequelize[_0xab88('0xc')],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize[_0xab88('0x4')]},'queuecallercomplete':{'type':Sequelize[_0xab88('0xc')],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize['DATE']},'queuecallerexit':{'type':Sequelize[_0xab88('0xc')],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize[_0xab88('0x4')]},'queuecallerexitreason':{'type':Sequelize['STRING'],'comment':_0xab88('0xd')},'originalposition':{'type':Sequelize[_0xab88('0xb')]},'channel':{'type':Sequelize[_0xab88('0x3')]},'connectedlinenum':{'type':Sequelize[_0xab88('0x3')]},'connectedlinename':{'type':Sequelize[_0xab88('0x3')]},'accountcode':{'type':Sequelize['STRING']},'context':{'type':Sequelize[_0xab88('0x3')]},'exten':{'type':Sequelize[_0xab88('0x3')]},'priority':{'type':Sequelize[_0xab88('0x3')]},'holdtime':{'type':Sequelize[_0xab88('0xb')]},'mohtime':{'type':Sequelize[_0xab88('0xb')],'defaultValue':0x0},'assigned':{'type':Sequelize[_0xab88('0xc')],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize[_0xab88('0x3')]},'transfer':{'type':Sequelize[_0xab88('0xc')],'defaultValue':![]},'transfertype':{'type':Sequelize[_0xab88('0x3')],'comment':'FORWARD,\x20BLIND,\x20ATTENDED'},'transferexten':{'type':Sequelize[_0xab88('0x3')]},'transferuniqueid':{'type':Sequelize[_0xab88('0x3')]},'disposition':{'type':Sequelize['STRING']},'queuecallerenterreason':{'type':Sequelize[_0xab88('0xb')],'defaultValue':0x0}};