49d7d601f43f2af19fc9dae1d313e0178098b11d
[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 _0x0d7f=['FORWARD,\x20BLIND,\x20ATTENDED','sequelize','moment','exports','STRING','DATE','queuecallerjoinAt','YYYY-MM-DD\x20HH:mm:ss','diff','seconds','setDataValue','queuecallerleaveAt','holdtime','INTEGER','BOOLEAN','COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT'];(function(_0x43f61d,_0x559906){var _0x4410ab=function(_0x48fb93){while(--_0x48fb93){_0x43f61d['push'](_0x43f61d['shift']());}};_0x4410ab(++_0x559906);}(_0x0d7f,0x1b1));var _0xf0d7=function(_0x13e741,_0x5d3c24){_0x13e741=_0x13e741-0x0;var _0x3f8bb3=_0x0d7f[_0x13e741];return _0x3f8bb3;};'use strict';var Sequelize=require(_0xf0d7('0x0'));var moment=require(_0xf0d7('0x1'));module[_0xf0d7('0x2')]={'type':{'type':Sequelize[_0xf0d7('0x3')]},'uniqueid':{'type':Sequelize[_0xf0d7('0x3')]},'calleridnum':{'type':Sequelize[_0xf0d7('0x3')]},'calleridname':{'type':Sequelize[_0xf0d7('0x3')]},'queue':{'type':Sequelize['STRING']},'queuecallerjoinAt':{'type':Sequelize[_0xf0d7('0x4')]},'queuecallerleaveAt':{'type':Sequelize[_0xf0d7('0x4')],'set':function(_0x286853){var _0x5ab5d7=moment(_0x286853);var _0x4d4073=moment(this['getDataValue'](_0xf0d7('0x5')))['format'](_0xf0d7('0x6'));var _0x199cca=_0x5ab5d7[_0xf0d7('0x7')](_0x4d4073,_0xf0d7('0x8'));this[_0xf0d7('0x9')](_0xf0d7('0xa'),_0x286853);this[_0xf0d7('0x9')](_0xf0d7('0xb'),_0x199cca||null);}},'position':{'type':Sequelize[_0xf0d7('0xc')]},'count':{'type':Sequelize['INTEGER']},'queuecallerabandon':{'type':Sequelize[_0xf0d7('0xd')],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize[_0xf0d7('0x4')]},'queuecallercomplete':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize['DATE']},'queuecallerexit':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize['DATE']},'queuecallerexitreason':{'type':Sequelize[_0xf0d7('0x3')],'comment':_0xf0d7('0xe')},'originalposition':{'type':Sequelize[_0xf0d7('0xc')]},'channel':{'type':Sequelize['STRING']},'connectedlinenum':{'type':Sequelize[_0xf0d7('0x3')]},'connectedlinename':{'type':Sequelize['STRING']},'accountcode':{'type':Sequelize[_0xf0d7('0x3')]},'context':{'type':Sequelize['STRING']},'exten':{'type':Sequelize[_0xf0d7('0x3')]},'priority':{'type':Sequelize[_0xf0d7('0x3')]},'holdtime':{'type':Sequelize['INTEGER']},'mohtime':{'type':Sequelize[_0xf0d7('0xc')],'defaultValue':0x0},'assigned':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize[_0xf0d7('0x3')]},'transfer':{'type':Sequelize[_0xf0d7('0xd')],'defaultValue':![]},'transfertype':{'type':Sequelize[_0xf0d7('0x3')],'comment':_0xf0d7('0xf')},'transferexten':{'type':Sequelize[_0xf0d7('0x3')]},'transferuniqueid':{'type':Sequelize[_0xf0d7('0x3')]},'disposition':{'type':Sequelize[_0xf0d7('0x3')]},'secondDisposition':{'type':Sequelize[_0xf0d7('0x3')]},'thirdDisposition':{'type':Sequelize[_0xf0d7('0x3')]},'queuecallerenterreason':{'type':Sequelize[_0xf0d7('0xc')],'defaultValue':0x0},'note':{'type':Sequelize[_0xf0d7('0x3')]}};