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