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