X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FcmHopper%2FcmHopper.attributes.js;h=10d02a1706eb4cb0f7787e8702ab702cec93d583;hb=6154c6759c55056c3b23ea2e885ab9e551bbdf0c;hp=7a3a8df66c0a951c57d13a56e2b34cab6c3cb1ae;hpb=180439628549c979093908f0b833833689fb8374;p=motion2.git diff --git a/server/api/cmHopper/cmHopper.attributes.js b/server/api/cmHopper/cmHopper.attributes.js index 7a3a8df..10d02a1 100644 --- a/server/api/cmHopper/cmHopper.attributes.js +++ b/server/api/cmHopper/cmHopper.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x98a8=['format','INTEGER','contactListQueue','moment','sequelize','exports','STRING','BOOLEAN','DATE'];(function(_0x47e7cb,_0x4c1b8d){var _0x2a8874=function(_0x36498f){while(--_0x36498f){_0x47e7cb['push'](_0x47e7cb['shift']());}};_0x2a8874(++_0x4c1b8d);}(_0x98a8,0x12c));var _0x898a=function(_0x55d0e3,_0xf355be){_0x55d0e3=_0x55d0e3-0x0;var _0x4e275a=_0x98a8[_0x55d0e3];return _0x4e275a;};'use strict';var moment=require(_0x898a('0x0'));var Sequelize=require(_0x898a('0x1'));module[_0x898a('0x2')]={'phone':{'type':Sequelize[_0x898a('0x3')],'allowNull':![]},'active':{'type':Sequelize[_0x898a('0x4')],'defaultValue':![]},'scheduledat':{'type':Sequelize[_0x898a('0x5')],'defaultValue':moment()[_0x898a('0x6')]('YYYY-MM-DD\x20HH:mm:ss')},'countbusyretry':{'type':Sequelize[_0x898a('0x7')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x898a('0x7')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x898a('0x7')],'defaultValue':0x0},'callback':{'type':Sequelize[_0x898a('0x4')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0x898a('0x3')],'defaultValue':null},'callbackat':{'type':Sequelize['DATE']},'priority':{'type':Sequelize[_0x898a('0x7')](0x2)['UNSIGNED'],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'recallme':{'type':Sequelize[_0x898a('0x4')],'defaultValue':![]},'ContactId':{'type':Sequelize['INTEGER'],'unique':_0x898a('0x8')},'ListId':{'type':Sequelize[_0x898a('0x7')],'unique':_0x898a('0x8')},'UserId':{'type':Sequelize[_0x898a('0x7')]},'VoiceQueueId':{'type':Sequelize[_0x898a('0x7')],'unique':_0x898a('0x8')},'CampaignId':{'type':Sequelize[_0x898a('0x7')]},'countnosuchnumberretry':{'type':Sequelize[_0x898a('0x7')],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0x898a('0x7')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0x898a('0x7')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0}}; \ No newline at end of file +var _0xdc97=['moment','sequelize','exports','BOOLEAN','format','YYYY-MM-DD\x20HH:mm:ss','INTEGER','STRING','contactListQueue'];(function(_0x12e137,_0x455a3a){var _0x25649c=function(_0x2e2d43){while(--_0x2e2d43){_0x12e137['push'](_0x12e137['shift']());}};_0x25649c(++_0x455a3a);}(_0xdc97,0x13b));var _0x7dc9=function(_0x364538,_0x1d2e5d){_0x364538=_0x364538-0x0;var _0x3a12dd=_0xdc97[_0x364538];return _0x3a12dd;};'use strict';var moment=require(_0x7dc9('0x0'));var Sequelize=require(_0x7dc9('0x1'));module[_0x7dc9('0x2')]={'phone':{'type':Sequelize['STRING'],'allowNull':![]},'active':{'type':Sequelize[_0x7dc9('0x3')],'defaultValue':![]},'scheduledat':{'type':Sequelize['DATE'],'defaultValue':moment()[_0x7dc9('0x4')](_0x7dc9('0x5'))},'countbusyretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x7dc9('0x6')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x7dc9('0x6')],'defaultValue':0x0},'callback':{'type':Sequelize[_0x7dc9('0x3')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0x7dc9('0x7')],'defaultValue':null},'callbackat':{'type':Sequelize['DATE']},'priority':{'type':Sequelize[_0x7dc9('0x6')](0x2)['UNSIGNED'],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'recallme':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'ContactId':{'type':Sequelize[_0x7dc9('0x6')],'unique':_0x7dc9('0x8')},'ListId':{'type':Sequelize[_0x7dc9('0x6')],'unique':_0x7dc9('0x8')},'UserId':{'type':Sequelize[_0x7dc9('0x6')]},'VoiceQueueId':{'type':Sequelize['INTEGER'],'unique':_0x7dc9('0x8')},'CampaignId':{'type':Sequelize[_0x7dc9('0x6')]},'countnosuchnumberretry':{'type':Sequelize[_0x7dc9('0x6')],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0x7dc9('0x6')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0x7dc9('0x6')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0x7dc9('0x6')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x7dc9('0x6')],'defaultValue':0x0}}; \ No newline at end of file