Built motion from commit e02f907f.|2.6.14
[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 _0x0e91=['YYYY-MM-DD\x20HH:mm:ss','diff','seconds','setDataValue','holdtime','BOOLEAN','COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT','INTEGER','FORWARD,\x20BLIND,\x20ATTENDED','moment','exports','STRING','DATE','getDataValue','queuecallerjoinAt','format'];(function(_0x54216f,_0x479e90){var _0x34cbba=function(_0x3242b0){while(--_0x3242b0){_0x54216f['push'](_0x54216f['shift']());}};_0x34cbba(++_0x479e90);}(_0x0e91,0x109));var _0x10e9=function(_0x28669c,_0x1f62c4){_0x28669c=_0x28669c-0x0;var _0x4a3af6=_0x0e91[_0x28669c];return _0x4a3af6;};'use strict';var Sequelize=require('sequelize');var moment=require(_0x10e9('0x0'));module[_0x10e9('0x1')]={'type':{'type':Sequelize[_0x10e9('0x2')]},'uniqueid':{'type':Sequelize[_0x10e9('0x2')]},'calleridnum':{'type':Sequelize[_0x10e9('0x2')]},'calleridname':{'type':Sequelize[_0x10e9('0x2')]},'queue':{'type':Sequelize['STRING']},'queuecallerjoinAt':{'type':Sequelize[_0x10e9('0x3')]},'queuecallerleaveAt':{'type':Sequelize[_0x10e9('0x3')],'set':function(_0x326966){var _0x54344b=moment(_0x326966);var _0x37154a=moment(this[_0x10e9('0x4')](_0x10e9('0x5')))[_0x10e9('0x6')](_0x10e9('0x7'));var _0x589a8a=_0x54344b[_0x10e9('0x8')](_0x37154a,_0x10e9('0x9'));this[_0x10e9('0xa')]('queuecallerleaveAt',_0x326966);this[_0x10e9('0xa')](_0x10e9('0xb'),_0x589a8a||null);}},'position':{'type':Sequelize['INTEGER']},'count':{'type':Sequelize['INTEGER']},'queuecallerabandon':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize[_0x10e9('0x3')]},'queuecallercomplete':{'type':Sequelize[_0x10e9('0xc')],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize[_0x10e9('0x3')]},'queuecallerexit':{'type':Sequelize[_0x10e9('0xc')],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize[_0x10e9('0x3')]},'queuecallerexitreason':{'type':Sequelize['STRING'],'comment':_0x10e9('0xd')},'originalposition':{'type':Sequelize[_0x10e9('0xe')]},'channel':{'type':Sequelize[_0x10e9('0x2')]},'connectedlinenum':{'type':Sequelize[_0x10e9('0x2')]},'connectedlinename':{'type':Sequelize['STRING']},'accountcode':{'type':Sequelize[_0x10e9('0x2')]},'context':{'type':Sequelize[_0x10e9('0x2')]},'exten':{'type':Sequelize[_0x10e9('0x2')]},'priority':{'type':Sequelize[_0x10e9('0x2')]},'holdtime':{'type':Sequelize[_0x10e9('0xe')]},'mohtime':{'type':Sequelize[_0x10e9('0xe')],'defaultValue':0x0},'assigned':{'type':Sequelize[_0x10e9('0xc')],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize['STRING']},'transfer':{'type':Sequelize[_0x10e9('0xc')],'defaultValue':![]},'transfertype':{'type':Sequelize[_0x10e9('0x2')],'comment':_0x10e9('0xf')},'transferexten':{'type':Sequelize[_0x10e9('0x2')]},'transferuniqueid':{'type':Sequelize[_0x10e9('0x2')]},'disposition':{'type':Sequelize[_0x10e9('0x2')]},'secondDisposition':{'type':Sequelize[_0x10e9('0x2')]},'thirdDisposition':{'type':Sequelize[_0x10e9('0x2')]},'queuecallerenterreason':{'type':Sequelize[_0x10e9('0xe')],'defaultValue':0x0},'note':{'type':Sequelize[_0x10e9('0x2')]}};