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