Built motion from commit (unavailable).|2.5.31
[motion2.git] / server / api / smsAccount / smsAccount.attributes.js
index 31abee6..0563350 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x9af1=['clicksend','plivo','bandwidth','csc','infobip','BOOLEAN','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','setDataValue','sequelize','randomstring','exports','name','STRING','twilio','skebby','connectel'];(function(_0x2e36a8,_0x4adb6e){var _0x74aaa2=function(_0x1e4278){while(--_0x1e4278){_0x2e36a8['push'](_0x2e36a8['shift']());}};_0x74aaa2(++_0x4adb6e);}(_0x9af1,0x68));var _0x19af=function(_0x1a3fd3,_0x460440){_0x1a3fd3=_0x1a3fd3-0x0;var _0x28f220=_0x9af1[_0x1a3fd3];return _0x28f220;};'use strict';var Sequelize=require(_0x19af('0x0'));var rs=require(_0x19af('0x1'));module[_0x19af('0x2')]={'name':{'type':Sequelize['STRING'],'unique':_0x19af('0x3'),'allowNull':![]},'key':{'type':Sequelize[_0x19af('0x4')],'allowNull':![]},'remote':{'type':Sequelize[_0x19af('0x4')],'allowNull':![]},'token':{'type':Sequelize['STRING'],'defaultValue':function(){return rs['generate']();}},'phone':{'type':Sequelize[_0x19af('0x4')]},'type':{'type':Sequelize['ENUM'](_0x19af('0x5'),_0x19af('0x6'),_0x19af('0x7'),_0x19af('0x8'),_0x19af('0x9'),'clickatell',_0x19af('0xa'),_0x19af('0xb'),_0x19af('0xc'),'intelepeer')},'accountSid':{'type':Sequelize[_0x19af('0x4')]},'authId':{'type':Sequelize[_0x19af('0x4')]},'authToken':{'type':Sequelize['STRING']},'smsMethod':{'type':Sequelize['ENUM']('SI','TI','GP')},'username':{'type':Sequelize[_0x19af('0x4')]},'password':{'type':Sequelize['STRING']},'apiKey':{'type':Sequelize[_0x19af('0x4')]},'applicationId':{'type':Sequelize['STRING']},'accountId':{'type':Sequelize[_0x19af('0x4')]},'senderString':{'type':Sequelize[_0x19af('0x4')]},'deliveryReport':{'type':Sequelize[_0x19af('0xd')],'defaultValue':![]},'description':{'type':Sequelize[_0x19af('0x4')]},'notificationTemplate':{'type':Sequelize['TEXT'],'defaultValue':function(){return'Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}';}},'notificationSound':{'type':Sequelize[_0x19af('0xd')],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0x19af('0xd')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0x19af('0xd')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0x19af('0xd')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'baseUrl':{'type':Sequelize[_0x19af('0x4')]},'mandatoryDispositionPauseId':{'type':Sequelize['INTEGER'],'comment':_0x19af('0xe')},'mandatoryDisposition':{'type':Sequelize[_0x19af('0xd')],'defaultValue':![],'comment':'Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','set':function(_0x1c2ac2){if(!_0x1c2ac2)this[_0x19af('0xf')]('mandatoryDispositionPauseId',null);this[_0x19af('0xf')]('mandatoryDisposition',_0x1c2ac2);}}};
\ No newline at end of file
+var _0x1e9c=['clicksend','plivo','clickatell','bandwidth','csc','intelepeer','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','mandatoryDisposition','sequelize','randomstring','exports','STRING','name','generate','ENUM','twilio','skebby','connectel'];(function(_0x53fe10,_0x1a741b){var _0x405764=function(_0x33c776){while(--_0x33c776){_0x53fe10['push'](_0x53fe10['shift']());}};_0x405764(++_0x1a741b);}(_0x1e9c,0x1d9));var _0xc1e9=function(_0x5f309e,_0x66e31){_0x5f309e=_0x5f309e-0x0;var _0x487b5e=_0x1e9c[_0x5f309e];return _0x487b5e;};'use strict';var Sequelize=require(_0xc1e9('0x0'));var rs=require(_0xc1e9('0x1'));module[_0xc1e9('0x2')]={'name':{'type':Sequelize[_0xc1e9('0x3')],'unique':_0xc1e9('0x4'),'allowNull':![]},'key':{'type':Sequelize['STRING'],'allowNull':![]},'remote':{'type':Sequelize['STRING'],'allowNull':![]},'token':{'type':Sequelize[_0xc1e9('0x3')],'defaultValue':function(){return rs[_0xc1e9('0x5')]();}},'phone':{'type':Sequelize[_0xc1e9('0x3')]},'type':{'type':Sequelize[_0xc1e9('0x6')](_0xc1e9('0x7'),_0xc1e9('0x8'),_0xc1e9('0x9'),_0xc1e9('0xa'),_0xc1e9('0xb'),_0xc1e9('0xc'),_0xc1e9('0xd'),_0xc1e9('0xe'),'infobip',_0xc1e9('0xf'))},'accountSid':{'type':Sequelize['STRING']},'authId':{'type':Sequelize[_0xc1e9('0x3')]},'authToken':{'type':Sequelize[_0xc1e9('0x3')]},'smsMethod':{'type':Sequelize['ENUM']('SI','TI','GP')},'username':{'type':Sequelize[_0xc1e9('0x3')]},'password':{'type':Sequelize[_0xc1e9('0x3')]},'apiKey':{'type':Sequelize[_0xc1e9('0x3')]},'applicationId':{'type':Sequelize[_0xc1e9('0x3')]},'accountId':{'type':Sequelize[_0xc1e9('0x3')]},'senderString':{'type':Sequelize['STRING']},'deliveryReport':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'description':{'type':Sequelize['STRING']},'notificationTemplate':{'type':Sequelize['TEXT'],'defaultValue':function(){return _0xc1e9('0x10');}},'notificationSound':{'type':Sequelize[_0xc1e9('0x11')],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0xc1e9('0x11')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0xc1e9('0x12')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0xc1e9('0x11')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0xc1e9('0x12')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0xc1e9('0x12')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'baseUrl':{'type':Sequelize[_0xc1e9('0x3')]},'mandatoryDispositionPauseId':{'type':Sequelize['INTEGER'],'comment':_0xc1e9('0x13')},'mandatoryDisposition':{'type':Sequelize[_0xc1e9('0x11')],'defaultValue':![],'comment':'Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','set':function(_0x3e873b){if(!_0x3e873b)this['setDataValue']('mandatoryDispositionPauseId',null);this['setDataValue'](_0xc1e9('0x14'),_0x3e873b);}}};
\ No newline at end of file