Built motion from commit (unavailable).|2.5.14
[motion2.git] / server / api / whatsappAccount / whatsappAccount.attributes.js
index 518a015..2fa0c5d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xcc1d=['Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','setDataValue','mandatoryDisposition','sequelize','name','STRING','generate','ENUM','twilio','Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}','BOOLEAN','INTEGER'];(function(_0x9d4a94,_0xdd2ac5){var _0x54a1ea=function(_0x52c09a){while(--_0x52c09a){_0x9d4a94['push'](_0x9d4a94['shift']());}};_0x54a1ea(++_0xdd2ac5);}(_0xcc1d,0x1d7));var _0xdcc1=function(_0x5cb7dd,_0x290cfb){_0x5cb7dd=_0x5cb7dd-0x0;var _0x5ee23e=_0xcc1d[_0x5cb7dd];return _0x5ee23e;};'use strict';var Sequelize=require(_0xdcc1('0x0'));var rs=require('randomstring');module['exports']={'name':{'type':Sequelize['STRING'],'unique':_0xdcc1('0x1'),'allowNull':![]},'key':{'type':Sequelize['STRING'],'allowNull':![]},'remote':{'type':Sequelize[_0xdcc1('0x2')],'allowNull':![]},'token':{'type':Sequelize[_0xdcc1('0x2')],'defaultValue':function(){return rs[_0xdcc1('0x3')]();}},'phone':{'type':Sequelize[_0xdcc1('0x2')]},'type':{'type':Sequelize[_0xdcc1('0x4')](_0xdcc1('0x5'))},'accountSid':{'type':Sequelize[_0xdcc1('0x2')]},'authToken':{'type':Sequelize['STRING']},'notificationTemplate':{'type':Sequelize['TEXT'],'defaultValue':function(){return _0xdcc1('0x6');}},'notificationSound':{'type':Sequelize[_0xdcc1('0x7')],'defaultValue':![]},'notificationShake':{'type':Sequelize[_0xdcc1('0x7')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0xdcc1('0x8')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0xdcc1('0x7')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize[_0xdcc1('0x8')],'comment':_0xdcc1('0x9')},'mandatoryDisposition':{'type':Sequelize[_0xdcc1('0x7')],'defaultValue':![],'comment':'Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','set':function(_0x2b358a){if(!_0x2b358a){this[_0xdcc1('0xa')]('mandatoryDispositionPauseId',null);}this[_0xdcc1('0xa')](_0xdcc1('0xb'),_0x2b358a);}},'description':{'type':Sequelize[_0xdcc1('0x2')]}};
\ No newline at end of file
+var _0x37f9=['name','generate','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','setDataValue','mandatoryDisposition','randomstring','exports','STRING'];(function(_0xdc0397,_0x20d1f1){var _0x553d02=function(_0x364781){while(--_0x364781){_0xdc0397['push'](_0xdc0397['shift']());}};_0x553d02(++_0x20d1f1);}(_0x37f9,0x105));var _0x937f=function(_0x23b89c,_0x1f165e){_0x23b89c=_0x23b89c-0x0;var _0x29b51e=_0x37f9[_0x23b89c];return _0x29b51e;};'use strict';var Sequelize=require('sequelize');var rs=require(_0x937f('0x0'));module[_0x937f('0x1')]={'name':{'type':Sequelize[_0x937f('0x2')],'unique':_0x937f('0x3'),'allowNull':![]},'key':{'type':Sequelize['STRING'],'allowNull':![]},'remote':{'type':Sequelize[_0x937f('0x2')],'allowNull':![]},'token':{'type':Sequelize[_0x937f('0x2')],'defaultValue':function(){return rs[_0x937f('0x4')]();}},'phone':{'type':Sequelize[_0x937f('0x2')]},'type':{'type':Sequelize['ENUM']('twilio')},'accountSid':{'type':Sequelize[_0x937f('0x2')]},'authToken':{'type':Sequelize[_0x937f('0x2')]},'notificationTemplate':{'type':Sequelize[_0x937f('0x5')],'defaultValue':function(){return _0x937f('0x6');}},'notificationSound':{'type':Sequelize[_0x937f('0x7')],'defaultValue':![]},'notificationShake':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0x937f('0x8')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0x937f('0x8')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0x937f('0x7')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0x937f('0x8')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize[_0x937f('0x8')],'comment':_0x937f('0x9')},'mandatoryDisposition':{'type':Sequelize[_0x937f('0x7')],'defaultValue':![],'comment':'Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','set':function(_0x20ecca){if(!_0x20ecca){this[_0x937f('0xa')]('mandatoryDispositionPauseId',null);}this[_0x937f('0xa')](_0x937f('0xb'),_0x20ecca);}},'description':{'type':Sequelize['STRING']}};
\ No newline at end of file