Built motion from commit bab6f49e.|2.6.17
[motion2.git] / server / api / cmHopper / cmHopper.attributes.js
index c3be757..78ce706 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7d97=['DATE','format','INTEGER','UNSIGNED','contactListQueue','sequelize','exports','STRING','BOOLEAN'];(function(_0x28a211,_0x57f90e){var _0xd201a9=function(_0x413cd8){while(--_0x413cd8){_0x28a211['push'](_0x28a211['shift']());}};_0xd201a9(++_0x57f90e);}(_0x7d97,0x188));var _0x77d9=function(_0x1d0ec2,_0x47df0e){_0x1d0ec2=_0x1d0ec2-0x0;var _0x45e2e0=_0x7d97[_0x1d0ec2];return _0x45e2e0;};'use strict';var moment=require('moment');var Sequelize=require(_0x77d9('0x0'));module[_0x77d9('0x1')]={'phone':{'type':Sequelize[_0x77d9('0x2')],'allowNull':![]},'active':{'type':Sequelize[_0x77d9('0x3')],'defaultValue':![]},'scheduledat':{'type':Sequelize[_0x77d9('0x4')],'defaultValue':moment()[_0x77d9('0x5')]('YYYY-MM-DD\x20HH:mm:ss')},'countbusyretry':{'type':Sequelize[_0x77d9('0x6')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x77d9('0x6')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x77d9('0x6')],'defaultValue':0x0},'callback':{'type':Sequelize[_0x77d9('0x3')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0x77d9('0x2')],'defaultValue':null},'callbackat':{'type':Sequelize['DATE']},'priority':{'type':Sequelize[_0x77d9('0x6')](0x2)[_0x77d9('0x7')],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'recallme':{'type':Sequelize[_0x77d9('0x3')],'defaultValue':![]},'ContactId':{'type':Sequelize[_0x77d9('0x6')],'unique':_0x77d9('0x8')},'ListId':{'type':Sequelize['INTEGER'],'unique':'contactListQueue'},'UserId':{'type':Sequelize[_0x77d9('0x6')]},'VoiceQueueId':{'type':Sequelize[_0x77d9('0x6')],'unique':'contactListQueue'},'CampaignId':{'type':Sequelize['INTEGER']},'countnosuchnumberretry':{'type':Sequelize[_0x77d9('0x6')],'defaultValue':0x0},'countdropretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0x77d9('0x6')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x77d9('0x6')],'defaultValue':0x0},'OrderBy':{'type':Sequelize['INTEGER'],'allowNull':!![],'defaultValue':0x0},'dialTimezone':{'type':Sequelize['STRING']},'recallmeNotifiedDate':{'type':Sequelize[_0x77d9('0x4')],'allowNull':!![],'defaultValue':null}};
\ No newline at end of file
+var _0x2409=['sequelize','exports','BOOLEAN','DATE','YYYY-MM-DD\x20HH:mm:ss','INTEGER','STRING','contactListQueue','moment'];(function(_0x382168,_0xe03b6a){var _0x3ecf7e=function(_0x17b089){while(--_0x17b089){_0x382168['push'](_0x382168['shift']());}};_0x3ecf7e(++_0xe03b6a);}(_0x2409,0xaa));var _0x9240=function(_0x4a3a4b,_0x29dd38){_0x4a3a4b=_0x4a3a4b-0x0;var _0x301cc6=_0x2409[_0x4a3a4b];return _0x301cc6;};'use strict';var moment=require(_0x9240('0x0'));var Sequelize=require(_0x9240('0x1'));module[_0x9240('0x2')]={'phone':{'type':Sequelize['STRING'],'allowNull':![]},'active':{'type':Sequelize[_0x9240('0x3')],'defaultValue':![]},'scheduledat':{'type':Sequelize[_0x9240('0x4')],'defaultValue':moment()['format'](_0x9240('0x5'))},'countbusyretry':{'type':Sequelize[_0x9240('0x6')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x9240('0x6')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'callback':{'type':Sequelize[_0x9240('0x3')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0x9240('0x7')],'defaultValue':null},'callbackat':{'type':Sequelize[_0x9240('0x4')]},'priority':{'type':Sequelize['INTEGER'](0x2)['UNSIGNED'],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'recallme':{'type':Sequelize[_0x9240('0x3')],'defaultValue':![]},'ContactId':{'type':Sequelize[_0x9240('0x6')],'unique':_0x9240('0x8')},'ListId':{'type':Sequelize[_0x9240('0x6')],'unique':_0x9240('0x8')},'UserId':{'type':Sequelize['INTEGER']},'VoiceQueueId':{'type':Sequelize[_0x9240('0x6')],'unique':_0x9240('0x8')},'CampaignId':{'type':Sequelize[_0x9240('0x6')]},'countnosuchnumberretry':{'type':Sequelize[_0x9240('0x6')],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0x9240('0x6')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0x9240('0x6')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0x9240('0x6')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'OrderBy':{'type':Sequelize['INTEGER'],'allowNull':!![],'defaultValue':0x0},'dialTimezone':{'type':Sequelize[_0x9240('0x7')]},'recallmeNotifiedDate':{'type':Sequelize[_0x9240('0x4')],'allowNull':!![],'defaultValue':null}};
\ No newline at end of file