Built motion from commit 5ae82ce5.|2.6.7
[motion2.git] / server / api / whatsappAccount / whatsappAccount.attributes.js
index 9cf4fed..2c0feac 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf4a4=['ENUM','twilio','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','randomstring','STRING','generate'];(function(_0x55d6d3,_0x23c8ef){var _0x3946bc=function(_0x1c218f){while(--_0x1c218f){_0x55d6d3['push'](_0x55d6d3['shift']());}};_0x3946bc(++_0x23c8ef);}(_0xf4a4,0x173));var _0x4f4a=function(_0x33679d,_0x448096){_0x33679d=_0x33679d-0x0;var _0x408bcc=_0xf4a4[_0x33679d];return _0x408bcc;};'use strict';var Sequelize=require(_0x4f4a('0x0'));var rs=require(_0x4f4a('0x1'));module['exports']={'name':{'type':Sequelize[_0x4f4a('0x2')],'unique':'name','allowNull':![]},'key':{'type':Sequelize[_0x4f4a('0x2')],'allowNull':![]},'remote':{'type':Sequelize[_0x4f4a('0x2')],'allowNull':![]},'token':{'type':Sequelize['STRING'],'defaultValue':function(){return rs[_0x4f4a('0x3')]();}},'phone':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x4f4a('0x4')](_0x4f4a('0x5'),_0x4f4a('0x6'))},'accountSid':{'type':Sequelize['STRING']},'baseUrl':{'type':Sequelize[_0x4f4a('0x2')]},'authToken':{'type':Sequelize[_0x4f4a('0x2')]},'notificationTemplate':{'type':Sequelize[_0x4f4a('0x7')],'defaultValue':function(){return _0x4f4a('0x8');}},'notificationSound':{'type':Sequelize[_0x4f4a('0x9')],'defaultValue':![]},'notificationShake':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0x4f4a('0xa')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0x4f4a('0xa')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0x4f4a('0x9')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0x4f4a('0xa')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize[_0x4f4a('0xa')],'comment':'Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled'},'mandatoryDisposition':{'type':Sequelize[_0x4f4a('0x9')],'defaultValue':![],'comment':_0x4f4a('0xb'),'set':function(_0x4894c4){if(!_0x4894c4){this[_0x4f4a('0xc')](_0x4f4a('0xd'),null);}this['setDataValue'](_0x4f4a('0xe'),_0x4894c4);}},'description':{'type':Sequelize['STRING']}};
\ No newline at end of file
+var _0xc877=['name','STRING','generate','ENUM','twilio','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','setDataValue','mandatoryDispositionPauseId','mandatoryDisposition','exports'];(function(_0x4a9fb1,_0x273043){var _0x348672=function(_0x142b69){while(--_0x142b69){_0x4a9fb1['push'](_0x4a9fb1['shift']());}};_0x348672(++_0x273043);}(_0xc877,0x7d));var _0x7c87=function(_0x4e7ab9,_0x3f6e8a){_0x4e7ab9=_0x4e7ab9-0x0;var _0xbfb8cc=_0xc877[_0x4e7ab9];return _0xbfb8cc;};'use strict';var Sequelize=require('sequelize');var rs=require('randomstring');module[_0x7c87('0x0')]={'name':{'type':Sequelize['STRING'],'unique':_0x7c87('0x1'),'allowNull':![]},'key':{'type':Sequelize[_0x7c87('0x2')],'allowNull':![]},'remote':{'type':Sequelize[_0x7c87('0x2')],'allowNull':![]},'token':{'type':Sequelize['STRING'],'defaultValue':function(){return rs[_0x7c87('0x3')]();}},'phone':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x7c87('0x4')](_0x7c87('0x5'),_0x7c87('0x6'))},'accountSid':{'type':Sequelize[_0x7c87('0x2')]},'baseUrl':{'type':Sequelize[_0x7c87('0x2')]},'authToken':{'type':Sequelize[_0x7c87('0x2')]},'notificationTemplate':{'type':Sequelize['TEXT'],'defaultValue':function(){return _0x7c87('0x7');}},'notificationSound':{'type':Sequelize[_0x7c87('0x8')],'defaultValue':![]},'notificationShake':{'type':Sequelize[_0x7c87('0x8')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0x7c87('0x8')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0x7c87('0x9')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize[_0x7c87('0x9')],'comment':_0x7c87('0xa')},'mandatoryDisposition':{'type':Sequelize[_0x7c87('0x8')],'defaultValue':![],'comment':'Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','set':function(_0x1b811a){if(!_0x1b811a){this[_0x7c87('0xb')](_0x7c87('0xc'),null);}this[_0x7c87('0xb')](_0x7c87('0xd'),_0x1b811a);}},'description':{'type':Sequelize['STRING']}};
\ No newline at end of file