Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / api / cmHopper / cmHopper.attributes.js
index 81bfa98..31fa118 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1261=['sequelize','exports','STRING','BOOLEAN','DATE','format','YYYY-MM-DD\x20HH:mm:ss','INTEGER','contactListQueue'];(function(_0x4c6792,_0x247d32){var _0xb57e50=function(_0xeb6d84){while(--_0xeb6d84){_0x4c6792['push'](_0x4c6792['shift']());}};_0xb57e50(++_0x247d32);}(_0x1261,0x144));var _0x1126=function(_0x466af7,_0x2f7551){_0x466af7=_0x466af7-0x0;var _0x348c96=_0x1261[_0x466af7];return _0x348c96;};'use strict';var moment=require('moment');var Sequelize=require(_0x1126('0x0'));module[_0x1126('0x1')]={'phone':{'type':Sequelize[_0x1126('0x2')],'allowNull':![]},'active':{'type':Sequelize[_0x1126('0x3')],'defaultValue':![]},'scheduledat':{'type':Sequelize[_0x1126('0x4')],'defaultValue':moment()[_0x1126('0x5')](_0x1126('0x6'))},'countbusyretry':{'type':Sequelize[_0x1126('0x7')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x1126('0x7')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x1126('0x7')],'defaultValue':0x0},'callback':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize['STRING'],'defaultValue':null},'callbackat':{'type':Sequelize[_0x1126('0x4')]},'priority':{'type':Sequelize[_0x1126('0x7')](0x2)['UNSIGNED'],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'recallme':{'type':Sequelize[_0x1126('0x3')],'defaultValue':![]},'ContactId':{'type':Sequelize[_0x1126('0x7')],'unique':_0x1126('0x8')},'ListId':{'type':Sequelize[_0x1126('0x7')],'unique':_0x1126('0x8')},'UserId':{'type':Sequelize['INTEGER']},'VoiceQueueId':{'type':Sequelize[_0x1126('0x7')],'unique':_0x1126('0x8')},'CampaignId':{'type':Sequelize[_0x1126('0x7')]},'countnosuchnumberretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0x1126('0x7')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countmachineretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x1126('0x7')],'defaultValue':0x0},'dialTimezone':{'type':Sequelize['STRING']}};
\ No newline at end of file
+var _0xe2fe=['STRING','DATE','format','YYYY-MM-DD\x20HH:mm:ss','INTEGER','BOOLEAN','UNSIGNED','contactListQueue','moment'];(function(_0xe7281f,_0x2d77c3){var _0x90dc99=function(_0x1e335b){while(--_0x1e335b){_0xe7281f['push'](_0xe7281f['shift']());}};_0x90dc99(++_0x2d77c3);}(_0xe2fe,0x86));var _0xee2f=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xe2fe[_0x3dd15e];return _0x231fd0;};'use strict';var moment=require(_0xee2f('0x0'));var Sequelize=require('sequelize');module['exports']={'phone':{'type':Sequelize[_0xee2f('0x1')],'allowNull':![]},'active':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'scheduledat':{'type':Sequelize[_0xee2f('0x2')],'defaultValue':moment()[_0xee2f('0x3')](_0xee2f('0x4'))},'countbusyretry':{'type':Sequelize[_0xee2f('0x5')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0xee2f('0x5')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'callback':{'type':Sequelize[_0xee2f('0x6')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0xee2f('0x1')],'defaultValue':null},'callbackat':{'type':Sequelize['DATE']},'priority':{'type':Sequelize[_0xee2f('0x5')](0x2)[_0xee2f('0x7')],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'recallme':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'ContactId':{'type':Sequelize[_0xee2f('0x5')],'unique':'contactListQueue'},'ListId':{'type':Sequelize[_0xee2f('0x5')],'unique':_0xee2f('0x8')},'UserId':{'type':Sequelize['INTEGER']},'VoiceQueueId':{'type':Sequelize[_0xee2f('0x5')],'unique':_0xee2f('0x8')},'CampaignId':{'type':Sequelize['INTEGER']},'countnosuchnumberretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countdropretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0xee2f('0x5')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'dialTimezone':{'type':Sequelize['STRING']}};
\ No newline at end of file