Built motion from commit df3e9871f6bcc3432fec345b2f4facbd4dba8b5c. Version 3.0.0...
[motion-next.git] / server / api / faxAccount / faxAccount.attributes.js
index 00de015..ad42a4a 100644 (file)
@@ -1 +1 @@
-const a185_0x32bf=['mandatoryDispositionPauseId','Account:\x20{{account.name}}<br/>{{#queue}}Queue:\x20{{queue.name}}<br/>{{/queue}}From\x20:\x20{{from}}','4800','KHOMP','yes','2400','BOOLEAN','ENUM','TEXT','SIP','14400','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','9600','exports','Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled','7200','12000','INTEGER','sequelize','STRING','setDataValue'];(function(_0x4606ec,_0x32bfdc){const _0x5c1c56=function(_0x252f19){while(--_0x252f19){_0x4606ec['push'](_0x4606ec['shift']());}};_0x5c1c56(++_0x32bfdc);}(a185_0x32bf,0x15b));const a185_0x5c1c=function(_0x4606ec,_0x32bfdc){_0x4606ec=_0x4606ec-0x0;let _0x5c1c56=a185_0x32bf[_0x4606ec];return _0x5c1c56;};const _0x144435=a185_0x5c1c;'use strict';const Sequelize=require(_0x144435('0x7'));module[_0x144435('0x2')]={'name':{'type':Sequelize[_0x144435('0x8')],'allowNull':![],'validate':{'notEmpty':!![]}},'description':{'type':Sequelize['STRING']},'ecm':{'type':Sequelize[_0x144435('0x11')](_0x144435('0xe'),'no'),'defaultValue':_0x144435('0xe')},'headerinfo':{'type':Sequelize[_0x144435('0x8')],'defaultValue':'xCALLY\x20Motion\x20Fax'},'localstationid':{'type':Sequelize[_0x144435('0x8')],'unique':'localstationid'},'minrate':{'type':Sequelize['ENUM'](_0x144435('0xf'),_0x144435('0xc'),'7200','9600','12000','14400'),'defaultValue':_0x144435('0xc')},'maxrate':{'type':Sequelize[_0x144435('0x11')](_0x144435('0xf'),_0x144435('0xc'),_0x144435('0x4'),_0x144435('0x1'),_0x144435('0x5'),_0x144435('0x14')),'defaultValue':_0x144435('0x14')},'modem':{'type':Sequelize[_0x144435('0x8')],'defaultValue':'v17,v27,v29'},'gateway':{'type':Sequelize[_0x144435('0x8')],'defaultValue':'no','validate':{'is':/^(?:yes|no|[0-9]+)$/}},'faxdetect':{'type':Sequelize[_0x144435('0x8')],'defaultValue':'no','validate':{'is':/^(?:yes|no|t38|cng|[0-9]+)$/}},'t38timeout':{'type':Sequelize[_0x144435('0x6')],'defaultValue':0x1388,'validate':{'min':0x3e8}},'tech':{'type':Sequelize['ENUM'](_0x144435('0x13'),'IAX','DADHI',_0x144435('0xd')),'defaultValue':_0x144435('0x13')},'key':{'type':Sequelize['STRING'],'allowNull':![]},'notificationTemplate':{'type':Sequelize[_0x144435('0x12')],'defaultValue':function(){const _0x4bf519=_0x144435;return _0x4bf519('0xb');}},'notificationSound':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'notificationShake':{'type':Sequelize[_0x144435('0x10')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0x144435('0x6')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0x144435('0x10')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0x144435('0x6')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0x144435('0x10')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0x144435('0x6')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize['INTEGER'],'allowNull':!![],'defaultValue':null,'comment':_0x144435('0x3')},'mandatoryDisposition':{'type':Sequelize[_0x144435('0x10')],'defaultValue':![],'comment':_0x144435('0x0'),'set':function(_0x252f19){const _0x5a64e7=_0x144435;if(!_0x252f19)this['setDataValue'](_0x5a64e7('0xa'),null);this[_0x5a64e7('0x9')]('mandatoryDisposition',_0x252f19);}}};
\ No newline at end of file
+const a185_0x1d7c=['sequelize','xCALLY\x20Motion\x20Fax','14400','KHOMP','7200','INTEGER','yes','BOOLEAN','Enabled/disables\x20mandatory\x20dispo\x20on\x20a\x20queue','DADHI','ENUM','localstationid','TEXT','4800','9600','exports','STRING','setDataValue','mandatoryDispositionPauseId','mandatoryDisposition','SIP','12000','2400','v17,v27,v29'];(function(_0x461233,_0x1d7ca2){const _0x314085=function(_0x72fc0){while(--_0x72fc0){_0x461233['push'](_0x461233['shift']());}};_0x314085(++_0x1d7ca2);}(a185_0x1d7c,0xef));const a185_0x3140=function(_0x461233,_0x1d7ca2){_0x461233=_0x461233-0x0;let _0x314085=a185_0x1d7c[_0x461233];return _0x314085;};const _0x2467f6=a185_0x3140;'use strict';const Sequelize=require(_0x2467f6('0x1'));module[_0x2467f6('0x10')]={'name':{'type':Sequelize['STRING'],'allowNull':![],'validate':{'notEmpty':!![]}},'description':{'type':Sequelize[_0x2467f6('0x11')]},'ecm':{'type':Sequelize[_0x2467f6('0xb')](_0x2467f6('0x7'),'no'),'defaultValue':'yes'},'headerinfo':{'type':Sequelize['STRING'],'defaultValue':_0x2467f6('0x2')},'localstationid':{'type':Sequelize['STRING'],'unique':_0x2467f6('0xc')},'minrate':{'type':Sequelize['ENUM'](_0x2467f6('0x17'),_0x2467f6('0xe'),_0x2467f6('0x5'),_0x2467f6('0xf'),_0x2467f6('0x16'),_0x2467f6('0x3')),'defaultValue':_0x2467f6('0xe')},'maxrate':{'type':Sequelize[_0x2467f6('0xb')](_0x2467f6('0x17'),'4800',_0x2467f6('0x5'),_0x2467f6('0xf'),_0x2467f6('0x16'),_0x2467f6('0x3')),'defaultValue':_0x2467f6('0x3')},'modem':{'type':Sequelize[_0x2467f6('0x11')],'defaultValue':_0x2467f6('0x0')},'gateway':{'type':Sequelize[_0x2467f6('0x11')],'defaultValue':'no','validate':{'is':/^(?:yes|no|[0-9]+)$/}},'faxdetect':{'type':Sequelize[_0x2467f6('0x11')],'defaultValue':'no','validate':{'is':/^(?:yes|no|t38|cng|[0-9]+)$/}},'t38timeout':{'type':Sequelize[_0x2467f6('0x6')],'defaultValue':0x1388,'validate':{'min':0x3e8}},'tech':{'type':Sequelize[_0x2467f6('0xb')](_0x2467f6('0x15'),'IAX',_0x2467f6('0xa'),_0x2467f6('0x4')),'defaultValue':_0x2467f6('0x15')},'key':{'type':Sequelize[_0x2467f6('0x11')],'allowNull':![]},'notificationTemplate':{'type':Sequelize[_0x2467f6('0xd')],'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[_0x2467f6('0x8')],'defaultValue':![]},'waitForTheAssignedAgent':{'type':Sequelize[_0x2467f6('0x6')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0xa},'queueTransfer':{'type':Sequelize[_0x2467f6('0x8')],'defaultValue':![]},'queueTransferTimeout':{'type':Sequelize[_0x2467f6('0x6')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'agentTransfer':{'type':Sequelize[_0x2467f6('0x8')],'defaultValue':![]},'agentTransferTimeout':{'type':Sequelize[_0x2467f6('0x6')],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c},'mandatoryDispositionPauseId':{'type':Sequelize[_0x2467f6('0x6')],'allowNull':!![],'defaultValue':null,'comment':'Status\x20to\x20put\x20when\x20mandatory\x20disposition\x20is\x20enabled'},'mandatoryDisposition':{'type':Sequelize[_0x2467f6('0x8')],'defaultValue':![],'comment':_0x2467f6('0x9'),'set':function(_0x72fc0){const _0x168cd9=_0x2467f6;if(!_0x72fc0)this[_0x168cd9('0x12')](_0x168cd9('0x13'),null);this[_0x168cd9('0x12')](_0x168cd9('0x14'),_0x72fc0);}}};
\ No newline at end of file