Built motion from commit 459747fdfe53bbf13fbede61eeaffea1f1438f86. Version 3.0.0...
[motion-next.git] / server / api / cmHopper / cmHopper.attributes.js
1 const a136_0x5d61=['DATE','YYYY-MM-DD\x20HH:mm:ss','UNSIGNED','BOOLEAN','contactListQueue','sequelize','INTEGER','exports'];(function(_0x15f3d7,_0x5d61fb){const _0x1922ff=function(_0x5a16c0){while(--_0x5a16c0){_0x15f3d7['push'](_0x15f3d7['shift']());}};_0x1922ff(++_0x5d61fb);}(a136_0x5d61,0x16b));const a136_0x1922=function(_0x15f3d7,_0x5d61fb){_0x15f3d7=_0x15f3d7-0x0;let _0x1922ff=a136_0x5d61[_0x15f3d7];return _0x1922ff;};const _0x42cd52=a136_0x1922;'use strict';const moment=require('moment'),Sequelize=require(_0x42cd52('0x2'));module[_0x42cd52('0x4')]={'phone':{'type':Sequelize['STRING'],'allowNull':![]},'active':{'type':Sequelize[_0x42cd52('0x0')],'defaultValue':![]},'scheduledat':{'type':Sequelize['DATE'],'defaultValue':moment()['format'](_0x42cd52('0x6'))},'countbusyretry':{'type':Sequelize[_0x42cd52('0x3')],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x42cd52('0x3')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x42cd52('0x3')],'defaultValue':0x0},'callback':{'type':Sequelize[_0x42cd52('0x0')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize['STRING'],'defaultValue':null},'callbackat':{'type':Sequelize[_0x42cd52('0x5')]},'priority':{'type':Sequelize[_0x42cd52('0x3')](0x2)[_0x42cd52('0x7')],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'recallme':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'ContactId':{'type':Sequelize['INTEGER'],'unique':_0x42cd52('0x1')},'ListId':{'type':Sequelize[_0x42cd52('0x3')],'unique':'contactListQueue'},'UserId':{'type':Sequelize[_0x42cd52('0x3')]},'VoiceQueueId':{'type':Sequelize['INTEGER'],'unique':_0x42cd52('0x1')},'CampaignId':{'type':Sequelize[_0x42cd52('0x3')]},'countnosuchnumberretry':{'type':Sequelize[_0x42cd52('0x3')],'defaultValue':0x0},'countdropretry':{'type':Sequelize[_0x42cd52('0x3')],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize[_0x42cd52('0x3')],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0x42cd52('0x3')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x42cd52('0x3')],'defaultValue':0x0}};