X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FopenchannelAccount%2FopenchannelAccount.attributes.js;h=c18d2b8a81bdc50b6b6c63006181c62b4593fd85;hb=bc8ba5d49091d4cd92a2c18e276791604cb31450;hp=f0c939811e467b658eb5d706b9295fddb4aab9d9;hpb=d56da45b6e1f0bbf558177cd907ef61f0b9840c2;p=motion2.git diff --git a/server/api/openchannelAccount/openchannelAccount.attributes.js b/server/api/openchannelAccount/openchannelAccount.attributes.js index f0c9398..c18d2b8 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 _0xdf18=['randomstring','exports','STRING','name','generate','TEXT','BOOLEAN','INTEGER','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','setDataValue','mandatoryDisposition','sequelize'];(function(_0x28a0d2,_0x4054d5){var _0x152741=function(_0x5e0d4d){while(--_0x5e0d4d){_0x28a0d2['push'](_0x28a0d2['shift']());}};_0x152741(++_0x4054d5);}(_0xdf18,0x12a));var _0x8df1=function(_0x281f05,_0x190f41){_0x281f05=_0x281f05-0x0;var _0x7091c1=_0xdf18[_0x281f05];return _0x7091c1;};'use strict';var Sequelize=require(_0x8df1('0x0'));var rs=require(_0x8df1('0x1'));module[_0x8df1('0x2')]={'name':{'type':Sequelize[_0x8df1('0x3')],'unique':_0x8df1('0x4'),'allowNull':![]},'description':{'type':Sequelize[_0x8df1('0x3')]},'token':{'type':Sequelize[_0x8df1('0x3')],'defaultValue':function(){return rs[_0x8df1('0x5')]();}},'replyUri':{'type':Sequelize[_0x8df1('0x3')],'validate':{'isUrl':!![]}},'key':{'type':Sequelize[_0x8df1('0x3')],'allowNull':![]},'notificationTemplate':{'type':Sequelize[_0x8df1('0x6')],'defaultValue':function(){return'Account:\x20{{account.name}}
{{#queue}}Queue:\x20{{queue.name}}
{{/queue}}From\x20:\x20{{from}}';}},'notificationSound':{'type':Sequelize[_0x8df1('0x7')],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0x8df1('0x7')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0x8df1('0x8')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'waitForTheAssignedQueue':{'type':Sequelize[_0x8df1('0x8')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'mapKey':{'type':Sequelize[_0x8df1('0x3')]},'queueTransfer':{'type':Sequelize[_0x8df1('0x7')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0x8df1('0x8')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0x8df1('0x7')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0x8df1('0x8')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize[_0x8df1('0x8')],'allowNull':!![],'defaultValue':null,'comment':_0x8df1('0x9')},'mandatoryDisposition':{'type':Sequelize[_0x8df1('0x7')],'defaultValue':![],'comment':_0x8df1('0xa'),'set':function(_0x4a32bc){if(!_0x4a32bc)this[_0x8df1('0xb')]('mandatoryDispositionPauseId',null);this[_0x8df1('0xb')](_0x8df1('0xc'),_0x4a32bc);}}}; \ No newline at end of file +var _0x46f3=['BOOLEAN','INTEGER','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','setDataValue','mandatoryDispositionPauseId','randomstring','exports','STRING','name','Account:\x20{{account.name}}
{{#queue}}Queue:\x20{{queue.name}}
{{/queue}}From\x20:\x20{{from}}'];(function(_0x37d8c6,_0x4ba81c){var _0x206660=function(_0x84e1e2){while(--_0x84e1e2){_0x37d8c6['push'](_0x37d8c6['shift']());}};_0x206660(++_0x4ba81c);}(_0x46f3,0x91));var _0x346f=function(_0x46f490,_0x569e43){_0x46f490=_0x46f490-0x0;var _0x40ace5=_0x46f3[_0x46f490];return _0x40ace5;};'use strict';var Sequelize=require('sequelize');var rs=require(_0x346f('0x0'));module[_0x346f('0x1')]={'name':{'type':Sequelize[_0x346f('0x2')],'unique':_0x346f('0x3'),'allowNull':![]},'description':{'type':Sequelize[_0x346f('0x2')]},'token':{'type':Sequelize['STRING'],'defaultValue':function(){return rs['generate']();}},'replyUri':{'type':Sequelize[_0x346f('0x2')],'validate':{'isUrl':!![]}},'key':{'type':Sequelize[_0x346f('0x2')],'allowNull':![]},'notificationTemplate':{'type':Sequelize['TEXT'],'defaultValue':function(){return _0x346f('0x4');}},'notificationSound':{'type':Sequelize[_0x346f('0x5')],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0x346f('0x5')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0x346f('0x6')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'waitForTheAssignedQueue':{'type':Sequelize[_0x346f('0x6')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'mapKey':{'type':Sequelize[_0x346f('0x2')]},'queueTransfer':{'type':Sequelize[_0x346f('0x5')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0x346f('0x5')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0x346f('0x6')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize[_0x346f('0x6')],'allowNull':!![],'defaultValue':null,'comment':'Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled'},'mandatoryDisposition':{'type':Sequelize[_0x346f('0x5')],'defaultValue':![],'comment':_0x346f('0x7'),'set':function(_0x32d8be){if(!_0x32d8be)this[_0x346f('0x8')](_0x346f('0x9'),null);this[_0x346f('0x8')]('mandatoryDisposition',_0x32d8be);}}}; \ No newline at end of file