a5a8573fd54daff80fae10275a81ce4ece977569
[motion2.git] / server / api / voiceAgentReport / voiceAgentReport.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 _0xc584=['DATE','INTEGER','BOOLEAN','exports','STRING'];(function(_0x4fe99f,_0x5e352e){var _0x196e80=function(_0x92f04){while(--_0x92f04){_0x4fe99f['push'](_0x4fe99f['shift']());}};_0x196e80(++_0x5e352e);}(_0xc584,0xa8));var _0x4c58=function(_0x4e1d03,_0x786f3a){_0x4e1d03=_0x4e1d03-0x0;var _0x362d4b=_0xc584[_0x4e1d03];return _0x362d4b;};'use strict';var Sequelize=require('sequelize');module[_0x4c58('0x0')]={'type':{'type':Sequelize[_0x4c58('0x1')]},'uniqueid':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0x4c58('0x1')]},'queue':{'type':Sequelize['STRING']},'interface':{'type':Sequelize[_0x4c58('0x1')]},'membername':{'type':Sequelize[_0x4c58('0x1')]},'agentcalledAt':{'type':Sequelize[_0x4c58('0x2')]},'agentconnectAt':{'type':Sequelize['DATE']},'agentcompleteAt':{'type':Sequelize[_0x4c58('0x2')]},'agentringnoanswerAt':{'type':Sequelize[_0x4c58('0x2')]},'agentdumpAt':{'type':Sequelize[_0x4c58('0x2')]},'holdtime':{'type':Sequelize[_0x4c58('0x3')]},'agentcomplete':{'type':Sequelize[_0x4c58('0x4')],'defaultValue':![]},'agentringnoanswer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agentdump':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'talktime':{'type':Sequelize['INTEGER']},'agentacw':{'type':Sequelize[_0x4c58('0x4')],'defaultValue':![]},'acwtime':{'type':Sequelize[_0x4c58('0x3')]},'reason':{'type':Sequelize[_0x4c58('0x1')]},'lastevent':{'type':Sequelize[_0x4c58('0x1')]},'channel':{'type':Sequelize[_0x4c58('0x1')]},'channelstate':{'type':Sequelize[_0x4c58('0x3')]},'channelstatedesc':{'type':Sequelize[_0x4c58('0x1')]},'connectedlinenum':{'type':Sequelize[_0x4c58('0x1')]},'connectedlinename':{'type':Sequelize[_0x4c58('0x1')]},'language':{'type':Sequelize[_0x4c58('0x1')]},'accountcode':{'type':Sequelize[_0x4c58('0x1')]},'context':{'type':Sequelize[_0x4c58('0x1')]},'exten':{'type':Sequelize['STRING']},'priority':{'type':Sequelize['STRING']},'destchannel':{'type':Sequelize[_0x4c58('0x1')]},'destchannelstate':{'type':Sequelize['INTEGER']},'destchannelstatedesc':{'type':Sequelize[_0x4c58('0x1')]},'destcalleridnum':{'type':Sequelize[_0x4c58('0x1')]},'destcalleridname':{'type':Sequelize[_0x4c58('0x1')]},'destconnectedlinenum':{'type':Sequelize[_0x4c58('0x1')]},'destconnectedlinename':{'type':Sequelize[_0x4c58('0x1')]},'destlanguage':{'type':Sequelize[_0x4c58('0x1')]},'destaccountcode':{'type':Sequelize['STRING']},'destcontext':{'type':Sequelize[_0x4c58('0x1')]},'destexten':{'type':Sequelize['STRING']},'destpriority':{'type':Sequelize[_0x4c58('0x1')]},'destuniqueid':{'type':Sequelize[_0x4c58('0x1')]},'answeredelsewheredestinationuniqueid':{'type':Sequelize[_0x4c58('0x1')]},'answeredelsewheremembername':{'type':Sequelize[_0x4c58('0x1')]},'transfer':{'type':Sequelize[_0x4c58('0x4')],'defaultValue':![]},'transfertype':{'type':Sequelize[_0x4c58('0x1')],'comment':'FORWARD,\x20BLIND,\x20ATTENDED'},'transferexten':{'type':Sequelize[_0x4c58('0x1')]},'transferuniqueid':{'type':Sequelize[_0x4c58('0x1')]},'agententerreason':{'type':Sequelize[_0x4c58('0x3')],'defaultValue':0x0}};