Built motion from commit b58257bb.|2.5.37
[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 _0xf503=['queuecallerjoinAt','YYYY-MM-DD\x20HH:mm:ss','diff','seconds','setDataValue','queuecallerleaveAt','holdtime','INTEGER','BOOLEAN','COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT','FORWARD,\x20BLIND,\x20ATTENDED','exports','STRING','DATE','getDataValue'];(function(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0xf503,0x128));var _0x3f50=function(_0x380252,_0x3133e2){_0x380252=_0x380252-0x0;var _0x5d1330=_0xf503[_0x380252];return _0x5d1330;};'use strict';var Sequelize=require('sequelize');var moment=require('moment');module[_0x3f50('0x0')]={'type':{'type':Sequelize[_0x3f50('0x1')]},'uniqueid':{'type':Sequelize[_0x3f50('0x1')]},'calleridnum':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0x3f50('0x1')]},'queue':{'type':Sequelize['STRING']},'queuecallerjoinAt':{'type':Sequelize[_0x3f50('0x2')]},'queuecallerleaveAt':{'type':Sequelize[_0x3f50('0x2')],'set':function(_0x1c4801){var _0x1ddc2b=moment(_0x1c4801);var _0x2a01ce=moment(this[_0x3f50('0x3')](_0x3f50('0x4')))['format'](_0x3f50('0x5'));var _0x1f22d9=_0x1ddc2b[_0x3f50('0x6')](_0x2a01ce,_0x3f50('0x7'));this[_0x3f50('0x8')](_0x3f50('0x9'),_0x1c4801);this[_0x3f50('0x8')](_0x3f50('0xa'),_0x1f22d9||null);}},'position':{'type':Sequelize[_0x3f50('0xb')]},'count':{'type':Sequelize[_0x3f50('0xb')]},'queuecallerabandon':{'type':Sequelize[_0x3f50('0xc')],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize[_0x3f50('0x2')]},'queuecallercomplete':{'type':Sequelize[_0x3f50('0xc')],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize[_0x3f50('0x2')]},'queuecallerexit':{'type':Sequelize[_0x3f50('0xc')],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize['DATE']},'queuecallerexitreason':{'type':Sequelize[_0x3f50('0x1')],'comment':_0x3f50('0xd')},'originalposition':{'type':Sequelize[_0x3f50('0xb')]},'channel':{'type':Sequelize[_0x3f50('0x1')]},'connectedlinenum':{'type':Sequelize[_0x3f50('0x1')]},'connectedlinename':{'type':Sequelize['STRING']},'accountcode':{'type':Sequelize[_0x3f50('0x1')]},'context':{'type':Sequelize[_0x3f50('0x1')]},'exten':{'type':Sequelize['STRING']},'priority':{'type':Sequelize[_0x3f50('0x1')]},'holdtime':{'type':Sequelize[_0x3f50('0xb')]},'mohtime':{'type':Sequelize[_0x3f50('0xb')],'defaultValue':0x0},'assigned':{'type':Sequelize[_0x3f50('0xc')],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize[_0x3f50('0x1')]},'transfer':{'type':Sequelize[_0x3f50('0xc')],'defaultValue':![]},'transfertype':{'type':Sequelize[_0x3f50('0x1')],'comment':_0x3f50('0xe')},'transferexten':{'type':Sequelize[_0x3f50('0x1')]},'transferuniqueid':{'type':Sequelize[_0x3f50('0x1')]},'disposition':{'type':Sequelize['STRING']},'secondDisposition':{'type':Sequelize[_0x3f50('0x1')]},'thirdDisposition':{'type':Sequelize['STRING']},'queuecallerenterreason':{'type':Sequelize[_0x3f50('0xb')],'defaultValue':0x0}};