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