Built motion from commit (unavailable).|2.5.6
[motion2.git] / server / api / cmHopper / cmHopper.attributes.js
index 3e6f609..c85f484 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x6aa7=['STRING','BOOLEAN','DATE','YYYY-MM-DD\x20HH:mm:ss','INTEGER','UNSIGNED','contactListQueue','moment','exports'];(function(_0x2641f9,_0x26715f){var _0x585741=function(_0x2d1462){while(--_0x2d1462){_0x2641f9['push'](_0x2641f9['shift']());}};_0x585741(++_0x26715f);}(_0x6aa7,0x178));var _0x76aa=function(_0x44a870,_0x477d5b){_0x44a870=_0x44a870-0x0;var _0x4b5a16=_0x6aa7[_0x44a870];return _0x4b5a16;};'use strict';var moment=require(_0x76aa('0x0'));var Sequelize=require('sequelize');module[_0x76aa('0x1')]={'phone':{'type':Sequelize[_0x76aa('0x2')],'allowNull':![]},'active':{'type':Sequelize[_0x76aa('0x3')],'defaultValue':![]},'scheduledat':{'type':Sequelize[_0x76aa('0x4')],'defaultValue':moment()['format'](_0x76aa('0x5'))},'countbusyretry':{'type':Sequelize[_0x76aa('0x6')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x76aa('0x6')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'callback':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0x76aa('0x2')],'defaultValue':null},'callbackat':{'type':Sequelize['DATE']},'priority':{'type':Sequelize[_0x76aa('0x6')](0x2)[_0x76aa('0x7')],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'recallme':{'type':Sequelize[_0x76aa('0x3')],'defaultValue':![]},'ContactId':{'type':Sequelize['INTEGER'],'unique':_0x76aa('0x8')},'ListId':{'type':Sequelize[_0x76aa('0x6')],'unique':_0x76aa('0x8')},'UserId':{'type':Sequelize['INTEGER']},'VoiceQueueId':{'type':Sequelize[_0x76aa('0x6')],'unique':_0x76aa('0x8')},'CampaignId':{'type':Sequelize[_0x76aa('0x6')]},'countnosuchnumberretry':{'type':Sequelize[_0x76aa('0x6')],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0x76aa('0x6')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0x76aa('0x6')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0x76aa('0x6')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x76aa('0x6')],'defaultValue':0x0}};
\ No newline at end of file
+var _0x1967=['contactListQueue','sequelize','exports','STRING','BOOLEAN','DATE','format','YYYY-MM-DD\x20HH:mm:ss','INTEGER','UNSIGNED'];(function(_0x25b43e,_0x40f21e){var _0x40f86b=function(_0x2eada4){while(--_0x2eada4){_0x25b43e['push'](_0x25b43e['shift']());}};_0x40f86b(++_0x40f21e);}(_0x1967,0x173));var _0x7196=function(_0x556257,_0xba89ba){_0x556257=_0x556257-0x0;var _0x4d8562=_0x1967[_0x556257];return _0x4d8562;};'use strict';var moment=require('moment');var Sequelize=require(_0x7196('0x0'));module[_0x7196('0x1')]={'phone':{'type':Sequelize[_0x7196('0x2')],'allowNull':![]},'active':{'type':Sequelize[_0x7196('0x3')],'defaultValue':![]},'scheduledat':{'type':Sequelize[_0x7196('0x4')],'defaultValue':moment()[_0x7196('0x5')](_0x7196('0x6'))},'countbusyretry':{'type':Sequelize[_0x7196('0x7')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x7196('0x7')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x7196('0x7')],'defaultValue':0x0},'callback':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0x7196('0x2')],'defaultValue':null},'callbackat':{'type':Sequelize[_0x7196('0x4')]},'priority':{'type':Sequelize[_0x7196('0x7')](0x2)[_0x7196('0x8')],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'recallme':{'type':Sequelize[_0x7196('0x3')],'defaultValue':![]},'ContactId':{'type':Sequelize[_0x7196('0x7')],'unique':'contactListQueue'},'ListId':{'type':Sequelize[_0x7196('0x7')],'unique':_0x7196('0x9')},'UserId':{'type':Sequelize[_0x7196('0x7')]},'VoiceQueueId':{'type':Sequelize[_0x7196('0x7')],'unique':_0x7196('0x9')},'CampaignId':{'type':Sequelize['INTEGER']},'countnosuchnumberretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0x7196('0x7')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0x7196('0x7')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0x7196('0x7')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x7196('0x7')],'defaultValue':0x0},'dialTimezone':{'type':Sequelize[_0x7196('0x2')]}};
\ No newline at end of file