Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / api / smsAccount / smsAccount.attributes.js
index 0fd4934..bd53593 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x104f=['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','mandatoryDispositionPauseId','sequelize','randomstring','STRING','name','generate','ENUM','twilio','skebby','clicksend','clickatell','csc'];(function(_0x15896c,_0x11d3b5){var _0xa69bdb=function(_0x49b6ee){while(--_0x49b6ee){_0x15896c['push'](_0x15896c['shift']());}};_0xa69bdb(++_0x11d3b5);}(_0x104f,0xff));var _0xf104=function(_0x55d15f,_0x32be3d){_0x55d15f=_0x55d15f-0x0;var _0x23e543=_0x104f[_0x55d15f];return _0x23e543;};'use strict';var Sequelize=require(_0xf104('0x0'));var rs=require(_0xf104('0x1'));module['exports']={'name':{'type':Sequelize[_0xf104('0x2')],'unique':_0xf104('0x3'),'allowNull':![]},'key':{'type':Sequelize['STRING'],'allowNull':![]},'remote':{'type':Sequelize['STRING'],'allowNull':![]},'token':{'type':Sequelize[_0xf104('0x2')],'defaultValue':function(){return rs[_0xf104('0x4')]();}},'phone':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0xf104('0x5')](_0xf104('0x6'),_0xf104('0x7'),'connectel',_0xf104('0x8'),'plivo',_0xf104('0x9'),_0xf104('0xa'),'infobip',_0xf104('0xb'))},'accountSid':{'type':Sequelize[_0xf104('0x2')]},'authId':{'type':Sequelize['STRING']},'authToken':{'type':Sequelize[_0xf104('0x2')]},'smsMethod':{'type':Sequelize[_0xf104('0x5')]('SI','TI','GP')},'username':{'type':Sequelize[_0xf104('0x2')]},'password':{'type':Sequelize[_0xf104('0x2')]},'apiKey':{'type':Sequelize[_0xf104('0x2')]},'senderString':{'type':Sequelize[_0xf104('0x2')]},'deliveryReport':{'type':Sequelize[_0xf104('0xc')],'defaultValue':![]},'description':{'type':Sequelize['STRING']},'notificationTemplate':{'type':Sequelize[_0xf104('0xd')],'defaultValue':function(){return _0xf104('0xe');}},'notificationSound':{'type':Sequelize[_0xf104('0xc')],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0xf104('0xc')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0xf104('0xc')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0xf104('0xf')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0xf104('0xc')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'baseUrl':{'type':Sequelize['STRING']},'mandatoryDispositionPauseId':{'type':Sequelize[_0xf104('0xf')],'comment':_0xf104('0x10')},'mandatoryDisposition':{'type':Sequelize[_0xf104('0xc')],'defaultValue':![],'comment':_0xf104('0x11'),'set':function(_0x404fab){if(!_0x404fab)this['setDataValue'](_0xf104('0x12'),null);this['setDataValue']('mandatoryDisposition',_0x404fab);}}};
\ No newline at end of file
+var _0x7250=['Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','mandatoryDispositionPauseId','mandatoryDisposition','sequelize','randomstring','name','STRING','generate','ENUM','connectel','clicksend','plivo','clickatell','infobip','intelepeer','BOOLEAN','Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}','INTEGER'];(function(_0x453285,_0x1426f6){var _0x4e05e0=function(_0x4fb0e5){while(--_0x4fb0e5){_0x453285['push'](_0x453285['shift']());}};_0x4e05e0(++_0x1426f6);}(_0x7250,0x147));var _0x0725=function(_0x2c3e46,_0x3eeacd){_0x2c3e46=_0x2c3e46-0x0;var _0x571def=_0x7250[_0x2c3e46];return _0x571def;};'use strict';var Sequelize=require(_0x0725('0x0'));var rs=require(_0x0725('0x1'));module['exports']={'name':{'type':Sequelize['STRING'],'unique':_0x0725('0x2'),'allowNull':![]},'key':{'type':Sequelize[_0x0725('0x3')],'allowNull':![]},'remote':{'type':Sequelize[_0x0725('0x3')],'allowNull':![]},'token':{'type':Sequelize[_0x0725('0x3')],'defaultValue':function(){return rs[_0x0725('0x4')]();}},'phone':{'type':Sequelize[_0x0725('0x3')]},'type':{'type':Sequelize[_0x0725('0x5')]('twilio','skebby',_0x0725('0x6'),_0x0725('0x7'),_0x0725('0x8'),_0x0725('0x9'),'csc',_0x0725('0xa'),_0x0725('0xb'))},'accountSid':{'type':Sequelize['STRING']},'authId':{'type':Sequelize[_0x0725('0x3')]},'authToken':{'type':Sequelize['STRING']},'smsMethod':{'type':Sequelize[_0x0725('0x5')]('SI','TI','GP')},'username':{'type':Sequelize['STRING']},'password':{'type':Sequelize[_0x0725('0x3')]},'apiKey':{'type':Sequelize[_0x0725('0x3')]},'senderString':{'type':Sequelize[_0x0725('0x3')]},'deliveryReport':{'type':Sequelize[_0x0725('0xc')],'defaultValue':![]},'description':{'type':Sequelize[_0x0725('0x3')]},'notificationTemplate':{'type':Sequelize['TEXT'],'defaultValue':function(){return _0x0725('0xd');}},'notificationSound':{'type':Sequelize[_0x0725('0xc')],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0x0725('0xc')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0x0725('0xe')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0x0725('0xc')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0x0725('0xe')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0x0725('0xe')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'baseUrl':{'type':Sequelize['STRING']},'mandatoryDispositionPauseId':{'type':Sequelize[_0x0725('0xe')],'comment':_0x0725('0xf')},'mandatoryDisposition':{'type':Sequelize['BOOLEAN'],'defaultValue':![],'comment':_0x0725('0x10'),'set':function(_0x548b48){if(!_0x548b48)this['setDataValue'](_0x0725('0x11'),null);this['setDataValue'](_0x0725('0x12'),_0x548b48);}}};
\ No newline at end of file