Built motion from commit b7e79837.|2.6.29
[motion2.git] / server / api / smsAccount / smsAccount.attributes.js
index 0f10265..a4e1137 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xd70a=['intelepeer','TEXT','Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}','INTEGER','BOOLEAN','setDataValue','mandatoryDispositionPauseId','mandatoryDisposition','sequelize','randomstring','STRING','generate','ENUM','twilio','skebby','infobip'];(function(_0x4bfff5,_0xbd2a67){var _0x2383bc=function(_0x2d3f77){while(--_0x2d3f77){_0x4bfff5['push'](_0x4bfff5['shift']());}};_0x2383bc(++_0xbd2a67);}(_0xd70a,0xd8));var _0xad70=function(_0x361d3f,_0x3be2aa){_0x361d3f=_0x361d3f-0x0;var _0x320229=_0xd70a[_0x361d3f];return _0x320229;};'use strict';var Sequelize=require(_0xad70('0x0'));var rs=require(_0xad70('0x1'));module['exports']={'name':{'type':Sequelize[_0xad70('0x2')],'unique':'name','allowNull':![]},'key':{'type':Sequelize['STRING'],'allowNull':![]},'remote':{'type':Sequelize['STRING'],'allowNull':![]},'token':{'type':Sequelize[_0xad70('0x2')],'defaultValue':function(){return rs[_0xad70('0x3')]();}},'phone':{'type':Sequelize[_0xad70('0x2')]},'type':{'type':Sequelize[_0xad70('0x4')](_0xad70('0x5'),_0xad70('0x6'),'connectel','clicksend','plivo','clickatell','bandwidth','csc',_0xad70('0x7'),_0xad70('0x8'))},'accountSid':{'type':Sequelize['STRING']},'authId':{'type':Sequelize[_0xad70('0x2')]},'authToken':{'type':Sequelize[_0xad70('0x2')]},'smsMethod':{'type':Sequelize[_0xad70('0x4')]('SI','TI','GP')},'username':{'type':Sequelize[_0xad70('0x2')]},'password':{'type':Sequelize['STRING']},'apiKey':{'type':Sequelize[_0xad70('0x2')]},'applicationId':{'type':Sequelize[_0xad70('0x2')]},'accountId':{'type':Sequelize[_0xad70('0x2')]},'senderString':{'type':Sequelize[_0xad70('0x2')]},'deliveryReport':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'description':{'type':Sequelize[_0xad70('0x2')]},'notificationTemplate':{'type':Sequelize[_0xad70('0x9')],'defaultValue':function(){return _0xad70('0xa');}},'notificationSound':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'notificationShake':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'waitForTheAssignedQueue':{'type':Sequelize[_0xad70('0xb')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0xad70('0xc')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0xad70('0xb')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0xad70('0xc')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'baseUrl':{'type':Sequelize[_0xad70('0x2')]},'mandatoryDispositionPauseId':{'type':Sequelize[_0xad70('0xb')],'comment':'Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled'},'mandatoryDisposition':{'type':Sequelize[_0xad70('0xc')],'defaultValue':![],'comment':'Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','set':function(_0x442ee5){if(!_0x442ee5)this[_0xad70('0xd')](_0xad70('0xe'),null);this[_0xad70('0xd')](_0xad70('0xf'),_0x442ee5);}}};
\ No newline at end of file
+var _0x65c8=['plivo','bandwidth','csc','infobip','intelepeer','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','mandatoryDispositionPauseId','setDataValue','mandatoryDisposition','sequelize','randomstring','STRING','name','generate','ENUM','twilio','skebby','connectel'];(function(_0x106bb8,_0x44e522){var _0x4fa7e5=function(_0x39df92){while(--_0x39df92){_0x106bb8['push'](_0x106bb8['shift']());}};_0x4fa7e5(++_0x44e522);}(_0x65c8,0x7b));var _0x865c=function(_0x48afc9,_0x3b0a1d){_0x48afc9=_0x48afc9-0x0;var _0x18d991=_0x65c8[_0x48afc9];return _0x18d991;};'use strict';var Sequelize=require(_0x865c('0x0'));var rs=require(_0x865c('0x1'));module['exports']={'name':{'type':Sequelize[_0x865c('0x2')],'unique':_0x865c('0x3'),'allowNull':![]},'key':{'type':Sequelize[_0x865c('0x2')],'allowNull':![]},'remote':{'type':Sequelize[_0x865c('0x2')],'allowNull':![]},'token':{'type':Sequelize[_0x865c('0x2')],'defaultValue':function(){return rs[_0x865c('0x4')]();}},'phone':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x865c('0x5')](_0x865c('0x6'),_0x865c('0x7'),_0x865c('0x8'),'clicksend',_0x865c('0x9'),'clickatell',_0x865c('0xa'),_0x865c('0xb'),_0x865c('0xc'),_0x865c('0xd'))},'accountSid':{'type':Sequelize[_0x865c('0x2')]},'authId':{'type':Sequelize[_0x865c('0x2')]},'authToken':{'type':Sequelize[_0x865c('0x2')]},'smsMethod':{'type':Sequelize[_0x865c('0x5')]('SI','TI','GP')},'username':{'type':Sequelize['STRING']},'password':{'type':Sequelize['STRING']},'apiKey':{'type':Sequelize[_0x865c('0x2')]},'applicationId':{'type':Sequelize[_0x865c('0x2')]},'accountId':{'type':Sequelize[_0x865c('0x2')]},'senderString':{'type':Sequelize[_0x865c('0x2')]},'deliveryReport':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'description':{'type':Sequelize[_0x865c('0x2')]},'notificationTemplate':{'type':Sequelize[_0x865c('0xe')],'defaultValue':function(){return _0x865c('0xf');}},'notificationSound':{'type':Sequelize[_0x865c('0x10')],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0x865c('0x10')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0x865c('0x11')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'waitForTheAssignedQueue':{'type':Sequelize[_0x865c('0x11')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0x865c('0x10')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0x865c('0x11')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0x865c('0x11')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'baseUrl':{'type':Sequelize['STRING']},'mandatoryDispositionPauseId':{'type':Sequelize[_0x865c('0x11')],'comment':'Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled'},'mandatoryDisposition':{'type':Sequelize['BOOLEAN'],'defaultValue':![],'comment':_0x865c('0x12'),'set':function(_0x514757){if(!_0x514757)this['setDataValue'](_0x865c('0x13'),null);this[_0x865c('0x14')](_0x865c('0x15'),_0x514757);}}};
\ No newline at end of file