Built motion from commit (unavailable).|2.0.80
[motion2.git] / server / api / faxAccount / faxAccount.attributes.js
index 6279dad..cff07de 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf6c7=['STRING','yes','localstationid','ENUM','2400','4800','7200','9600','12000','14400','v17,v27,v29','INTEGER','IAX','DADHI','KHOMP','SIP','BOOLEAN','sequelize'];(function(_0x5a3e69,_0x346f71){var _0x27073b=function(_0x36283e){while(--_0x36283e){_0x5a3e69['push'](_0x5a3e69['shift']());}};_0x27073b(++_0x346f71);}(_0xf6c7,0x143));var _0x7f6c=function(_0xd35308,_0x10734c){_0xd35308=_0xd35308-0x0;var _0xc9de9c=_0xf6c7[_0xd35308];return _0xc9de9c;};'use strict';var Sequelize=require(_0x7f6c('0x0'));module['exports']={'name':{'type':Sequelize[_0x7f6c('0x1')],'allowNull':![],'validate':{'notEmpty':!![]}},'description':{'type':Sequelize['STRING']},'ecm':{'type':Sequelize['ENUM'](_0x7f6c('0x2'),'no'),'defaultValue':_0x7f6c('0x2')},'headerinfo':{'type':Sequelize[_0x7f6c('0x1')],'defaultValue':'xCALLY\x20Motion\x20Fax'},'localstationid':{'type':Sequelize['STRING'],'unique':_0x7f6c('0x3')},'minrate':{'type':Sequelize[_0x7f6c('0x4')](_0x7f6c('0x5'),_0x7f6c('0x6'),_0x7f6c('0x7'),_0x7f6c('0x8'),_0x7f6c('0x9'),_0x7f6c('0xa')),'defaultValue':_0x7f6c('0x6')},'maxrate':{'type':Sequelize[_0x7f6c('0x4')](_0x7f6c('0x5'),_0x7f6c('0x6'),'7200',_0x7f6c('0x8'),_0x7f6c('0x9'),_0x7f6c('0xa')),'defaultValue':_0x7f6c('0xa')},'modem':{'type':Sequelize[_0x7f6c('0x1')],'defaultValue':_0x7f6c('0xb')},'gateway':{'type':Sequelize[_0x7f6c('0x1')],'defaultValue':'no','validate':{'is':/^(?:yes|no|[0-9]+)$/}},'faxdetect':{'type':Sequelize[_0x7f6c('0x1')],'defaultValue':'no','validate':{'is':/^(?:yes|no|t38|cng|[0-9]+)$/}},'t38timeout':{'type':Sequelize[_0x7f6c('0xc')],'defaultValue':0x1388,'validate':{'min':0x3e8}},'tech':{'type':Sequelize[_0x7f6c('0x4')]('SIP',_0x7f6c('0xd'),_0x7f6c('0xe'),_0x7f6c('0xf')),'defaultValue':_0x7f6c('0x10')},'key':{'type':Sequelize['STRING'],'allowNull':![]},'notificationTemplate':{'type':Sequelize['TEXT'],'defaultValue':function(){return'Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}';}},'notificationSound':{'type':Sequelize[_0x7f6c('0x11')],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0x7f6c('0x11')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0x7f6c('0xc')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0x7f6c('0xc')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0x7f6c('0x11')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0x7f6c('0xc')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c}};
\ No newline at end of file
+var _0xe7b9=['INTEGER','SIP','IAX','DADHI','KHOMP','Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}','BOOLEAN','sequelize','exports','STRING','yes','ENUM','7200','9600','12000','4800','2400','14400','v17,v27,v29'];(function(_0x1ce23d,_0x25a351){var _0x4338d9=function(_0xf8d3a9){while(--_0xf8d3a9){_0x1ce23d['push'](_0x1ce23d['shift']());}};_0x4338d9(++_0x25a351);}(_0xe7b9,0x170));var _0x9e7b=function(_0x46b667,_0x100674){_0x46b667=_0x46b667-0x0;var _0x411d36=_0xe7b9[_0x46b667];return _0x411d36;};'use strict';var Sequelize=require(_0x9e7b('0x0'));module[_0x9e7b('0x1')]={'name':{'type':Sequelize[_0x9e7b('0x2')],'allowNull':![],'validate':{'notEmpty':!![]}},'description':{'type':Sequelize['STRING']},'ecm':{'type':Sequelize['ENUM'](_0x9e7b('0x3'),'no'),'defaultValue':_0x9e7b('0x3')},'headerinfo':{'type':Sequelize['STRING'],'defaultValue':'xCALLY\x20Motion\x20Fax'},'localstationid':{'type':Sequelize[_0x9e7b('0x2')],'unique':'localstationid'},'minrate':{'type':Sequelize[_0x9e7b('0x4')]('2400','4800',_0x9e7b('0x5'),_0x9e7b('0x6'),_0x9e7b('0x7'),'14400'),'defaultValue':_0x9e7b('0x8')},'maxrate':{'type':Sequelize[_0x9e7b('0x4')](_0x9e7b('0x9'),_0x9e7b('0x8'),_0x9e7b('0x5'),'9600','12000','14400'),'defaultValue':_0x9e7b('0xa')},'modem':{'type':Sequelize[_0x9e7b('0x2')],'defaultValue':_0x9e7b('0xb')},'gateway':{'type':Sequelize[_0x9e7b('0x2')],'defaultValue':'no','validate':{'is':/^(?:yes|no|[0-9]+)$/}},'faxdetect':{'type':Sequelize[_0x9e7b('0x2')],'defaultValue':'no','validate':{'is':/^(?:yes|no|t38|cng|[0-9]+)$/}},'t38timeout':{'type':Sequelize[_0x9e7b('0xc')],'defaultValue':0x1388,'validate':{'min':0x3e8}},'tech':{'type':Sequelize['ENUM'](_0x9e7b('0xd'),_0x9e7b('0xe'),_0x9e7b('0xf'),_0x9e7b('0x10')),'defaultValue':'SIP'},'key':{'type':Sequelize[_0x9e7b('0x2')],'allowNull':![]},'notificationTemplate':{'type':Sequelize['TEXT'],'defaultValue':function(){return _0x9e7b('0x11');}},'notificationSound':{'type':Sequelize[_0x9e7b('0x12')],'defaultValue':!![]},'notificationShake':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0x9e7b('0x12')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0x9e7b('0xc')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0x9e7b('0x12')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c}};
\ No newline at end of file