Built motion from commit 953226e6.|2.6.32
[motion2.git] / server / api / smsAccount / smsAccount.attributes.js
index 5300b01..f60958a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7afa=['intelepeer','BOOLEAN','TEXT','INTEGER','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','setDataValue','mandatoryDisposition','sequelize','exports','name','STRING','generate','ENUM','twilio','skebby','clicksend','plivo','clickatell','bandwidth','infobip'];(function(_0x382894,_0x2b15ad){var _0x3aa3fa=function(_0x12365a){while(--_0x12365a){_0x382894['push'](_0x382894['shift']());}};_0x3aa3fa(++_0x2b15ad);}(_0x7afa,0x119));var _0xa7af=function(_0x1c63d0,_0x516018){_0x1c63d0=_0x1c63d0-0x0;var _0x2c8a35=_0x7afa[_0x1c63d0];return _0x2c8a35;};'use strict';var Sequelize=require(_0xa7af('0x0'));var rs=require('randomstring');module[_0xa7af('0x1')]={'name':{'type':Sequelize['STRING'],'unique':_0xa7af('0x2'),'allowNull':![]},'key':{'type':Sequelize[_0xa7af('0x3')],'allowNull':![]},'remote':{'type':Sequelize[_0xa7af('0x3')],'allowNull':![]},'token':{'type':Sequelize[_0xa7af('0x3')],'defaultValue':function(){return rs[_0xa7af('0x4')]();}},'phone':{'type':Sequelize[_0xa7af('0x3')]},'type':{'type':Sequelize[_0xa7af('0x5')](_0xa7af('0x6'),_0xa7af('0x7'),'connectel',_0xa7af('0x8'),_0xa7af('0x9'),_0xa7af('0xa'),_0xa7af('0xb'),'csc',_0xa7af('0xc'),_0xa7af('0xd'))},'accountSid':{'type':Sequelize[_0xa7af('0x3')]},'authId':{'type':Sequelize[_0xa7af('0x3')]},'authToken':{'type':Sequelize[_0xa7af('0x3')]},'smsMethod':{'type':Sequelize[_0xa7af('0x5')]('SI','TI','GP')},'username':{'type':Sequelize[_0xa7af('0x3')]},'password':{'type':Sequelize[_0xa7af('0x3')]},'apiKey':{'type':Sequelize[_0xa7af('0x3')]},'applicationId':{'type':Sequelize[_0xa7af('0x3')]},'accountId':{'type':Sequelize[_0xa7af('0x3')]},'senderString':{'type':Sequelize[_0xa7af('0x3')]},'deliveryReport':{'type':Sequelize[_0xa7af('0xe')],'defaultValue':![]},'description':{'type':Sequelize[_0xa7af('0x3')]},'notificationTemplate':{'type':Sequelize[_0xa7af('0xf')],'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[_0xa7af('0x10')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'waitForTheAssignedQueue':{'type':Sequelize[_0xa7af('0x10')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0xa7af('0xe')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0xa7af('0x10')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0xa7af('0x10')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'baseUrl':{'type':Sequelize[_0xa7af('0x3')]},'mandatoryDispositionPauseId':{'type':Sequelize[_0xa7af('0x10')],'comment':_0xa7af('0x11')},'mandatoryDisposition':{'type':Sequelize[_0xa7af('0xe')],'defaultValue':![],'comment':_0xa7af('0x12'),'set':function(_0x363d30){if(!_0x363d30)this[_0xa7af('0x13')]('mandatoryDispositionPauseId',null);this['setDataValue'](_0xa7af('0x14'),_0x363d30);}}};
\ No newline at end of file
+var _0xaebf=['generate','ENUM','skebby','connectel','clicksend','clickatell','bandwidth','csc','infobip','intelepeer','BOOLEAN','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','setDataValue','sequelize','exports','STRING'];(function(_0x15529a,_0x38c0c4){var _0x1545bc=function(_0x43235e){while(--_0x43235e){_0x15529a['push'](_0x15529a['shift']());}};_0x1545bc(++_0x38c0c4);}(_0xaebf,0x1b2));var _0xfaeb=function(_0x5a9c0c,_0x4ec485){_0x5a9c0c=_0x5a9c0c-0x0;var _0x53c77d=_0xaebf[_0x5a9c0c];return _0x53c77d;};'use strict';var Sequelize=require(_0xfaeb('0x0'));var rs=require('randomstring');module[_0xfaeb('0x1')]={'name':{'type':Sequelize['STRING'],'unique':'name','allowNull':![]},'key':{'type':Sequelize[_0xfaeb('0x2')],'allowNull':![]},'remote':{'type':Sequelize[_0xfaeb('0x2')],'allowNull':![]},'token':{'type':Sequelize[_0xfaeb('0x2')],'defaultValue':function(){return rs[_0xfaeb('0x3')]();}},'phone':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0xfaeb('0x4')]('twilio',_0xfaeb('0x5'),_0xfaeb('0x6'),_0xfaeb('0x7'),'plivo',_0xfaeb('0x8'),_0xfaeb('0x9'),_0xfaeb('0xa'),_0xfaeb('0xb'),_0xfaeb('0xc'))},'accountSid':{'type':Sequelize[_0xfaeb('0x2')]},'authId':{'type':Sequelize[_0xfaeb('0x2')]},'authToken':{'type':Sequelize['STRING']},'smsMethod':{'type':Sequelize[_0xfaeb('0x4')]('SI','TI','GP')},'username':{'type':Sequelize['STRING']},'password':{'type':Sequelize[_0xfaeb('0x2')]},'apiKey':{'type':Sequelize[_0xfaeb('0x2')]},'applicationId':{'type':Sequelize[_0xfaeb('0x2')]},'accountId':{'type':Sequelize['STRING']},'senderString':{'type':Sequelize[_0xfaeb('0x2')]},'deliveryReport':{'type':Sequelize[_0xfaeb('0xd')],'defaultValue':![]},'description':{'type':Sequelize['STRING']},'notificationTemplate':{'type':Sequelize['TEXT'],'defaultValue':function(){return _0xfaeb('0xe');}},'notificationSound':{'type':Sequelize[_0xfaeb('0xd')],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0xfaeb('0xd')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0xfaeb('0xf')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'waitForTheAssignedQueue':{'type':Sequelize[_0xfaeb('0xf')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0xfaeb('0xd')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0xfaeb('0xf')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'baseUrl':{'type':Sequelize[_0xfaeb('0x2')]},'mandatoryDispositionPauseId':{'type':Sequelize[_0xfaeb('0xf')],'comment':_0xfaeb('0x10')},'mandatoryDisposition':{'type':Sequelize['BOOLEAN'],'defaultValue':![],'comment':_0xfaeb('0x11'),'set':function(_0x3c7363){if(!_0x3c7363)this[_0xfaeb('0x12')]('mandatoryDispositionPauseId',null);this[_0xfaeb('0x12')]('mandatoryDisposition',_0x3c7363);}}};
\ No newline at end of file