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