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