f5abc0ff350e6007b64204f827bc6603e8079f14
[motion2.git] / server / api / cmHopperFinal / cmHopperFinal.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 _0xf62a=['STRING','getDataValue','setDataValue','seconds','BOOLEAN','sequelize','moment','exports','DATE','INTEGER'];(function(_0x3eaa29,_0x24a06e){var _0x4518c7=function(_0x3e1d58){while(--_0x3e1d58){_0x3eaa29['push'](_0x3eaa29['shift']());}};_0x4518c7(++_0x24a06e);}(_0xf62a,0x1b3));var _0xaf62=function(_0x1780f8,_0x11ba93){_0x1780f8=_0x1780f8-0x0;var _0x33a410=_0xf62a[_0x1780f8];return _0x33a410;};'use strict';var Sequelize=require(_0xaf62('0x0'));var moment=require(_0xaf62('0x1'));module[_0xaf62('0x2')]={'state':{'type':Sequelize['INTEGER'](0x2)},'statedesc':{'type':Sequelize['STRING']},'scheduledat':{'type':Sequelize[_0xaf62('0x3')]},'countbusyretry':{'type':Sequelize[_0xaf62('0x4')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0xaf62('0x4')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0xaf62('0x4')],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0xaf62('0x4')],'defaultValue':0x0},'uniqueid':{'type':Sequelize['STRING']},'originatecalleridnum':{'type':Sequelize[_0xaf62('0x5')]},'originatecalleridname':{'type':Sequelize[_0xaf62('0x5')]},'calleridnum':{'type':Sequelize[_0xaf62('0x5')]},'calleridname':{'type':Sequelize[_0xaf62('0x5')]},'starttime':{'type':Sequelize[_0xaf62('0x3')]},'responsetime':{'type':Sequelize['DATE']},'answertime':{'type':Sequelize[_0xaf62('0x3')]},'droptime':{'type':Sequelize[_0xaf62('0x3')]},'endtime':{'type':Sequelize[_0xaf62('0x3')]},'ringtime':{'type':Sequelize[_0xaf62('0x4')],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0xaf62('0x4')],'defaultValue':0x0},'talktime':{'type':Sequelize[_0xaf62('0x4')],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0xaf62('0x4')],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0xaf62('0x5')]},'campaign':{'type':Sequelize[_0xaf62('0x5')]},'campaigntype':{'type':Sequelize['STRING']},'membername':{'type':Sequelize[_0xaf62('0x5')]},'reason':{'type':Sequelize[_0xaf62('0x5')]},'disposition':{'type':Sequelize[_0xaf62('0x5')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize['STRING']},'dispositionat':{'type':Sequelize[_0xaf62('0x3')],'set':function(_0x6ceae7){var _0x2541ba=this[_0xaf62('0x6')]('endtime');if(_0x2541ba&&_0x6ceae7){this[_0xaf62('0x7')]('followuptime',moment(_0x6ceae7)['diff'](moment(_0x2541ba),_0xaf62('0x8')));}}},'amd':{'type':Sequelize[_0xaf62('0x9')],'defaultValue':![]},'fax':{'type':Sequelize[_0xaf62('0x9')],'defaultValue':![]},'blacklist':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'rescheduled':{'type':Sequelize[_0xaf62('0x9')],'defaultValue':![]},'rescheduledat':{'type':Sequelize[_0xaf62('0x3')]},'callback':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0xaf62('0x5')],'defaultValue':null},'callbackat':{'type':Sequelize[_0xaf62('0x3')]},'deleted':{'type':Sequelize[_0xaf62('0x5')],'defaultValue':null},'deletedat':{'type':Sequelize[_0xaf62('0x3')]},'recallme':{'type':Sequelize[_0xaf62('0x9')],'defaultValue':![]},'agiafterat':{'type':Sequelize['DATE']},'countnosuchnumberretry':{'type':Sequelize[_0xaf62('0x4')],'defaultValue':0x0},'countdropretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0xaf62('0x4')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0xaf62('0x4')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0}};