Built motion from commit 37e1ed56.|2.6.29
[motion2.git] / server / api / whatsappAccount / whatsappAccount.attributes.js
index afeae5c..2f94662 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xac1d=['sinch','TEXT','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','setDataValue','mandatoryDispositionPauseId','mandatoryDisposition','sequelize','exports','STRING'];(function(_0x52a505,_0x5dec98){var _0x1fc95e=function(_0xdc7744){while(--_0xdc7744){_0x52a505['push'](_0x52a505['shift']());}};_0x1fc95e(++_0x5dec98);}(_0xac1d,0x141));var _0xdac1=function(_0x1a4fb8,_0x103dd9){_0x1a4fb8=_0x1a4fb8-0x0;var _0x4bfe93=_0xac1d[_0x1a4fb8];return _0x4bfe93;};'use strict';var Sequelize=require(_0xdac1('0x0'));var rs=require('randomstring');module[_0xdac1('0x1')]={'name':{'type':Sequelize[_0xdac1('0x2')],'unique':'name','allowNull':![]},'key':{'type':Sequelize[_0xdac1('0x2')],'allowNull':![]},'remote':{'type':Sequelize['STRING'],'allowNull':![]},'token':{'type':Sequelize[_0xdac1('0x2')],'defaultValue':function(){return rs['generate']();}},'phone':{'type':Sequelize[_0xdac1('0x2')]},'type':{'type':Sequelize['ENUM']('twilio',_0xdac1('0x3'))},'accountSid':{'type':Sequelize[_0xdac1('0x2')]},'baseUrl':{'type':Sequelize[_0xdac1('0x2')]},'authToken':{'type':Sequelize['STRING']},'notificationTemplate':{'type':Sequelize[_0xdac1('0x4')],'defaultValue':function(){return _0xdac1('0x5');}},'notificationSound':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'notificationShake':{'type':Sequelize[_0xdac1('0x6')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0xdac1('0x7')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'waitForTheAssignedQueue':{'type':Sequelize[_0xdac1('0x7')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0xdac1('0x7')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0xdac1('0x6')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize[_0xdac1('0x7')],'comment':'Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled'},'mandatoryDisposition':{'type':Sequelize[_0xdac1('0x6')],'defaultValue':![],'comment':_0xdac1('0x8'),'set':function(_0x2e1143){if(!_0x2e1143){this[_0xdac1('0x9')](_0xdac1('0xa'),null);}this['setDataValue'](_0xdac1('0xb'),_0x2e1143);}},'description':{'type':Sequelize[_0xdac1('0x2')]}};
\ No newline at end of file
+var _0x6b3f=['mandatoryDispositionPauseId','setDataValue','mandatoryDisposition','sequelize','randomstring','exports','name','STRING','ENUM','sinch','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'];(function(_0x3e3819,_0x562054){var _0x148457=function(_0x530a46){while(--_0x530a46){_0x3e3819['push'](_0x3e3819['shift']());}};_0x148457(++_0x562054);}(_0x6b3f,0xe4));var _0xf6b3=function(_0x3b5108,_0x565165){_0x3b5108=_0x3b5108-0x0;var _0x5b3aac=_0x6b3f[_0x3b5108];return _0x5b3aac;};'use strict';var Sequelize=require(_0xf6b3('0x0'));var rs=require(_0xf6b3('0x1'));module[_0xf6b3('0x2')]={'name':{'type':Sequelize['STRING'],'unique':_0xf6b3('0x3'),'allowNull':![]},'key':{'type':Sequelize[_0xf6b3('0x4')],'allowNull':![]},'remote':{'type':Sequelize[_0xf6b3('0x4')],'allowNull':![]},'token':{'type':Sequelize['STRING'],'defaultValue':function(){return rs['generate']();}},'phone':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0xf6b3('0x5')]('twilio',_0xf6b3('0x6'))},'accountSid':{'type':Sequelize['STRING']},'baseUrl':{'type':Sequelize[_0xf6b3('0x4')]},'authToken':{'type':Sequelize[_0xf6b3('0x4')]},'notificationTemplate':{'type':Sequelize['TEXT'],'defaultValue':function(){return _0xf6b3('0x7');}},'notificationSound':{'type':Sequelize[_0xf6b3('0x8')],'defaultValue':![]},'notificationShake':{'type':Sequelize[_0xf6b3('0x8')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0xf6b3('0x9')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'waitForTheAssignedQueue':{'type':Sequelize[_0xf6b3('0x9')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0xf6b3('0x8')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0xf6b3('0x9')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0xf6b3('0x8')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize['INTEGER'],'comment':_0xf6b3('0xa')},'mandatoryDisposition':{'type':Sequelize['BOOLEAN'],'defaultValue':![],'comment':_0xf6b3('0xb'),'set':function(_0x5d2742){if(!_0x5d2742){this['setDataValue'](_0xf6b3('0xc'),null);}this[_0xf6b3('0xd')](_0xf6b3('0xe'),_0x5d2742);}},'description':{'type':Sequelize[_0xf6b3('0x4')]}};
\ No newline at end of file