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