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