Built motion from commit 092f8824.|2.5.49
[motion2.git] / server / api / voiceQueue / voiceQueue.attributes.js
index 76a8f51..8fa86cd 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7e73=['Only\x20for\x20predictive\x20method.','FLOAT','Predictive\x20Optimization\x20Percentage\x20(min:\x201,\x20max:\x2095)','Interval\x20Predictive\x20Minutes\x20(min:5\x20max:30)','Originate\x20Timeout\x20Seconds\x20(min:1,\x20max:999)','tTxX','https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Application_Queue','Queue\x20Timeout\x20Seconds\x20(min:1,\x20max:999)','AGI\x20queue\x20option\x20(use:\x20agi://127.0.0.1/square,<project_name>)','#Congestion\x20Retry\x20(min:1,\x20max:999)','Congestion\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#Busy\x20Retry\x20(min:1,\x20max:999)','Busy\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#NoAnswer\x20Retry\x20(min:1,\x20max:999)','#Global\x20Max\x20Retry\x20(min:1,\x20max:999)','always','never','onlyIfOpen','Active/Disactive\x20AMD','#AMD\x20Greeting','#AMD\x20Total\x20Analysis\x20Time','#AMD\x20Min\x20Word\x20Length','#AMD\x20Between\x20Words\x20Silence','#AMD\x20Maximum\x20Number\x20Of\x20Words','#AMD\x20Maximum\x20Word\x20Length','#RecallMe\x20Timeout\x20(min:1)','Active/Disactive\x20Recall\x20In\x20Queue','DESC','ASC','Random\x20Last\x20Digit\x20(min:1,\x20max:15)','Cut\x20Digit\x20(min:1,\x20max:15)','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','mandatoryDispositionPauseId','mandatoryDisposition','sequelize','exports','STRING','name','ENUM','inbound','outbound','default','ringall','random','rrmemory','wrandom','rrordered','setDataValue','strategy','getDataValue','type','dialMethod','booked','roundrobin','predictive','power','INTEGER','yes','once','TEXT','join','periodic_announce','split','joinempty','leavewhenempty','BOOLEAN','wrapuptime','preview','progressive','Dial\x20Method.','UNSIGNED','Max\x209999\x20channels,\x200\x20means\x20unlimited.','Max\x209999\x20member\x20in\x20queue(min:1,\x20max:9999),\x200\x20means\x20unlimited.','Power\x20Level:\x20Calls\x20for\x20agents\x20(min:1,\x20max:10).','dropRate'];(function(_0x2a2766,_0x475265){var _0x30a56c=function(_0x8f9186){while(--_0x8f9186){_0x2a2766['push'](_0x2a2766['shift']());}};_0x30a56c(++_0x475265);}(_0x7e73,0x6f));var _0x37e7=function(_0x3a5fed,_0x17083d){_0x3a5fed=_0x3a5fed-0x0;var _0x1e6e7b=_0x7e73[_0x3a5fed];return _0x1e6e7b;};'use strict';var Sequelize=require(_0x37e7('0x0'));module[_0x37e7('0x1')]={'name':{'type':Sequelize[_0x37e7('0x2')],'allowNull':![],'unique':_0x37e7('0x3'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'type':{'type':Sequelize[_0x37e7('0x4')](_0x37e7('0x5'),_0x37e7('0x6')),'allowNull':![],'defaultValue':_0x37e7('0x5')},'musiconhold':{'type':Sequelize[_0x37e7('0x2')],'defaultValue':_0x37e7('0x7')},'announce':{'type':Sequelize[_0x37e7('0x2')],'defaultValue':''},'strategy':{'type':Sequelize[_0x37e7('0x4')]('rr',_0x37e7('0x8'),'leastrecent','fewestcalls',_0x37e7('0x9'),_0x37e7('0xa'),'linear',_0x37e7('0xb'),_0x37e7('0xc')),'allowNull':![],'defaultValue':'ringall','set':function(_0x482406){this[_0x37e7('0xd')](_0x37e7('0xe'),_0x482406?_0x482406:_0x37e7('0xa'));},'get':function(){var _0x197888=this[_0x37e7('0xf')](_0x37e7('0x10'));var _0x21b812=this['getDataValue'](_0x37e7('0x11'));var _0x1797ac=this['getDataValue'](_0x37e7('0xe'));if(_0x197888===_0x37e7('0x5')){return _0x1797ac;}if(_0x21b812===_0x37e7('0x12')&&_0x1797ac===_0x37e7('0xa')||_0x21b812===_0x37e7('0x12')&&_0x1797ac===_0x37e7('0x13')){return _0x1797ac;}if(_0x21b812==='progressive'||_0x21b812===_0x37e7('0x14')||_0x21b812===_0x37e7('0x15')){return _0x1797ac;}return null;}},'servicelevel':{'type':Sequelize[_0x37e7('0x16')](0xb),'defaultValue':0x0},'context':{'type':Sequelize[_0x37e7('0x2')],'defaultValue':null},'penaltymemberslimit':{'type':Sequelize['INTEGER'](0xb)},'timeout':{'type':Sequelize[_0x37e7('0x16')](0xb),'defaultValue':0xf},'retry':{'type':Sequelize[_0x37e7('0x16')](0xb),'defaultValue':0x2},'timeoutpriority':{'type':Sequelize[_0x37e7('0x2')]},'weight':{'type':Sequelize[_0x37e7('0x16')](0xb),'allowNull':!![],'defaultValue':0x0},'wrapuptime':{'type':Sequelize[_0x37e7('0x16')](0xb),'defaultValue':0x0},'autofill':{'type':Sequelize[_0x37e7('0x4')](_0x37e7('0x17'),'no'),'defaultValue':_0x37e7('0x17')},'autopause':{'type':Sequelize['ENUM'](_0x37e7('0x17'),'no','all'),'defaultValue':'no'},'autopausedelay':{'type':Sequelize[_0x37e7('0x16')](0xb)},'autopausebusy':{'type':Sequelize[_0x37e7('0x4')](_0x37e7('0x17'),'no'),'defaultValue':'no'},'autopauseunavail':{'type':Sequelize['ENUM']('yes','no'),'defaultValue':'no'},'maxlen':{'type':Sequelize[_0x37e7('0x16')](0xb),'defaultValue':0x0},'setinterfacevar':{'type':Sequelize['ENUM'](_0x37e7('0x17'),'no'),'defaultValue':'no'},'setqueueentryvar':{'type':Sequelize['ENUM']('yes','no'),'defautValue':'no'},'setqueuevar':{'type':Sequelize['ENUM'](_0x37e7('0x17'),'no'),'defaultValue':'no'},'eventmemberstatus':{'type':Sequelize['ENUM'](_0x37e7('0x17'),'no'),'defaultValue':'no'},'membermacro':{'type':Sequelize[_0x37e7('0x2')],'allowNull':!![]},'membergosub':{'type':Sequelize[_0x37e7('0x2')],'allowNull':!![]},'announce_frequency':{'type':Sequelize[_0x37e7('0x16')](0xb),'defaultValue':0x0},'min_announce_frequency':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0},'periodic_announce_frequency':{'type':Sequelize[_0x37e7('0x16')](0xb),'defaultValue':0x0},'random_periodic_announce':{'type':Sequelize[_0x37e7('0x4')](_0x37e7('0x17'),'no'),'defaultValue':'no'},'relative_periodic_announce':{'type':Sequelize['ENUM'](_0x37e7('0x17'),'no'),'defaultValue':_0x37e7('0x17')},'announce_holdtime':{'type':Sequelize[_0x37e7('0x4')]('yes','no',_0x37e7('0x18')),'defaultValue':'no'},'announce_position':{'type':Sequelize['STRING'],'defaultValue':'no'},'announce_to_first_user':{'type':Sequelize[_0x37e7('0x4')](_0x37e7('0x17'),'no')},'announce_position_limit':{'type':Sequelize[_0x37e7('0x16')](0xb)},'announce_round_seconds':{'type':Sequelize['ENUM']('0','5','10','15','20','30'),'defaultValue':'0'},'monitor_format':{'type':Sequelize[_0x37e7('0x2')],'defaultValue':''},'monitor_type':{'type':Sequelize['STRING']},'queue_youarenext':{'type':Sequelize['STRING'],'defaultValue':null},'queue_thereare':{'type':Sequelize['STRING'],'defaultValue':null},'queue_callswaiting':{'type':Sequelize[_0x37e7('0x2')],'defaultValue':null},'queue_holdtime':{'type':Sequelize[_0x37e7('0x2')],'defaultValue':null},'queue_minute':{'type':Sequelize[_0x37e7('0x2')],'allowNull':!![],'defaultValue':null},'queue_minutes':{'type':Sequelize[_0x37e7('0x2')],'defaultValue':null},'queue_seconds':{'type':Sequelize[_0x37e7('0x2')],'defaultValue':null},'queue_thankyou':{'type':Sequelize['STRING'],'defaultValue':null},'queue_reporthold':{'type':Sequelize[_0x37e7('0x2')]},'queue_quantity1':{'type':Sequelize[_0x37e7('0x2')]},'queue_quantity2':{'type':Sequelize[_0x37e7('0x2')]},'queue_periodic_announce':{'type':Sequelize[_0x37e7('0x2')]},'queue_less_than':{'type':Sequelize[_0x37e7('0x2')]},'periodic_announce':{'type':Sequelize[_0x37e7('0x19')],'set':function(_0x40dbbc){this[_0x37e7('0xd')]('periodic_announce',_0x40dbbc?_0x40dbbc[_0x37e7('0x1a')](','):[]);},'get':function(){return this['getDataValue'](_0x37e7('0x1b'))?this['getDataValue'](_0x37e7('0x1b'))[_0x37e7('0x1c')](','):[];}},'joinempty':{'type':Sequelize[_0x37e7('0x2')],'defaultValue':_0x37e7('0x17'),'set':function(_0x2124f2){this[_0x37e7('0xd')](_0x37e7('0x1d'),_0x2124f2?_0x2124f2[_0x37e7('0x1a')](','):undefined);},'get':function(){return this[_0x37e7('0xf')](_0x37e7('0x1d'))?this[_0x37e7('0xf')]('joinempty')['split'](','):undefined;}},'leavewhenempty':{'type':Sequelize[_0x37e7('0x2')],'defaultValue':'no','set':function(_0x3ee80b){this[_0x37e7('0xd')](_0x37e7('0x1e'),_0x3ee80b?_0x3ee80b[_0x37e7('0x1a')](','):undefined);},'get':function(){return this[_0x37e7('0xf')](_0x37e7('0x1e'))?this['getDataValue'](_0x37e7('0x1e'))[_0x37e7('0x1c')](','):undefined;}},'reportholdtime':{'type':Sequelize[_0x37e7('0x4')](_0x37e7('0x17'),'no'),'defaultValue':'no'},'ringinuse':{'type':Sequelize[_0x37e7('0x4')]('yes','no'),'defaultValue':'no'},'memberdelay':{'type':Sequelize[_0x37e7('0x16')](0xb),'defaultValue':0x0},'timeoutrestart':{'type':Sequelize[_0x37e7('0x4')](_0x37e7('0x17'),'no'),'defaultValue':'no'},'defaultrule':{'type':Sequelize[_0x37e7('0x2')]},'description':{'type':Sequelize[_0x37e7('0x2')]},'acw':{'type':Sequelize[_0x37e7('0x1f')],'defaultValue':0x0,'set':function(_0x4b12e8){this[_0x37e7('0xd')]('acw',_0x4b12e8);if(_0x4b12e8){if(this[_0x37e7('0xf')](_0x37e7('0x20'))<0x2){this[_0x37e7('0xd')](_0x37e7('0x20'),0x2);}}}},'acwTimeout':{'type':Sequelize[_0x37e7('0x16')](0xb),'defaultValue':0xa},'dialActive':{'type':Sequelize[_0x37e7('0x1f')],'defaultValue':0x0,'comment':'Active/Disactive\x20Campaign'},'dialMethod':{'type':Sequelize['ENUM'](_0x37e7('0x21'),'progressive','power',_0x37e7('0x14'),'booked'),'defaultValue':_0x37e7('0x22'),'comment':_0x37e7('0x23')},'dialLimitChannel':{'type':Sequelize[_0x37e7('0x16')](0x4)[_0x37e7('0x24')],'defaultValue':0x0,'validate':{'min':0x0,'max':0x270f},'comment':_0x37e7('0x25')},'dialLimitQueue':{'type':Sequelize['INTEGER'](0x4)[_0x37e7('0x24')],'defaultValue':0x0,'validate':{'min':0x0,'max':0x270f},'comment':_0x37e7('0x26')},'dialPowerLevel':{'type':Sequelize['FLOAT'](0x2)['UNSIGNED'],'defaultValue':0x1,'validate':{'min':0x1,'max':0xa},'comment':_0x37e7('0x27')},'dialPredictiveOptimization':{'type':Sequelize[_0x37e7('0x4')]('agentBusyFactor',_0x37e7('0x28')),'defaultValue':_0x37e7('0x28'),'comment':_0x37e7('0x29')},'dialPredictiveOptimizationPercentage':{'type':Sequelize[_0x37e7('0x2a')](0x2)[_0x37e7('0x24')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x5f},'comment':_0x37e7('0x2b')},'dialPredictiveInterval':{'type':Sequelize['INTEGER'](0x3)['UNSIGNED'],'defaultValue':0xa,'validate':{'min':0x5,'max':0x1e},'comment':_0x37e7('0x2c')},'dialOriginateCallerIdName':{'type':Sequelize[_0x37e7('0x2')]},'dialOriginateCallerIdNumber':{'type':Sequelize[_0x37e7('0x2')]},'dialOriginateTimeout':{'type':Sequelize['INTEGER'](0x3)[_0x37e7('0x24')],'defaultValue':0x1e,'validate':{'min':0x1,'max':0x3e7},'comment':_0x37e7('0x2d')},'dialQueueOptions':{'type':Sequelize[_0x37e7('0x2')],'defaultValue':_0x37e7('0x2e'),'comment':_0x37e7('0x2f')},'dialQueueTimeout':{'type':Sequelize['INTEGER'](0x3)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x37e7('0x30')},'dialQueueProject':{'type':Sequelize[_0x37e7('0x2')],'comment':_0x37e7('0x31')},'dialCongestionMaxRetry':{'type':Sequelize['INTEGER'](0x3)[_0x37e7('0x24')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x37e7('0x32')},'dialCongestionRetryFrequency':{'type':Sequelize[_0x37e7('0x16')](0x5)['UNSIGNED'],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x37e7('0x33')},'dialBusyMaxRetry':{'type':Sequelize['INTEGER'](0x3)[_0x37e7('0x24')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x37e7('0x34')},'dialBusyRetryFrequency':{'type':Sequelize['INTEGER'](0x5)[_0x37e7('0x24')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x37e7('0x35')},'dialNoAnswerMaxRetry':{'type':Sequelize['INTEGER'](0x3)[_0x37e7('0x24')],'defaultValue':0x3,'comment':_0x37e7('0x36')},'dialNoAnswerRetryFrequency':{'type':Sequelize['INTEGER'](0x5)['UNSIGNED'],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':'NoAnswer\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'},'dialGlobalMaxRetry':{'type':Sequelize['INTEGER'](0x3)[_0x37e7('0x24')],'validate':{'min':0x1,'max':0x3e7},'defaultValue':0x4,'comment':_0x37e7('0x37')},'dialTimezone':{'type':Sequelize[_0x37e7('0x2')],'defaultValue':null},'dialGlobalInterval':{'type':Sequelize[_0x37e7('0x2')],'defaultValue':'07:00-22:00,*,*,*'},'dialPrefix':{'type':Sequelize[_0x37e7('0x2')],'defaultValue':null},'dialCheckDuplicateType':{'type':Sequelize[_0x37e7('0x4')](_0x37e7('0x38'),_0x37e7('0x39'),_0x37e7('0x3a')),'defaultValue':_0x37e7('0x38')},'dialAMDActive':{'type':Sequelize[_0x37e7('0x1f')],'defaultValue':0x0,'comment':_0x37e7('0x3b')},'dialAMDInitialSilence':{'type':Sequelize[_0x37e7('0x16')](0x9)[_0x37e7('0x24')],'defaultValue':0x9c4,'validate':{'min':0x0},'comment':'#AMD\x20Initial\x20Silence'},'dialAMDGreeting':{'type':Sequelize['INTEGER'](0x9)[_0x37e7('0x24')],'defaultValue':0x5dc,'validate':{'min':0x0},'comment':_0x37e7('0x3c')},'dialAMDAfterGreetingSilence':{'type':Sequelize[_0x37e7('0x16')](0x9)[_0x37e7('0x24')],'defaultValue':0x320,'validate':{'min':0x0},'comment':'#AMD\x20After\x20Greeting\x20Silence'},'dialAMDTotalAnalysisTime':{'type':Sequelize[_0x37e7('0x16')](0x9)[_0x37e7('0x24')],'defaultValue':0x1388,'validate':{'min':0x0},'comment':_0x37e7('0x3d')},'dialAMDMinWordLength':{'type':Sequelize['INTEGER'](0x9)[_0x37e7('0x24')],'defaultValue':0x64,'validate':{'min':0x0},'comment':_0x37e7('0x3e')},'dialAMDBetweenWordsSilence':{'type':Sequelize['INTEGER'](0x9)[_0x37e7('0x24')],'defaultValue':0x32,'validate':{'min':0x0},'comment':_0x37e7('0x3f')},'dialAMDMaximumNumberOfWords':{'type':Sequelize[_0x37e7('0x16')](0x9)[_0x37e7('0x24')],'defaultValue':0x3,'validate':{'min':0x0},'comment':_0x37e7('0x40')},'dialAMDSilenceThreshold':{'type':Sequelize[_0x37e7('0x16')](0x5)[_0x37e7('0x24')],'validate':{'min':0x0,'max':0x7fff},'defaultValue':0x100,'comment':'#AMD\x20Silence\x20Threshold\x20(min:0,\x20max:32767)'},'dialAMDMaximumWordLength':{'type':Sequelize['INTEGER'](0x9)[_0x37e7('0x24')],'defaultValue':0x1388,'validate':{'min':0x0},'comment':_0x37e7('0x41')},'dialRecallMeTimeout':{'type':Sequelize[_0x37e7('0x16')](0x5)[_0x37e7('0x24')],'validate':{'min':0x1},'defaultValue':0x1e,'comment':_0x37e7('0x42')},'dialRecallInQueue':{'type':Sequelize['BOOLEAN'],'defaultValue':0x0,'comment':_0x37e7('0x43')},'dialOrderByScheduledAt':{'type':Sequelize[_0x37e7('0x4')](_0x37e7('0x44'),_0x37e7('0x45')),'defaultValue':_0x37e7('0x44')},'dialQueueProject2':{'type':Sequelize[_0x37e7('0x2')],'comment':_0x37e7('0x31')},'dialAgiAfterHangupClient':{'type':Sequelize[_0x37e7('0x1f')],'defaultValue':![]},'dialAgiAfterHangupAgent':{'type':Sequelize[_0x37e7('0x1f')],'defaultValue':![]},'dialRandomLastDigitCallerIdNumber':{'type':Sequelize[_0x37e7('0x16')](0x3)[_0x37e7('0x24')],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':_0x37e7('0x46')},'dialCutDigit':{'type':Sequelize[_0x37e7('0x16')](0x3)['UNSIGNED'],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':_0x37e7('0x47')},'mandatoryDispositionPauseId':{'type':Sequelize[_0x37e7('0x16')],'allowNull':!![],'comment':_0x37e7('0x48')},'mandatoryDisposition':{'type':Sequelize[_0x37e7('0x1f')],'defaultValue':![],'comment':_0x37e7('0x49'),'set':function(_0x4a972e){if(!_0x4a972e)this[_0x37e7('0xd')](_0x37e7('0x4a'),null);this['setDataValue'](_0x37e7('0x4b'),_0x4a972e);}},'dialPredictiveIntervalMaxThreshold':{'type':Sequelize[_0x37e7('0x16')](0x3)['UNSIGNED'],'defaultValue':0x14,'validate':{'min':0x1,'max':0x64}},'dialPredictiveIntervalMinThreshold':{'type':Sequelize[_0x37e7('0x16')](0x3)[_0x37e7('0x24')],'defaultValue':0xa,'validate':{'min':0x1,'max':0x64}}};
\ No newline at end of file
+var _0x11f3=['STRING','name','inbound','default','ENUM','ringall','leastrecent','fewestcalls','random','rrmemory','linear','wrandom','setDataValue','strategy','getDataValue','type','booked','progressive','predictive','power','INTEGER','yes','all','once','TEXT','periodic_announce','join','split','joinempty','leavewhenempty','BOOLEAN','acw','wrapuptime','Active/Disactive\x20Campaign','preview','Dial\x20Method.','UNSIGNED','Max\x209999\x20channels,\x200\x20means\x20unlimited.','Max\x209999\x20member\x20in\x20queue(min:1,\x20max:9999),\x200\x20means\x20unlimited.','Power\x20Level:\x20Calls\x20for\x20agents\x20(min:1,\x20max:10).','agentBusyFactor','FLOAT','Predictive\x20Optimization\x20Percentage\x20(min:\x201,\x20max:\x2095)','Interval\x20Predictive\x20Minutes\x20(min:5\x20max:30)','Originate\x20Timeout\x20Seconds\x20(min:1,\x20max:999)','https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Application_Queue','Queue\x20Timeout\x20Seconds\x20(min:1,\x20max:999)','Congestion\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#Busy\x20Retry\x20(min:1,\x20max:999)','Busy\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#NoAnswer\x20Retry\x20(min:1,\x20max:999)','NoAnswer\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#Global\x20Max\x20Retry\x20(min:1,\x20max:999)','07:00-22:00,*,*,*','onlyIfOpen','always','Active/Disactive\x20AMD','#AMD\x20Initial\x20Silence','#AMD\x20Greeting','#AMD\x20After\x20Greeting\x20Silence','#AMD\x20Min\x20Word\x20Length','#AMD\x20Maximum\x20Number\x20Of\x20Words','#AMD\x20Maximum\x20Word\x20Length','#RecallMe\x20Timeout\x20(min:1)','Active/Disactive\x20Recall\x20In\x20Queue','DESC','ASC','AGI\x20queue\x20option\x20(use:\x20agi://127.0.0.1/square,<project_name>)','Cut\x20Digit\x20(min:1,\x20max:15)','#NoSuchNumber\x20Retry\x20(min:1,\x20max:999)','NoSuchNumber\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#Drop\x20Retry\x20(min:1,\x20max:999)','Drop\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#Abandoned\x20Retry\x20(min:1,\x20max:999)','Abandoned\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#Machine\x20Retry\x20(min:1,\x20max:999)','Machine\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#AgentReject\x20Retry\x20(min:1,\x20max:999)','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','mandatoryDispositionPauseId','mandatoryDisposition','sequelize','exports'];(function(_0xf3988b,_0x2cdd17){var _0x3b6467=function(_0x502ced){while(--_0x502ced){_0xf3988b['push'](_0xf3988b['shift']());}};_0x3b6467(++_0x2cdd17);}(_0x11f3,0xf7));var _0x311f=function(_0x2f2606,_0x2bf0ed){_0x2f2606=_0x2f2606-0x0;var _0x561d6c=_0x11f3[_0x2f2606];return _0x561d6c;};'use strict';var Sequelize=require(_0x311f('0x0'));module[_0x311f('0x1')]={'name':{'type':Sequelize[_0x311f('0x2')],'allowNull':![],'unique':_0x311f('0x3'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'type':{'type':Sequelize['ENUM'](_0x311f('0x4'),'outbound'),'allowNull':![],'defaultValue':_0x311f('0x4')},'musiconhold':{'type':Sequelize[_0x311f('0x2')],'defaultValue':_0x311f('0x5')},'announce':{'type':Sequelize[_0x311f('0x2')],'defaultValue':''},'strategy':{'type':Sequelize[_0x311f('0x6')]('rr',_0x311f('0x7'),_0x311f('0x8'),_0x311f('0x9'),_0x311f('0xa'),_0x311f('0xb'),_0x311f('0xc'),_0x311f('0xd'),'rrordered'),'allowNull':![],'defaultValue':_0x311f('0x7'),'set':function(_0x32e75b){this[_0x311f('0xe')](_0x311f('0xf'),_0x32e75b?_0x32e75b:_0x311f('0xb'));},'get':function(){var _0x5582e2=this[_0x311f('0x10')](_0x311f('0x11'));var _0x30bfdc=this[_0x311f('0x10')]('dialMethod');var _0x15dc80=this[_0x311f('0x10')]('strategy');if(_0x5582e2===_0x311f('0x4')){return _0x15dc80;}if(_0x30bfdc==='booked'&&_0x15dc80===_0x311f('0xb')||_0x30bfdc===_0x311f('0x12')&&_0x15dc80==='roundrobin'){return _0x15dc80;}if(_0x30bfdc===_0x311f('0x13')||_0x30bfdc===_0x311f('0x14')||_0x30bfdc===_0x311f('0x15')){return _0x15dc80;}return null;}},'servicelevel':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0},'context':{'type':Sequelize[_0x311f('0x2')],'defaultValue':null},'penaltymemberslimit':{'type':Sequelize[_0x311f('0x16')](0xb)},'timeout':{'type':Sequelize[_0x311f('0x16')](0xb),'defaultValue':0xf},'retry':{'type':Sequelize[_0x311f('0x16')](0xb),'defaultValue':0x2},'timeoutpriority':{'type':Sequelize['STRING']},'weight':{'type':Sequelize[_0x311f('0x16')](0xb),'allowNull':!![],'defaultValue':0x0},'wrapuptime':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0},'autofill':{'type':Sequelize[_0x311f('0x6')]('yes','no'),'defaultValue':_0x311f('0x17')},'autopause':{'type':Sequelize[_0x311f('0x6')](_0x311f('0x17'),'no',_0x311f('0x18')),'defaultValue':'no'},'autopausedelay':{'type':Sequelize['INTEGER'](0xb)},'autopausebusy':{'type':Sequelize['ENUM']('yes','no'),'defaultValue':'no'},'autopauseunavail':{'type':Sequelize['ENUM'](_0x311f('0x17'),'no'),'defaultValue':'no'},'maxlen':{'type':Sequelize[_0x311f('0x16')](0xb),'defaultValue':0x0},'setinterfacevar':{'type':Sequelize[_0x311f('0x6')](_0x311f('0x17'),'no'),'defaultValue':'no'},'setqueueentryvar':{'type':Sequelize[_0x311f('0x6')](_0x311f('0x17'),'no'),'defautValue':'no'},'setqueuevar':{'type':Sequelize[_0x311f('0x6')]('yes','no'),'defaultValue':'no'},'eventmemberstatus':{'type':Sequelize['ENUM'](_0x311f('0x17'),'no'),'defaultValue':'no'},'membermacro':{'type':Sequelize[_0x311f('0x2')],'allowNull':!![]},'membergosub':{'type':Sequelize[_0x311f('0x2')],'allowNull':!![]},'announce_frequency':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0},'min_announce_frequency':{'type':Sequelize[_0x311f('0x16')](0xb),'defaultValue':0x0},'periodic_announce_frequency':{'type':Sequelize[_0x311f('0x16')](0xb),'defaultValue':0x0},'random_periodic_announce':{'type':Sequelize['ENUM']('yes','no'),'defaultValue':'no'},'relative_periodic_announce':{'type':Sequelize['ENUM'](_0x311f('0x17'),'no'),'defaultValue':_0x311f('0x17')},'announce_holdtime':{'type':Sequelize[_0x311f('0x6')](_0x311f('0x17'),'no',_0x311f('0x19')),'defaultValue':'no'},'announce_position':{'type':Sequelize['STRING'],'defaultValue':'no'},'announce_to_first_user':{'type':Sequelize[_0x311f('0x6')](_0x311f('0x17'),'no')},'announce_position_limit':{'type':Sequelize[_0x311f('0x16')](0xb)},'announce_round_seconds':{'type':Sequelize['ENUM']('0','5','10','15','20','30'),'defaultValue':'0'},'monitor_format':{'type':Sequelize[_0x311f('0x2')],'defaultValue':''},'monitor_type':{'type':Sequelize[_0x311f('0x2')]},'queue_youarenext':{'type':Sequelize['STRING'],'defaultValue':null},'queue_thereare':{'type':Sequelize[_0x311f('0x2')],'defaultValue':null},'queue_callswaiting':{'type':Sequelize[_0x311f('0x2')],'defaultValue':null},'queue_holdtime':{'type':Sequelize['STRING'],'defaultValue':null},'queue_minute':{'type':Sequelize[_0x311f('0x2')],'allowNull':!![],'defaultValue':null},'queue_minutes':{'type':Sequelize['STRING'],'defaultValue':null},'queue_seconds':{'type':Sequelize[_0x311f('0x2')],'defaultValue':null},'queue_thankyou':{'type':Sequelize[_0x311f('0x2')],'defaultValue':null},'queue_reporthold':{'type':Sequelize['STRING']},'queue_quantity1':{'type':Sequelize[_0x311f('0x2')]},'queue_quantity2':{'type':Sequelize[_0x311f('0x2')]},'queue_periodic_announce':{'type':Sequelize[_0x311f('0x2')]},'queue_less_than':{'type':Sequelize['STRING']},'periodic_announce':{'type':Sequelize[_0x311f('0x1a')],'set':function(_0x40ef04){this[_0x311f('0xe')](_0x311f('0x1b'),_0x40ef04?_0x40ef04[_0x311f('0x1c')](','):[]);},'get':function(){return this[_0x311f('0x10')]('periodic_announce')?this[_0x311f('0x10')]('periodic_announce')[_0x311f('0x1d')](','):[];}},'joinempty':{'type':Sequelize[_0x311f('0x2')],'defaultValue':_0x311f('0x17'),'set':function(_0x201e04){this[_0x311f('0xe')](_0x311f('0x1e'),_0x201e04?_0x201e04[_0x311f('0x1c')](','):undefined);},'get':function(){return this[_0x311f('0x10')]('joinempty')?this[_0x311f('0x10')](_0x311f('0x1e'))[_0x311f('0x1d')](','):undefined;}},'leavewhenempty':{'type':Sequelize[_0x311f('0x2')],'defaultValue':'no','set':function(_0x1fb38a){this['setDataValue'](_0x311f('0x1f'),_0x1fb38a?_0x1fb38a[_0x311f('0x1c')](','):undefined);},'get':function(){return this['getDataValue']('leavewhenempty')?this['getDataValue'](_0x311f('0x1f'))[_0x311f('0x1d')](','):undefined;}},'reportholdtime':{'type':Sequelize[_0x311f('0x6')](_0x311f('0x17'),'no'),'defaultValue':'no'},'ringinuse':{'type':Sequelize[_0x311f('0x6')](_0x311f('0x17'),'no'),'defaultValue':'no'},'memberdelay':{'type':Sequelize[_0x311f('0x16')](0xb),'defaultValue':0x0},'timeoutrestart':{'type':Sequelize[_0x311f('0x6')]('yes','no'),'defaultValue':'no'},'defaultrule':{'type':Sequelize[_0x311f('0x2')]},'description':{'type':Sequelize[_0x311f('0x2')]},'acw':{'type':Sequelize[_0x311f('0x20')],'defaultValue':0x0,'set':function(_0x33b054){this['setDataValue'](_0x311f('0x21'),_0x33b054);if(_0x33b054){if(this[_0x311f('0x10')]('wrapuptime')<0x2){this[_0x311f('0xe')](_0x311f('0x22'),0x2);}}}},'acwTimeout':{'type':Sequelize[_0x311f('0x16')](0xb),'defaultValue':0xa},'dialActive':{'type':Sequelize[_0x311f('0x20')],'defaultValue':0x0,'comment':_0x311f('0x23')},'dialMethod':{'type':Sequelize[_0x311f('0x6')](_0x311f('0x24'),_0x311f('0x13'),_0x311f('0x15'),_0x311f('0x14'),_0x311f('0x12')),'defaultValue':_0x311f('0x13'),'comment':_0x311f('0x25')},'dialLimitChannel':{'type':Sequelize['INTEGER'](0x4)[_0x311f('0x26')],'defaultValue':0x0,'validate':{'min':0x0,'max':0x270f},'comment':_0x311f('0x27')},'dialLimitQueue':{'type':Sequelize[_0x311f('0x16')](0x4)['UNSIGNED'],'defaultValue':0x0,'validate':{'min':0x0,'max':0x270f},'comment':_0x311f('0x28')},'dialPowerLevel':{'type':Sequelize['FLOAT'](0x2)['UNSIGNED'],'defaultValue':0x1,'validate':{'min':0x1,'max':0xa},'comment':_0x311f('0x29')},'dialPredictiveOptimization':{'type':Sequelize[_0x311f('0x6')](_0x311f('0x2a'),'dropRate'),'defaultValue':'dropRate','comment':'Only\x20for\x20predictive\x20method.'},'dialPredictiveOptimizationPercentage':{'type':Sequelize[_0x311f('0x2b')](0x2)[_0x311f('0x26')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x5f},'comment':_0x311f('0x2c')},'dialPredictiveInterval':{'type':Sequelize[_0x311f('0x16')](0x3)['UNSIGNED'],'defaultValue':0xa,'validate':{'min':0x5,'max':0x1e},'comment':_0x311f('0x2d')},'dialOriginateCallerIdName':{'type':Sequelize[_0x311f('0x2')]},'dialOriginateCallerIdNumber':{'type':Sequelize[_0x311f('0x2')]},'dialOriginateTimeout':{'type':Sequelize[_0x311f('0x16')](0x3)[_0x311f('0x26')],'defaultValue':0x1e,'validate':{'min':0x1,'max':0x3e7},'comment':_0x311f('0x2e')},'dialQueueOptions':{'type':Sequelize[_0x311f('0x2')],'defaultValue':'tTxX','comment':_0x311f('0x2f')},'dialQueueTimeout':{'type':Sequelize[_0x311f('0x16')](0x3)[_0x311f('0x26')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x311f('0x30')},'dialQueueProject':{'type':Sequelize[_0x311f('0x2')],'comment':'AGI\x20queue\x20option\x20(use:\x20agi://127.0.0.1/square,<project_name>)'},'dialCongestionMaxRetry':{'type':Sequelize[_0x311f('0x16')](0x3)[_0x311f('0x26')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':'#Congestion\x20Retry\x20(min:1,\x20max:999)'},'dialCongestionRetryFrequency':{'type':Sequelize['INTEGER'](0x5)[_0x311f('0x26')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x311f('0x31')},'dialBusyMaxRetry':{'type':Sequelize[_0x311f('0x16')](0x3)[_0x311f('0x26')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x311f('0x32')},'dialBusyRetryFrequency':{'type':Sequelize[_0x311f('0x16')](0x5)[_0x311f('0x26')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x311f('0x33')},'dialNoAnswerMaxRetry':{'type':Sequelize[_0x311f('0x16')](0x3)[_0x311f('0x26')],'defaultValue':0x3,'comment':_0x311f('0x34')},'dialNoAnswerRetryFrequency':{'type':Sequelize[_0x311f('0x16')](0x5)[_0x311f('0x26')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x311f('0x35')},'dialGlobalMaxRetry':{'type':Sequelize['INTEGER'](0x3)[_0x311f('0x26')],'validate':{'min':0x1,'max':0x3e7},'defaultValue':0x4,'comment':_0x311f('0x36')},'dialTimezone':{'type':Sequelize[_0x311f('0x2')],'defaultValue':null},'dialGlobalInterval':{'type':Sequelize[_0x311f('0x2')],'defaultValue':_0x311f('0x37')},'dialPrefix':{'type':Sequelize['STRING'],'defaultValue':null},'dialCheckDuplicateType':{'type':Sequelize[_0x311f('0x6')]('always','never',_0x311f('0x38')),'defaultValue':_0x311f('0x39')},'dialAMDActive':{'type':Sequelize['BOOLEAN'],'defaultValue':0x0,'comment':_0x311f('0x3a')},'dialAMDInitialSilence':{'type':Sequelize[_0x311f('0x16')](0x9)[_0x311f('0x26')],'defaultValue':0x9c4,'validate':{'min':0x0},'comment':_0x311f('0x3b')},'dialAMDGreeting':{'type':Sequelize['INTEGER'](0x9)[_0x311f('0x26')],'defaultValue':0x5dc,'validate':{'min':0x0},'comment':_0x311f('0x3c')},'dialAMDAfterGreetingSilence':{'type':Sequelize[_0x311f('0x16')](0x9)[_0x311f('0x26')],'defaultValue':0x320,'validate':{'min':0x0},'comment':_0x311f('0x3d')},'dialAMDTotalAnalysisTime':{'type':Sequelize[_0x311f('0x16')](0x9)['UNSIGNED'],'defaultValue':0x1388,'validate':{'min':0x0},'comment':'#AMD\x20Total\x20Analysis\x20Time'},'dialAMDMinWordLength':{'type':Sequelize['INTEGER'](0x9)[_0x311f('0x26')],'defaultValue':0x64,'validate':{'min':0x0},'comment':_0x311f('0x3e')},'dialAMDBetweenWordsSilence':{'type':Sequelize[_0x311f('0x16')](0x9)[_0x311f('0x26')],'defaultValue':0x32,'validate':{'min':0x0},'comment':'#AMD\x20Between\x20Words\x20Silence'},'dialAMDMaximumNumberOfWords':{'type':Sequelize[_0x311f('0x16')](0x9)[_0x311f('0x26')],'defaultValue':0x3,'validate':{'min':0x0},'comment':_0x311f('0x3f')},'dialAMDSilenceThreshold':{'type':Sequelize['INTEGER'](0x5)[_0x311f('0x26')],'validate':{'min':0x0,'max':0x7fff},'defaultValue':0x100,'comment':'#AMD\x20Silence\x20Threshold\x20(min:0,\x20max:32767)'},'dialAMDMaximumWordLength':{'type':Sequelize[_0x311f('0x16')](0x9)[_0x311f('0x26')],'defaultValue':0x1388,'validate':{'min':0x0},'comment':_0x311f('0x40')},'dialRecallMeTimeout':{'type':Sequelize[_0x311f('0x16')](0x5)[_0x311f('0x26')],'validate':{'min':0x1},'defaultValue':0x1e,'comment':_0x311f('0x41')},'dialRecallInQueue':{'type':Sequelize['BOOLEAN'],'defaultValue':0x0,'comment':_0x311f('0x42')},'dialOrderByScheduledAt':{'type':Sequelize[_0x311f('0x6')](_0x311f('0x43'),_0x311f('0x44')),'defaultValue':_0x311f('0x43')},'dialQueueProject2':{'type':Sequelize[_0x311f('0x2')],'comment':_0x311f('0x45')},'dialAgiAfterHangupClient':{'type':Sequelize[_0x311f('0x20')],'defaultValue':![]},'dialAgiAfterHangupAgent':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'dialRandomLastDigitCallerIdNumber':{'type':Sequelize[_0x311f('0x16')](0x3)[_0x311f('0x26')],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':'Random\x20Last\x20Digit\x20(min:1,\x20max:15)'},'dialCutDigit':{'type':Sequelize[_0x311f('0x16')](0x3)[_0x311f('0x26')],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':_0x311f('0x46')},'dialNoSuchNumberMaxRetry':{'type':Sequelize[_0x311f('0x16')](0x3)[_0x311f('0x26')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x311f('0x47')},'dialNoSuchNumberRetryFrequency':{'type':Sequelize['INTEGER'](0x5)[_0x311f('0x26')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x311f('0x48')},'dialDropMaxRetry':{'type':Sequelize[_0x311f('0x16')](0x3)[_0x311f('0x26')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x311f('0x49')},'dialDropRetryFrequency':{'type':Sequelize[_0x311f('0x16')](0x5)['UNSIGNED'],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x311f('0x4a')},'dialAbandonedMaxRetry':{'type':Sequelize[_0x311f('0x16')](0x3)[_0x311f('0x26')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x311f('0x4b')},'dialAbandonedRetryFrequency':{'type':Sequelize['INTEGER'](0x5)[_0x311f('0x26')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x311f('0x4c')},'dialMachineMaxRetry':{'type':Sequelize[_0x311f('0x16')](0x3)[_0x311f('0x26')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x311f('0x4d')},'dialMachineRetryFrequency':{'type':Sequelize[_0x311f('0x16')](0x5)[_0x311f('0x26')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x311f('0x4e')},'dialAgentRejectMaxRetry':{'type':Sequelize[_0x311f('0x16')](0x3)[_0x311f('0x26')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x311f('0x4f')},'dialAgentRejectRetryFrequency':{'type':Sequelize[_0x311f('0x16')](0x5)[_0x311f('0x26')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':'AgentReject\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'},'mandatoryDispositionPauseId':{'type':Sequelize[_0x311f('0x16')],'allowNull':!![],'comment':'Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled'},'mandatoryDisposition':{'type':Sequelize[_0x311f('0x20')],'defaultValue':![],'comment':_0x311f('0x50'),'set':function(_0x16053e){if(!_0x16053e)this[_0x311f('0xe')](_0x311f('0x51'),null);this[_0x311f('0xe')](_0x311f('0x52'),_0x16053e);}},'dialPredictiveIntervalMaxThreshold':{'type':Sequelize['INTEGER'](0x3)[_0x311f('0x26')],'defaultValue':0x14,'validate':{'min':0x1,'max':0x64}},'dialPredictiveIntervalMinThreshold':{'type':Sequelize[_0x311f('0x16')](0x3)[_0x311f('0x26')],'defaultValue':0xa,'validate':{'min':0x1,'max':0x64}},'dialPreviewAutoRecallMe':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'dialPreviewRecallmeReminder':{'type':Sequelize[_0x311f('0x20')],'defaultValue':![]}};
\ No newline at end of file