Built motion from commit b58257bb.|2.5.37
[motion2.git] / server / api / cmHopper / cmHopper.attributes.js
index 68c3caf..28f4a21 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xcef5=['exports','STRING','BOOLEAN','DATE','format','INTEGER','UNSIGNED','contactListQueue'];(function(_0x3929c6,_0x55af4f){var _0x1849e8=function(_0x4fc3f5){while(--_0x4fc3f5){_0x3929c6['push'](_0x3929c6['shift']());}};_0x1849e8(++_0x55af4f);}(_0xcef5,0xc8));var _0x5cef=function(_0x18a4e9,_0x2ca9ff){_0x18a4e9=_0x18a4e9-0x0;var _0x2db298=_0xcef5[_0x18a4e9];return _0x2db298;};'use strict';var moment=require('moment');var Sequelize=require('sequelize');module[_0x5cef('0x0')]={'phone':{'type':Sequelize[_0x5cef('0x1')],'allowNull':![]},'active':{'type':Sequelize[_0x5cef('0x2')],'defaultValue':![]},'scheduledat':{'type':Sequelize[_0x5cef('0x3')],'defaultValue':moment()[_0x5cef('0x4')]('YYYY-MM-DD\x20HH:mm:ss')},'countbusyretry':{'type':Sequelize[_0x5cef('0x5')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x5cef('0x5')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x5cef('0x5')],'defaultValue':0x0},'callback':{'type':Sequelize[_0x5cef('0x2')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize['STRING'],'defaultValue':null},'callbackat':{'type':Sequelize[_0x5cef('0x3')]},'priority':{'type':Sequelize[_0x5cef('0x5')](0x2)[_0x5cef('0x6')],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'recallme':{'type':Sequelize[_0x5cef('0x2')],'defaultValue':![]},'ContactId':{'type':Sequelize[_0x5cef('0x5')],'unique':'contactListQueue'},'ListId':{'type':Sequelize[_0x5cef('0x5')],'unique':_0x5cef('0x7')},'UserId':{'type':Sequelize[_0x5cef('0x5')]},'VoiceQueueId':{'type':Sequelize[_0x5cef('0x5')],'unique':_0x5cef('0x7')},'CampaignId':{'type':Sequelize[_0x5cef('0x5')]},'countnosuchnumberretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0x5cef('0x5')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0x5cef('0x5')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0x5cef('0x5')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x5cef('0x5')],'defaultValue':0x0}};
\ No newline at end of file
+var _0x7816=['exports','STRING','BOOLEAN','DATE','format','YYYY-MM-DD\x20HH:mm:ss','INTEGER','UNSIGNED','contactListQueue','moment','sequelize'];(function(_0x2d2623,_0x1aaea0){var _0x28f6c1=function(_0x599d40){while(--_0x599d40){_0x2d2623['push'](_0x2d2623['shift']());}};_0x28f6c1(++_0x1aaea0);}(_0x7816,0x11c));var _0x6781=function(_0x34bcf6,_0x2cc521){_0x34bcf6=_0x34bcf6-0x0;var _0x54adc9=_0x7816[_0x34bcf6];return _0x54adc9;};'use strict';var moment=require(_0x6781('0x0'));var Sequelize=require(_0x6781('0x1'));module[_0x6781('0x2')]={'phone':{'type':Sequelize[_0x6781('0x3')],'allowNull':![]},'active':{'type':Sequelize[_0x6781('0x4')],'defaultValue':![]},'scheduledat':{'type':Sequelize[_0x6781('0x5')],'defaultValue':moment()[_0x6781('0x6')](_0x6781('0x7'))},'countbusyretry':{'type':Sequelize[_0x6781('0x8')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x6781('0x8')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x6781('0x8')],'defaultValue':0x0},'callback':{'type':Sequelize[_0x6781('0x4')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0x6781('0x3')],'defaultValue':null},'callbackat':{'type':Sequelize[_0x6781('0x5')]},'priority':{'type':Sequelize[_0x6781('0x8')](0x2)[_0x6781('0x9')],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'recallme':{'type':Sequelize[_0x6781('0x4')],'defaultValue':![]},'ContactId':{'type':Sequelize[_0x6781('0x8')],'unique':_0x6781('0xa')},'ListId':{'type':Sequelize[_0x6781('0x8')],'unique':_0x6781('0xa')},'UserId':{'type':Sequelize[_0x6781('0x8')]},'VoiceQueueId':{'type':Sequelize['INTEGER'],'unique':'contactListQueue'},'CampaignId':{'type':Sequelize['INTEGER']},'countnosuchnumberretry':{'type':Sequelize[_0x6781('0x8')],'defaultValue':0x0},'countdropretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0x6781('0x8')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0x6781('0x8')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x6781('0x8')],'defaultValue':0x0}};
\ No newline at end of file