Built motion from commit 753c950e.|2.5.42
[motion2.git] / server / api / cmHopperFinal / cmHopperFinal.attributes.js
index 979e317..21eaea2 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2b87=['seconds','setDataValue','dispositionat','BOOLEAN','sequelize','moment','INTEGER','STRING','DATE','getDataValue','followuptime'];(function(_0x42557b,_0x290c94){var _0x3a3ff2=function(_0x33f6cc){while(--_0x33f6cc){_0x42557b['push'](_0x42557b['shift']());}};_0x3a3ff2(++_0x290c94);}(_0x2b87,0x138));var _0x72b8=function(_0x5abf51,_0x57a167){_0x5abf51=_0x5abf51-0x0;var _0x35aeef=_0x2b87[_0x5abf51];return _0x35aeef;};'use strict';var Sequelize=require(_0x72b8('0x0'));var moment=require(_0x72b8('0x1'));module['exports']={'state':{'type':Sequelize[_0x72b8('0x2')](0x2)},'statedesc':{'type':Sequelize['STRING']},'scheduledat':{'type':Sequelize['DATE']},'countbusyretry':{'type':Sequelize[_0x72b8('0x2')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x72b8('0x2')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0x72b8('0x2')],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0x72b8('0x3')]},'originatecalleridnum':{'type':Sequelize['STRING']},'originatecalleridname':{'type':Sequelize[_0x72b8('0x3')]},'calleridnum':{'type':Sequelize[_0x72b8('0x3')]},'calleridname':{'type':Sequelize[_0x72b8('0x3')]},'starttime':{'type':Sequelize[_0x72b8('0x4')]},'responsetime':{'type':Sequelize[_0x72b8('0x4')]},'answertime':{'type':Sequelize[_0x72b8('0x4')]},'droptime':{'type':Sequelize['DATE']},'endtime':{'type':Sequelize[_0x72b8('0x4')]},'ringtime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0x72b8('0x2')],'defaultValue':0x0},'talktime':{'type':Sequelize[_0x72b8('0x2')],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0x72b8('0x2')],'defaultValue':0x0},'dropreason':{'type':Sequelize[_0x72b8('0x3')]},'campaign':{'type':Sequelize[_0x72b8('0x3')]},'campaigntype':{'type':Sequelize[_0x72b8('0x3')]},'membername':{'type':Sequelize[_0x72b8('0x3')]},'reason':{'type':Sequelize[_0x72b8('0x3')]},'disposition':{'type':Sequelize[_0x72b8('0x3')]},'secondDisposition':{'type':Sequelize[_0x72b8('0x3')]},'thirdDisposition':{'type':Sequelize[_0x72b8('0x3')]},'dispositionat':{'type':Sequelize[_0x72b8('0x4')],'set':function(_0x5060db){var _0x14e443=this[_0x72b8('0x5')]('endtime');if(_0x14e443&&_0x5060db){this['setDataValue'](_0x72b8('0x6'),moment(_0x5060db)['diff'](moment(_0x14e443),_0x72b8('0x7')));}return this[_0x72b8('0x8')](_0x72b8('0x9'),_0x5060db);}},'amd':{'type':Sequelize[_0x72b8('0xa')],'defaultValue':![]},'fax':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'blacklist':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'rescheduled':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'rescheduledat':{'type':Sequelize[_0x72b8('0x4')]},'callback':{'type':Sequelize[_0x72b8('0xa')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0x72b8('0x3')],'defaultValue':null},'callbackat':{'type':Sequelize[_0x72b8('0x4')]},'deleted':{'type':Sequelize[_0x72b8('0x3')],'defaultValue':null},'deletedat':{'type':Sequelize[_0x72b8('0x4')]},'recallme':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agiafterat':{'type':Sequelize[_0x72b8('0x4')]},'countnosuchnumberretry':{'type':Sequelize[_0x72b8('0x2')],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0x72b8('0x2')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0x72b8('0x2')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x72b8('0x2')],'defaultValue':0x0}};
\ No newline at end of file
+var _0x3f68=['setDataValue','dispositionat','BOOLEAN','exports','INTEGER','STRING','DATE','getDataValue','endtime','diff'];(function(_0x46c740,_0x294688){var _0x2fc05f=function(_0x4b6002){while(--_0x4b6002){_0x46c740['push'](_0x46c740['shift']());}};_0x2fc05f(++_0x294688);}(_0x3f68,0x157));var _0x83f6=function(_0x5e64f9,_0x13c61d){_0x5e64f9=_0x5e64f9-0x0;var _0x3e9b8a=_0x3f68[_0x5e64f9];return _0x3e9b8a;};'use strict';var Sequelize=require('sequelize');var moment=require('moment');module[_0x83f6('0x0')]={'state':{'type':Sequelize[_0x83f6('0x1')](0x2)},'statedesc':{'type':Sequelize[_0x83f6('0x2')]},'scheduledat':{'type':Sequelize[_0x83f6('0x3')]},'countbusyretry':{'type':Sequelize[_0x83f6('0x1')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x83f6('0x1')],'defaultValue':0x0},'countglobal':{'type':Sequelize[_0x83f6('0x1')],'defaultValue':0x0},'uniqueid':{'type':Sequelize[_0x83f6('0x2')]},'originatecalleridnum':{'type':Sequelize[_0x83f6('0x2')]},'originatecalleridname':{'type':Sequelize[_0x83f6('0x2')]},'calleridnum':{'type':Sequelize[_0x83f6('0x2')]},'calleridname':{'type':Sequelize[_0x83f6('0x2')]},'starttime':{'type':Sequelize[_0x83f6('0x3')]},'responsetime':{'type':Sequelize[_0x83f6('0x3')]},'answertime':{'type':Sequelize[_0x83f6('0x3')]},'droptime':{'type':Sequelize[_0x83f6('0x3')]},'endtime':{'type':Sequelize[_0x83f6('0x3')]},'ringtime':{'type':Sequelize[_0x83f6('0x1')],'defaultValue':0x0},'holdtime':{'type':Sequelize[_0x83f6('0x1')],'defaultValue':0x0},'talktime':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'followuptime':{'type':Sequelize[_0x83f6('0x1')],'defaultValue':0x0},'dropreason':{'type':Sequelize['STRING']},'campaign':{'type':Sequelize[_0x83f6('0x2')]},'campaigntype':{'type':Sequelize[_0x83f6('0x2')]},'membername':{'type':Sequelize['STRING']},'reason':{'type':Sequelize[_0x83f6('0x2')]},'disposition':{'type':Sequelize[_0x83f6('0x2')]},'secondDisposition':{'type':Sequelize[_0x83f6('0x2')]},'thirdDisposition':{'type':Sequelize[_0x83f6('0x2')]},'dispositionat':{'type':Sequelize['DATE'],'set':function(_0x4a2ce7){var _0xde4f58=this[_0x83f6('0x4')](_0x83f6('0x5'));if(_0xde4f58&&_0x4a2ce7){this['setDataValue']('followuptime',moment(_0x4a2ce7)[_0x83f6('0x6')](moment(_0xde4f58),'seconds'));}return this[_0x83f6('0x7')](_0x83f6('0x8'),_0x4a2ce7);}},'amd':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'fax':{'type':Sequelize[_0x83f6('0x9')],'defaultValue':![]},'blacklist':{'type':Sequelize[_0x83f6('0x9')],'defaultValue':![]},'rescheduled':{'type':Sequelize[_0x83f6('0x9')],'defaultValue':![]},'rescheduledat':{'type':Sequelize[_0x83f6('0x3')]},'callback':{'type':Sequelize[_0x83f6('0x9')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0x83f6('0x2')],'defaultValue':null},'callbackat':{'type':Sequelize[_0x83f6('0x3')]},'deleted':{'type':Sequelize[_0x83f6('0x2')],'defaultValue':null},'deletedat':{'type':Sequelize[_0x83f6('0x3')]},'recallme':{'type':Sequelize[_0x83f6('0x9')],'defaultValue':![]},'agiafterat':{'type':Sequelize['DATE']},'countnosuchnumberretry':{'type':Sequelize[_0x83f6('0x1')],'defaultValue':0x0},'countdropretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0x83f6('0x1')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0x83f6('0x1')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0}};
\ No newline at end of file