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