Built motion from commit bfc7a72f7045b27461c9a5d1f71c1a658cfd0b8b. Version 3.0.0...
[motion-next.git] / server / api / smsAccount / smsAccount.attributes.js
index 2d64fa5..3487762 100644 (file)
@@ -1 +1 @@
-const a541_0x15d5=['mandatoryDispositionPauseId','connectel','plivo','STRING','generate','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','skebby','INTEGER','randomstring','intelepeer','mandatoryDisposition','csc','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','infobip','TEXT','BOOLEAN','ENUM','setDataValue','clicksend','twilio'];(function(_0x55a093,_0x15d528){const _0x4bcbde=function(_0x1bef4a){while(--_0x1bef4a){_0x55a093['push'](_0x55a093['shift']());}};_0x4bcbde(++_0x15d528);}(a541_0x15d5,0x8e));const a541_0x4bcb=function(_0x55a093,_0x15d528){_0x55a093=_0x55a093-0x0;let _0x4bcbde=a541_0x15d5[_0x55a093];return _0x4bcbde;};const _0x2f183f=a541_0x4bcb;'use strict';const Sequelize=require('sequelize'),rs=require(_0x2f183f('0x6'));module['exports']={'name':{'type':Sequelize[_0x2f183f('0x1')],'unique':'name','allowNull':![]},'key':{'type':Sequelize['STRING'],'allowNull':![]},'remote':{'type':Sequelize['STRING'],'allowNull':![]},'token':{'type':Sequelize[_0x2f183f('0x1')],'defaultValue':function(){const _0x23996c=_0x2f183f;return rs[_0x23996c('0x2')]();}},'phone':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x2f183f('0xe')](_0x2f183f('0x11'),_0x2f183f('0x4'),_0x2f183f('0x13'),_0x2f183f('0x10'),_0x2f183f('0x0'),'clickatell',_0x2f183f('0x9'),_0x2f183f('0xb'),_0x2f183f('0x7'))},'accountSid':{'type':Sequelize['STRING']},'authId':{'type':Sequelize[_0x2f183f('0x1')]},'authToken':{'type':Sequelize[_0x2f183f('0x1')]},'smsMethod':{'type':Sequelize[_0x2f183f('0xe')]('SI','TI','GP')},'username':{'type':Sequelize[_0x2f183f('0x1')]},'password':{'type':Sequelize['STRING']},'apiKey':{'type':Sequelize['STRING']},'senderString':{'type':Sequelize[_0x2f183f('0x1')]},'deliveryReport':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'description':{'type':Sequelize[_0x2f183f('0x1')]},'notificationTemplate':{'type':Sequelize[_0x2f183f('0xc')],'defaultValue':function(){return'Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}';}},'notificationSound':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'notificationShake':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0x2f183f('0x5')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0x2f183f('0xd')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0x2f183f('0x5')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0x2f183f('0xd')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'baseUrl':{'type':Sequelize[_0x2f183f('0x1')]},'mandatoryDispositionPauseId':{'type':Sequelize['INTEGER'],'comment':_0x2f183f('0xa')},'mandatoryDisposition':{'type':Sequelize[_0x2f183f('0xd')],'defaultValue':![],'comment':_0x2f183f('0x3'),'set':function(_0x1bef4a){const _0x30f049=_0x2f183f;if(!_0x1bef4a)this[_0x30f049('0xf')](_0x30f049('0x12'),null);this[_0x30f049('0xf')](_0x30f049('0x8'),_0x1bef4a);}}};
\ No newline at end of file
+const a541_0x3474=['Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}','TEXT','INTEGER','name','sequelize','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','intelepeer','setDataValue','generate','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','infobip','csc','BOOLEAN','clicksend','STRING','exports','connectel','skebby','ENUM'];(function(_0x511fe8,_0x3474c0){const _0x4c2a98=function(_0x1b8ec2){while(--_0x1b8ec2){_0x511fe8['push'](_0x511fe8['shift']());}};_0x4c2a98(++_0x3474c0);}(a541_0x3474,0xe8));const a541_0x4c2a=function(_0x511fe8,_0x3474c0){_0x511fe8=_0x511fe8-0x0;let _0x4c2a98=a541_0x3474[_0x511fe8];return _0x4c2a98;};const _0x4a5bac=a541_0x4c2a;'use strict';const Sequelize=require(_0x4a5bac('0x0')),rs=require('randomstring');module[_0x4a5bac('0xb')]={'name':{'type':Sequelize[_0x4a5bac('0xa')],'unique':_0x4a5bac('0x12'),'allowNull':![]},'key':{'type':Sequelize['STRING'],'allowNull':![]},'remote':{'type':Sequelize[_0x4a5bac('0xa')],'allowNull':![]},'token':{'type':Sequelize[_0x4a5bac('0xa')],'defaultValue':function(){const _0x61cf4c=_0x4a5bac;return rs[_0x61cf4c('0x4')]();}},'phone':{'type':Sequelize[_0x4a5bac('0xa')]},'type':{'type':Sequelize[_0x4a5bac('0xe')]('twilio',_0x4a5bac('0xd'),_0x4a5bac('0xc'),_0x4a5bac('0x9'),'plivo','clickatell',_0x4a5bac('0x7'),_0x4a5bac('0x6'),_0x4a5bac('0x2'))},'accountSid':{'type':Sequelize[_0x4a5bac('0xa')]},'authId':{'type':Sequelize[_0x4a5bac('0xa')]},'authToken':{'type':Sequelize[_0x4a5bac('0xa')]},'smsMethod':{'type':Sequelize[_0x4a5bac('0xe')]('SI','TI','GP')},'username':{'type':Sequelize[_0x4a5bac('0xa')]},'password':{'type':Sequelize[_0x4a5bac('0xa')]},'apiKey':{'type':Sequelize[_0x4a5bac('0xa')]},'senderString':{'type':Sequelize[_0x4a5bac('0xa')]},'deliveryReport':{'type':Sequelize[_0x4a5bac('0x8')],'defaultValue':![]},'description':{'type':Sequelize[_0x4a5bac('0xa')]},'notificationTemplate':{'type':Sequelize[_0x4a5bac('0x10')],'defaultValue':function(){const _0x5473ce=_0x4a5bac;return _0x5473ce('0xf');}},'notificationSound':{'type':Sequelize[_0x4a5bac('0x8')],'defaultValue':!![]},'notificationShake':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0x4a5bac('0x11')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0x4a5bac('0x8')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0x4a5bac('0x11')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0x4a5bac('0x8')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0x4a5bac('0x11')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'baseUrl':{'type':Sequelize[_0x4a5bac('0xa')]},'mandatoryDispositionPauseId':{'type':Sequelize[_0x4a5bac('0x11')],'comment':_0x4a5bac('0x1')},'mandatoryDisposition':{'type':Sequelize[_0x4a5bac('0x8')],'defaultValue':![],'comment':_0x4a5bac('0x5'),'set':function(_0x1b8ec2){const _0x404048=_0x4a5bac;if(!_0x1b8ec2)this[_0x404048('0x3')]('mandatoryDispositionPauseId',null);this[_0x404048('0x3')]('mandatoryDisposition',_0x1b8ec2);}}};
\ No newline at end of file