Built motion from commit 53172ac8.|2.6.30
[motion2.git] / server / services / ami / rpc / faxAccount.js
index d9dd88e..fdee0f1 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xdacc=['Trunk','callerid','active','getFaxAccount','NotifyFaxAccount','getFaxAccounts','Request','GetFaxAccount','name','description','ecm','headerinfo','minrate','maxrate','modem','gateway','faxdetect','t38timeout','tech','TrunkId','ListId','key'];(function(_0x361857,_0x1cdb1e){var _0x239b82=function(_0x3ff7fd){while(--_0x3ff7fd){_0x361857['push'](_0x361857['shift']());}};_0x239b82(++_0x1cdb1e);}(_0xdacc,0x14f));var _0xcdac=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0xdacc[_0x2dafbe];return _0x58a45a;};'use strict';var client=require('../client');exports[_0xcdac('0x0')]=function(){return function(){return client[_0xcdac('0x1')](_0xcdac('0x2'),{'options':{'raw':![],'attributes':['id',_0xcdac('0x3'),_0xcdac('0x4'),_0xcdac('0x5'),_0xcdac('0x6'),'localstationid',_0xcdac('0x7'),_0xcdac('0x8'),_0xcdac('0x9'),_0xcdac('0xa'),_0xcdac('0xb'),_0xcdac('0xc'),_0xcdac('0xd'),_0xcdac('0xe'),_0xcdac('0xf'),_0xcdac('0x10')],'include':[{'model':_0xcdac('0x11'),'as':_0xcdac('0x11'),'attributes':['id',_0xcdac('0x3'),_0xcdac('0x12'),_0xcdac('0x13')]}]},'log':_0xcdac('0x14')});};};exports['notify']=function(_0x3c105b,_0x611799){return client['Request'](_0xcdac('0x15'),{'account':{'id':_0x3c105b},'body':_0x611799,'log':_0xcdac('0x15')});};
\ No newline at end of file
+var _0x8357=['faxdetect','t38timeout','ListId','Trunk','callerid','getFaxAccount','notify','NotifyFaxAccount','../client','getFaxAccounts','Request','name','description','ecm','headerinfo','localstationid','modem'];(function(_0xe52e99,_0x3dc174){var _0x2c240e=function(_0x425cf1){while(--_0x425cf1){_0xe52e99['push'](_0xe52e99['shift']());}};_0x2c240e(++_0x3dc174);}(_0x8357,0x1e4));var _0x7835=function(_0x10fe86,_0x284bff){_0x10fe86=_0x10fe86-0x0;var _0x337568=_0x8357[_0x10fe86];return _0x337568;};'use strict';var client=require(_0x7835('0x0'));exports[_0x7835('0x1')]=function(){return function(){return client[_0x7835('0x2')]('GetFaxAccount',{'options':{'raw':![],'attributes':['id',_0x7835('0x3'),_0x7835('0x4'),_0x7835('0x5'),_0x7835('0x6'),_0x7835('0x7'),'minrate','maxrate',_0x7835('0x8'),'gateway',_0x7835('0x9'),_0x7835('0xa'),'tech','TrunkId',_0x7835('0xb'),'key'],'include':[{'model':_0x7835('0xc'),'as':_0x7835('0xc'),'attributes':['id',_0x7835('0x3'),_0x7835('0xd'),'active']}]},'log':_0x7835('0xe')});};};exports[_0x7835('0xf')]=function(_0x193c57,_0x204c3f){return client[_0x7835('0x2')](_0x7835('0x10'),{'account':{'id':_0x193c57},'body':_0x204c3f,'log':_0x7835('0x10')});};
\ No newline at end of file