Built motion from commit (unavailable).|2.6.0
[motion2.git] / server / api / faxAccount / faxAccount.attributes.js
index 2b09177..3886ac1 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x050b=['2400','4800','7200','9600','12000','14400','v17,v27,v29','INTEGER','SIP','IAX','KHOMP','TEXT','BOOLEAN','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','setDataValue','mandatoryDispositionPauseId','mandatoryDisposition','sequelize','exports','STRING','ENUM','yes','xCALLY\x20Motion\x20Fax','localstationid'];(function(_0x2706da,_0x3856f5){var _0x3ba87e=function(_0x479a79){while(--_0x479a79){_0x2706da['push'](_0x2706da['shift']());}};_0x3ba87e(++_0x3856f5);}(_0x050b,0xb9));var _0xb050=function(_0x5925e8,_0x224c3e){_0x5925e8=_0x5925e8-0x0;var _0x459b02=_0x050b[_0x5925e8];return _0x459b02;};'use strict';var Sequelize=require(_0xb050('0x0'));module[_0xb050('0x1')]={'name':{'type':Sequelize[_0xb050('0x2')],'allowNull':![],'validate':{'notEmpty':!![]}},'description':{'type':Sequelize[_0xb050('0x2')]},'ecm':{'type':Sequelize[_0xb050('0x3')](_0xb050('0x4'),'no'),'defaultValue':'yes'},'headerinfo':{'type':Sequelize[_0xb050('0x2')],'defaultValue':_0xb050('0x5')},'localstationid':{'type':Sequelize[_0xb050('0x2')],'unique':_0xb050('0x6')},'minrate':{'type':Sequelize[_0xb050('0x3')](_0xb050('0x7'),_0xb050('0x8'),_0xb050('0x9'),_0xb050('0xa'),_0xb050('0xb'),'14400'),'defaultValue':'4800'},'maxrate':{'type':Sequelize['ENUM'](_0xb050('0x7'),_0xb050('0x8'),'7200',_0xb050('0xa'),'12000',_0xb050('0xc')),'defaultValue':'14400'},'modem':{'type':Sequelize[_0xb050('0x2')],'defaultValue':_0xb050('0xd')},'gateway':{'type':Sequelize[_0xb050('0x2')],'defaultValue':'no','validate':{'is':/^(?:yes|no|[0-9]+)$/}},'faxdetect':{'type':Sequelize[_0xb050('0x2')],'defaultValue':'no','validate':{'is':/^(?:yes|no|t38|cng|[0-9]+)$/}},'t38timeout':{'type':Sequelize[_0xb050('0xe')],'defaultValue':0x1388,'validate':{'min':0x3e8}},'tech':{'type':Sequelize[_0xb050('0x3')](_0xb050('0xf'),_0xb050('0x10'),'DADHI',_0xb050('0x11')),'defaultValue':_0xb050('0xf')},'key':{'type':Sequelize[_0xb050('0x2')],'allowNull':![]},'notificationTemplate':{'type':Sequelize[_0xb050('0x12')],'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[_0xb050('0x13')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0xb050('0xe')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0xb050('0x13')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0xb050('0xe')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize[_0xb050('0xe')],'allowNull':!![],'defaultValue':null,'comment':'Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled'},'mandatoryDisposition':{'type':Sequelize[_0xb050('0x13')],'defaultValue':![],'comment':_0xb050('0x14'),'set':function(_0x3546d8){if(!_0x3546d8)this[_0xb050('0x15')](_0xb050('0x16'),null);this[_0xb050('0x15')](_0xb050('0x17'),_0x3546d8);}}};
\ No newline at end of file
+var _0x6ffb=['mandatoryDispositionPauseId','mandatoryDisposition','exports','STRING','ENUM','yes','xCALLY\x20Motion\x20Fax','localstationid','2400','9600','12000','14400','4800','7200','v17,v27,v29','SIP','IAX','DADHI','Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}','BOOLEAN','INTEGER','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','setDataValue'];(function(_0x474ee2,_0x47e60a){var _0x20d0f2=function(_0x3e2f0b){while(--_0x3e2f0b){_0x474ee2['push'](_0x474ee2['shift']());}};_0x20d0f2(++_0x47e60a);}(_0x6ffb,0x75));var _0xb6ff=function(_0x51d43c,_0x8cff73){_0x51d43c=_0x51d43c-0x0;var _0x180db5=_0x6ffb[_0x51d43c];return _0x180db5;};'use strict';var Sequelize=require('sequelize');module[_0xb6ff('0x0')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'validate':{'notEmpty':!![]}},'description':{'type':Sequelize[_0xb6ff('0x1')]},'ecm':{'type':Sequelize[_0xb6ff('0x2')](_0xb6ff('0x3'),'no'),'defaultValue':_0xb6ff('0x3')},'headerinfo':{'type':Sequelize[_0xb6ff('0x1')],'defaultValue':_0xb6ff('0x4')},'localstationid':{'type':Sequelize[_0xb6ff('0x1')],'unique':_0xb6ff('0x5')},'minrate':{'type':Sequelize[_0xb6ff('0x2')](_0xb6ff('0x6'),'4800','7200',_0xb6ff('0x7'),_0xb6ff('0x8'),_0xb6ff('0x9')),'defaultValue':_0xb6ff('0xa')},'maxrate':{'type':Sequelize[_0xb6ff('0x2')](_0xb6ff('0x6'),_0xb6ff('0xa'),_0xb6ff('0xb'),_0xb6ff('0x7'),_0xb6ff('0x8'),_0xb6ff('0x9')),'defaultValue':_0xb6ff('0x9')},'modem':{'type':Sequelize[_0xb6ff('0x1')],'defaultValue':_0xb6ff('0xc')},'gateway':{'type':Sequelize[_0xb6ff('0x1')],'defaultValue':'no','validate':{'is':/^(?:yes|no|[0-9]+)$/}},'faxdetect':{'type':Sequelize['STRING'],'defaultValue':'no','validate':{'is':/^(?:yes|no|t38|cng|[0-9]+)$/}},'t38timeout':{'type':Sequelize['INTEGER'],'defaultValue':0x1388,'validate':{'min':0x3e8}},'tech':{'type':Sequelize[_0xb6ff('0x2')](_0xb6ff('0xd'),_0xb6ff('0xe'),_0xb6ff('0xf'),'KHOMP'),'defaultValue':_0xb6ff('0xd')},'key':{'type':Sequelize[_0xb6ff('0x1')],'allowNull':![]},'notificationTemplate':{'type':Sequelize['TEXT'],'defaultValue':function(){return _0xb6ff('0x10');}},'notificationSound':{'type':Sequelize[_0xb6ff('0x11')],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0xb6ff('0x11')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0xb6ff('0x12')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0xb6ff('0x11')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0xb6ff('0x12')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0xb6ff('0x11')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0xb6ff('0x12')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize[_0xb6ff('0x12')],'allowNull':!![],'defaultValue':null,'comment':'Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled'},'mandatoryDisposition':{'type':Sequelize['BOOLEAN'],'defaultValue':![],'comment':_0xb6ff('0x13'),'set':function(_0x2dc1a6){if(!_0x2dc1a6)this[_0xb6ff('0x14')](_0xb6ff('0x15'),null);this[_0xb6ff('0x14')](_0xb6ff('0x16'),_0x2dc1a6);}}};
\ No newline at end of file