Built motion from commit (unavailable).|2.5.21
[motion2.git] / server / api / whatsappAccount / whatsappAccount.attributes.js
index 6ea7012..075929c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfd92=['BOOLEAN','INTEGER','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','setDataValue','mandatoryDispositionPauseId','mandatoryDisposition','exports','STRING','generate','ENUM','TEXT','Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}'];(function(_0x2235bf,_0x3a06a7){var _0x4c3a64=function(_0x3b3bb6){while(--_0x3b3bb6){_0x2235bf['push'](_0x2235bf['shift']());}};_0x4c3a64(++_0x3a06a7);}(_0xfd92,0x89));var _0x2fd9=function(_0x35c561,_0x1ade37){_0x35c561=_0x35c561-0x0;var _0x3c3f89=_0xfd92[_0x35c561];return _0x3c3f89;};'use strict';var Sequelize=require('sequelize');var rs=require('randomstring');module[_0x2fd9('0x0')]={'name':{'type':Sequelize[_0x2fd9('0x1')],'unique':'name','allowNull':![]},'key':{'type':Sequelize['STRING'],'allowNull':![]},'remote':{'type':Sequelize[_0x2fd9('0x1')],'allowNull':![]},'token':{'type':Sequelize['STRING'],'defaultValue':function(){return rs[_0x2fd9('0x2')]();}},'phone':{'type':Sequelize[_0x2fd9('0x1')]},'type':{'type':Sequelize[_0x2fd9('0x3')]('twilio')},'accountSid':{'type':Sequelize[_0x2fd9('0x1')]},'authToken':{'type':Sequelize[_0x2fd9('0x1')]},'notificationTemplate':{'type':Sequelize[_0x2fd9('0x4')],'defaultValue':function(){return _0x2fd9('0x5');}},'notificationSound':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'notificationShake':{'type':Sequelize[_0x2fd9('0x6')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0x2fd9('0x7')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0x2fd9('0x6')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0x2fd9('0x7')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize[_0x2fd9('0x7')],'comment':_0x2fd9('0x8')},'mandatoryDisposition':{'type':Sequelize[_0x2fd9('0x6')],'defaultValue':![],'comment':_0x2fd9('0x9'),'set':function(_0x29b428){if(!_0x29b428){this[_0x2fd9('0xa')](_0x2fd9('0xb'),null);}this['setDataValue'](_0x2fd9('0xc'),_0x29b428);}},'description':{'type':Sequelize[_0x2fd9('0x1')]}};
\ No newline at end of file
+var _0xbd3a=['setDataValue','mandatoryDisposition','sequelize','exports','STRING','name','generate','ENUM','twilio','Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}','BOOLEAN','INTEGER','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue'];(function(_0x4df476,_0x5af263){var _0x2b2bd7=function(_0x3c2ae0){while(--_0x3c2ae0){_0x4df476['push'](_0x4df476['shift']());}};_0x2b2bd7(++_0x5af263);}(_0xbd3a,0x1f0));var _0xabd3=function(_0x15ac1b,_0x4a313e){_0x15ac1b=_0x15ac1b-0x0;var _0x158f91=_0xbd3a[_0x15ac1b];return _0x158f91;};'use strict';var Sequelize=require(_0xabd3('0x0'));var rs=require('randomstring');module[_0xabd3('0x1')]={'name':{'type':Sequelize[_0xabd3('0x2')],'unique':_0xabd3('0x3'),'allowNull':![]},'key':{'type':Sequelize[_0xabd3('0x2')],'allowNull':![]},'remote':{'type':Sequelize['STRING'],'allowNull':![]},'token':{'type':Sequelize[_0xabd3('0x2')],'defaultValue':function(){return rs[_0xabd3('0x4')]();}},'phone':{'type':Sequelize[_0xabd3('0x2')]},'type':{'type':Sequelize[_0xabd3('0x5')](_0xabd3('0x6'))},'accountSid':{'type':Sequelize[_0xabd3('0x2')]},'authToken':{'type':Sequelize[_0xabd3('0x2')]},'notificationTemplate':{'type':Sequelize['TEXT'],'defaultValue':function(){return _0xabd3('0x7');}},'notificationSound':{'type':Sequelize[_0xabd3('0x8')],'defaultValue':![]},'notificationShake':{'type':Sequelize[_0xabd3('0x8')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0xabd3('0x9')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0xabd3('0x8')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0xabd3('0x9')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0xabd3('0x8')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0xabd3('0x9')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize[_0xabd3('0x9')],'comment':'Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled'},'mandatoryDisposition':{'type':Sequelize[_0xabd3('0x8')],'defaultValue':![],'comment':_0xabd3('0xa'),'set':function(_0xc6b50f){if(!_0xc6b50f){this[_0xabd3('0xb')]('mandatoryDispositionPauseId',null);}this[_0xabd3('0xb')](_0xabd3('0xc'),_0xc6b50f);}},'description':{'type':Sequelize['STRING']}};
\ No newline at end of file