Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / api / whatsappAccount / whatsappAccount.attributes.js
index 07b71ba..487685e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x5e3c=['Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','setDataValue','mandatoryDisposition','sequelize','randomstring','exports','name','STRING','generate','ENUM','twilio','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'];(function(_0x3050b0,_0x3ebdec){var _0x14d1da=function(_0x307d5d){while(--_0x307d5d){_0x3050b0['push'](_0x3050b0['shift']());}};_0x14d1da(++_0x3ebdec);}(_0x5e3c,0x16b));var _0xc5e3=function(_0x35ee4c,_0x27e10b){_0x35ee4c=_0x35ee4c-0x0;var _0x493074=_0x5e3c[_0x35ee4c];return _0x493074;};'use strict';var Sequelize=require(_0xc5e3('0x0'));var rs=require(_0xc5e3('0x1'));module[_0xc5e3('0x2')]={'name':{'type':Sequelize['STRING'],'unique':_0xc5e3('0x3'),'allowNull':![]},'key':{'type':Sequelize[_0xc5e3('0x4')],'allowNull':![]},'remote':{'type':Sequelize['STRING'],'allowNull':![]},'token':{'type':Sequelize[_0xc5e3('0x4')],'defaultValue':function(){return rs[_0xc5e3('0x5')]();}},'phone':{'type':Sequelize[_0xc5e3('0x4')]},'type':{'type':Sequelize[_0xc5e3('0x6')](_0xc5e3('0x7'),'sinch')},'accountSid':{'type':Sequelize[_0xc5e3('0x4')]},'baseUrl':{'type':Sequelize['STRING']},'authToken':{'type':Sequelize[_0xc5e3('0x4')]},'notificationTemplate':{'type':Sequelize['TEXT'],'defaultValue':function(){return _0xc5e3('0x8');}},'notificationSound':{'type':Sequelize[_0xc5e3('0x9')],'defaultValue':![]},'notificationShake':{'type':Sequelize[_0xc5e3('0x9')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'waitForTheAssignedQueue':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0xc5e3('0xa')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0xc5e3('0x9')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0xc5e3('0xa')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize[_0xc5e3('0xa')],'comment':_0xc5e3('0xb')},'mandatoryDisposition':{'type':Sequelize[_0xc5e3('0x9')],'defaultValue':![],'comment':_0xc5e3('0xc'),'set':function(_0x1babde){if(!_0x1babde){this[_0xc5e3('0xd')]('mandatoryDispositionPauseId',null);}this[_0xc5e3('0xd')](_0xc5e3('0xe'),_0x1babde);}},'description':{'type':Sequelize['STRING']}};
\ No newline at end of file
+var _0x755c=['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','mandatoryDispositionPauseId','mandatoryDisposition','randomstring','STRING'];(function(_0x2df832,_0x240a8c){var _0x575133=function(_0x3e8606){while(--_0x3e8606){_0x2df832['push'](_0x2df832['shift']());}};_0x575133(++_0x240a8c);}(_0x755c,0x1a2));var _0xc755=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x755c[_0x20a584];return _0x4b41a8;};'use strict';var Sequelize=require('sequelize');var rs=require(_0xc755('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'unique':'name','allowNull':![]},'key':{'type':Sequelize['STRING'],'allowNull':![]},'remote':{'type':Sequelize[_0xc755('0x1')],'allowNull':![]},'token':{'type':Sequelize[_0xc755('0x1')],'defaultValue':function(){return rs['generate']();}},'phone':{'type':Sequelize[_0xc755('0x1')]},'type':{'type':Sequelize['ENUM']('twilio','sinch')},'accountSid':{'type':Sequelize[_0xc755('0x1')]},'baseUrl':{'type':Sequelize[_0xc755('0x1')]},'authToken':{'type':Sequelize['STRING']},'notificationTemplate':{'type':Sequelize[_0xc755('0x2')],'defaultValue':function(){return _0xc755('0x3');}},'notificationSound':{'type':Sequelize[_0xc755('0x4')],'defaultValue':![]},'notificationShake':{'type':Sequelize[_0xc755('0x4')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0xc755('0x5')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'waitForTheAssignedQueue':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0xc755('0x4')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0xc755('0x5')],'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[_0xc755('0x5')],'comment':_0xc755('0x6')},'mandatoryDisposition':{'type':Sequelize['BOOLEAN'],'defaultValue':![],'comment':'Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','set':function(_0x42c7ef){if(!_0x42c7ef){this[_0xc755('0x7')](_0xc755('0x8'),null);}this['setDataValue'](_0xc755('0x9'),_0x42c7ef);}},'description':{'type':Sequelize['STRING']}};
\ No newline at end of file