5937929bb34b1a47230e096558fca4186d4fbdaf
[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 _0x7b43=['seconds','setDataValue','dispositionat','BOOLEAN','sequelize','moment','exports','STRING','INTEGER','DATE','getDataValue','followuptime','diff'];(function(_0x5894cc,_0x1b955d){var _0x2fa8b5=function(_0x431212){while(--_0x431212){_0x5894cc['push'](_0x5894cc['shift']());}};_0x2fa8b5(++_0x1b955d);}(_0x7b43,0xad));var _0x37b4=function(_0x382a3f,_0x2fec83){_0x382a3f=_0x382a3f-0x0;var _0x601972=_0x7b43[_0x382a3f];return _0x601972;};'use strict';var Sequelize=require(_0x37b4('0x0'));var moment=require(_0x37b4('0x1'));module[_0x37b4('0x2')]={'state':{'type':Sequelize['INTEGER'](0x2)},'statedesc':{'type':Sequelize[_0x37b4('0x3')]},'scheduledat':{'type':Sequelize['DATE']},'countbusyretry':{'type':Sequelize[_0x37b4('0x4')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x37b4('0x4')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x37b4('0x4')],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0x37b4('0x4')],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0x37b4('0x3')]},'originatecalleridnum':{'type':Sequelize[_0x37b4('0x3')]},'originatecalleridname':{'type':Sequelize[_0x37b4('0x3')]},'calleridnum':{'type':Sequelize[_0x37b4('0x3')]},'calleridname':{'type':Sequelize['STRING']},'starttime':{'type':Sequelize[_0x37b4('0x5')]},'responsetime':{'type':Sequelize[_0x37b4('0x5')]},'answertime':{'type':Sequelize[_0x37b4('0x5')]},'droptime':{'type':Sequelize[_0x37b4('0x5')]},'endtime':{'type':Sequelize[_0x37b4('0x5')]},'ringtime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0x37b4('0x4')],'defaultValue':0x0},'talktime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0x37b4('0x4')],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0x37b4('0x3')]},'campaign':{'type':Sequelize['STRING']},'campaigntype':{'type':Sequelize[_0x37b4('0x3')]},'membername':{'type':Sequelize[_0x37b4('0x3')]},'reason':{'type':Sequelize['STRING']},'disposition':{'type':Sequelize[_0x37b4('0x3')]},'secondDisposition':{'type':Sequelize[_0x37b4('0x3')]},'thirdDisposition':{'type':Sequelize['STRING']},'dispositionat':{'type':Sequelize[_0x37b4('0x5')],'set':function(_0x11112b){var _0x3655e8=this[_0x37b4('0x6')]('endtime');if(_0x3655e8&&_0x11112b){this['setDataValue'](_0x37b4('0x7'),moment(_0x11112b)[_0x37b4('0x8')](moment(_0x3655e8),_0x37b4('0x9')));}return this[_0x37b4('0xa')](_0x37b4('0xb'),_0x11112b);}},'amd':{'type':Sequelize[_0x37b4('0xc')],'defaultValue':![]},'fax':{'type':Sequelize[_0x37b4('0xc')],'defaultValue':![]},'blacklist':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'rescheduled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'rescheduledat':{'type':Sequelize[_0x37b4('0x5')]},'callback':{'type':Sequelize[_0x37b4('0xc')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0x37b4('0x3')],'defaultValue':null},'callbackat':{'type':Sequelize[_0x37b4('0x5')]},'deleted':{'type':Sequelize[_0x37b4('0x3')],'defaultValue':null},'deletedat':{'type':Sequelize[_0x37b4('0x5')]},'recallme':{'type':Sequelize[_0x37b4('0xc')],'defaultValue':![]},'agiafterat':{'type':Sequelize[_0x37b4('0x5')]},'countnosuchnumberretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0x37b4('0x4')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countmachineretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x37b4('0x4')],'defaultValue':0x0}};