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