Built motion from commit f8768ebe.|2.6.15
[motion2.git] / server / api / smsAccount / smsAccount.attributes.js
index 747b653..fc1b540 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x42a2=['mandatoryDispositionPauseId','mandatoryDisposition','sequelize','randomstring','name','STRING','generate','ENUM','twilio','skebby','connectel','clicksend','plivo','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'];(function(_0x340141,_0x1cd434){var _0x414cf8=function(_0x350c8b){while(--_0x350c8b){_0x340141['push'](_0x340141['shift']());}};_0x414cf8(++_0x1cd434);}(_0x42a2,0xf2));var _0x242a=function(_0x59d89e,_0x55edf5){_0x59d89e=_0x59d89e-0x0;var _0x554e93=_0x42a2[_0x59d89e];return _0x554e93;};'use strict';var Sequelize=require(_0x242a('0x0'));var rs=require(_0x242a('0x1'));module['exports']={'name':{'type':Sequelize['STRING'],'unique':_0x242a('0x2'),'allowNull':![]},'key':{'type':Sequelize['STRING'],'allowNull':![]},'remote':{'type':Sequelize['STRING'],'allowNull':![]},'token':{'type':Sequelize[_0x242a('0x3')],'defaultValue':function(){return rs[_0x242a('0x4')]();}},'phone':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x242a('0x5')](_0x242a('0x6'),_0x242a('0x7'),_0x242a('0x8'),_0x242a('0x9'),_0x242a('0xa'),_0x242a('0xb'),_0x242a('0xc'),_0x242a('0xd'),_0x242a('0xe'),_0x242a('0xf'))},'accountSid':{'type':Sequelize[_0x242a('0x3')]},'authId':{'type':Sequelize[_0x242a('0x3')]},'authToken':{'type':Sequelize[_0x242a('0x3')]},'smsMethod':{'type':Sequelize[_0x242a('0x5')]('SI','TI','GP')},'username':{'type':Sequelize['STRING']},'password':{'type':Sequelize[_0x242a('0x3')]},'apiKey':{'type':Sequelize['STRING']},'applicationId':{'type':Sequelize[_0x242a('0x3')]},'accountId':{'type':Sequelize[_0x242a('0x3')]},'senderString':{'type':Sequelize[_0x242a('0x3')]},'deliveryReport':{'type':Sequelize[_0x242a('0x10')],'defaultValue':![]},'description':{'type':Sequelize[_0x242a('0x3')]},'notificationTemplate':{'type':Sequelize['TEXT'],'defaultValue':function(){return _0x242a('0x11');}},'notificationSound':{'type':Sequelize[_0x242a('0x10')],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0x242a('0x10')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0x242a('0x12')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0x242a('0x10')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0x242a('0x12')],'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[_0x242a('0x3')]},'mandatoryDispositionPauseId':{'type':Sequelize[_0x242a('0x12')],'comment':_0x242a('0x13')},'mandatoryDisposition':{'type':Sequelize[_0x242a('0x10')],'defaultValue':![],'comment':_0x242a('0x14'),'set':function(_0x36d528){if(!_0x36d528)this[_0x242a('0x15')](_0x242a('0x16'),null);this[_0x242a('0x15')](_0x242a('0x17'),_0x36d528);}}};
\ No newline at end of file
+var _0x356c=['connectel','plivo','clickatell','bandwidth','csc','infobip','intelepeer','ENUM','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','setDataValue','sequelize','randomstring','name','STRING','generate','twilio','skebby'];(function(_0x4a83f4,_0x50f589){var _0x1fc810=function(_0xc651f9){while(--_0xc651f9){_0x4a83f4['push'](_0x4a83f4['shift']());}};_0x1fc810(++_0x50f589);}(_0x356c,0xd5));var _0xc356=function(_0x24b01c,_0x5a9429){_0x24b01c=_0x24b01c-0x0;var _0x4a0ec4=_0x356c[_0x24b01c];return _0x4a0ec4;};'use strict';var Sequelize=require(_0xc356('0x0'));var rs=require(_0xc356('0x1'));module['exports']={'name':{'type':Sequelize['STRING'],'unique':_0xc356('0x2'),'allowNull':![]},'key':{'type':Sequelize['STRING'],'allowNull':![]},'remote':{'type':Sequelize['STRING'],'allowNull':![]},'token':{'type':Sequelize[_0xc356('0x3')],'defaultValue':function(){return rs[_0xc356('0x4')]();}},'phone':{'type':Sequelize['STRING']},'type':{'type':Sequelize['ENUM'](_0xc356('0x5'),_0xc356('0x6'),_0xc356('0x7'),'clicksend',_0xc356('0x8'),_0xc356('0x9'),_0xc356('0xa'),_0xc356('0xb'),_0xc356('0xc'),_0xc356('0xd'))},'accountSid':{'type':Sequelize[_0xc356('0x3')]},'authId':{'type':Sequelize[_0xc356('0x3')]},'authToken':{'type':Sequelize['STRING']},'smsMethod':{'type':Sequelize[_0xc356('0xe')]('SI','TI','GP')},'username':{'type':Sequelize[_0xc356('0x3')]},'password':{'type':Sequelize['STRING']},'apiKey':{'type':Sequelize[_0xc356('0x3')]},'applicationId':{'type':Sequelize[_0xc356('0x3')]},'accountId':{'type':Sequelize['STRING']},'senderString':{'type':Sequelize['STRING']},'deliveryReport':{'type':Sequelize[_0xc356('0xf')],'defaultValue':![]},'description':{'type':Sequelize[_0xc356('0x3')]},'notificationTemplate':{'type':Sequelize[_0xc356('0x10')],'defaultValue':function(){return _0xc356('0x11');}},'notificationSound':{'type':Sequelize[_0xc356('0xf')],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0xc356('0xf')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0xc356('0x12')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0xc356('0xf')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0xc356('0x12')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0xc356('0xf')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0xc356('0x12')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'baseUrl':{'type':Sequelize[_0xc356('0x3')]},'mandatoryDispositionPauseId':{'type':Sequelize[_0xc356('0x12')],'comment':_0xc356('0x13')},'mandatoryDisposition':{'type':Sequelize[_0xc356('0xf')],'defaultValue':![],'comment':_0xc356('0x14'),'set':function(_0x4989d8){if(!_0x4989d8)this[_0xc356('0x15')]('mandatoryDispositionPauseId',null);this['setDataValue']('mandatoryDisposition',_0x4989d8);}}};
\ No newline at end of file