f0fd3b66c33c52bdef5a342156d37ed3edad3693
[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 _0xfedf=['RECEIVED','exports','STRING','INTEGER','DATE','BOOLEAN','TEXT','ENUM','SENT','SENDING'];(function(_0xd8897b,_0x1d7f1e){var _0x16aef7=function(_0x3f3f1a){while(--_0x3f3f1a){_0xd8897b['push'](_0xd8897b['shift']());}};_0x16aef7(++_0x1d7f1e);}(_0xfedf,0x15f));var _0xffed=function(_0x119280,_0x439c3e){_0x119280=_0x119280-0x0;var _0x481797=_0xfedf[_0x119280];return _0x481797;};'use strict';var Sequelize=require('sequelize');module[_0xffed('0x0')]={'integration':{'type':Sequelize[_0xffed('0x1')]},'eventChannel':{'type':Sequelize[_0xffed('0x1')]},'exitStatus':{'type':Sequelize[_0xffed('0x1')]},'ticketId':{'type':Sequelize[_0xffed('0x1')]},'integrationId':{'type':Sequelize[_0xffed('0x2')]},'contacts':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize[_0xffed('0x1')]},'calleridnum':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0xffed('0x1')]},'queue':{'type':Sequelize['STRING']},'interface':{'type':Sequelize['STRING']},'membername':{'type':Sequelize[_0xffed('0x1')]},'agentcalledAt':{'type':Sequelize['DATE']},'agentconnectAt':{'type':Sequelize[_0xffed('0x3')]},'holdtime':{'type':Sequelize[_0xffed('0x2')]},'agentcomplete':{'type':Sequelize[_0xffed('0x4')],'defaultValue':![]},'agentcompleteAt':{'type':Sequelize[_0xffed('0x3')]},'talktime':{'type':Sequelize['INTEGER']},'agentacw':{'type':Sequelize[_0xffed('0x4')],'defaultValue':![]},'acwtime':{'type':Sequelize['INTEGER']},'reason':{'type':Sequelize[_0xffed('0x1')]},'agentringnoanswer':{'type':Sequelize[_0xffed('0x4')],'defaultValue':![]},'agentringnoanswerAt':{'type':Sequelize[_0xffed('0x3')]},'agentdump':{'type':Sequelize[_0xffed('0x4')],'defaultValue':![]},'agentdumpAt':{'type':Sequelize['DATE']},'lastevent':{'type':Sequelize['STRING']},'channel':{'type':Sequelize[_0xffed('0x1')]},'channelstate':{'type':Sequelize['INTEGER']},'channelstatedesc':{'type':Sequelize[_0xffed('0x1')]},'connectedlinenum':{'type':Sequelize[_0xffed('0x1')]},'connectedlinename':{'type':Sequelize[_0xffed('0x1')]},'language':{'type':Sequelize[_0xffed('0x1')]},'accountcode':{'type':Sequelize[_0xffed('0x1')]},'context':{'type':Sequelize[_0xffed('0x1')]},'exten':{'type':Sequelize[_0xffed('0x1')]},'priority':{'type':Sequelize[_0xffed('0x1')]},'destchannel':{'type':Sequelize[_0xffed('0x1')]},'destchannelstate':{'type':Sequelize[_0xffed('0x2')]},'destchannelstatedesc':{'type':Sequelize[_0xffed('0x1')]},'destcalleridnum':{'type':Sequelize[_0xffed('0x1')]},'destcalleridname':{'type':Sequelize[_0xffed('0x1')]},'destconnectedlinenum':{'type':Sequelize['STRING']},'destconnectedlinename':{'type':Sequelize[_0xffed('0x1')]},'destlanguage':{'type':Sequelize[_0xffed('0x1')]},'destaccountcode':{'type':Sequelize[_0xffed('0x1')]},'destcontext':{'type':Sequelize[_0xffed('0x1')]},'destexten':{'type':Sequelize[_0xffed('0x1')]},'destpriority':{'type':Sequelize[_0xffed('0x1')]},'destuniqueid':{'type':Sequelize[_0xffed('0x1')]},'messageId':{'type':Sequelize[_0xffed('0x1')]},'inReplyTo':{'type':Sequelize[_0xffed('0x1')]},'subject':{'type':Sequelize[_0xffed('0x1')]},'from':{'type':Sequelize['STRING']},'to':{'type':Sequelize['STRING']},'cc':{'type':Sequelize[_0xffed('0x1')]},'attachment':{'type':Sequelize[_0xffed('0x5')]},'html':{'type':Sequelize[_0xffed('0x5')]},'text':{'type':Sequelize[_0xffed('0x5')]},'status':{'type':Sequelize[_0xffed('0x6')](_0xffed('0x7'),_0xffed('0x8'),_0xffed('0x9'),'FAILED')},'url':{'type':Sequelize['STRING']},'app':{'type':Sequelize[_0xffed('0x1')]},'appdata':{'type':Sequelize['STRING']},'projectId':{'type':Sequelize[_0xffed('0x2')]}};