Built motion from commit df3e9871f6bcc3432fec345b2f4facbd4dba8b5c. Version 3.0.0...
[motion-next.git] / server / api / smsAccount / smsAccount.attributes.js
index ec35cab..3fc78f0 100644 (file)
@@ -1 +1 @@
-const a541_0x5eee=['plivo','clicksend','name','twilio','Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}','mandatoryDispositionPauseId','csc','generate','INTEGER','mandatoryDisposition','setDataValue','intelepeer','clickatell','ENUM','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','connectel','BOOLEAN','STRING','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','TEXT','exports'];(function(_0x4c5316,_0x5eeeb8){const _0x451315=function(_0x4036c9){while(--_0x4036c9){_0x4c5316['push'](_0x4c5316['shift']());}};_0x451315(++_0x5eeeb8);}(a541_0x5eee,0x14d));const a541_0x4513=function(_0x4c5316,_0x5eeeb8){_0x4c5316=_0x4c5316-0x0;let _0x451315=a541_0x5eee[_0x4c5316];return _0x451315;};const _0x32be37=a541_0x4513;'use strict';const Sequelize=require('sequelize'),rs=require('randomstring');module[_0x32be37('0x2')]={'name':{'type':Sequelize[_0x32be37('0x14')],'unique':_0x32be37('0x5'),'allowNull':![]},'key':{'type':Sequelize[_0x32be37('0x14')],'allowNull':![]},'remote':{'type':Sequelize[_0x32be37('0x14')],'allowNull':![]},'token':{'type':Sequelize[_0x32be37('0x14')],'defaultValue':function(){const _0xe40ac2=_0x32be37;return rs[_0xe40ac2('0xa')]();}},'phone':{'type':Sequelize[_0x32be37('0x14')]},'type':{'type':Sequelize['ENUM'](_0x32be37('0x6'),'skebby',_0x32be37('0x12'),_0x32be37('0x4'),_0x32be37('0x3'),_0x32be37('0xf'),_0x32be37('0x9'),'infobip',_0x32be37('0xe'))},'accountSid':{'type':Sequelize[_0x32be37('0x14')]},'authId':{'type':Sequelize['STRING']},'authToken':{'type':Sequelize[_0x32be37('0x14')]},'smsMethod':{'type':Sequelize[_0x32be37('0x10')]('SI','TI','GP')},'username':{'type':Sequelize[_0x32be37('0x14')]},'password':{'type':Sequelize[_0x32be37('0x14')]},'apiKey':{'type':Sequelize[_0x32be37('0x14')]},'senderString':{'type':Sequelize[_0x32be37('0x14')]},'deliveryReport':{'type':Sequelize[_0x32be37('0x13')],'defaultValue':![]},'description':{'type':Sequelize[_0x32be37('0x14')]},'notificationTemplate':{'type':Sequelize[_0x32be37('0x1')],'defaultValue':function(){const _0x3dfb49=_0x32be37;return _0x3dfb49('0x7');}},'notificationSound':{'type':Sequelize[_0x32be37('0x13')],'defaultValue':!![]},'notificationShake':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0x32be37('0xb')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0x32be37('0x13')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0x32be37('0xb')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0x32be37('0x13')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'baseUrl':{'type':Sequelize[_0x32be37('0x14')]},'mandatoryDispositionPauseId':{'type':Sequelize[_0x32be37('0xb')],'comment':_0x32be37('0x0')},'mandatoryDisposition':{'type':Sequelize['BOOLEAN'],'defaultValue':![],'comment':_0x32be37('0x11'),'set':function(_0x4036c9){const _0x337573=_0x32be37;if(!_0x4036c9)this[_0x337573('0xd')](_0x337573('0x8'),null);this['setDataValue'](_0x337573('0xc'),_0x4036c9);}}};
\ No newline at end of file
+const a541_0x5b4f=['infobip','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','mandatoryDispositionPauseId','plivo','mandatoryDisposition','csc','STRING','ENUM','skebby','exports','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','setDataValue','BOOLEAN','clicksend','clickatell','TEXT','intelepeer','name','sequelize','INTEGER','twilio','generate'];(function(_0x1abfb2,_0x5b4f70){const _0x22ff5e=function(_0x5eb4b6){while(--_0x5eb4b6){_0x1abfb2['push'](_0x1abfb2['shift']());}};_0x22ff5e(++_0x5b4f70);}(a541_0x5b4f,0x1cf));const a541_0x22ff=function(_0x1abfb2,_0x5b4f70){_0x1abfb2=_0x1abfb2-0x0;let _0x22ff5e=a541_0x5b4f[_0x1abfb2];return _0x22ff5e;};const _0x2a54d9=a541_0x22ff;'use strict';const Sequelize=require(_0x2a54d9('0x11')),rs=require('randomstring');module[_0x2a54d9('0x8')]={'name':{'type':Sequelize['STRING'],'unique':_0x2a54d9('0x10'),'allowNull':![]},'key':{'type':Sequelize[_0x2a54d9('0x5')],'allowNull':![]},'remote':{'type':Sequelize[_0x2a54d9('0x5')],'allowNull':![]},'token':{'type':Sequelize['STRING'],'defaultValue':function(){const _0x4ec69b=_0x2a54d9;return rs[_0x4ec69b('0x14')]();}},'phone':{'type':Sequelize[_0x2a54d9('0x5')]},'type':{'type':Sequelize[_0x2a54d9('0x6')](_0x2a54d9('0x13'),_0x2a54d9('0x7'),'connectel',_0x2a54d9('0xc'),_0x2a54d9('0x2'),_0x2a54d9('0xd'),_0x2a54d9('0x4'),_0x2a54d9('0x15'),_0x2a54d9('0xf'))},'accountSid':{'type':Sequelize[_0x2a54d9('0x5')]},'authId':{'type':Sequelize[_0x2a54d9('0x5')]},'authToken':{'type':Sequelize['STRING']},'smsMethod':{'type':Sequelize[_0x2a54d9('0x6')]('SI','TI','GP')},'username':{'type':Sequelize[_0x2a54d9('0x5')]},'password':{'type':Sequelize[_0x2a54d9('0x5')]},'apiKey':{'type':Sequelize[_0x2a54d9('0x5')]},'senderString':{'type':Sequelize[_0x2a54d9('0x5')]},'deliveryReport':{'type':Sequelize[_0x2a54d9('0xb')],'defaultValue':![]},'description':{'type':Sequelize[_0x2a54d9('0x5')]},'notificationTemplate':{'type':Sequelize[_0x2a54d9('0xe')],'defaultValue':function(){return'Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}';}},'notificationSound':{'type':Sequelize[_0x2a54d9('0xb')],'defaultValue':!![]},'notificationShake':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0x2a54d9('0x12')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0x2a54d9('0xb')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0x2a54d9('0x12')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0x2a54d9('0xb')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0x2a54d9('0x12')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'baseUrl':{'type':Sequelize[_0x2a54d9('0x5')]},'mandatoryDispositionPauseId':{'type':Sequelize[_0x2a54d9('0x12')],'comment':_0x2a54d9('0x0')},'mandatoryDisposition':{'type':Sequelize[_0x2a54d9('0xb')],'defaultValue':![],'comment':_0x2a54d9('0x9'),'set':function(_0x5eb4b6){const _0xfc091f=_0x2a54d9;if(!_0x5eb4b6)this[_0xfc091f('0xa')](_0xfc091f('0x1'),null);this[_0xfc091f('0xa')](_0xfc091f('0x3'),_0x5eb4b6);}}};
\ No newline at end of file