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