Built motion from commit c738b9ac.|2.6.25
[motion2.git] / server / api / smsAccount / smsAccount.attributes.js
index 49e214c..efc8808 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x27ed=['skebby','clicksend','plivo','clickatell','infobip','intelepeer','BOOLEAN','Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}','INTEGER','mandatoryDispositionPauseId','mandatoryDisposition','sequelize','randomstring','STRING','generate','ENUM'];(function(_0x1035c1,_0x2d8583){var _0x308d67=function(_0x58ddb6){while(--_0x58ddb6){_0x1035c1['push'](_0x1035c1['shift']());}};_0x308d67(++_0x2d8583);}(_0x27ed,0x7b));var _0xd27e=function(_0x5b9cc5,_0x18e69b){_0x5b9cc5=_0x5b9cc5-0x0;var _0x2d679f=_0x27ed[_0x5b9cc5];return _0x2d679f;};'use strict';var Sequelize=require(_0xd27e('0x0'));var rs=require(_0xd27e('0x1'));module['exports']={'name':{'type':Sequelize[_0xd27e('0x2')],'unique':'name','allowNull':![]},'key':{'type':Sequelize['STRING'],'allowNull':![]},'remote':{'type':Sequelize[_0xd27e('0x2')],'allowNull':![]},'token':{'type':Sequelize[_0xd27e('0x2')],'defaultValue':function(){return rs[_0xd27e('0x3')]();}},'phone':{'type':Sequelize[_0xd27e('0x2')]},'type':{'type':Sequelize[_0xd27e('0x4')]('twilio',_0xd27e('0x5'),'connectel',_0xd27e('0x6'),_0xd27e('0x7'),_0xd27e('0x8'),'bandwidth','csc',_0xd27e('0x9'),_0xd27e('0xa'))},'accountSid':{'type':Sequelize['STRING']},'authId':{'type':Sequelize[_0xd27e('0x2')]},'authToken':{'type':Sequelize[_0xd27e('0x2')]},'smsMethod':{'type':Sequelize[_0xd27e('0x4')]('SI','TI','GP')},'username':{'type':Sequelize[_0xd27e('0x2')]},'password':{'type':Sequelize[_0xd27e('0x2')]},'apiKey':{'type':Sequelize['STRING']},'applicationId':{'type':Sequelize[_0xd27e('0x2')]},'accountId':{'type':Sequelize[_0xd27e('0x2')]},'senderString':{'type':Sequelize[_0xd27e('0x2')]},'deliveryReport':{'type':Sequelize[_0xd27e('0xb')],'defaultValue':![]},'description':{'type':Sequelize[_0xd27e('0x2')]},'notificationTemplate':{'type':Sequelize['TEXT'],'defaultValue':function(){return _0xd27e('0xc');}},'notificationSound':{'type':Sequelize[_0xd27e('0xb')],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0xd27e('0xb')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0xd27e('0xd')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'waitForTheAssignedQueue':{'type':Sequelize[_0xd27e('0xd')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0xd27e('0xb')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0xd27e('0xb')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0xd27e('0xd')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'baseUrl':{'type':Sequelize[_0xd27e('0x2')]},'mandatoryDispositionPauseId':{'type':Sequelize[_0xd27e('0xd')],'comment':'Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled'},'mandatoryDisposition':{'type':Sequelize[_0xd27e('0xb')],'defaultValue':![],'comment':'Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','set':function(_0x4e6f3b){if(!_0x4e6f3b)this['setDataValue'](_0xd27e('0xe'),null);this['setDataValue'](_0xd27e('0xf'),_0x4e6f3b);}}};
\ No newline at end of file
+var _0x5f4f=['name','generate','ENUM','skebby','connectel','clicksend','plivo','clickatell','bandwidth','csc','infobip','intelepeer','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','setDataValue','mandatoryDisposition','sequelize','randomstring','exports','STRING'];(function(_0x3041b7,_0x3a9223){var _0x2d6953=function(_0x30eccf){while(--_0x30eccf){_0x3041b7['push'](_0x3041b7['shift']());}};_0x2d6953(++_0x3a9223);}(_0x5f4f,0xf9));var _0xf5f4=function(_0x5cbace,_0x33943c){_0x5cbace=_0x5cbace-0x0;var _0x6de5b8=_0x5f4f[_0x5cbace];return _0x6de5b8;};'use strict';var Sequelize=require(_0xf5f4('0x0'));var rs=require(_0xf5f4('0x1'));module[_0xf5f4('0x2')]={'name':{'type':Sequelize[_0xf5f4('0x3')],'unique':_0xf5f4('0x4'),'allowNull':![]},'key':{'type':Sequelize['STRING'],'allowNull':![]},'remote':{'type':Sequelize['STRING'],'allowNull':![]},'token':{'type':Sequelize[_0xf5f4('0x3')],'defaultValue':function(){return rs[_0xf5f4('0x5')]();}},'phone':{'type':Sequelize[_0xf5f4('0x3')]},'type':{'type':Sequelize[_0xf5f4('0x6')]('twilio',_0xf5f4('0x7'),_0xf5f4('0x8'),_0xf5f4('0x9'),_0xf5f4('0xa'),_0xf5f4('0xb'),_0xf5f4('0xc'),_0xf5f4('0xd'),_0xf5f4('0xe'),_0xf5f4('0xf'))},'accountSid':{'type':Sequelize[_0xf5f4('0x3')]},'authId':{'type':Sequelize[_0xf5f4('0x3')]},'authToken':{'type':Sequelize[_0xf5f4('0x3')]},'smsMethod':{'type':Sequelize[_0xf5f4('0x6')]('SI','TI','GP')},'username':{'type':Sequelize[_0xf5f4('0x3')]},'password':{'type':Sequelize['STRING']},'apiKey':{'type':Sequelize[_0xf5f4('0x3')]},'applicationId':{'type':Sequelize['STRING']},'accountId':{'type':Sequelize[_0xf5f4('0x3')]},'senderString':{'type':Sequelize[_0xf5f4('0x3')]},'deliveryReport':{'type':Sequelize[_0xf5f4('0x10')],'defaultValue':![]},'description':{'type':Sequelize['STRING']},'notificationTemplate':{'type':Sequelize[_0xf5f4('0x11')],'defaultValue':function(){return _0xf5f4('0x12');}},'notificationSound':{'type':Sequelize[_0xf5f4('0x10')],'defaultValue':!![]},'notificationShake':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0xf5f4('0x13')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'waitForTheAssignedQueue':{'type':Sequelize[_0xf5f4('0x13')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0xf5f4('0x10')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0xf5f4('0x13')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0xf5f4('0x13')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'baseUrl':{'type':Sequelize[_0xf5f4('0x3')]},'mandatoryDispositionPauseId':{'type':Sequelize[_0xf5f4('0x13')],'comment':_0xf5f4('0x14')},'mandatoryDisposition':{'type':Sequelize[_0xf5f4('0x10')],'defaultValue':![],'comment':'Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','set':function(_0x28fc39){if(!_0x28fc39)this[_0xf5f4('0x15')]('mandatoryDispositionPauseId',null);this[_0xf5f4('0x15')](_0xf5f4('0x16'),_0x28fc39);}}};
\ No newline at end of file