Built motion from commit cf5ff673.|2.5.41
[motion2.git] / server / api / cmHopper / cmHopper.attributes.js
index 2c40ee1..adc0d65 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7bc5=['INTEGER','UNSIGNED','contactListQueue','moment','sequelize','BOOLEAN','DATE','YYYY-MM-DD\x20HH:mm:ss'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x7bc5,0x6b));var _0x57bc=function(_0x4ea69d,_0x290f53){_0x4ea69d=_0x4ea69d-0x0;var _0x5318e0=_0x7bc5[_0x4ea69d];return _0x5318e0;};'use strict';var moment=require(_0x57bc('0x0'));var Sequelize=require(_0x57bc('0x1'));module['exports']={'phone':{'type':Sequelize['STRING'],'allowNull':![]},'active':{'type':Sequelize[_0x57bc('0x2')],'defaultValue':![]},'scheduledat':{'type':Sequelize[_0x57bc('0x3')],'defaultValue':moment()['format'](_0x57bc('0x4'))},'countbusyretry':{'type':Sequelize[_0x57bc('0x5')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x57bc('0x5')],'defaultValue':0x0},'callback':{'type':Sequelize[_0x57bc('0x2')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize['STRING'],'defaultValue':null},'callbackat':{'type':Sequelize[_0x57bc('0x3')]},'priority':{'type':Sequelize['INTEGER'](0x2)[_0x57bc('0x6')],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'recallme':{'type':Sequelize[_0x57bc('0x2')],'defaultValue':![]},'ContactId':{'type':Sequelize[_0x57bc('0x5')],'unique':_0x57bc('0x7')},'ListId':{'type':Sequelize[_0x57bc('0x5')],'unique':_0x57bc('0x7')},'UserId':{'type':Sequelize[_0x57bc('0x5')]},'VoiceQueueId':{'type':Sequelize[_0x57bc('0x5')],'unique':_0x57bc('0x7')},'CampaignId':{'type':Sequelize[_0x57bc('0x5')]},'countnosuchnumberretry':{'type':Sequelize[_0x57bc('0x5')],'defaultValue':0x0},'countdropretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0x57bc('0x5')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0x57bc('0x5')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x57bc('0x5')],'defaultValue':0x0}};
\ No newline at end of file
+var _0xedc6=['UNSIGNED','contactListQueue','exports','STRING','format','YYYY-MM-DD\x20HH:mm:ss','INTEGER','BOOLEAN','DATE'];(function(_0x685f01,_0x3b273d){var _0x134201=function(_0x525c4b){while(--_0x525c4b){_0x685f01['push'](_0x685f01['shift']());}};_0x134201(++_0x3b273d);}(_0xedc6,0xc8));var _0x6edc=function(_0x186376,_0x5d988a){_0x186376=_0x186376-0x0;var _0x2dbdd9=_0xedc6[_0x186376];return _0x2dbdd9;};'use strict';var moment=require('moment');var Sequelize=require('sequelize');module[_0x6edc('0x0')]={'phone':{'type':Sequelize[_0x6edc('0x1')],'allowNull':![]},'active':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'scheduledat':{'type':Sequelize['DATE'],'defaultValue':moment()[_0x6edc('0x2')](_0x6edc('0x3'))},'countbusyretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x6edc('0x4')],'defaultValue':0x0},'callback':{'type':Sequelize[_0x6edc('0x5')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize['STRING'],'defaultValue':null},'callbackat':{'type':Sequelize[_0x6edc('0x6')]},'priority':{'type':Sequelize[_0x6edc('0x4')](0x2)[_0x6edc('0x7')],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'recallme':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'ContactId':{'type':Sequelize[_0x6edc('0x4')],'unique':'contactListQueue'},'ListId':{'type':Sequelize['INTEGER'],'unique':_0x6edc('0x8')},'UserId':{'type':Sequelize[_0x6edc('0x4')]},'VoiceQueueId':{'type':Sequelize[_0x6edc('0x4')],'unique':'contactListQueue'},'CampaignId':{'type':Sequelize[_0x6edc('0x4')]},'countnosuchnumberretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0x6edc('0x4')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0x6edc('0x4')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0x6edc('0x4')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x6edc('0x4')],'defaultValue':0x0},'recallmeNotifiedDate':{'type':Sequelize['DATE'],'allowNull':!![],'defaultValue':null}};
\ No newline at end of file