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