Built motion from commit ecdc8e66766c75b1b08288b0ea13eb12d42606b4. Version 3.0.0...
[motion-next.git] / server / api / campaign / campaign.attributes.js
index 3990fb0..3149ed6 100644 (file)
@@ -1 +1 @@
-const a41_0x45a2=['STRING','ivr','#AMD\x20Greeting','onlyIfOpen','always','Random\x20Last\x20Digit\x20(min:1,\x20max:15)','Abandoned\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','BOOLEAN','NoAnswer\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#NoAnswer\x20Retry\x20(min:1,\x20max:999)','#AMD\x20Min\x20Word\x20Length','name','#AgentReject\x20Retry\x20(min:1,\x20max:999)','#Abandoned\x20Retry\x20(min:1,\x20max:999)','#Congestion\x20Retry\x20(min:1,\x20max:999)','DESC','UNSIGNED','#Busy\x20Retry\x20(min:1,\x20max:999)','Congestion\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','07:00-22:00,*,*,*','Originate\x20Timeout\x20Seconds\x20(min:1,\x20max:999)','Active/Disactive\x20Campaign','sequelize','Machine\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','Drop\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','INTEGER','never','Active/Disactive\x20AMD','NoSuchNumber\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','ENUM','#NoSuchNumber\x20Retry\x20(min:1,\x20max:999)','exports','AgentReject\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#AMD\x20Maximum\x20Word\x20Length'];(function(_0x3c4d0c,_0x45a28c){const _0x4323c4=function(_0x26f29f){while(--_0x26f29f){_0x3c4d0c['push'](_0x3c4d0c['shift']());}};_0x4323c4(++_0x45a28c);}(a41_0x45a2,0x75));const a41_0x4323=function(_0x3c4d0c,_0x45a28c){_0x3c4d0c=_0x3c4d0c-0x0;let _0x4323c4=a41_0x45a2[_0x3c4d0c];return _0x4323c4;};const _0x30d05f=a41_0x4323;'use strict';const Sequelize=require(_0x30d05f('0x7'));module[_0x30d05f('0x10')]={'name':{'type':Sequelize['STRING'],'unique':_0x30d05f('0x1e'),'allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'type':{'type':Sequelize[_0x30d05f('0xe')](_0x30d05f('0x14')),'allowNull':![],'defaultValue':'ivr'},'description':{'type':Sequelize[_0x30d05f('0x13')]},'active':{'type':Sequelize[_0x30d05f('0x1a')],'defaultValue':0x0,'comment':_0x30d05f('0x6')},'limitCalls':{'type':Sequelize[_0x30d05f('0xa')](0x4)[_0x30d05f('0x1')],'defaultValue':0x1e,'validate':{'min':0x1,'max':0xc8},'comment':'Max\x20200\x20calls.'},'dialOriginateCallerIdName':{'type':Sequelize['STRING']},'dialOriginateCallerIdNumber':{'type':Sequelize[_0x30d05f('0x13')]},'dialOriginateTimeout':{'type':Sequelize[_0x30d05f('0xa')](0x3)['UNSIGNED'],'defaultValue':0x1e,'validate':{'min':0x1,'max':0x3e7},'comment':_0x30d05f('0x5')},'dialCongestionMaxRetry':{'type':Sequelize['INTEGER'](0x3)[_0x30d05f('0x1')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x30d05f('0x21')},'dialCongestionRetryFrequency':{'type':Sequelize[_0x30d05f('0xa')](0x5)[_0x30d05f('0x1')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x30d05f('0x3')},'dialBusyMaxRetry':{'type':Sequelize[_0x30d05f('0xa')](0x3)[_0x30d05f('0x1')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x30d05f('0x2')},'dialBusyRetryFrequency':{'type':Sequelize['INTEGER'](0x5)[_0x30d05f('0x1')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':'Busy\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'},'dialNoAnswerMaxRetry':{'type':Sequelize[_0x30d05f('0xa')](0x3)[_0x30d05f('0x1')],'defaultValue':0x3,'comment':_0x30d05f('0x1c')},'dialNoAnswerRetryFrequency':{'type':Sequelize[_0x30d05f('0xa')](0x5)[_0x30d05f('0x1')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x30d05f('0x1b')},'dialGlobalMaxRetry':{'type':Sequelize[_0x30d05f('0xa')](0x3)[_0x30d05f('0x1')],'validate':{'min':0x1,'max':0x3e7},'defaultValue':0x4,'comment':'#Global\x20Max\x20Retry\x20(min:1,\x20max:999)'},'dialTimezone':{'type':Sequelize[_0x30d05f('0x13')],'defaultValue':null},'dialGlobalInterval':{'type':Sequelize['STRING'],'defaultValue':_0x30d05f('0x4')},'dialCheckDuplicateType':{'type':Sequelize[_0x30d05f('0xe')](_0x30d05f('0x17'),_0x30d05f('0xb'),_0x30d05f('0x16')),'defaultValue':'always'},'dialAMDActive':{'type':Sequelize[_0x30d05f('0x1a')],'defaultValue':0x0,'comment':_0x30d05f('0xc')},'dialAMDInitialSilence':{'type':Sequelize[_0x30d05f('0xa')](0x9)[_0x30d05f('0x1')],'defaultValue':0x9c4,'validate':{'min':0x0},'comment':'#AMD\x20Initial\x20Silence'},'dialAMDGreeting':{'type':Sequelize[_0x30d05f('0xa')](0x9)[_0x30d05f('0x1')],'defaultValue':0x5dc,'validate':{'min':0x0},'comment':_0x30d05f('0x15')},'dialAMDAfterGreetingSilence':{'type':Sequelize[_0x30d05f('0xa')](0x9)[_0x30d05f('0x1')],'defaultValue':0x320,'validate':{'min':0x0},'comment':'#AMD\x20After\x20Greeting\x20Silence'},'dialAMDTotalAnalysisTime':{'type':Sequelize['INTEGER'](0x9)[_0x30d05f('0x1')],'defaultValue':0x1388,'validate':{'min':0x0},'comment':'#AMD\x20Total\x20Analysis\x20Time'},'dialAMDMinWordLength':{'type':Sequelize[_0x30d05f('0xa')](0x9)[_0x30d05f('0x1')],'defaultValue':0x64,'validate':{'min':0x0},'comment':_0x30d05f('0x1d')},'dialAMDBetweenWordsSilence':{'type':Sequelize['INTEGER'](0x9)[_0x30d05f('0x1')],'defaultValue':0x32,'validate':{'min':0x0},'comment':'#AMD\x20Between\x20Words\x20Silence'},'dialAMDMaximumNumberOfWords':{'type':Sequelize['INTEGER'](0x9)[_0x30d05f('0x1')],'defaultValue':0x3,'validate':{'min':0x0},'comment':'#AMD\x20Maximum\x20Number\x20Of\x20Words'},'dialAMDSilenceThreshold':{'type':Sequelize[_0x30d05f('0xa')](0x5)[_0x30d05f('0x1')],'validate':{'min':0x0,'max':0x7fff},'defaultValue':0x100,'comment':'#AMD\x20Silence\x20Threshold\x20(min:0,\x20max:32767)'},'dialAMDMaximumWordLength':{'type':Sequelize['INTEGER'](0x9)['UNSIGNED'],'defaultValue':0x1388,'validate':{'min':0x0},'comment':_0x30d05f('0x12')},'dialOrderByScheduledAt':{'type':Sequelize[_0x30d05f('0xe')]('DESC','ASC'),'defaultValue':_0x30d05f('0x0')},'dialPrefix':{'type':Sequelize['STRING'],'defaultValue':null},'dialRandomLastDigitCallerIdNumber':{'type':Sequelize['INTEGER'](0x3)[_0x30d05f('0x1')],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':_0x30d05f('0x18')},'dialCutDigit':{'type':Sequelize[_0x30d05f('0xa')](0x3)['UNSIGNED'],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':'Cut\x20Digit\x20(min:1,\x20max:15)'},'dialNoSuchNumberMaxRetry':{'type':Sequelize[_0x30d05f('0xa')](0x3)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x30d05f('0xf')},'dialNoSuchNumberRetryFrequency':{'type':Sequelize[_0x30d05f('0xa')](0x5)[_0x30d05f('0x1')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x30d05f('0xd')},'dialDropMaxRetry':{'type':Sequelize[_0x30d05f('0xa')](0x3)[_0x30d05f('0x1')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':'#Drop\x20Retry\x20(min:1,\x20max:999)'},'dialDropRetryFrequency':{'type':Sequelize[_0x30d05f('0xa')](0x5)['UNSIGNED'],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x30d05f('0x9')},'dialAbandonedMaxRetry':{'type':Sequelize[_0x30d05f('0xa')](0x3)[_0x30d05f('0x1')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x30d05f('0x20')},'dialAbandonedRetryFrequency':{'type':Sequelize[_0x30d05f('0xa')](0x5)[_0x30d05f('0x1')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x30d05f('0x19')},'dialMachineMaxRetry':{'type':Sequelize[_0x30d05f('0xa')](0x3)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':'#Machine\x20Retry\x20(min:1,\x20max:999)'},'dialMachineRetryFrequency':{'type':Sequelize[_0x30d05f('0xa')](0x5)['UNSIGNED'],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x30d05f('0x8')},'dialAgentRejectMaxRetry':{'type':Sequelize[_0x30d05f('0xa')](0x3)[_0x30d05f('0x1')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0x30d05f('0x1f')},'dialAgentRejectRetryFrequency':{'type':Sequelize[_0x30d05f('0xa')](0x5)['UNSIGNED'],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0x30d05f('0x11')}};
\ No newline at end of file
+const a41_0x1184=['NoAnswer\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','Active/Disactive\x20AMD','BOOLEAN','#AMD\x20After\x20Greeting\x20Silence','#Congestion\x20Retry\x20(min:1,\x20max:999)','#Abandoned\x20Retry\x20(min:1,\x20max:999)','#AMD\x20Maximum\x20Word\x20Length','#Global\x20Max\x20Retry\x20(min:1,\x20max:999)','#AMD\x20Between\x20Words\x20Silence','STRING','Random\x20Last\x20Digit\x20(min:1,\x20max:15)','AgentReject\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#Busy\x20Retry\x20(min:1,\x20max:999)','07:00-22:00,*,*,*','always','#AMD\x20Silence\x20Threshold\x20(min:0,\x20max:32767)','onlyIfOpen','ivr','ASC','#AMD\x20Total\x20Analysis\x20Time','ENUM','never','DESC','Drop\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#NoAnswer\x20Retry\x20(min:1,\x20max:999)','sequelize','name','#AMD\x20Maximum\x20Number\x20Of\x20Words','#AMD\x20Greeting','#AMD\x20Initial\x20Silence','INTEGER','Originate\x20Timeout\x20Seconds\x20(min:1,\x20max:999)','Machine\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#NoSuchNumber\x20Retry\x20(min:1,\x20max:999)','Active/Disactive\x20Campaign','Max\x20200\x20calls.','UNSIGNED','Congestion\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)','#Drop\x20Retry\x20(min:1,\x20max:999)','Cut\x20Digit\x20(min:1,\x20max:15)'];(function(_0x111111,_0x1184d1){const _0x462fd4=function(_0x11a9ed){while(--_0x11a9ed){_0x111111['push'](_0x111111['shift']());}};_0x462fd4(++_0x1184d1);}(a41_0x1184,0xa4));const a41_0x462f=function(_0x111111,_0x1184d1){_0x111111=_0x111111-0x0;let _0x462fd4=a41_0x1184[_0x111111];return _0x462fd4;};const _0xb2d2b9=a41_0x462f;'use strict';const Sequelize=require(_0xb2d2b9('0x15'));module['exports']={'name':{'type':Sequelize[_0xb2d2b9('0x5')],'unique':_0xb2d2b9('0x16'),'allowNull':![],'validate':{'is':/[A-Za-z0-9._\\+*!-]+/,'notEmpty':!![]}},'type':{'type':Sequelize[_0xb2d2b9('0x10')]('ivr'),'allowNull':![],'defaultValue':_0xb2d2b9('0xd')},'description':{'type':Sequelize[_0xb2d2b9('0x5')]},'active':{'type':Sequelize[_0xb2d2b9('0x26')],'defaultValue':0x0,'comment':_0xb2d2b9('0x1e')},'limitCalls':{'type':Sequelize['INTEGER'](0x4)[_0xb2d2b9('0x20')],'defaultValue':0x1e,'validate':{'min':0x1,'max':0xc8},'comment':_0xb2d2b9('0x1f')},'dialOriginateCallerIdName':{'type':Sequelize['STRING']},'dialOriginateCallerIdNumber':{'type':Sequelize['STRING']},'dialOriginateTimeout':{'type':Sequelize[_0xb2d2b9('0x1a')](0x3)[_0xb2d2b9('0x20')],'defaultValue':0x1e,'validate':{'min':0x1,'max':0x3e7},'comment':_0xb2d2b9('0x1b')},'dialCongestionMaxRetry':{'type':Sequelize[_0xb2d2b9('0x1a')](0x3)[_0xb2d2b9('0x20')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0xb2d2b9('0x0')},'dialCongestionRetryFrequency':{'type':Sequelize[_0xb2d2b9('0x1a')](0x5)[_0xb2d2b9('0x20')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0xb2d2b9('0x21')},'dialBusyMaxRetry':{'type':Sequelize['INTEGER'](0x3)[_0xb2d2b9('0x20')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0xb2d2b9('0x8')},'dialBusyRetryFrequency':{'type':Sequelize['INTEGER'](0x5)[_0xb2d2b9('0x20')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':'Busy\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'},'dialNoAnswerMaxRetry':{'type':Sequelize[_0xb2d2b9('0x1a')](0x3)[_0xb2d2b9('0x20')],'defaultValue':0x3,'comment':_0xb2d2b9('0x14')},'dialNoAnswerRetryFrequency':{'type':Sequelize[_0xb2d2b9('0x1a')](0x5)[_0xb2d2b9('0x20')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0xb2d2b9('0x24')},'dialGlobalMaxRetry':{'type':Sequelize['INTEGER'](0x3)['UNSIGNED'],'validate':{'min':0x1,'max':0x3e7},'defaultValue':0x4,'comment':_0xb2d2b9('0x3')},'dialTimezone':{'type':Sequelize[_0xb2d2b9('0x5')],'defaultValue':null},'dialGlobalInterval':{'type':Sequelize['STRING'],'defaultValue':_0xb2d2b9('0x9')},'dialCheckDuplicateType':{'type':Sequelize['ENUM'](_0xb2d2b9('0xa'),_0xb2d2b9('0x11'),_0xb2d2b9('0xc')),'defaultValue':_0xb2d2b9('0xa')},'dialAMDActive':{'type':Sequelize[_0xb2d2b9('0x26')],'defaultValue':0x0,'comment':_0xb2d2b9('0x25')},'dialAMDInitialSilence':{'type':Sequelize[_0xb2d2b9('0x1a')](0x9)[_0xb2d2b9('0x20')],'defaultValue':0x9c4,'validate':{'min':0x0},'comment':_0xb2d2b9('0x19')},'dialAMDGreeting':{'type':Sequelize[_0xb2d2b9('0x1a')](0x9)['UNSIGNED'],'defaultValue':0x5dc,'validate':{'min':0x0},'comment':_0xb2d2b9('0x18')},'dialAMDAfterGreetingSilence':{'type':Sequelize[_0xb2d2b9('0x1a')](0x9)[_0xb2d2b9('0x20')],'defaultValue':0x320,'validate':{'min':0x0},'comment':_0xb2d2b9('0x27')},'dialAMDTotalAnalysisTime':{'type':Sequelize['INTEGER'](0x9)[_0xb2d2b9('0x20')],'defaultValue':0x1388,'validate':{'min':0x0},'comment':_0xb2d2b9('0xf')},'dialAMDMinWordLength':{'type':Sequelize['INTEGER'](0x9)['UNSIGNED'],'defaultValue':0x64,'validate':{'min':0x0},'comment':'#AMD\x20Min\x20Word\x20Length'},'dialAMDBetweenWordsSilence':{'type':Sequelize['INTEGER'](0x9)[_0xb2d2b9('0x20')],'defaultValue':0x32,'validate':{'min':0x0},'comment':_0xb2d2b9('0x4')},'dialAMDMaximumNumberOfWords':{'type':Sequelize[_0xb2d2b9('0x1a')](0x9)[_0xb2d2b9('0x20')],'defaultValue':0x3,'validate':{'min':0x0},'comment':_0xb2d2b9('0x17')},'dialAMDSilenceThreshold':{'type':Sequelize['INTEGER'](0x5)[_0xb2d2b9('0x20')],'validate':{'min':0x0,'max':0x7fff},'defaultValue':0x100,'comment':_0xb2d2b9('0xb')},'dialAMDMaximumWordLength':{'type':Sequelize[_0xb2d2b9('0x1a')](0x9)[_0xb2d2b9('0x20')],'defaultValue':0x1388,'validate':{'min':0x0},'comment':_0xb2d2b9('0x2')},'dialOrderByScheduledAt':{'type':Sequelize['ENUM'](_0xb2d2b9('0x12'),_0xb2d2b9('0xe')),'defaultValue':_0xb2d2b9('0x12')},'dialPrefix':{'type':Sequelize[_0xb2d2b9('0x5')],'defaultValue':null},'dialRandomLastDigitCallerIdNumber':{'type':Sequelize[_0xb2d2b9('0x1a')](0x3)[_0xb2d2b9('0x20')],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':_0xb2d2b9('0x6')},'dialCutDigit':{'type':Sequelize[_0xb2d2b9('0x1a')](0x3)[_0xb2d2b9('0x20')],'validate':{'min':0x0,'max':0xf},'defaultValue':0x0,'comment':_0xb2d2b9('0x23')},'dialNoSuchNumberMaxRetry':{'type':Sequelize[_0xb2d2b9('0x1a')](0x3)['UNSIGNED'],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0xb2d2b9('0x1d')},'dialNoSuchNumberRetryFrequency':{'type':Sequelize[_0xb2d2b9('0x1a')](0x5)[_0xb2d2b9('0x20')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':'NoSuchNumber\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'},'dialDropMaxRetry':{'type':Sequelize[_0xb2d2b9('0x1a')](0x3)[_0xb2d2b9('0x20')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0xb2d2b9('0x22')},'dialDropRetryFrequency':{'type':Sequelize[_0xb2d2b9('0x1a')](0x5)[_0xb2d2b9('0x20')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0xb2d2b9('0x13')},'dialAbandonedMaxRetry':{'type':Sequelize[_0xb2d2b9('0x1a')](0x3)[_0xb2d2b9('0x20')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':_0xb2d2b9('0x1')},'dialAbandonedRetryFrequency':{'type':Sequelize['INTEGER'](0x5)[_0xb2d2b9('0x20')],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':'Abandoned\x20Retry\x20Frequency\x20Minutes\x20(min:1,\x20max:99999)'},'dialMachineMaxRetry':{'type':Sequelize[_0xb2d2b9('0x1a')](0x3)[_0xb2d2b9('0x20')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':'#Machine\x20Retry\x20(min:1,\x20max:999)'},'dialMachineRetryFrequency':{'type':Sequelize['INTEGER'](0x5)['UNSIGNED'],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0xb2d2b9('0x1c')},'dialAgentRejectMaxRetry':{'type':Sequelize[_0xb2d2b9('0x1a')](0x3)[_0xb2d2b9('0x20')],'defaultValue':0x3,'validate':{'min':0x1,'max':0x3e7},'comment':'#AgentReject\x20Retry\x20(min:1,\x20max:999)'},'dialAgentRejectRetryFrequency':{'type':Sequelize[_0xb2d2b9('0x1a')](0x5)['UNSIGNED'],'validate':{'min':0x1,'max':0x1869f},'defaultValue':0x96,'comment':_0xb2d2b9('0x7')}};
\ No newline at end of file