99db27e176be22cbd96e412bc77839d17bdafdc7
[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 _0x0e85=['STRING','DATE','setDataValue','diff','seconds','dispositionat','BOOLEAN','sequelize','moment','INTEGER'];(function(_0x36c5b0,_0x5001da){var _0xf19333=function(_0x1e880a){while(--_0x1e880a){_0x36c5b0['push'](_0x36c5b0['shift']());}};_0xf19333(++_0x5001da);}(_0x0e85,0x1b5));var _0x50e8=function(_0x122ef9,_0x451d2a){_0x122ef9=_0x122ef9-0x0;var _0x42fba0=_0x0e85[_0x122ef9];return _0x42fba0;};'use strict';var Sequelize=require(_0x50e8('0x0'));var moment=require(_0x50e8('0x1'));module['exports']={'state':{'type':Sequelize[_0x50e8('0x2')](0x2)},'statedesc':{'type':Sequelize[_0x50e8('0x3')]},'scheduledat':{'type':Sequelize[_0x50e8('0x4')]},'countbusyretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x50e8('0x2')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x50e8('0x2')],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0x50e8('0x2')],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0x50e8('0x3')]},'originatecalleridnum':{'type':Sequelize[_0x50e8('0x3')]},'originatecalleridname':{'type':Sequelize[_0x50e8('0x3')]},'calleridnum':{'type':Sequelize[_0x50e8('0x3')]},'calleridname':{'type':Sequelize['STRING']},'starttime':{'type':Sequelize[_0x50e8('0x4')]},'responsetime':{'type':Sequelize[_0x50e8('0x4')]},'answertime':{'type':Sequelize[_0x50e8('0x4')]},'droptime':{'type':Sequelize['DATE']},'endtime':{'type':Sequelize[_0x50e8('0x4')]},'ringtime':{'type':Sequelize[_0x50e8('0x2')],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0x50e8('0x2')],'defaultValue':0x0},'talktime':{'type':Sequelize[_0x50e8('0x2')],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0x50e8('0x2')],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0x50e8('0x3')]},'campaign':{'type':Sequelize['STRING']},'campaigntype':{'type':Sequelize['STRING']},'membername':{'type':Sequelize[_0x50e8('0x3')]},'reason':{'type':Sequelize[_0x50e8('0x3')]},'disposition':{'type':Sequelize[_0x50e8('0x3')]},'secondDisposition':{'type':Sequelize['STRING']},'thirdDisposition':{'type':Sequelize[_0x50e8('0x3')]},'dispositionat':{'type':Sequelize[_0x50e8('0x4')],'set':function(_0x403835){var _0x2dfa12=this['getDataValue']('endtime');if(_0x2dfa12&&_0x403835){this[_0x50e8('0x5')]('followuptime',moment(_0x403835)[_0x50e8('0x6')](moment(_0x2dfa12),_0x50e8('0x7')));}return this[_0x50e8('0x5')](_0x50e8('0x8'),_0x403835);}},'amd':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'fax':{'type':Sequelize[_0x50e8('0x9')],'defaultValue':![]},'blacklist':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'rescheduled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'rescheduledat':{'type':Sequelize[_0x50e8('0x4')]},'callback':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0x50e8('0x3')],'defaultValue':null},'callbackat':{'type':Sequelize['DATE']},'deleted':{'type':Sequelize[_0x50e8('0x3')],'defaultValue':null},'deletedat':{'type':Sequelize[_0x50e8('0x4')]},'recallme':{'type':Sequelize[_0x50e8('0x9')],'defaultValue':![]},'agiafterat':{'type':Sequelize[_0x50e8('0x4')]},'countnosuchnumberretry':{'type':Sequelize[_0x50e8('0x2')],'defaultValue':0x0},'countdropretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0x50e8('0x2')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0}};