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