Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / integrationReport / integrationReport.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 _0xab9e=['RECEIVED','STRING','INTEGER','DATE','BOOLEAN','TEXT','ENUM','SENT','SENDING'];(function(_0x59fe6b,_0x12bc6c){var _0x5ab993=function(_0x211a50){while(--_0x211a50){_0x59fe6b['push'](_0x59fe6b['shift']());}};_0x5ab993(++_0x12bc6c);}(_0xab9e,0x14e));var _0xeab9=function(_0x5ca1c1,_0x5af837){_0x5ca1c1=_0x5ca1c1-0x0;var _0x1cccd7=_0xab9e[_0x5ca1c1];return _0x1cccd7;};'use strict';var Sequelize=require('sequelize');module['exports']={'integration':{'type':Sequelize[_0xeab9('0x0')]},'eventChannel':{'type':Sequelize[_0xeab9('0x0')]},'exitStatus':{'type':Sequelize[_0xeab9('0x0')]},'ticketId':{'type':Sequelize[_0xeab9('0x0')]},'integrationId':{'type':Sequelize[_0xeab9('0x1')]},'contacts':{'type':Sequelize[_0xeab9('0x0')]},'uniqueid':{'type':Sequelize[_0xeab9('0x0')]},'calleridnum':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0xeab9('0x0')]},'queue':{'type':Sequelize[_0xeab9('0x0')]},'interface':{'type':Sequelize[_0xeab9('0x0')]},'membername':{'type':Sequelize['STRING']},'agentcalledAt':{'type':Sequelize[_0xeab9('0x2')]},'agentconnectAt':{'type':Sequelize['DATE']},'holdtime':{'type':Sequelize['INTEGER']},'agentcomplete':{'type':Sequelize[_0xeab9('0x3')],'defaultValue':![]},'agentcompleteAt':{'type':Sequelize['DATE']},'talktime':{'type':Sequelize[_0xeab9('0x1')]},'agentacw':{'type':Sequelize[_0xeab9('0x3')],'defaultValue':![]},'acwtime':{'type':Sequelize[_0xeab9('0x1')]},'reason':{'type':Sequelize[_0xeab9('0x0')]},'agentringnoanswer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agentringnoanswerAt':{'type':Sequelize[_0xeab9('0x2')]},'agentdump':{'type':Sequelize[_0xeab9('0x3')],'defaultValue':![]},'agentdumpAt':{'type':Sequelize[_0xeab9('0x2')]},'lastevent':{'type':Sequelize[_0xeab9('0x0')]},'channel':{'type':Sequelize[_0xeab9('0x0')]},'channelstate':{'type':Sequelize['INTEGER']},'channelstatedesc':{'type':Sequelize['STRING']},'connectedlinenum':{'type':Sequelize['STRING']},'connectedlinename':{'type':Sequelize[_0xeab9('0x0')]},'language':{'type':Sequelize[_0xeab9('0x0')]},'accountcode':{'type':Sequelize['STRING']},'context':{'type':Sequelize['STRING']},'exten':{'type':Sequelize[_0xeab9('0x0')]},'priority':{'type':Sequelize[_0xeab9('0x0')]},'destchannel':{'type':Sequelize[_0xeab9('0x0')]},'destchannelstate':{'type':Sequelize[_0xeab9('0x1')]},'destchannelstatedesc':{'type':Sequelize[_0xeab9('0x0')]},'destcalleridnum':{'type':Sequelize[_0xeab9('0x0')]},'destcalleridname':{'type':Sequelize[_0xeab9('0x0')]},'destconnectedlinenum':{'type':Sequelize[_0xeab9('0x0')]},'destconnectedlinename':{'type':Sequelize[_0xeab9('0x0')]},'destlanguage':{'type':Sequelize['STRING']},'destaccountcode':{'type':Sequelize[_0xeab9('0x0')]},'destcontext':{'type':Sequelize[_0xeab9('0x0')]},'destexten':{'type':Sequelize[_0xeab9('0x0')]},'destpriority':{'type':Sequelize[_0xeab9('0x0')]},'destuniqueid':{'type':Sequelize[_0xeab9('0x0')]},'messageId':{'type':Sequelize[_0xeab9('0x0')]},'inReplyTo':{'type':Sequelize[_0xeab9('0x0')]},'subject':{'type':Sequelize[_0xeab9('0x0')]},'from':{'type':Sequelize['STRING']},'to':{'type':Sequelize[_0xeab9('0x0')]},'cc':{'type':Sequelize[_0xeab9('0x0')]},'attachment':{'type':Sequelize[_0xeab9('0x4')]},'html':{'type':Sequelize['TEXT']},'text':{'type':Sequelize[_0xeab9('0x4')]},'status':{'type':Sequelize[_0xeab9('0x5')](_0xeab9('0x6'),_0xeab9('0x7'),_0xeab9('0x8'),'FAILED')},'url':{'type':Sequelize[_0xeab9('0x0')]},'app':{'type':Sequelize[_0xeab9('0x0')]},'appdata':{'type':Sequelize[_0xeab9('0x0')]},'projectId':{'type':Sequelize[_0xeab9('0x1')]}};