Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / api / campaign / campaign.attributes.js
index eb71409..16d6c90 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x724c=['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)','STRING','name','ENUM','BOOLEAN','Active/Disactive\x20Campaign','INTEGER','UNSIGNED','#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)','never','always','Active/Disactive\x20AMD','#AMD\x20Greeting','#AMD\x20After\x20Greeting\x20Silence','#AMD\x20Total\x20Analysis\x20Time','#AMD\x20Min\x20Word\x20Length','#AMD\x20Between\x20Words\x20Silence','#AMD\x20Silence\x20Threshold\x20(min:0,\x20max:32767)','#AMD\x20Maximum\x20Word\x20Length','DESC','ASC','Random\x20Last\x20Digit\x20(min:1,\x20max:15)','Cut\x20Digit\x20(min:1,\x20max:15)','NoSuchNumber\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'];(function(_0x6b9d70,_0x307b69){var _0x51f266=function(_0x2789e3){while(--_0x2789e3){_0x6b9d70['push'](_0x6b9d70['shift']());}};_0x51f266(++_0x307b69);}(_0x724c,0xcd));var _0xc724=function(_0x2501ad,_0xe24535){_0x2501ad=_0x2501ad-0x0;var _0x5c2d84=_0x724c[_0x2501ad];return _0x5c2d84;};'use strict';var Sequelize=require('sequelize');module['exports']={'name':{'type':Sequelize[_0xc724('0x0')],'unique':_0xc724('0x1'),'allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'type':{'type':Sequelize[_0xc724('0x2')]('ivr'),'allowNull':![],'defaultValue':'ivr'},'description':{'type':Sequelize[_0xc724('0x0')]},'active':{'type':Sequelize[_0xc724('0x3')],'defaultValue':0x0,'comment':_0xc724('0x4')},'limitCalls':{'type':Sequelize[_0xc724('0x5')](0x4)['UNSIGNED'],'defaultValue':0x1e,'validate':{'min':0x1,'max':0xc8},'comment':'Max\x20200\x20calls.'},'dialOriginateCallerIdName':{'type':Sequelize['STRING']},'dialOriginateCallerIdNumber':{'type':Sequelize[_0xc724('0x0')]},'dialOriginateTimeout':{'type':Sequelize[_0xc724('0x5')](0x3)[_0xc724('0x6')],'defaultValue':0x1e,'validate':{'min':0x1,'max':0x3e7},'comment':'Originate\x20Timeout\x20Seconds\x20(min:1,\x20max:999)'},'dialCongestionMaxRetry':{'type':Sequelize[_0xc724('0x5')](0x3)[_0xc724('0x6')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':'#Congestion\x20Retry\x20(min:1,\x20max:999)'},'dialCongestionRetryFrequency':{'type':Sequelize[_0xc724('0x5')](0x5)[_0xc724('0x6')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':'Congestion\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'},'dialBusyMaxRetry':{'type':Sequelize[_0xc724('0x5')](0x3)[_0xc724('0x6')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0xc724('0x7')},'dialBusyRetryFrequency':{'type':Sequelize[_0xc724('0x5')](0x5)['UNSIGNED'],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':'Busy\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'},'dialNoAnswerMaxRetry':{'type':Sequelize[_0xc724('0x5')](0x3)[_0xc724('0x6')],'defaultValue':0x3,'comment':_0xc724('0x8')},'dialNoAnswerRetryFrequency':{'type':Sequelize[_0xc724('0x5')](0x5)['UNSIGNED'],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0xc724('0x9')},'dialGlobalMaxRetry':{'type':Sequelize[_0xc724('0x5')](0x3)[_0xc724('0x6')],'validate':{'min':0x1,'max':0x3e7},'defaultValue':0x4,'comment':_0xc724('0xa')},'dialTimezone':{'type':Sequelize[_0xc724('0x0')],'defaultValue':null},'dialGlobalInterval':{'type':Sequelize[_0xc724('0x0')],'defaultValue':'07:00-22:00,*,*,*'},'dialCheckDuplicateType':{'type':Sequelize[_0xc724('0x2')]('always',_0xc724('0xb'),'onlyIfOpen'),'defaultValue':_0xc724('0xc')},'dialAMDActive':{'type':Sequelize['BOOLEAN'],'defaultValue':0x0,'comment':_0xc724('0xd')},'dialAMDInitialSilence':{'type':Sequelize['INTEGER'](0x9)[_0xc724('0x6')],'defaultValue':0x9c4,'validate':{'min':0x0},'comment':'#AMD\x20Initial\x20Silence'},'dialAMDGreeting':{'type':Sequelize[_0xc724('0x5')](0x9)[_0xc724('0x6')],'defaultValue':0x5dc,'validate':{'min':0x0},'comment':_0xc724('0xe')},'dialAMDAfterGreetingSilence':{'type':Sequelize[_0xc724('0x5')](0x9)[_0xc724('0x6')],'defaultValue':0x320,'validate':{'min':0x0},'comment':_0xc724('0xf')},'dialAMDTotalAnalysisTime':{'type':Sequelize[_0xc724('0x5')](0x9)[_0xc724('0x6')],'defaultValue':0x1388,'validate':{'min':0x0},'comment':_0xc724('0x10')},'dialAMDMinWordLength':{'type':Sequelize[_0xc724('0x5')](0x9)['UNSIGNED'],'defaultValue':0x64,'validate':{'min':0x0},'comment':_0xc724('0x11')},'dialAMDBetweenWordsSilence':{'type':Sequelize['INTEGER'](0x9)[_0xc724('0x6')],'defaultValue':0x32,'validate':{'min':0x0},'comment':_0xc724('0x12')},'dialAMDMaximumNumberOfWords':{'type':Sequelize[_0xc724('0x5')](0x9)[_0xc724('0x6')],'defaultValue':0x3,'validate':{'min':0x0},'comment':'#AMD\x20Maximum\x20Number\x20Of\x20Words'},'dialAMDSilenceThreshold':{'type':Sequelize[_0xc724('0x5')](0x5)['UNSIGNED'],'validate':{'min':0x0,'max':0x7fff},'defaultValue':0x100,'comment':_0xc724('0x13')},'dialAMDMaximumWordLength':{'type':Sequelize[_0xc724('0x5')](0x9)[_0xc724('0x6')],'defaultValue':0x1388,'validate':{'min':0x0},'comment':_0xc724('0x14')},'dialOrderByScheduledAt':{'type':Sequelize[_0xc724('0x2')](_0xc724('0x15'),_0xc724('0x16')),'defaultValue':'DESC'},'dialPrefix':{'type':Sequelize['STRING'],'defaultValue':null},'dialRandomLastDigitCallerIdNumber':{'type':Sequelize[_0xc724('0x5')](0x3)['UNSIGNED'],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':_0xc724('0x17')},'dialCutDigit':{'type':Sequelize[_0xc724('0x5')](0x3)[_0xc724('0x6')],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':_0xc724('0x18')},'dialNoSuchNumberMaxRetry':{'type':Sequelize[_0xc724('0x5')](0x3)[_0xc724('0x6')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':'#NoSuchNumber\x20Retry\x20(min:1,\x20max:999)'},'dialNoSuchNumberRetryFrequency':{'type':Sequelize[_0xc724('0x5')](0x5)['UNSIGNED'],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0xc724('0x19')},'dialDropMaxRetry':{'type':Sequelize[_0xc724('0x5')](0x3)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':'#Drop\x20Retry\x20(min:1,\x20max:999)'},'dialDropRetryFrequency':{'type':Sequelize['INTEGER'](0x5)[_0xc724('0x6')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0xc724('0x1a')},'dialAbandonedMaxRetry':{'type':Sequelize[_0xc724('0x5')](0x3)[_0xc724('0x6')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0xc724('0x1b')},'dialAbandonedRetryFrequency':{'type':Sequelize[_0xc724('0x5')](0x5)[_0xc724('0x6')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0xc724('0x1c')},'dialMachineMaxRetry':{'type':Sequelize['INTEGER'](0x3)[_0xc724('0x6')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0xc724('0x1d')},'dialMachineRetryFrequency':{'type':Sequelize[_0xc724('0x5')](0x5)[_0xc724('0x6')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0xc724('0x1e')},'dialAgentRejectMaxRetry':{'type':Sequelize['INTEGER'](0x3)[_0xc724('0x6')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0xc724('0x1f')},'dialAgentRejectRetryFrequency':{'type':Sequelize['INTEGER'](0x5)[_0xc724('0x6')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0xc724('0x20')}};
\ No newline at end of file
+var _0xf748=['#AMD\x20Maximum\x20Number\x20Of\x20Words','#AMD\x20Maximum\x20Word\x20Length','Random\x20Last\x20Digit\x20(min:1,\x20max:15)','Cut\x20Digit\x20(min:1,\x20max:15)','NoSuchNumber\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','Drop\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#Abandoned\x20Retry\x20(min:1,\x20max:999)','#Machine\x20Retry\x20(min:1,\x20max:999)','Machine\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','sequelize','exports','STRING','name','ENUM','ivr','BOOLEAN','Active/Disactive\x20Campaign','INTEGER','UNSIGNED','Max\x20200\x20calls.','Originate\x20Timeout\x20Seconds\x20(min:1,\x20max:999)','#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\x20Initial\x20Silence','#AMD\x20Greeting','#AMD\x20After\x20Greeting\x20Silence','#AMD\x20Total\x20Analysis\x20Time','#AMD\x20Min\x20Word\x20Length','#AMD\x20Between\x20Words\x20Silence'];(function(_0x1ace78,_0xe10e1d){var _0x287e2d=function(_0x375ba6){while(--_0x375ba6){_0x1ace78['push'](_0x1ace78['shift']());}};_0x287e2d(++_0xe10e1d);}(_0xf748,0x1ad));var _0x8f74=function(_0x1881ac,_0x57ecf4){_0x1881ac=_0x1881ac-0x0;var _0x3b966e=_0xf748[_0x1881ac];return _0x3b966e;};'use strict';var Sequelize=require(_0x8f74('0x0'));module[_0x8f74('0x1')]={'name':{'type':Sequelize[_0x8f74('0x2')],'unique':_0x8f74('0x3'),'allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'type':{'type':Sequelize[_0x8f74('0x4')]('ivr'),'allowNull':![],'defaultValue':_0x8f74('0x5')},'description':{'type':Sequelize['STRING']},'active':{'type':Sequelize[_0x8f74('0x6')],'defaultValue':0x0,'comment':_0x8f74('0x7')},'limitCalls':{'type':Sequelize[_0x8f74('0x8')](0x4)[_0x8f74('0x9')],'defaultValue':0x1e,'validate':{'min':0x1,'max':0xc8},'comment':_0x8f74('0xa')},'dialOriginateCallerIdName':{'type':Sequelize[_0x8f74('0x2')]},'dialOriginateCallerIdNumber':{'type':Sequelize[_0x8f74('0x2')]},'dialOriginateTimeout':{'type':Sequelize[_0x8f74('0x8')](0x3)[_0x8f74('0x9')],'defaultValue':0x1e,'validate':{'min':0x1,'max':0x3e7},'comment':_0x8f74('0xb')},'dialCongestionMaxRetry':{'type':Sequelize[_0x8f74('0x8')](0x3)[_0x8f74('0x9')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':'#Congestion\x20Retry\x20(min:1,\x20max:999)'},'dialCongestionRetryFrequency':{'type':Sequelize[_0x8f74('0x8')](0x5)[_0x8f74('0x9')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':'Congestion\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'},'dialBusyMaxRetry':{'type':Sequelize[_0x8f74('0x8')](0x3)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x8f74('0xc')},'dialBusyRetryFrequency':{'type':Sequelize[_0x8f74('0x8')](0x5)[_0x8f74('0x9')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x8f74('0xd')},'dialNoAnswerMaxRetry':{'type':Sequelize[_0x8f74('0x8')](0x3)['UNSIGNED'],'defaultValue':0x3,'comment':_0x8f74('0xe')},'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[_0x8f74('0x8')](0x3)[_0x8f74('0x9')],'validate':{'min':0x1,'max':0x3e7},'defaultValue':0x4,'comment':_0x8f74('0xf')},'dialTimezone':{'type':Sequelize[_0x8f74('0x2')],'defaultValue':null},'dialGlobalInterval':{'type':Sequelize[_0x8f74('0x2')],'defaultValue':'07:00-22:00,*,*,*'},'dialCheckDuplicateType':{'type':Sequelize[_0x8f74('0x4')](_0x8f74('0x10'),_0x8f74('0x11'),_0x8f74('0x12')),'defaultValue':_0x8f74('0x10')},'dialAMDActive':{'type':Sequelize['BOOLEAN'],'defaultValue':0x0,'comment':_0x8f74('0x13')},'dialAMDInitialSilence':{'type':Sequelize[_0x8f74('0x8')](0x9)[_0x8f74('0x9')],'defaultValue':0x9c4,'validate':{'min':0x0},'comment':_0x8f74('0x14')},'dialAMDGreeting':{'type':Sequelize[_0x8f74('0x8')](0x9)['UNSIGNED'],'defaultValue':0x5dc,'validate':{'min':0x0},'comment':_0x8f74('0x15')},'dialAMDAfterGreetingSilence':{'type':Sequelize[_0x8f74('0x8')](0x9)[_0x8f74('0x9')],'defaultValue':0x320,'validate':{'min':0x0},'comment':_0x8f74('0x16')},'dialAMDTotalAnalysisTime':{'type':Sequelize[_0x8f74('0x8')](0x9)[_0x8f74('0x9')],'defaultValue':0x1388,'validate':{'min':0x0},'comment':_0x8f74('0x17')},'dialAMDMinWordLength':{'type':Sequelize['INTEGER'](0x9)[_0x8f74('0x9')],'defaultValue':0x64,'validate':{'min':0x0},'comment':_0x8f74('0x18')},'dialAMDBetweenWordsSilence':{'type':Sequelize['INTEGER'](0x9)[_0x8f74('0x9')],'defaultValue':0x32,'validate':{'min':0x0},'comment':_0x8f74('0x19')},'dialAMDMaximumNumberOfWords':{'type':Sequelize['INTEGER'](0x9)[_0x8f74('0x9')],'defaultValue':0x3,'validate':{'min':0x0},'comment':_0x8f74('0x1a')},'dialAMDSilenceThreshold':{'type':Sequelize['INTEGER'](0x5)[_0x8f74('0x9')],'validate':{'min':0x0,'max':0x7fff},'defaultValue':0x100,'comment':'#AMD\x20Silence\x20Threshold\x20(min:0,\x20max:32767)'},'dialAMDMaximumWordLength':{'type':Sequelize[_0x8f74('0x8')](0x9)[_0x8f74('0x9')],'defaultValue':0x1388,'validate':{'min':0x0},'comment':_0x8f74('0x1b')},'dialOrderByScheduledAt':{'type':Sequelize[_0x8f74('0x4')]('DESC','ASC'),'defaultValue':'DESC'},'dialPrefix':{'type':Sequelize[_0x8f74('0x2')],'defaultValue':null},'dialRandomLastDigitCallerIdNumber':{'type':Sequelize['INTEGER'](0x3)[_0x8f74('0x9')],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':_0x8f74('0x1c')},'dialCutDigit':{'type':Sequelize['INTEGER'](0x3)['UNSIGNED'],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':_0x8f74('0x1d')},'dialNoSuchNumberMaxRetry':{'type':Sequelize[_0x8f74('0x8')](0x3)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':'#NoSuchNumber\x20Retry\x20(min:1,\x20max:999)'},'dialNoSuchNumberRetryFrequency':{'type':Sequelize[_0x8f74('0x8')](0x5)[_0x8f74('0x9')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x8f74('0x1e')},'dialDropMaxRetry':{'type':Sequelize[_0x8f74('0x8')](0x3)[_0x8f74('0x9')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':'#Drop\x20Retry\x20(min:1,\x20max:999)'},'dialDropRetryFrequency':{'type':Sequelize['INTEGER'](0x5)[_0x8f74('0x9')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x8f74('0x1f')},'dialAbandonedMaxRetry':{'type':Sequelize['INTEGER'](0x3)[_0x8f74('0x9')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x8f74('0x20')},'dialAbandonedRetryFrequency':{'type':Sequelize[_0x8f74('0x8')](0x5)['UNSIGNED'],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':'Abandoned\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'},'dialMachineMaxRetry':{'type':Sequelize['INTEGER'](0x3)[_0x8f74('0x9')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x8f74('0x21')},'dialMachineRetryFrequency':{'type':Sequelize[_0x8f74('0x8')](0x5)[_0x8f74('0x9')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x8f74('0x22')},'dialAgentRejectMaxRetry':{'type':Sequelize[_0x8f74('0x8')](0x3)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':'#AgentReject\x20Retry\x20(min:1,\x20max:999)'},'dialAgentRejectRetryFrequency':{'type':Sequelize[_0x8f74('0x8')](0x5)[_0x8f74('0x9')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':'AgentReject\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'}};
\ No newline at end of file