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