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