Built motion from commit 42801a18.|2.6.28
[motion2.git] / server / api / whatsappAccount / whatsappAccount.attributes.js
index c92d7fa..afeae5c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x692c=['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','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','setDataValue','exports','STRING','name','generate','ENUM','twilio'];(function(_0xa3463d,_0x32f8da){var _0x50fd67=function(_0xb984fd){while(--_0xb984fd){_0xa3463d['push'](_0xa3463d['shift']());}};_0x50fd67(++_0x32f8da);}(_0x692c,0x166));var _0xc692=function(_0xe3c52e,_0xbda941){_0xe3c52e=_0xe3c52e-0x0;var _0x5d077d=_0x692c[_0xe3c52e];return _0x5d077d;};'use strict';var Sequelize=require('sequelize');var rs=require('randomstring');module[_0xc692('0x0')]={'name':{'type':Sequelize[_0xc692('0x1')],'unique':_0xc692('0x2'),'allowNull':![]},'key':{'type':Sequelize[_0xc692('0x1')],'allowNull':![]},'remote':{'type':Sequelize[_0xc692('0x1')],'allowNull':![]},'token':{'type':Sequelize['STRING'],'defaultValue':function(){return rs[_0xc692('0x3')]();}},'phone':{'type':Sequelize[_0xc692('0x1')]},'type':{'type':Sequelize[_0xc692('0x4')](_0xc692('0x5'),'sinch')},'accountSid':{'type':Sequelize[_0xc692('0x1')]},'baseUrl':{'type':Sequelize[_0xc692('0x1')]},'authToken':{'type':Sequelize[_0xc692('0x1')]},'notificationTemplate':{'type':Sequelize[_0xc692('0x6')],'defaultValue':function(){return _0xc692('0x7');}},'notificationSound':{'type':Sequelize[_0xc692('0x8')],'defaultValue':![]},'notificationShake':{'type':Sequelize[_0xc692('0x8')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0xc692('0x9')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'waitForTheAssignedQueue':{'type':Sequelize[_0xc692('0x9')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0xc692('0x8')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0xc692('0x9')],'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[_0xc692('0x9')],'comment':_0xc692('0xa')},'mandatoryDisposition':{'type':Sequelize[_0xc692('0x8')],'defaultValue':![],'comment':_0xc692('0xb'),'set':function(_0x12cd91){if(!_0x12cd91){this['setDataValue']('mandatoryDispositionPauseId',null);}this[_0xc692('0xc')]('mandatoryDisposition',_0x12cd91);}},'description':{'type':Sequelize[_0xc692('0x1')]}};
\ No newline at end of file
+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