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