Built motion from commit 362b9399b4d0ed5560fbb795af995925d345fc38. Version 3.0.0...
[motion-next.git] / server / api / cmHopper / cmHopper.attributes.js
1 const a163_0x429e=['exports','attributes','YYYY-MM-DD\x20HH:mm:ss','STRING','INTEGER','sequelize','BOOLEAN','DATE','contactListQueue'];(function(_0x43e163,_0x5470e7){const _0x429e3f=function(_0x5ae5a0){while(--_0x5ae5a0){_0x43e163['push'](_0x43e163['shift']());}};_0x429e3f(++_0x5470e7);}(a163_0x429e,0xc9));const a163_0x5ae5=function(_0x43e163,_0x5470e7){_0x43e163=_0x43e163-0x1c0;let _0x429e3f=a163_0x429e[_0x43e163];return _0x429e3f;};const a163_0x2f5d37=a163_0x5ae5;'use strict';const moment=require('moment'),{DataTypes}=require(a163_0x2f5d37(0x1c2)),attributes={'phone':{'type':DataTypes[a163_0x2f5d37(0x1c0)],'allowNull':![]},'active':{'type':DataTypes[a163_0x2f5d37(0x1c3)],'defaultValue':![]},'scheduledat':{'type':DataTypes[a163_0x2f5d37(0x1c4)],'defaultValue':moment()['format'](a163_0x2f5d37(0x1c8))},'countbusyretry':{'type':DataTypes[a163_0x2f5d37(0x1c1)],'defaultValue':0x0},'countcongestionretry':{'type':DataTypes[a163_0x2f5d37(0x1c1)],'defaultValue':0x0},'countnoanswerretry':{'type':DataTypes[a163_0x2f5d37(0x1c1)],'defaultValue':0x0},'callback':{'type':DataTypes['BOOLEAN'],'defaultValue':![]},'callbackuniqueid':{'type':DataTypes['STRING'],'defaultValue':null},'callbackat':{'type':DataTypes[a163_0x2f5d37(0x1c4)]},'priority':{'type':DataTypes[a163_0x2f5d37(0x1c1)]({'length':0x2})['UNSIGNED'],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'recallme':{'type':DataTypes['BOOLEAN'],'defaultValue':![]},'ContactId':{'type':DataTypes[a163_0x2f5d37(0x1c1)],'unique':a163_0x2f5d37(0x1c5)},'ListId':{'type':DataTypes[a163_0x2f5d37(0x1c1)],'unique':'contactListQueue'},'UserId':{'type':DataTypes[a163_0x2f5d37(0x1c1)]},'VoiceQueueId':{'type':DataTypes[a163_0x2f5d37(0x1c1)],'unique':a163_0x2f5d37(0x1c5)},'CampaignId':{'type':DataTypes[a163_0x2f5d37(0x1c1)]},'countnosuchnumberretry':{'type':DataTypes[a163_0x2f5d37(0x1c1)],'defaultValue':0x0},'countdropretry':{'type':DataTypes[a163_0x2f5d37(0x1c1)],'defaultValue':0x0},'countabandonedretry':{'type':DataTypes['INTEGER'],'defaultValue':0x0},'countmachineretry':{'type':DataTypes[a163_0x2f5d37(0x1c1)],'defaultValue':0x0},'countagentrejectretry':{'type':DataTypes['INTEGER'],'defaultValue':0x0}};module[a163_0x2f5d37(0x1c6)][a163_0x2f5d37(0x1c7)]=attributes;