0c2d430e59a71fd1d236e32f888c542222c55402
[motion-next.git] / server / api / cmHopper / cmHopper.attributes.js
1 const a136_0x27aa=['YYYY-MM-DD\x20HH:mm:ss','contactListQueue','STRING','exports','BOOLEAN','format','UNSIGNED','moment','INTEGER','DATE'];(function(_0x43a1ff,_0x27aa4e){const _0x158d0e=function(_0x472a79){while(--_0x472a79){_0x43a1ff['push'](_0x43a1ff['shift']());}};_0x158d0e(++_0x27aa4e);}(a136_0x27aa,0xab));const a136_0x158d=function(_0x43a1ff,_0x27aa4e){_0x43a1ff=_0x43a1ff-0x0;let _0x158d0e=a136_0x27aa[_0x43a1ff];return _0x158d0e;};const _0x5565f2=a136_0x158d;'use strict';const moment=require(_0x5565f2('0x6')),Sequelize=require('sequelize');module[_0x5565f2('0x2')]={'phone':{'type':Sequelize[_0x5565f2('0x1')],'allowNull':![]},'active':{'type':Sequelize[_0x5565f2('0x3')],'defaultValue':![]},'scheduledat':{'type':Sequelize[_0x5565f2('0x8')],'defaultValue':moment()[_0x5565f2('0x4')](_0x5565f2('0x9'))},'countbusyretry':{'type':Sequelize[_0x5565f2('0x7')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x5565f2('0x7')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x5565f2('0x7')],'defaultValue':0x0},'callback':{'type':Sequelize[_0x5565f2('0x3')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0x5565f2('0x1')],'defaultValue':null},'callbackat':{'type':Sequelize['DATE']},'priority':{'type':Sequelize[_0x5565f2('0x7')](0x2)[_0x5565f2('0x5')],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'recallme':{'type':Sequelize[_0x5565f2('0x3')],'defaultValue':![]},'ContactId':{'type':Sequelize[_0x5565f2('0x7')],'unique':_0x5565f2('0x0')},'ListId':{'type':Sequelize[_0x5565f2('0x7')],'unique':_0x5565f2('0x0')},'UserId':{'type':Sequelize['INTEGER']},'VoiceQueueId':{'type':Sequelize[_0x5565f2('0x7')],'unique':_0x5565f2('0x0')},'CampaignId':{'type':Sequelize['INTEGER']},'countnosuchnumberretry':{'type':Sequelize[_0x5565f2('0x7')],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0x5565f2('0x7')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0x5565f2('0x7')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x5565f2('0x7')],'defaultValue':0x0}};