Built motion from commit 616d3211.|2.6.4
[motion2.git] / server / api / faxAccount / faxAccount.attributes.js
index 2f98155..ef59693 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x3770=['12000','14400','2400','9600','v17,v27,v29','INTEGER','SIP','IAX','DADHI','KHOMP','TEXT','Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}','BOOLEAN','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','setDataValue','mandatoryDispositionPauseId','sequelize','exports','STRING','yes','xCALLY\x20Motion\x20Fax','localstationid','ENUM','4800','7200'];(function(_0x2f63ea,_0x4d7c2d){var _0x2c458b=function(_0x2df399){while(--_0x2df399){_0x2f63ea['push'](_0x2f63ea['shift']());}};_0x2c458b(++_0x4d7c2d);}(_0x3770,0x13c));var _0x0377=function(_0x497828,_0x1e0bba){_0x497828=_0x497828-0x0;var _0x1bf7a8=_0x3770[_0x497828];return _0x1bf7a8;};'use strict';var Sequelize=require(_0x0377('0x0'));module[_0x0377('0x1')]={'name':{'type':Sequelize[_0x0377('0x2')],'allowNull':![],'validate':{'notEmpty':!![]}},'description':{'type':Sequelize['STRING']},'ecm':{'type':Sequelize['ENUM'](_0x0377('0x3'),'no'),'defaultValue':_0x0377('0x3')},'headerinfo':{'type':Sequelize[_0x0377('0x2')],'defaultValue':_0x0377('0x4')},'localstationid':{'type':Sequelize['STRING'],'unique':_0x0377('0x5')},'minrate':{'type':Sequelize[_0x0377('0x6')]('2400',_0x0377('0x7'),_0x0377('0x8'),'9600',_0x0377('0x9'),_0x0377('0xa')),'defaultValue':'4800'},'maxrate':{'type':Sequelize[_0x0377('0x6')](_0x0377('0xb'),'4800','7200',_0x0377('0xc'),'12000',_0x0377('0xa')),'defaultValue':_0x0377('0xa')},'modem':{'type':Sequelize[_0x0377('0x2')],'defaultValue':_0x0377('0xd')},'gateway':{'type':Sequelize[_0x0377('0x2')],'defaultValue':'no','validate':{'is':/^(?:yes|no|[0-9]+)$/}},'faxdetect':{'type':Sequelize[_0x0377('0x2')],'defaultValue':'no','validate':{'is':/^(?:yes|no|t38|cng|[0-9]+)$/}},'t38timeout':{'type':Sequelize[_0x0377('0xe')],'defaultValue':0x1388,'validate':{'min':0x3e8}},'tech':{'type':Sequelize[_0x0377('0x6')](_0x0377('0xf'),_0x0377('0x10'),_0x0377('0x11'),_0x0377('0x12')),'defaultValue':_0x0377('0xf')},'key':{'type':Sequelize['STRING'],'allowNull':![]},'notificationTemplate':{'type':Sequelize[_0x0377('0x13')],'defaultValue':function(){return _0x0377('0x14');}},'notificationSound':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'notificationShake':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0x0377('0xe')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0x0377('0x15')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0x0377('0xe')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize['INTEGER'],'allowNull':!![],'defaultValue':null,'comment':'Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled'},'mandatoryDisposition':{'type':Sequelize[_0x0377('0x15')],'defaultValue':![],'comment':_0x0377('0x16'),'set':function(_0x40c08a){if(!_0x40c08a)this[_0x0377('0x17')](_0x0377('0x18'),null);this[_0x0377('0x17')]('mandatoryDisposition',_0x40c08a);}}};
\ No newline at end of file
+var _0xb6d7=['exports','ENUM','yes','STRING','xCALLY\x20Motion\x20Fax','localstationid','9600','14400','2400','12000','v17,v27,v29','INTEGER','SIP','IAX','DADHI','TEXT','Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}','BOOLEAN','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','setDataValue','mandatoryDisposition','sequelize'];(function(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0xb6d7,0x175));var _0x7b6d=function(_0x5eb231,_0x44982b){_0x5eb231=_0x5eb231-0x0;var _0x50aa41=_0xb6d7[_0x5eb231];return _0x50aa41;};'use strict';var Sequelize=require(_0x7b6d('0x0'));module[_0x7b6d('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'validate':{'notEmpty':!![]}},'description':{'type':Sequelize['STRING']},'ecm':{'type':Sequelize[_0x7b6d('0x2')](_0x7b6d('0x3'),'no'),'defaultValue':_0x7b6d('0x3')},'headerinfo':{'type':Sequelize[_0x7b6d('0x4')],'defaultValue':_0x7b6d('0x5')},'localstationid':{'type':Sequelize[_0x7b6d('0x4')],'unique':_0x7b6d('0x6')},'minrate':{'type':Sequelize['ENUM']('2400','4800','7200',_0x7b6d('0x7'),'12000',_0x7b6d('0x8')),'defaultValue':'4800'},'maxrate':{'type':Sequelize[_0x7b6d('0x2')](_0x7b6d('0x9'),'4800','7200','9600',_0x7b6d('0xa'),_0x7b6d('0x8')),'defaultValue':_0x7b6d('0x8')},'modem':{'type':Sequelize[_0x7b6d('0x4')],'defaultValue':_0x7b6d('0xb')},'gateway':{'type':Sequelize[_0x7b6d('0x4')],'defaultValue':'no','validate':{'is':/^(?:yes|no|[0-9]+)$/}},'faxdetect':{'type':Sequelize[_0x7b6d('0x4')],'defaultValue':'no','validate':{'is':/^(?:yes|no|t38|cng|[0-9]+)$/}},'t38timeout':{'type':Sequelize[_0x7b6d('0xc')],'defaultValue':0x1388,'validate':{'min':0x3e8}},'tech':{'type':Sequelize[_0x7b6d('0x2')](_0x7b6d('0xd'),_0x7b6d('0xe'),_0x7b6d('0xf'),'KHOMP'),'defaultValue':_0x7b6d('0xd')},'key':{'type':Sequelize['STRING'],'allowNull':![]},'notificationTemplate':{'type':Sequelize[_0x7b6d('0x10')],'defaultValue':function(){return _0x7b6d('0x11');}},'notificationSound':{'type':Sequelize[_0x7b6d('0x12')],'defaultValue':!![]},'notificationShake':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0x7b6d('0xc')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0x7b6d('0x12')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize[_0x7b6d('0xc')],'allowNull':!![],'defaultValue':null,'comment':'Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled'},'mandatoryDisposition':{'type':Sequelize[_0x7b6d('0x12')],'defaultValue':![],'comment':_0x7b6d('0x13'),'set':function(_0x3b3697){if(!_0x3b3697)this[_0x7b6d('0x14')]('mandatoryDispositionPauseId',null);this[_0x7b6d('0x14')](_0x7b6d('0x15'),_0x3b3697);}}};
\ No newline at end of file