Built motion from commit 1ea47bf4.|2.6.34
[motion2.git] / server / api / openchannelAccount / openchannelAccount.attributes.js
index 34ac878..d614e16 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x9d4e=['TEXT','Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}','BOOLEAN','INTEGER','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','setDataValue','mandatoryDispositionPauseId','randomstring','exports','STRING','name'];(function(_0x4b7a31,_0x54b8f8){var _0x5c2c6e=function(_0x141904){while(--_0x141904){_0x4b7a31['push'](_0x4b7a31['shift']());}};_0x5c2c6e(++_0x54b8f8);}(_0x9d4e,0x140));var _0xe9d4=function(_0x13b02f,_0x462a53){_0x13b02f=_0x13b02f-0x0;var _0x12e9a6=_0x9d4e[_0x13b02f];return _0x12e9a6;};'use strict';var Sequelize=require('sequelize');var rs=require(_0xe9d4('0x0'));module[_0xe9d4('0x1')]={'name':{'type':Sequelize[_0xe9d4('0x2')],'unique':_0xe9d4('0x3'),'allowNull':![]},'description':{'type':Sequelize['STRING']},'token':{'type':Sequelize[_0xe9d4('0x2')],'defaultValue':function(){return rs['generate']();}},'replyUri':{'type':Sequelize[_0xe9d4('0x2')],'validate':{'isUrl':!![]}},'key':{'type':Sequelize[_0xe9d4('0x2')],'allowNull':![]},'notificationTemplate':{'type':Sequelize[_0xe9d4('0x4')],'defaultValue':function(){return _0xe9d4('0x5');}},'notificationSound':{'type':Sequelize[_0xe9d4('0x6')],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0xe9d4('0x6')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'waitForTheAssignedQueue':{'type':Sequelize[_0xe9d4('0x7')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'mapKey':{'type':Sequelize['STRING']},'queueTransfer':{'type':Sequelize[_0xe9d4('0x6')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0xe9d4('0x7')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize[_0xe9d4('0x7')],'allowNull':!![],'defaultValue':null,'comment':_0xe9d4('0x8')},'mandatoryDisposition':{'type':Sequelize[_0xe9d4('0x6')],'defaultValue':![],'comment':_0xe9d4('0x9'),'set':function(_0x2e2795){if(!_0x2e2795)this[_0xe9d4('0xa')](_0xe9d4('0xb'),null);this[_0xe9d4('0xa')]('mandatoryDisposition',_0x2e2795);}}};
\ No newline at end of file
+var _0xc7c6=['INTEGER','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','mandatoryDispositionPauseId','setDataValue','mandatoryDisposition','sequelize','randomstring','exports','STRING','generate','TEXT','Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}','BOOLEAN'];(function(_0x1e3585,_0x2a2894){var _0xd7019d=function(_0x83c9ea){while(--_0x83c9ea){_0x1e3585['push'](_0x1e3585['shift']());}};_0xd7019d(++_0x2a2894);}(_0xc7c6,0xae));var _0x6c7c=function(_0x1e8856,_0x3c42f6){_0x1e8856=_0x1e8856-0x0;var _0x303758=_0xc7c6[_0x1e8856];return _0x303758;};'use strict';var Sequelize=require(_0x6c7c('0x0'));var rs=require(_0x6c7c('0x1'));module[_0x6c7c('0x2')]={'name':{'type':Sequelize['STRING'],'unique':'name','allowNull':![]},'description':{'type':Sequelize['STRING']},'token':{'type':Sequelize[_0x6c7c('0x3')],'defaultValue':function(){return rs[_0x6c7c('0x4')]();}},'replyUri':{'type':Sequelize['STRING'],'validate':{'isUrl':!![]}},'key':{'type':Sequelize[_0x6c7c('0x3')],'allowNull':![]},'notificationTemplate':{'type':Sequelize[_0x6c7c('0x5')],'defaultValue':function(){return _0x6c7c('0x6');}},'notificationSound':{'type':Sequelize[_0x6c7c('0x7')],'defaultValue':!![]},'notificationShake':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0x6c7c('0x8')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'waitForTheAssignedQueue':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'mapKey':{'type':Sequelize['STRING']},'queueTransfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0x6c7c('0x8')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0x6c7c('0x7')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0x6c7c('0x8')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize[_0x6c7c('0x8')],'allowNull':!![],'defaultValue':null,'comment':_0x6c7c('0x9')},'mandatoryDisposition':{'type':Sequelize[_0x6c7c('0x7')],'defaultValue':![],'comment':_0x6c7c('0xa'),'set':function(_0x16f192){if(!_0x16f192)this['setDataValue'](_0x6c7c('0xb'),null);this[_0x6c7c('0xc')](_0x6c7c('0xd'),_0x16f192);}}};
\ No newline at end of file