X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FopenchannelAccount%2FopenchannelAccount.attributes.js;h=b10f3eadb27f029b2f9a4a1b8a193cd38a43dc9e;hb=8de30684771e4539598fcfa869d5f97a2efb140f;hp=b8d0db2d133dfa6f38a468ab732c3f450aa5127c;hpb=cf0590116080d9ba42ef56ec3321a2b1292c0360;p=motion2.git diff --git a/server/api/openchannelAccount/openchannelAccount.attributes.js b/server/api/openchannelAccount/openchannelAccount.attributes.js index b8d0db2..b10f3ea 100644 --- a/server/api/openchannelAccount/openchannelAccount.attributes.js +++ b/server/api/openchannelAccount/openchannelAccount.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x8d32=['Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','setDataValue','mandatoryDispositionPauseId','mandatoryDisposition','sequelize','exports','STRING','generate','Account:\x20{{account.name}}
{{#queue}}Queue:\x20{{queue.name}}
{{/queue}}From\x20:\x20{{from}}','BOOLEAN','INTEGER','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled'];(function(_0x3b3cf1,_0x29ae6f){var _0x4e0b5b=function(_0x130253){while(--_0x130253){_0x3b3cf1['push'](_0x3b3cf1['shift']());}};_0x4e0b5b(++_0x29ae6f);}(_0x8d32,0x88));var _0x28d3=function(_0x1facfa,_0x1acf7d){_0x1facfa=_0x1facfa-0x0;var _0x9ec701=_0x8d32[_0x1facfa];return _0x9ec701;};'use strict';var Sequelize=require(_0x28d3('0x0'));var rs=require('randomstring');module[_0x28d3('0x1')]={'name':{'type':Sequelize[_0x28d3('0x2')],'unique':'name','allowNull':![]},'description':{'type':Sequelize['STRING']},'token':{'type':Sequelize[_0x28d3('0x2')],'defaultValue':function(){return rs[_0x28d3('0x3')]();}},'replyUri':{'type':Sequelize[_0x28d3('0x2')],'validate':{'isUrl':!![]}},'key':{'type':Sequelize[_0x28d3('0x2')],'allowNull':![]},'notificationTemplate':{'type':Sequelize['TEXT'],'defaultValue':function(){return _0x28d3('0x4');}},'notificationSound':{'type':Sequelize[_0x28d3('0x5')],'defaultValue':!![]},'notificationShake':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'mapKey':{'type':Sequelize[_0x28d3('0x2')]},'queueTransfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0x28d3('0x6')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0x28d3('0x5')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0x28d3('0x6')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize[_0x28d3('0x6')],'allowNull':!![],'defaultValue':null,'comment':_0x28d3('0x7')},'mandatoryDisposition':{'type':Sequelize[_0x28d3('0x5')],'defaultValue':![],'comment':_0x28d3('0x8'),'set':function(_0x58e6bc){if(!_0x58e6bc)this[_0x28d3('0x9')](_0x28d3('0xa'),null);this['setDataValue'](_0x28d3('0xb'),_0x58e6bc);}}}; \ No newline at end of file +var _0x763b=['Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','setDataValue','mandatoryDispositionPauseId','mandatoryDisposition','exports','STRING','generate','TEXT','Account:\x20{{account.name}}
{{#queue}}Queue:\x20{{queue.name}}
{{/queue}}From\x20:\x20{{from}}','BOOLEAN','INTEGER','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled'];(function(_0x5db649,_0x39e176){var _0x405470=function(_0x291729){while(--_0x291729){_0x5db649['push'](_0x5db649['shift']());}};_0x405470(++_0x39e176);}(_0x763b,0x13c));var _0xb763=function(_0x4b1236,_0x5993a5){_0x4b1236=_0x4b1236-0x0;var _0x45d450=_0x763b[_0x4b1236];return _0x45d450;};'use strict';var Sequelize=require('sequelize');var rs=require('randomstring');module[_0xb763('0x0')]={'name':{'type':Sequelize['STRING'],'unique':'name','allowNull':![]},'description':{'type':Sequelize[_0xb763('0x1')]},'token':{'type':Sequelize[_0xb763('0x1')],'defaultValue':function(){return rs[_0xb763('0x2')]();}},'replyUri':{'type':Sequelize['STRING'],'validate':{'isUrl':!![]}},'key':{'type':Sequelize['STRING'],'allowNull':![]},'notificationTemplate':{'type':Sequelize[_0xb763('0x3')],'defaultValue':function(){return _0xb763('0x4');}},'notificationSound':{'type':Sequelize[_0xb763('0x5')],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0xb763('0x5')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0xb763('0x6')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'waitForTheAssignedQueue':{'type':Sequelize[_0xb763('0x6')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'mapKey':{'type':Sequelize[_0xb763('0x1')]},'queueTransfer':{'type':Sequelize[_0xb763('0x5')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0xb763('0x6')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0xb763('0x5')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize[_0xb763('0x6')],'allowNull':!![],'defaultValue':null,'comment':_0xb763('0x7')},'mandatoryDisposition':{'type':Sequelize[_0xb763('0x5')],'defaultValue':![],'comment':_0xb763('0x8'),'set':function(_0x2dafcd){if(!_0x2dafcd)this[_0xb763('0x9')](_0xb763('0xa'),null);this[_0xb763('0x9')](_0xb763('0xb'),_0x2dafcd);}}}; \ No newline at end of file