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