Built motion from commit (unavailable).|2.5.4
[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 _0xf97b=['YYYY-MM-DD\x20HH:mm:ss','diff','seconds','setDataValue','queuecallerleaveAt','holdtime','INTEGER','BOOLEAN','COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT','FORWARD,\x20BLIND,\x20ATTENDED','sequelize','moment','STRING','DATE','getDataValue','queuecallerjoinAt','format'];(function(_0x327eb7,_0x412523){var _0x4740d4=function(_0x39ace4){while(--_0x39ace4){_0x327eb7['push'](_0x327eb7['shift']());}};_0x4740d4(++_0x412523);}(_0xf97b,0x15e));var _0xbf97=function(_0x1cc8fe,_0x105328){_0x1cc8fe=_0x1cc8fe-0x0;var _0x230054=_0xf97b[_0x1cc8fe];return _0x230054;};'use strict';var Sequelize=require(_0xbf97('0x0'));var moment=require(_0xbf97('0x1'));module['exports']={'type':{'type':Sequelize[_0xbf97('0x2')]},'uniqueid':{'type':Sequelize[_0xbf97('0x2')]},'calleridnum':{'type':Sequelize[_0xbf97('0x2')]},'calleridname':{'type':Sequelize['STRING']},'queue':{'type':Sequelize[_0xbf97('0x2')]},'queuecallerjoinAt':{'type':Sequelize['DATE']},'queuecallerleaveAt':{'type':Sequelize[_0xbf97('0x3')],'set':function(_0x1ce5ab){var _0x1d882a=moment(_0x1ce5ab);var _0x6dccf8=moment(this[_0xbf97('0x4')](_0xbf97('0x5')))[_0xbf97('0x6')](_0xbf97('0x7'));var _0x4b10d6=_0x1d882a[_0xbf97('0x8')](_0x6dccf8,_0xbf97('0x9'));this[_0xbf97('0xa')](_0xbf97('0xb'),_0x1ce5ab);this[_0xbf97('0xa')](_0xbf97('0xc'),_0x4b10d6||null);}},'position':{'type':Sequelize[_0xbf97('0xd')]},'count':{'type':Sequelize[_0xbf97('0xd')]},'queuecallerabandon':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize[_0xbf97('0x3')]},'queuecallercomplete':{'type':Sequelize[_0xbf97('0xe')],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize[_0xbf97('0x3')]},'queuecallerexit':{'type':Sequelize[_0xbf97('0xe')],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize[_0xbf97('0x3')]},'queuecallerexitreason':{'type':Sequelize[_0xbf97('0x2')],'comment':_0xbf97('0xf')},'originalposition':{'type':Sequelize[_0xbf97('0xd')]},'channel':{'type':Sequelize[_0xbf97('0x2')]},'connectedlinenum':{'type':Sequelize['STRING']},'connectedlinename':{'type':Sequelize['STRING']},'accountcode':{'type':Sequelize[_0xbf97('0x2')]},'context':{'type':Sequelize['STRING']},'exten':{'type':Sequelize['STRING']},'priority':{'type':Sequelize[_0xbf97('0x2')]},'holdtime':{'type':Sequelize[_0xbf97('0xd')]},'mohtime':{'type':Sequelize[_0xbf97('0xd')],'defaultValue':0x0},'assigned':{'type':Sequelize[_0xbf97('0xe')],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize['STRING']},'transfer':{'type':Sequelize[_0xbf97('0xe')],'defaultValue':![]},'transfertype':{'type':Sequelize[_0xbf97('0x2')],'comment':_0xbf97('0x10')},'transferexten':{'type':Sequelize[_0xbf97('0x2')]},'transferuniqueid':{'type':Sequelize[_0xbf97('0x2')]},'disposition':{'type':Sequelize[_0xbf97('0x2')]},'queuecallerenterreason':{'type':Sequelize[_0xbf97('0xd')],'defaultValue':0x0}};