Built motion from commit (unavailable).|2.4.4
[motion2.git] / server / api / smsAccount / smsAccount.attributes.js
index edd3a8d..5a5fee2 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbf1f=['name','generate','ENUM','twilio','skebby','connectel','clicksend','plivo','clickatell','csc','infobip','BOOLEAN','Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}','INTEGER','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','setDataValue','mandatoryDispositionPauseId','mandatoryDisposition','sequelize','randomstring','STRING'];(function(_0x30c7c5,_0x168208){var _0x29e24e=function(_0x427d3e){while(--_0x427d3e){_0x30c7c5['push'](_0x30c7c5['shift']());}};_0x29e24e(++_0x168208);}(_0xbf1f,0xba));var _0xfbf1=function(_0x4b0830,_0x2e3b0a){_0x4b0830=_0x4b0830-0x0;var _0x1f53a7=_0xbf1f[_0x4b0830];return _0x1f53a7;};'use strict';var Sequelize=require(_0xfbf1('0x0'));var rs=require(_0xfbf1('0x1'));module['exports']={'name':{'type':Sequelize[_0xfbf1('0x2')],'unique':_0xfbf1('0x3'),'allowNull':![]},'key':{'type':Sequelize[_0xfbf1('0x2')],'allowNull':![]},'remote':{'type':Sequelize[_0xfbf1('0x2')],'allowNull':![]},'token':{'type':Sequelize[_0xfbf1('0x2')],'defaultValue':function(){return rs[_0xfbf1('0x4')]();}},'phone':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0xfbf1('0x5')](_0xfbf1('0x6'),_0xfbf1('0x7'),_0xfbf1('0x8'),_0xfbf1('0x9'),_0xfbf1('0xa'),_0xfbf1('0xb'),_0xfbf1('0xc'),_0xfbf1('0xd'),'intelepeer')},'accountSid':{'type':Sequelize[_0xfbf1('0x2')]},'authId':{'type':Sequelize[_0xfbf1('0x2')]},'authToken':{'type':Sequelize['STRING']},'smsMethod':{'type':Sequelize[_0xfbf1('0x5')]('SI','TI','GP')},'username':{'type':Sequelize[_0xfbf1('0x2')]},'password':{'type':Sequelize[_0xfbf1('0x2')]},'apiKey':{'type':Sequelize['STRING']},'senderString':{'type':Sequelize['STRING']},'deliveryReport':{'type':Sequelize[_0xfbf1('0xe')],'defaultValue':![]},'description':{'type':Sequelize['STRING']},'notificationTemplate':{'type':Sequelize['TEXT'],'defaultValue':function(){return _0xfbf1('0xf');}},'notificationSound':{'type':Sequelize[_0xfbf1('0xe')],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0xfbf1('0xe')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0xfbf1('0xe')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0xfbf1('0x10')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0xfbf1('0xe')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'baseUrl':{'type':Sequelize['STRING']},'mandatoryDispositionPauseId':{'type':Sequelize['INTEGER'],'comment':'Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled'},'mandatoryDisposition':{'type':Sequelize[_0xfbf1('0xe')],'defaultValue':![],'comment':_0xfbf1('0x11'),'set':function(_0x10c769){if(!_0x10c769)this[_0xfbf1('0x12')](_0xfbf1('0x13'),null);this[_0xfbf1('0x12')](_0xfbf1('0x14'),_0x10c769);}}};
\ No newline at end of file
+var _0x7925=['generate','ENUM','skebby','clicksend','plivo','csc','infobip','intelepeer','BOOLEAN','TEXT','Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}','INTEGER','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','setDataValue','mandatoryDisposition','sequelize','randomstring','STRING'];(function(_0x3c7db5,_0x1b12ba){var _0x361885=function(_0x434fd3){while(--_0x434fd3){_0x3c7db5['push'](_0x3c7db5['shift']());}};_0x361885(++_0x1b12ba);}(_0x7925,0x107));var _0x5792=function(_0x1d4ee6,_0x44aba8){_0x1d4ee6=_0x1d4ee6-0x0;var _0x2dd398=_0x7925[_0x1d4ee6];return _0x2dd398;};'use strict';var Sequelize=require(_0x5792('0x0'));var rs=require(_0x5792('0x1'));module['exports']={'name':{'type':Sequelize[_0x5792('0x2')],'unique':'name','allowNull':![]},'key':{'type':Sequelize[_0x5792('0x2')],'allowNull':![]},'remote':{'type':Sequelize[_0x5792('0x2')],'allowNull':![]},'token':{'type':Sequelize[_0x5792('0x2')],'defaultValue':function(){return rs[_0x5792('0x3')]();}},'phone':{'type':Sequelize[_0x5792('0x2')]},'type':{'type':Sequelize[_0x5792('0x4')]('twilio',_0x5792('0x5'),'connectel',_0x5792('0x6'),_0x5792('0x7'),'clickatell',_0x5792('0x8'),_0x5792('0x9'),_0x5792('0xa'))},'accountSid':{'type':Sequelize[_0x5792('0x2')]},'authId':{'type':Sequelize[_0x5792('0x2')]},'authToken':{'type':Sequelize[_0x5792('0x2')]},'smsMethod':{'type':Sequelize[_0x5792('0x4')]('SI','TI','GP')},'username':{'type':Sequelize[_0x5792('0x2')]},'password':{'type':Sequelize[_0x5792('0x2')]},'apiKey':{'type':Sequelize[_0x5792('0x2')]},'senderString':{'type':Sequelize[_0x5792('0x2')]},'deliveryReport':{'type':Sequelize[_0x5792('0xb')],'defaultValue':![]},'description':{'type':Sequelize[_0x5792('0x2')]},'notificationTemplate':{'type':Sequelize[_0x5792('0xc')],'defaultValue':function(){return _0x5792('0xd');}},'notificationSound':{'type':Sequelize[_0x5792('0xb')],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0x5792('0xb')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0x5792('0xe')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0x5792('0xb')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0x5792('0xe')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0x5792('0xb')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0x5792('0xe')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'baseUrl':{'type':Sequelize[_0x5792('0x2')]},'mandatoryDispositionPauseId':{'type':Sequelize[_0x5792('0xe')],'comment':_0x5792('0xf')},'mandatoryDisposition':{'type':Sequelize[_0x5792('0xb')],'defaultValue':![],'comment':_0x5792('0x10'),'set':function(_0x1acda7){if(!_0x1acda7)this[_0x5792('0x11')]('mandatoryDispositionPauseId',null);this[_0x5792('0x11')](_0x5792('0x12'),_0x1acda7);}}};
\ No newline at end of file