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