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