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