Built motion from commit 1fa89557.|2.6.10
[motion2.git] / server / api / voiceQueue / voiceQueue.attributes.js
index e01ca15..befe41b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x997f=['NoAnswer\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#Global\x20Max\x20Retry\x20(min:1,\x20max:999)','07:00-22:00,*,*,*','always','onlyIfOpen','#AMD\x20Initial\x20Silence','#AMD\x20Greeting','#AMD\x20Min\x20Word\x20Length','#AMD\x20Between\x20Words\x20Silence','#AMD\x20Maximum\x20Number\x20Of\x20Words','#AMD\x20Silence\x20Threshold\x20(min:0,\x20max:32767)','#AMD\x20Maximum\x20Word\x20Length','Active/Disactive\x20Recall\x20In\x20Queue','DESC','ASC','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','ENUM','inbound','outbound','ringall','leastrecent','random','linear','wrandom','rrordered','setDataValue','strategy','rrmemory','getDataValue','dialMethod','booked','roundrobin','power','INTEGER','yes','all','once','join','periodic_announce','split','joinempty','leavewhenempty','BOOLEAN','acw','wrapuptime','progressive','predictive','Dial\x20Method.','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)','tTxX','https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Application_Queue','Queue\x20Timeout\x20Seconds\x20(min:1,\x20max:999)','#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)'];(function(_0x12041a,_0x2002cc){var _0x596af0=function(_0x12e5ed){while(--_0x12e5ed){_0x12041a['push'](_0x12041a['shift']());}};_0x596af0(++_0x2002cc);}(_0x997f,0xec));var _0xf997=function(_0x39096d,_0x51f8a0){_0x39096d=_0x39096d-0x0;var _0x13da4f=_0x997f[_0x39096d];return _0x13da4f;};'use strict';var Sequelize=require(_0xf997('0x0'));module[_0xf997('0x1')]={'name':{'type':Sequelize[_0xf997('0x2')],'allowNull':![],'unique':'name','validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'type':{'type':Sequelize[_0xf997('0x3')](_0xf997('0x4'),_0xf997('0x5')),'allowNull':![],'defaultValue':_0xf997('0x4')},'musiconhold':{'type':Sequelize[_0xf997('0x2')],'defaultValue':'default'},'announce':{'type':Sequelize['STRING'],'defaultValue':''},'strategy':{'type':Sequelize[_0xf997('0x3')]('rr',_0xf997('0x6'),_0xf997('0x7'),'fewestcalls',_0xf997('0x8'),'rrmemory',_0xf997('0x9'),_0xf997('0xa'),_0xf997('0xb')),'allowNull':![],'defaultValue':'ringall','set':function(_0x856c40){this[_0xf997('0xc')](_0xf997('0xd'),_0x856c40?_0x856c40:_0xf997('0xe'));},'get':function(){var _0x16e9f8=this['getDataValue']('type');var _0x53cffb=this[_0xf997('0xf')](_0xf997('0x10'));var _0x485d26=this[_0xf997('0xf')](_0xf997('0xd'));if(_0x16e9f8==='inbound'){return _0x485d26;}if(_0x53cffb===_0xf997('0x11')&&_0x485d26===_0xf997('0xe')||_0x53cffb===_0xf997('0x11')&&_0x485d26===_0xf997('0x12')){return _0x485d26;}if(_0x53cffb==='progressive'||_0x53cffb==='predictive'||_0x53cffb===_0xf997('0x13')){return _0x485d26;}return null;}},'servicelevel':{'type':Sequelize[_0xf997('0x14')](0xb),'defaultValue':0x0},'context':{'type':Sequelize[_0xf997('0x2')],'defaultValue':null},'penaltymemberslimit':{'type':Sequelize[_0xf997('0x14')](0xb)},'timeout':{'type':Sequelize[_0xf997('0x14')](0xb),'defaultValue':0xf},'retry':{'type':Sequelize[_0xf997('0x14')](0xb),'defaultValue':0x2},'timeoutpriority':{'type':Sequelize['STRING']},'weight':{'type':Sequelize[_0xf997('0x14')](0xb),'allowNull':!![],'defaultValue':0x0},'wrapuptime':{'type':Sequelize[_0xf997('0x14')](0xb),'defaultValue':0x0},'autofill':{'type':Sequelize[_0xf997('0x3')](_0xf997('0x15'),'no'),'defaultValue':_0xf997('0x15')},'autopause':{'type':Sequelize[_0xf997('0x3')](_0xf997('0x15'),'no',_0xf997('0x16')),'defaultValue':'no'},'autopausedelay':{'type':Sequelize[_0xf997('0x14')](0xb)},'autopausebusy':{'type':Sequelize[_0xf997('0x3')](_0xf997('0x15'),'no'),'defaultValue':'no'},'autopauseunavail':{'type':Sequelize['ENUM']('yes','no'),'defaultValue':'no'},'maxlen':{'type':Sequelize[_0xf997('0x14')](0xb),'defaultValue':0x0},'setinterfacevar':{'type':Sequelize[_0xf997('0x3')](_0xf997('0x15'),'no'),'defaultValue':'no'},'setqueueentryvar':{'type':Sequelize[_0xf997('0x3')]('yes','no'),'defautValue':'no'},'setqueuevar':{'type':Sequelize[_0xf997('0x3')](_0xf997('0x15'),'no'),'defaultValue':'no'},'eventmemberstatus':{'type':Sequelize[_0xf997('0x3')](_0xf997('0x15'),'no'),'defaultValue':'no'},'membermacro':{'type':Sequelize['STRING'],'allowNull':!![]},'membergosub':{'type':Sequelize[_0xf997('0x2')],'allowNull':!![]},'announce_frequency':{'type':Sequelize[_0xf997('0x14')](0xb),'defaultValue':0x0},'min_announce_frequency':{'type':Sequelize[_0xf997('0x14')](0xb),'defaultValue':0x0},'periodic_announce_frequency':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0},'random_periodic_announce':{'type':Sequelize['ENUM']('yes','no'),'defaultValue':'no'},'relative_periodic_announce':{'type':Sequelize[_0xf997('0x3')](_0xf997('0x15'),'no'),'defaultValue':_0xf997('0x15')},'announce_holdtime':{'type':Sequelize[_0xf997('0x3')](_0xf997('0x15'),'no',_0xf997('0x17')),'defaultValue':'no'},'announce_position':{'type':Sequelize[_0xf997('0x2')],'defaultValue':'no'},'announce_to_first_user':{'type':Sequelize[_0xf997('0x3')](_0xf997('0x15'),'no')},'announce_position_limit':{'type':Sequelize['INTEGER'](0xb)},'announce_round_seconds':{'type':Sequelize[_0xf997('0x3')]('0','5','10','15','20','30'),'defaultValue':'0'},'monitor_format':{'type':Sequelize[_0xf997('0x2')],'defaultValue':''},'monitor_type':{'type':Sequelize[_0xf997('0x2')]},'queue_youarenext':{'type':Sequelize[_0xf997('0x2')],'defaultValue':null},'queue_thereare':{'type':Sequelize['STRING'],'defaultValue':null},'queue_callswaiting':{'type':Sequelize[_0xf997('0x2')],'defaultValue':null},'queue_holdtime':{'type':Sequelize['STRING'],'defaultValue':null},'queue_minute':{'type':Sequelize[_0xf997('0x2')],'allowNull':!![],'defaultValue':null},'queue_minutes':{'type':Sequelize['STRING'],'defaultValue':null},'queue_seconds':{'type':Sequelize[_0xf997('0x2')],'defaultValue':null},'queue_thankyou':{'type':Sequelize[_0xf997('0x2')],'defaultValue':null},'queue_reporthold':{'type':Sequelize[_0xf997('0x2')]},'queue_quantity1':{'type':Sequelize['STRING']},'queue_quantity2':{'type':Sequelize[_0xf997('0x2')]},'queue_periodic_announce':{'type':Sequelize[_0xf997('0x2')]},'queue_less_than':{'type':Sequelize['STRING']},'periodic_announce':{'type':Sequelize['TEXT'],'set':function(_0x1d32f8){this[_0xf997('0xc')]('periodic_announce',_0x1d32f8?_0x1d32f8[_0xf997('0x18')](','):[]);},'get':function(){return this[_0xf997('0xf')](_0xf997('0x19'))?this[_0xf997('0xf')](_0xf997('0x19'))[_0xf997('0x1a')](','):[];}},'joinempty':{'type':Sequelize['STRING'],'defaultValue':_0xf997('0x15'),'set':function(_0x23b96d){this[_0xf997('0xc')](_0xf997('0x1b'),_0x23b96d?_0x23b96d['join'](','):undefined);},'get':function(){return this[_0xf997('0xf')](_0xf997('0x1b'))?this[_0xf997('0xf')](_0xf997('0x1b'))[_0xf997('0x1a')](','):undefined;}},'leavewhenempty':{'type':Sequelize[_0xf997('0x2')],'defaultValue':'no','set':function(_0x3e3434){this[_0xf997('0xc')]('leavewhenempty',_0x3e3434?_0x3e3434[_0xf997('0x18')](','):undefined);},'get':function(){return this[_0xf997('0xf')](_0xf997('0x1c'))?this[_0xf997('0xf')]('leavewhenempty')[_0xf997('0x1a')](','):undefined;}},'reportholdtime':{'type':Sequelize[_0xf997('0x3')](_0xf997('0x15'),'no'),'defaultValue':'no'},'ringinuse':{'type':Sequelize[_0xf997('0x3')](_0xf997('0x15'),'no'),'defaultValue':'no'},'memberdelay':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0},'timeoutrestart':{'type':Sequelize[_0xf997('0x3')](_0xf997('0x15'),'no'),'defaultValue':'no'},'defaultrule':{'type':Sequelize[_0xf997('0x2')]},'description':{'type':Sequelize[_0xf997('0x2')]},'acw':{'type':Sequelize[_0xf997('0x1d')],'defaultValue':0x0,'set':function(_0x4819f0){this[_0xf997('0xc')](_0xf997('0x1e'),_0x4819f0);if(_0x4819f0){if(this[_0xf997('0xf')](_0xf997('0x1f'))<0x2){this['setDataValue'](_0xf997('0x1f'),0x2);}}}},'acwTimeout':{'type':Sequelize[_0xf997('0x14')](0xb),'defaultValue':0xa},'dialActive':{'type':Sequelize['BOOLEAN'],'defaultValue':0x0,'comment':'Active/Disactive\x20Campaign'},'dialMethod':{'type':Sequelize[_0xf997('0x3')]('preview',_0xf997('0x20'),'power',_0xf997('0x21'),_0xf997('0x11')),'defaultValue':'progressive','comment':_0xf997('0x22')},'dialLimitChannel':{'type':Sequelize[_0xf997('0x14')](0x4)[_0xf997('0x23')],'defaultValue':0x0,'validate':{'min':0x0,'max':0x270f},'comment':_0xf997('0x24')},'dialLimitQueue':{'type':Sequelize[_0xf997('0x14')](0x4)[_0xf997('0x23')],'defaultValue':0x0,'validate':{'min':0x0,'max':0x270f},'comment':_0xf997('0x25')},'dialPowerLevel':{'type':Sequelize[_0xf997('0x26')](0x2)[_0xf997('0x23')],'defaultValue':0x1,'validate':{'min':0x1,'max':0xa},'comment':_0xf997('0x27')},'dialPredictiveOptimization':{'type':Sequelize[_0xf997('0x3')](_0xf997('0x28'),_0xf997('0x29')),'defaultValue':_0xf997('0x29'),'comment':_0xf997('0x2a')},'dialPredictiveOptimizationPercentage':{'type':Sequelize[_0xf997('0x26')](0x2)[_0xf997('0x23')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x5f},'comment':_0xf997('0x2b')},'dialPredictiveInterval':{'type':Sequelize[_0xf997('0x14')](0x3)[_0xf997('0x23')],'defaultValue':0xa,'validate':{'min':0x5,'max':0x1e},'comment':_0xf997('0x2c')},'dialOriginateCallerIdName':{'type':Sequelize['STRING']},'dialOriginateCallerIdNumber':{'type':Sequelize[_0xf997('0x2')]},'dialOriginateTimeout':{'type':Sequelize[_0xf997('0x14')](0x3)[_0xf997('0x23')],'defaultValue':0x1e,'validate':{'min':0x1,'max':0x3e7},'comment':'Originate\x20Timeout\x20Seconds\x20(min:1,\x20max:999)'},'dialQueueOptions':{'type':Sequelize[_0xf997('0x2')],'defaultValue':_0xf997('0x2d'),'comment':_0xf997('0x2e')},'dialQueueTimeout':{'type':Sequelize[_0xf997('0x14')](0x3)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0xf997('0x2f')},'dialQueueProject':{'type':Sequelize['STRING'],'comment':'AGI\x20queue\x20option\x20(use:\x20agi://127.0.0.1/square,<project_name>)'},'dialCongestionMaxRetry':{'type':Sequelize[_0xf997('0x14')](0x3)[_0xf997('0x23')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0xf997('0x30')},'dialCongestionRetryFrequency':{'type':Sequelize['INTEGER'](0x5)[_0xf997('0x23')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0xf997('0x31')},'dialBusyMaxRetry':{'type':Sequelize['INTEGER'](0x3)[_0xf997('0x23')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0xf997('0x32')},'dialBusyRetryFrequency':{'type':Sequelize[_0xf997('0x14')](0x5)[_0xf997('0x23')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0xf997('0x33')},'dialNoAnswerMaxRetry':{'type':Sequelize[_0xf997('0x14')](0x3)[_0xf997('0x23')],'defaultValue':0x3,'comment':'#NoAnswer\x20Retry\x20(min:1,\x20max:999)'},'dialNoAnswerRetryFrequency':{'type':Sequelize[_0xf997('0x14')](0x5)[_0xf997('0x23')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0xf997('0x34')},'dialGlobalMaxRetry':{'type':Sequelize[_0xf997('0x14')](0x3)['UNSIGNED'],'validate':{'min':0x1,'max':0x3e7},'defaultValue':0x4,'comment':_0xf997('0x35')},'dialTimezone':{'type':Sequelize['STRING'],'defaultValue':null},'dialGlobalInterval':{'type':Sequelize[_0xf997('0x2')],'defaultValue':_0xf997('0x36')},'dialPrefix':{'type':Sequelize['STRING'],'defaultValue':null},'dialCheckDuplicateType':{'type':Sequelize[_0xf997('0x3')](_0xf997('0x37'),'never',_0xf997('0x38')),'defaultValue':'always'},'dialAMDActive':{'type':Sequelize['BOOLEAN'],'defaultValue':0x0,'comment':'Active/Disactive\x20AMD'},'dialAMDInitialSilence':{'type':Sequelize[_0xf997('0x14')](0x9)[_0xf997('0x23')],'defaultValue':0x9c4,'validate':{'min':0x0},'comment':_0xf997('0x39')},'dialAMDGreeting':{'type':Sequelize[_0xf997('0x14')](0x9)[_0xf997('0x23')],'defaultValue':0x5dc,'validate':{'min':0x0},'comment':_0xf997('0x3a')},'dialAMDAfterGreetingSilence':{'type':Sequelize['INTEGER'](0x9)[_0xf997('0x23')],'defaultValue':0x320,'validate':{'min':0x0},'comment':'#AMD\x20After\x20Greeting\x20Silence'},'dialAMDTotalAnalysisTime':{'type':Sequelize['INTEGER'](0x9)[_0xf997('0x23')],'defaultValue':0x1388,'validate':{'min':0x0},'comment':'#AMD\x20Total\x20Analysis\x20Time'},'dialAMDMinWordLength':{'type':Sequelize[_0xf997('0x14')](0x9)[_0xf997('0x23')],'defaultValue':0x64,'validate':{'min':0x0},'comment':_0xf997('0x3b')},'dialAMDBetweenWordsSilence':{'type':Sequelize['INTEGER'](0x9)[_0xf997('0x23')],'defaultValue':0x32,'validate':{'min':0x0},'comment':_0xf997('0x3c')},'dialAMDMaximumNumberOfWords':{'type':Sequelize[_0xf997('0x14')](0x9)[_0xf997('0x23')],'defaultValue':0x3,'validate':{'min':0x0},'comment':_0xf997('0x3d')},'dialAMDSilenceThreshold':{'type':Sequelize[_0xf997('0x14')](0x5)['UNSIGNED'],'validate':{'min':0x0,'max':0x7fff},'defaultValue':0x100,'comment':_0xf997('0x3e')},'dialAMDMaximumWordLength':{'type':Sequelize[_0xf997('0x14')](0x9)[_0xf997('0x23')],'defaultValue':0x1388,'validate':{'min':0x0},'comment':_0xf997('0x3f')},'dialRecallMeTimeout':{'type':Sequelize[_0xf997('0x14')](0x5)[_0xf997('0x23')],'validate':{'min':0x1},'defaultValue':0x1e,'comment':'#RecallMe\x20Timeout\x20(min:1)'},'dialRecallInQueue':{'type':Sequelize[_0xf997('0x1d')],'defaultValue':0x0,'comment':_0xf997('0x40')},'dialOrderByScheduledAt':{'type':Sequelize['ENUM'](_0xf997('0x41'),_0xf997('0x42')),'defaultValue':_0xf997('0x41')},'dialQueueProject2':{'type':Sequelize[_0xf997('0x2')],'comment':'AGI\x20queue\x20option\x20(use:\x20agi://127.0.0.1/square,<project_name>)'},'dialAgiAfterHangupClient':{'type':Sequelize[_0xf997('0x1d')],'defaultValue':![]},'dialAgiAfterHangupAgent':{'type':Sequelize[_0xf997('0x1d')],'defaultValue':![]},'dialRandomLastDigitCallerIdNumber':{'type':Sequelize[_0xf997('0x14')](0x3)['UNSIGNED'],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':'Random\x20Last\x20Digit\x20(min:1,\x20max:15)'},'dialCutDigit':{'type':Sequelize[_0xf997('0x14')](0x3)[_0xf997('0x23')],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':_0xf997('0x43')},'mandatoryDispositionPauseId':{'type':Sequelize[_0xf997('0x14')],'allowNull':!![],'comment':_0xf997('0x44')},'mandatoryDisposition':{'type':Sequelize[_0xf997('0x1d')],'defaultValue':![],'comment':_0xf997('0x45'),'set':function(_0x1c83cb){if(!_0x1c83cb)this[_0xf997('0xc')](_0xf997('0x46'),null);this[_0xf997('0xc')](_0xf997('0x47'),_0x1c83cb);}},'dialPredictiveIntervalMaxThreshold':{'type':Sequelize[_0xf997('0x14')](0x3)[_0xf997('0x23')],'defaultValue':0x14,'validate':{'min':0x1,'max':0x64}},'dialPredictiveIntervalMinThreshold':{'type':Sequelize[_0xf997('0x14')](0x3)[_0xf997('0x23')],'defaultValue':0xa,'validate':{'min':0x1,'max':0x64}}};
\ No newline at end of file
+var _0xa1a4=['#Congestion\x20Retry\x20(min:1,\x20max:999)','Congestion\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#Busy\x20Retry\x20(min:1,\x20max:999)','#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,*,*,*','always','never','onlyIfOpen','#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)','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)','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','sequelize','exports','name','ENUM','inbound','outbound','default','STRING','ringall','leastrecent','random','rrmemory','linear','wrandom','rrordered','setDataValue','getDataValue','dialMethod','strategy','booked','roundrobin','power','INTEGER','yes','all','once','TEXT','periodic_announce','split','joinempty','join','leavewhenempty','BOOLEAN','wrapuptime','Active/Disactive\x20Campaign','preview','predictive','progressive','Dial\x20Method.','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).','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','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>)'];(function(_0x5a3337,_0x4b8c99){var _0x4c1b57=function(_0x3f5c2e){while(--_0x3f5c2e){_0x5a3337['push'](_0x5a3337['shift']());}};_0x4c1b57(++_0x4b8c99);}(_0xa1a4,0x174));var _0x4a1a=function(_0x27af45,_0x1b57aa){_0x27af45=_0x27af45-0x0;var _0x18df21=_0xa1a4[_0x27af45];return _0x18df21;};'use strict';var Sequelize=require(_0x4a1a('0x0'));module[_0x4a1a('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x4a1a('0x2'),'validate':{'notEmpty':!![],'is':/^[A-Za-z0-9\.\_]+$/i}},'type':{'type':Sequelize[_0x4a1a('0x3')](_0x4a1a('0x4'),_0x4a1a('0x5')),'allowNull':![],'defaultValue':_0x4a1a('0x4')},'musiconhold':{'type':Sequelize['STRING'],'defaultValue':_0x4a1a('0x6')},'announce':{'type':Sequelize[_0x4a1a('0x7')],'defaultValue':''},'strategy':{'type':Sequelize['ENUM']('rr',_0x4a1a('0x8'),_0x4a1a('0x9'),'fewestcalls',_0x4a1a('0xa'),_0x4a1a('0xb'),_0x4a1a('0xc'),_0x4a1a('0xd'),_0x4a1a('0xe')),'allowNull':![],'defaultValue':_0x4a1a('0x8'),'set':function(_0x4f4f7a){this[_0x4a1a('0xf')]('strategy',_0x4f4f7a?_0x4f4f7a:_0x4a1a('0xb'));},'get':function(){var _0x207172=this[_0x4a1a('0x10')]('type');var _0x485b80=this[_0x4a1a('0x10')](_0x4a1a('0x11'));var _0x164321=this[_0x4a1a('0x10')](_0x4a1a('0x12'));if(_0x207172===_0x4a1a('0x4')){return _0x164321;}if(_0x485b80==='booked'&&_0x164321===_0x4a1a('0xb')||_0x485b80===_0x4a1a('0x13')&&_0x164321===_0x4a1a('0x14')){return _0x164321;}if(_0x485b80==='progressive'||_0x485b80==='predictive'||_0x485b80===_0x4a1a('0x15')){return _0x164321;}return null;}},'servicelevel':{'type':Sequelize['INTEGER'](0xb),'defaultValue':0x0},'context':{'type':Sequelize['STRING'],'defaultValue':null},'penaltymemberslimit':{'type':Sequelize['INTEGER'](0xb)},'timeout':{'type':Sequelize[_0x4a1a('0x16')](0xb),'defaultValue':0xf},'retry':{'type':Sequelize[_0x4a1a('0x16')](0xb),'defaultValue':0x2},'timeoutpriority':{'type':Sequelize['STRING']},'weight':{'type':Sequelize[_0x4a1a('0x16')](0xb),'allowNull':!![],'defaultValue':0x0},'wrapuptime':{'type':Sequelize[_0x4a1a('0x16')](0xb),'defaultValue':0x0},'autofill':{'type':Sequelize[_0x4a1a('0x3')]('yes','no'),'defaultValue':'yes'},'autopause':{'type':Sequelize[_0x4a1a('0x3')](_0x4a1a('0x17'),'no',_0x4a1a('0x18')),'defaultValue':'no'},'autopausedelay':{'type':Sequelize['INTEGER'](0xb)},'autopausebusy':{'type':Sequelize[_0x4a1a('0x3')](_0x4a1a('0x17'),'no'),'defaultValue':'no'},'autopauseunavail':{'type':Sequelize[_0x4a1a('0x3')]('yes','no'),'defaultValue':'no'},'maxlen':{'type':Sequelize[_0x4a1a('0x16')](0xb),'defaultValue':0x0},'setinterfacevar':{'type':Sequelize['ENUM'](_0x4a1a('0x17'),'no'),'defaultValue':'no'},'setqueueentryvar':{'type':Sequelize[_0x4a1a('0x3')](_0x4a1a('0x17'),'no'),'defautValue':'no'},'setqueuevar':{'type':Sequelize[_0x4a1a('0x3')](_0x4a1a('0x17'),'no'),'defaultValue':'no'},'eventmemberstatus':{'type':Sequelize[_0x4a1a('0x3')](_0x4a1a('0x17'),'no'),'defaultValue':'no'},'membermacro':{'type':Sequelize[_0x4a1a('0x7')],'allowNull':!![]},'membergosub':{'type':Sequelize[_0x4a1a('0x7')],'allowNull':!![]},'announce_frequency':{'type':Sequelize[_0x4a1a('0x16')](0xb),'defaultValue':0x0},'min_announce_frequency':{'type':Sequelize[_0x4a1a('0x16')](0xb),'defaultValue':0x0},'periodic_announce_frequency':{'type':Sequelize[_0x4a1a('0x16')](0xb),'defaultValue':0x0},'random_periodic_announce':{'type':Sequelize[_0x4a1a('0x3')]('yes','no'),'defaultValue':'no'},'relative_periodic_announce':{'type':Sequelize[_0x4a1a('0x3')](_0x4a1a('0x17'),'no'),'defaultValue':'yes'},'announce_holdtime':{'type':Sequelize[_0x4a1a('0x3')](_0x4a1a('0x17'),'no',_0x4a1a('0x19')),'defaultValue':'no'},'announce_position':{'type':Sequelize['STRING'],'defaultValue':'no'},'announce_to_first_user':{'type':Sequelize[_0x4a1a('0x3')]('yes','no')},'announce_position_limit':{'type':Sequelize[_0x4a1a('0x16')](0xb)},'announce_round_seconds':{'type':Sequelize[_0x4a1a('0x3')]('0','5','10','15','20','30'),'defaultValue':'0'},'monitor_format':{'type':Sequelize[_0x4a1a('0x7')],'defaultValue':''},'monitor_type':{'type':Sequelize[_0x4a1a('0x7')]},'queue_youarenext':{'type':Sequelize[_0x4a1a('0x7')],'defaultValue':null},'queue_thereare':{'type':Sequelize['STRING'],'defaultValue':null},'queue_callswaiting':{'type':Sequelize[_0x4a1a('0x7')],'defaultValue':null},'queue_holdtime':{'type':Sequelize[_0x4a1a('0x7')],'defaultValue':null},'queue_minute':{'type':Sequelize[_0x4a1a('0x7')],'allowNull':!![],'defaultValue':null},'queue_minutes':{'type':Sequelize[_0x4a1a('0x7')],'defaultValue':null},'queue_seconds':{'type':Sequelize['STRING'],'defaultValue':null},'queue_thankyou':{'type':Sequelize['STRING'],'defaultValue':null},'queue_reporthold':{'type':Sequelize[_0x4a1a('0x7')]},'queue_quantity1':{'type':Sequelize['STRING']},'queue_quantity2':{'type':Sequelize[_0x4a1a('0x7')]},'queue_periodic_announce':{'type':Sequelize['STRING']},'queue_less_than':{'type':Sequelize[_0x4a1a('0x7')]},'periodic_announce':{'type':Sequelize[_0x4a1a('0x1a')],'set':function(_0x1cf31e){this['setDataValue']('periodic_announce',_0x1cf31e?_0x1cf31e['join'](','):[]);},'get':function(){return this[_0x4a1a('0x10')](_0x4a1a('0x1b'))?this['getDataValue']('periodic_announce')[_0x4a1a('0x1c')](','):[];}},'joinempty':{'type':Sequelize[_0x4a1a('0x7')],'defaultValue':_0x4a1a('0x17'),'set':function(_0x117853){this[_0x4a1a('0xf')](_0x4a1a('0x1d'),_0x117853?_0x117853[_0x4a1a('0x1e')](','):undefined);},'get':function(){return this[_0x4a1a('0x10')](_0x4a1a('0x1d'))?this[_0x4a1a('0x10')]('joinempty')['split'](','):undefined;}},'leavewhenempty':{'type':Sequelize['STRING'],'defaultValue':'no','set':function(_0x22f02b){this[_0x4a1a('0xf')](_0x4a1a('0x1f'),_0x22f02b?_0x22f02b[_0x4a1a('0x1e')](','):undefined);},'get':function(){return this[_0x4a1a('0x10')](_0x4a1a('0x1f'))?this[_0x4a1a('0x10')](_0x4a1a('0x1f'))[_0x4a1a('0x1c')](','):undefined;}},'reportholdtime':{'type':Sequelize[_0x4a1a('0x3')]('yes','no'),'defaultValue':'no'},'ringinuse':{'type':Sequelize[_0x4a1a('0x3')](_0x4a1a('0x17'),'no'),'defaultValue':'no'},'memberdelay':{'type':Sequelize[_0x4a1a('0x16')](0xb),'defaultValue':0x0},'timeoutrestart':{'type':Sequelize[_0x4a1a('0x3')](_0x4a1a('0x17'),'no'),'defaultValue':'no'},'defaultrule':{'type':Sequelize[_0x4a1a('0x7')]},'description':{'type':Sequelize['STRING']},'acw':{'type':Sequelize[_0x4a1a('0x20')],'defaultValue':0x0,'set':function(_0x518f6a){this['setDataValue']('acw',_0x518f6a);if(_0x518f6a){if(this[_0x4a1a('0x10')]('wrapuptime')<0x2){this[_0x4a1a('0xf')](_0x4a1a('0x21'),0x2);}}}},'acwTimeout':{'type':Sequelize[_0x4a1a('0x16')](0xb),'defaultValue':0xa},'dialActive':{'type':Sequelize[_0x4a1a('0x20')],'defaultValue':0x0,'comment':_0x4a1a('0x22')},'dialMethod':{'type':Sequelize['ENUM'](_0x4a1a('0x23'),'progressive',_0x4a1a('0x15'),_0x4a1a('0x24'),_0x4a1a('0x13')),'defaultValue':_0x4a1a('0x25'),'comment':_0x4a1a('0x26')},'dialLimitChannel':{'type':Sequelize[_0x4a1a('0x16')](0x4)[_0x4a1a('0x27')],'defaultValue':0x0,'validate':{'min':0x0,'max':0x270f},'comment':_0x4a1a('0x28')},'dialLimitQueue':{'type':Sequelize[_0x4a1a('0x16')](0x4)[_0x4a1a('0x27')],'defaultValue':0x0,'validate':{'min':0x0,'max':0x270f},'comment':_0x4a1a('0x29')},'dialPowerLevel':{'type':Sequelize[_0x4a1a('0x2a')](0x2)[_0x4a1a('0x27')],'defaultValue':0x1,'validate':{'min':0x1,'max':0xa},'comment':_0x4a1a('0x2b')},'dialPredictiveOptimization':{'type':Sequelize[_0x4a1a('0x3')]('agentBusyFactor',_0x4a1a('0x2c')),'defaultValue':_0x4a1a('0x2c'),'comment':_0x4a1a('0x2d')},'dialPredictiveOptimizationPercentage':{'type':Sequelize[_0x4a1a('0x2a')](0x2)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x1,'max':0x5f},'comment':_0x4a1a('0x2e')},'dialPredictiveInterval':{'type':Sequelize[_0x4a1a('0x16')](0x3)[_0x4a1a('0x27')],'defaultValue':0xa,'validate':{'min':0x5,'max':0x1e},'comment':_0x4a1a('0x2f')},'dialOriginateCallerIdName':{'type':Sequelize[_0x4a1a('0x7')]},'dialOriginateCallerIdNumber':{'type':Sequelize[_0x4a1a('0x7')]},'dialOriginateTimeout':{'type':Sequelize['INTEGER'](0x3)[_0x4a1a('0x27')],'defaultValue':0x1e,'validate':{'min':0x1,'max':0x3e7},'comment':_0x4a1a('0x30')},'dialQueueOptions':{'type':Sequelize['STRING'],'defaultValue':_0x4a1a('0x31'),'comment':_0x4a1a('0x32')},'dialQueueTimeout':{'type':Sequelize[_0x4a1a('0x16')](0x3)[_0x4a1a('0x27')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x4a1a('0x33')},'dialQueueProject':{'type':Sequelize[_0x4a1a('0x7')],'comment':_0x4a1a('0x34')},'dialCongestionMaxRetry':{'type':Sequelize[_0x4a1a('0x16')](0x3)[_0x4a1a('0x27')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x4a1a('0x35')},'dialCongestionRetryFrequency':{'type':Sequelize[_0x4a1a('0x16')](0x5)[_0x4a1a('0x27')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x4a1a('0x36')},'dialBusyMaxRetry':{'type':Sequelize[_0x4a1a('0x16')](0x3)[_0x4a1a('0x27')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x4a1a('0x37')},'dialBusyRetryFrequency':{'type':Sequelize[_0x4a1a('0x16')](0x5)[_0x4a1a('0x27')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':'Busy\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'},'dialNoAnswerMaxRetry':{'type':Sequelize['INTEGER'](0x3)[_0x4a1a('0x27')],'defaultValue':0x3,'comment':_0x4a1a('0x38')},'dialNoAnswerRetryFrequency':{'type':Sequelize[_0x4a1a('0x16')](0x5)[_0x4a1a('0x27')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x4a1a('0x39')},'dialGlobalMaxRetry':{'type':Sequelize[_0x4a1a('0x16')](0x3)[_0x4a1a('0x27')],'validate':{'min':0x1,'max':0x3e7},'defaultValue':0x4,'comment':_0x4a1a('0x3a')},'dialTimezone':{'type':Sequelize[_0x4a1a('0x7')],'defaultValue':null},'dialGlobalInterval':{'type':Sequelize[_0x4a1a('0x7')],'defaultValue':_0x4a1a('0x3b')},'dialPrefix':{'type':Sequelize['STRING'],'defaultValue':null},'dialCheckDuplicateType':{'type':Sequelize[_0x4a1a('0x3')](_0x4a1a('0x3c'),_0x4a1a('0x3d'),_0x4a1a('0x3e')),'defaultValue':_0x4a1a('0x3c')},'dialAMDActive':{'type':Sequelize[_0x4a1a('0x20')],'defaultValue':0x0,'comment':'Active/Disactive\x20AMD'},'dialAMDInitialSilence':{'type':Sequelize[_0x4a1a('0x16')](0x9)[_0x4a1a('0x27')],'defaultValue':0x9c4,'validate':{'min':0x0},'comment':_0x4a1a('0x3f')},'dialAMDGreeting':{'type':Sequelize[_0x4a1a('0x16')](0x9)[_0x4a1a('0x27')],'defaultValue':0x5dc,'validate':{'min':0x0},'comment':_0x4a1a('0x40')},'dialAMDAfterGreetingSilence':{'type':Sequelize['INTEGER'](0x9)[_0x4a1a('0x27')],'defaultValue':0x320,'validate':{'min':0x0},'comment':_0x4a1a('0x41')},'dialAMDTotalAnalysisTime':{'type':Sequelize[_0x4a1a('0x16')](0x9)[_0x4a1a('0x27')],'defaultValue':0x1388,'validate':{'min':0x0},'comment':_0x4a1a('0x42')},'dialAMDMinWordLength':{'type':Sequelize[_0x4a1a('0x16')](0x9)[_0x4a1a('0x27')],'defaultValue':0x64,'validate':{'min':0x0},'comment':_0x4a1a('0x43')},'dialAMDBetweenWordsSilence':{'type':Sequelize[_0x4a1a('0x16')](0x9)[_0x4a1a('0x27')],'defaultValue':0x32,'validate':{'min':0x0},'comment':'#AMD\x20Between\x20Words\x20Silence'},'dialAMDMaximumNumberOfWords':{'type':Sequelize[_0x4a1a('0x16')](0x9)[_0x4a1a('0x27')],'defaultValue':0x3,'validate':{'min':0x0},'comment':_0x4a1a('0x44')},'dialAMDSilenceThreshold':{'type':Sequelize[_0x4a1a('0x16')](0x5)['UNSIGNED'],'validate':{'min':0x0,'max':0x7fff},'defaultValue':0x100,'comment':_0x4a1a('0x45')},'dialAMDMaximumWordLength':{'type':Sequelize[_0x4a1a('0x16')](0x9)['UNSIGNED'],'defaultValue':0x1388,'validate':{'min':0x0},'comment':'#AMD\x20Maximum\x20Word\x20Length'},'dialRecallMeTimeout':{'type':Sequelize[_0x4a1a('0x16')](0x5)[_0x4a1a('0x27')],'validate':{'min':0x1},'defaultValue':0x1e,'comment':_0x4a1a('0x46')},'dialRecallInQueue':{'type':Sequelize[_0x4a1a('0x20')],'defaultValue':0x0,'comment':'Active/Disactive\x20Recall\x20In\x20Queue'},'dialOrderByScheduledAt':{'type':Sequelize['ENUM'](_0x4a1a('0x47'),_0x4a1a('0x48')),'defaultValue':_0x4a1a('0x47')},'dialQueueProject2':{'type':Sequelize[_0x4a1a('0x7')],'comment':'AGI\x20queue\x20option\x20(use:\x20agi://127.0.0.1/square,<project_name>)'},'dialAgiAfterHangupClient':{'type':Sequelize[_0x4a1a('0x20')],'defaultValue':![]},'dialAgiAfterHangupAgent':{'type':Sequelize[_0x4a1a('0x20')],'defaultValue':![]},'dialRandomLastDigitCallerIdNumber':{'type':Sequelize[_0x4a1a('0x16')](0x3)[_0x4a1a('0x27')],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':_0x4a1a('0x49')},'dialCutDigit':{'type':Sequelize['INTEGER'](0x3)[_0x4a1a('0x27')],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':_0x4a1a('0x4a')},'dialNoSuchNumberMaxRetry':{'type':Sequelize[_0x4a1a('0x16')](0x3)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x4a1a('0x4b')},'dialNoSuchNumberRetryFrequency':{'type':Sequelize[_0x4a1a('0x16')](0x5)[_0x4a1a('0x27')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x4a1a('0x4c')},'dialDropMaxRetry':{'type':Sequelize[_0x4a1a('0x16')](0x3)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x4a1a('0x4d')},'dialDropRetryFrequency':{'type':Sequelize['INTEGER'](0x5)[_0x4a1a('0x27')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x4a1a('0x4e')},'dialAbandonedMaxRetry':{'type':Sequelize[_0x4a1a('0x16')](0x3)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x4a1a('0x4f')},'dialAbandonedRetryFrequency':{'type':Sequelize[_0x4a1a('0x16')](0x5)['UNSIGNED'],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':'Abandoned\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'},'dialMachineMaxRetry':{'type':Sequelize[_0x4a1a('0x16')](0x3)[_0x4a1a('0x27')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':'#Machine\x20Retry\x20(min:1,\x20max:999)'},'dialMachineRetryFrequency':{'type':Sequelize[_0x4a1a('0x16')](0x5)[_0x4a1a('0x27')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x4a1a('0x50')},'dialAgentRejectMaxRetry':{'type':Sequelize[_0x4a1a('0x16')](0x3)[_0x4a1a('0x27')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x4a1a('0x51')},'dialAgentRejectRetryFrequency':{'type':Sequelize[_0x4a1a('0x16')](0x5)[_0x4a1a('0x27')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x4a1a('0x52')},'mandatoryDispositionPauseId':{'type':Sequelize[_0x4a1a('0x16')],'allowNull':!![],'comment':'Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled'},'mandatoryDisposition':{'type':Sequelize[_0x4a1a('0x20')],'defaultValue':![],'comment':_0x4a1a('0x53'),'set':function(_0x5c5e3a){if(!_0x5c5e3a)this[_0x4a1a('0xf')]('mandatoryDispositionPauseId',null);this[_0x4a1a('0xf')](_0x4a1a('0x54'),_0x5c5e3a);}},'dialPredictiveIntervalMaxThreshold':{'type':Sequelize['INTEGER'](0x3)['UNSIGNED'],'defaultValue':0x14,'validate':{'min':0x1,'max':0x64}},'dialPredictiveIntervalMinThreshold':{'type':Sequelize[_0x4a1a('0x16')](0x3)[_0x4a1a('0x27')],'defaultValue':0xa,'validate':{'min':0x1,'max':0x64}},'dialPreviewAutoRecallMe':{'type':Sequelize[_0x4a1a('0x20')],'defaultValue':!![]},'callAdditionalPhoneAfterMin':{'type':Sequelize[_0x4a1a('0x16')](0x3)['UNSIGNED'],'defaultValue':0x4},'dialPreviewRecallmeReminder':{'type':Sequelize[_0x4a1a('0x20')],'defaultValue':![]}};
\ No newline at end of file