Built motion from commit (unavailable).|2.3.10
[motion2.git] / server / api / campaign / campaign.attributes.js
index 8efe449..6a1e4a5 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x20a1=['#AMD\x20After\x20Greeting\x20Silence','#AMD\x20Total\x20Analysis\x20Time','#AMD\x20Min\x20Word\x20Length','#AMD\x20Between\x20Words\x20Silence','#AMD\x20Maximum\x20Number\x20Of\x20Words','#AMD\x20Maximum\x20Word\x20Length','ASC','Random\x20Last\x20Digit\x20(min:1,\x20max:15)','sequelize','exports','ivr','BOOLEAN','Active/Disactive\x20Campaign','INTEGER','UNSIGNED','Max\x20200\x20calls.','STRING','Originate\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)','#NoAnswer\x20Retry\x20(min:1,\x20max:999)','NoAnswer\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#Global\x20Max\x20Retry\x20(min:1,\x20max:999)','ENUM','always','never','onlyIfOpen','Active/Disactive\x20AMD','#AMD\x20Initial\x20Silence','#AMD\x20Greeting'];(function(_0x44881d,_0x260585){var _0x934236=function(_0x36b5dd){while(--_0x36b5dd){_0x44881d['push'](_0x44881d['shift']());}};_0x934236(++_0x260585);}(_0x20a1,0x15d));var _0x120a=function(_0x404b1e,_0x27a492){_0x404b1e=_0x404b1e-0x0;var _0x2d056e=_0x20a1[_0x404b1e];return _0x2d056e;};'use strict';var Sequelize=require(_0x120a('0x0'));module[_0x120a('0x1')]={'name':{'type':Sequelize['STRING'],'unique':'name','allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'type':{'type':Sequelize['ENUM']('ivr'),'allowNull':![],'defaultValue':_0x120a('0x2')},'description':{'type':Sequelize['STRING']},'active':{'type':Sequelize[_0x120a('0x3')],'defaultValue':0x0,'comment':_0x120a('0x4')},'limitCalls':{'type':Sequelize[_0x120a('0x5')](0x4)[_0x120a('0x6')],'defaultValue':0x1e,'validate':{'min':0x1,'max':0xc8},'comment':_0x120a('0x7')},'dialOriginateCallerIdName':{'type':Sequelize['STRING']},'dialOriginateCallerIdNumber':{'type':Sequelize[_0x120a('0x8')]},'dialOriginateTimeout':{'type':Sequelize[_0x120a('0x5')](0x3)['UNSIGNED'],'defaultValue':0x1e,'validate':{'min':0x1,'max':0x3e7},'comment':_0x120a('0x9')},'dialCongestionMaxRetry':{'type':Sequelize['INTEGER'](0x3)[_0x120a('0x6')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x120a('0xa')},'dialCongestionRetryFrequency':{'type':Sequelize[_0x120a('0x5')](0x5)[_0x120a('0x6')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x120a('0xb')},'dialBusyMaxRetry':{'type':Sequelize['INTEGER'](0x3)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x120a('0xc')},'dialBusyRetryFrequency':{'type':Sequelize['INTEGER'](0x5)[_0x120a('0x6')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':'Busy\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'},'dialNoAnswerMaxRetry':{'type':Sequelize[_0x120a('0x5')](0x3)[_0x120a('0x6')],'defaultValue':0x3,'comment':_0x120a('0xd')},'dialNoAnswerRetryFrequency':{'type':Sequelize[_0x120a('0x5')](0x5)[_0x120a('0x6')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x120a('0xe')},'dialGlobalMaxRetry':{'type':Sequelize[_0x120a('0x5')](0x3)[_0x120a('0x6')],'validate':{'min':0x1,'max':0x3e7},'defaultValue':0x4,'comment':_0x120a('0xf')},'dialTimezone':{'type':Sequelize[_0x120a('0x8')],'defaultValue':null},'dialGlobalInterval':{'type':Sequelize[_0x120a('0x8')],'defaultValue':'07:00-22:00,*,*,*'},'dialCheckDuplicateType':{'type':Sequelize[_0x120a('0x10')](_0x120a('0x11'),_0x120a('0x12'),_0x120a('0x13')),'defaultValue':'always'},'dialAMDActive':{'type':Sequelize['BOOLEAN'],'defaultValue':0x0,'comment':_0x120a('0x14')},'dialAMDInitialSilence':{'type':Sequelize['INTEGER'](0x9)[_0x120a('0x6')],'defaultValue':0x9c4,'validate':{'min':0x0},'comment':_0x120a('0x15')},'dialAMDGreeting':{'type':Sequelize[_0x120a('0x5')](0x9)[_0x120a('0x6')],'defaultValue':0x5dc,'validate':{'min':0x0},'comment':_0x120a('0x16')},'dialAMDAfterGreetingSilence':{'type':Sequelize['INTEGER'](0x9)[_0x120a('0x6')],'defaultValue':0x320,'validate':{'min':0x0},'comment':_0x120a('0x17')},'dialAMDTotalAnalysisTime':{'type':Sequelize['INTEGER'](0x9)[_0x120a('0x6')],'defaultValue':0x1388,'validate':{'min':0x0},'comment':_0x120a('0x18')},'dialAMDMinWordLength':{'type':Sequelize[_0x120a('0x5')](0x9)[_0x120a('0x6')],'defaultValue':0x64,'validate':{'min':0x0},'comment':_0x120a('0x19')},'dialAMDBetweenWordsSilence':{'type':Sequelize[_0x120a('0x5')](0x9)['UNSIGNED'],'defaultValue':0x32,'validate':{'min':0x0},'comment':_0x120a('0x1a')},'dialAMDMaximumNumberOfWords':{'type':Sequelize[_0x120a('0x5')](0x9)[_0x120a('0x6')],'defaultValue':0x3,'validate':{'min':0x0},'comment':_0x120a('0x1b')},'dialAMDSilenceThreshold':{'type':Sequelize[_0x120a('0x5')](0x5)[_0x120a('0x6')],'validate':{'min':0x0,'max':0x7fff},'defaultValue':0x100,'comment':'#AMD\x20Silence\x20Threshold\x20(min:0,\x20max:32767)'},'dialAMDMaximumWordLength':{'type':Sequelize[_0x120a('0x5')](0x9)[_0x120a('0x6')],'defaultValue':0x1388,'validate':{'min':0x0},'comment':_0x120a('0x1c')},'dialOrderByScheduledAt':{'type':Sequelize[_0x120a('0x10')]('DESC',_0x120a('0x1d')),'defaultValue':'DESC'},'dialPrefix':{'type':Sequelize[_0x120a('0x8')],'defaultValue':null},'dialRandomLastDigitCallerIdNumber':{'type':Sequelize[_0x120a('0x5')](0x3)['UNSIGNED'],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':_0x120a('0x1e')},'dialCutDigit':{'type':Sequelize[_0x120a('0x5')](0x3)['UNSIGNED'],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':'Cut\x20Digit\x20(min:1,\x20max:15)'}};
\ No newline at end of file
+var _0xf3bb=['Busy\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','NoAnswer\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','ENUM','always','never','onlyIfOpen','BOOLEAN','#AMD\x20Initial\x20Silence','#AMD\x20Greeting','#AMD\x20After\x20Greeting\x20Silence','#AMD\x20Min\x20Word\x20Length','#AMD\x20Between\x20Words\x20Silence','#AMD\x20Maximum\x20Number\x20Of\x20Words','#AMD\x20Maximum\x20Word\x20Length','DESC','ASC','Random\x20Last\x20Digit\x20(min:1,\x20max:15)','sequelize','name','ivr','STRING','Active/Disactive\x20Campaign','INTEGER','Max\x20200\x20calls.','Originate\x20Timeout\x20Seconds\x20(min:1,\x20max:999)','UNSIGNED','#Congestion\x20Retry\x20(min:1,\x20max:999)','#Busy\x20Retry\x20(min:1,\x20max:999)'];(function(_0x556844,_0x1cccd1){var _0x589e3e=function(_0x303999){while(--_0x303999){_0x556844['push'](_0x556844['shift']());}};_0x589e3e(++_0x1cccd1);}(_0xf3bb,0xb9));var _0xbf3b=function(_0x2d9b01,_0x223b28){_0x2d9b01=_0x2d9b01-0x0;var _0x5cc833=_0xf3bb[_0x2d9b01];return _0x5cc833;};'use strict';var Sequelize=require(_0xbf3b('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'unique':_0xbf3b('0x1'),'allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'type':{'type':Sequelize['ENUM'](_0xbf3b('0x2')),'allowNull':![],'defaultValue':_0xbf3b('0x2')},'description':{'type':Sequelize[_0xbf3b('0x3')]},'active':{'type':Sequelize['BOOLEAN'],'defaultValue':0x0,'comment':_0xbf3b('0x4')},'limitCalls':{'type':Sequelize[_0xbf3b('0x5')](0x4)['UNSIGNED'],'defaultValue':0x1e,'validate':{'min':0x1,'max':0xc8},'comment':_0xbf3b('0x6')},'dialOriginateCallerIdName':{'type':Sequelize[_0xbf3b('0x3')]},'dialOriginateCallerIdNumber':{'type':Sequelize[_0xbf3b('0x3')]},'dialOriginateTimeout':{'type':Sequelize[_0xbf3b('0x5')](0x3)['UNSIGNED'],'defaultValue':0x1e,'validate':{'min':0x1,'max':0x3e7},'comment':_0xbf3b('0x7')},'dialCongestionMaxRetry':{'type':Sequelize[_0xbf3b('0x5')](0x3)[_0xbf3b('0x8')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0xbf3b('0x9')},'dialCongestionRetryFrequency':{'type':Sequelize[_0xbf3b('0x5')](0x5)[_0xbf3b('0x8')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':'Congestion\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'},'dialBusyMaxRetry':{'type':Sequelize['INTEGER'](0x3)[_0xbf3b('0x8')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0xbf3b('0xa')},'dialBusyRetryFrequency':{'type':Sequelize['INTEGER'](0x5)[_0xbf3b('0x8')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0xbf3b('0xb')},'dialNoAnswerMaxRetry':{'type':Sequelize[_0xbf3b('0x5')](0x3)[_0xbf3b('0x8')],'defaultValue':0x3,'comment':'#NoAnswer\x20Retry\x20(min:1,\x20max:999)'},'dialNoAnswerRetryFrequency':{'type':Sequelize[_0xbf3b('0x5')](0x5)['UNSIGNED'],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0xbf3b('0xc')},'dialGlobalMaxRetry':{'type':Sequelize[_0xbf3b('0x5')](0x3)[_0xbf3b('0x8')],'validate':{'min':0x1,'max':0x3e7},'defaultValue':0x4,'comment':'#Global\x20Max\x20Retry\x20(min:1,\x20max:999)'},'dialTimezone':{'type':Sequelize[_0xbf3b('0x3')],'defaultValue':null},'dialGlobalInterval':{'type':Sequelize['STRING'],'defaultValue':'07:00-22:00,*,*,*'},'dialCheckDuplicateType':{'type':Sequelize[_0xbf3b('0xd')](_0xbf3b('0xe'),_0xbf3b('0xf'),_0xbf3b('0x10')),'defaultValue':_0xbf3b('0xe')},'dialAMDActive':{'type':Sequelize[_0xbf3b('0x11')],'defaultValue':0x0,'comment':'Active/Disactive\x20AMD'},'dialAMDInitialSilence':{'type':Sequelize['INTEGER'](0x9)[_0xbf3b('0x8')],'defaultValue':0x9c4,'validate':{'min':0x0},'comment':_0xbf3b('0x12')},'dialAMDGreeting':{'type':Sequelize[_0xbf3b('0x5')](0x9)[_0xbf3b('0x8')],'defaultValue':0x5dc,'validate':{'min':0x0},'comment':_0xbf3b('0x13')},'dialAMDAfterGreetingSilence':{'type':Sequelize['INTEGER'](0x9)['UNSIGNED'],'defaultValue':0x320,'validate':{'min':0x0},'comment':_0xbf3b('0x14')},'dialAMDTotalAnalysisTime':{'type':Sequelize[_0xbf3b('0x5')](0x9)['UNSIGNED'],'defaultValue':0x1388,'validate':{'min':0x0},'comment':'#AMD\x20Total\x20Analysis\x20Time'},'dialAMDMinWordLength':{'type':Sequelize[_0xbf3b('0x5')](0x9)['UNSIGNED'],'defaultValue':0x64,'validate':{'min':0x0},'comment':_0xbf3b('0x15')},'dialAMDBetweenWordsSilence':{'type':Sequelize[_0xbf3b('0x5')](0x9)['UNSIGNED'],'defaultValue':0x32,'validate':{'min':0x0},'comment':_0xbf3b('0x16')},'dialAMDMaximumNumberOfWords':{'type':Sequelize[_0xbf3b('0x5')](0x9)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x0},'comment':_0xbf3b('0x17')},'dialAMDSilenceThreshold':{'type':Sequelize[_0xbf3b('0x5')](0x5)[_0xbf3b('0x8')],'validate':{'min':0x0,'max':0x7fff},'defaultValue':0x100,'comment':'#AMD\x20Silence\x20Threshold\x20(min:0,\x20max:32767)'},'dialAMDMaximumWordLength':{'type':Sequelize['INTEGER'](0x9)[_0xbf3b('0x8')],'defaultValue':0x1388,'validate':{'min':0x0},'comment':_0xbf3b('0x18')},'dialOrderByScheduledAt':{'type':Sequelize[_0xbf3b('0xd')](_0xbf3b('0x19'),_0xbf3b('0x1a')),'defaultValue':_0xbf3b('0x19')},'dialPrefix':{'type':Sequelize[_0xbf3b('0x3')],'defaultValue':null},'dialRandomLastDigitCallerIdNumber':{'type':Sequelize[_0xbf3b('0x5')](0x3)[_0xbf3b('0x8')],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':_0xbf3b('0x1b')},'dialCutDigit':{'type':Sequelize[_0xbf3b('0x5')](0x3)['UNSIGNED'],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':'Cut\x20Digit\x20(min:1,\x20max:15)'}};
\ No newline at end of file