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