Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / api / smsAccount / smsAccount.attributes.js
index 85de4e9..624e073 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x6d2a=['INTEGER','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','setDataValue','mandatoryDispositionPauseId','sequelize','STRING','name','generate','ENUM','skebby','clicksend','plivo','clickatell','csc','intelepeer','BOOLEAN','Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}'];(function(_0x401fd6,_0xb28d69){var _0x451f8f=function(_0x315816){while(--_0x315816){_0x401fd6['push'](_0x401fd6['shift']());}};_0x451f8f(++_0xb28d69);}(_0x6d2a,0x191));var _0xa6d2=function(_0xe65ac8,_0x2691be){_0xe65ac8=_0xe65ac8-0x0;var _0x202ba1=_0x6d2a[_0xe65ac8];return _0x202ba1;};'use strict';var Sequelize=require(_0xa6d2('0x0'));var rs=require('randomstring');module['exports']={'name':{'type':Sequelize[_0xa6d2('0x1')],'unique':_0xa6d2('0x2'),'allowNull':![]},'key':{'type':Sequelize[_0xa6d2('0x1')],'allowNull':![]},'remote':{'type':Sequelize['STRING'],'allowNull':![]},'token':{'type':Sequelize[_0xa6d2('0x1')],'defaultValue':function(){return rs[_0xa6d2('0x3')]();}},'phone':{'type':Sequelize[_0xa6d2('0x1')]},'type':{'type':Sequelize[_0xa6d2('0x4')]('twilio',_0xa6d2('0x5'),'connectel',_0xa6d2('0x6'),_0xa6d2('0x7'),_0xa6d2('0x8'),_0xa6d2('0x9'),'infobip',_0xa6d2('0xa'))},'accountSid':{'type':Sequelize['STRING']},'authId':{'type':Sequelize[_0xa6d2('0x1')]},'authToken':{'type':Sequelize[_0xa6d2('0x1')]},'smsMethod':{'type':Sequelize[_0xa6d2('0x4')]('SI','TI','GP')},'username':{'type':Sequelize[_0xa6d2('0x1')]},'password':{'type':Sequelize[_0xa6d2('0x1')]},'apiKey':{'type':Sequelize['STRING']},'senderString':{'type':Sequelize[_0xa6d2('0x1')]},'deliveryReport':{'type':Sequelize[_0xa6d2('0xb')],'defaultValue':![]},'description':{'type':Sequelize[_0xa6d2('0x1')]},'notificationTemplate':{'type':Sequelize['TEXT'],'defaultValue':function(){return _0xa6d2('0xc');}},'notificationSound':{'type':Sequelize[_0xa6d2('0xb')],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0xa6d2('0xb')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0xa6d2('0xd')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0xa6d2('0xb')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0xa6d2('0xd')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0xa6d2('0xb')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0xa6d2('0xd')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'baseUrl':{'type':Sequelize[_0xa6d2('0x1')]},'mandatoryDispositionPauseId':{'type':Sequelize[_0xa6d2('0xd')],'comment':_0xa6d2('0xe')},'mandatoryDisposition':{'type':Sequelize['BOOLEAN'],'defaultValue':![],'comment':_0xa6d2('0xf'),'set':function(_0x3c7e87){if(!_0x3c7e87)this[_0xa6d2('0x10')](_0xa6d2('0x11'),null);this[_0xa6d2('0x10')]('mandatoryDisposition',_0x3c7e87);}}};
\ No newline at end of file
+var _0x1e6a=['ENUM','twilio','skebby','connectel','plivo','clickatell','intelepeer','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','mandatoryDispositionPauseId','sequelize','randomstring','exports','STRING','generate'];(function(_0x1586c8,_0x31d4d8){var _0x13f487=function(_0x25ab3a){while(--_0x25ab3a){_0x1586c8['push'](_0x1586c8['shift']());}};_0x13f487(++_0x31d4d8);}(_0x1e6a,0x163));var _0xa1e6=function(_0x271b8a,_0x3ae3eb){_0x271b8a=_0x271b8a-0x0;var _0x1697db=_0x1e6a[_0x271b8a];return _0x1697db;};'use strict';var Sequelize=require(_0xa1e6('0x0'));var rs=require(_0xa1e6('0x1'));module[_0xa1e6('0x2')]={'name':{'type':Sequelize['STRING'],'unique':'name','allowNull':![]},'key':{'type':Sequelize['STRING'],'allowNull':![]},'remote':{'type':Sequelize[_0xa1e6('0x3')],'allowNull':![]},'token':{'type':Sequelize[_0xa1e6('0x3')],'defaultValue':function(){return rs[_0xa1e6('0x4')]();}},'phone':{'type':Sequelize[_0xa1e6('0x3')]},'type':{'type':Sequelize[_0xa1e6('0x5')](_0xa1e6('0x6'),_0xa1e6('0x7'),_0xa1e6('0x8'),'clicksend',_0xa1e6('0x9'),_0xa1e6('0xa'),'csc','infobip',_0xa1e6('0xb'))},'accountSid':{'type':Sequelize[_0xa1e6('0x3')]},'authId':{'type':Sequelize[_0xa1e6('0x3')]},'authToken':{'type':Sequelize['STRING']},'smsMethod':{'type':Sequelize[_0xa1e6('0x5')]('SI','TI','GP')},'username':{'type':Sequelize[_0xa1e6('0x3')]},'password':{'type':Sequelize[_0xa1e6('0x3')]},'apiKey':{'type':Sequelize[_0xa1e6('0x3')]},'senderString':{'type':Sequelize[_0xa1e6('0x3')]},'deliveryReport':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'description':{'type':Sequelize[_0xa1e6('0x3')]},'notificationTemplate':{'type':Sequelize[_0xa1e6('0xc')],'defaultValue':function(){return _0xa1e6('0xd');}},'notificationSound':{'type':Sequelize[_0xa1e6('0xe')],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0xa1e6('0xe')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0xa1e6('0xf')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0xa1e6('0xe')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0xa1e6('0xf')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0xa1e6('0xe')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'baseUrl':{'type':Sequelize[_0xa1e6('0x3')]},'mandatoryDispositionPauseId':{'type':Sequelize[_0xa1e6('0xf')],'comment':_0xa1e6('0x10')},'mandatoryDisposition':{'type':Sequelize[_0xa1e6('0xe')],'defaultValue':![],'comment':_0xa1e6('0x11'),'set':function(_0x564a05){if(!_0x564a05)this[_0xa1e6('0x12')](_0xa1e6('0x13'),null);this[_0xa1e6('0x12')]('mandatoryDisposition',_0x564a05);}}};
\ No newline at end of file