Built motion from commit 14588770.|2.5.38
[motion2.git] / server / services / ami / rpc / faxAccount.js
index 7984edb..0e22c41 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xce6e=['maxrate','modem','gateway','faxdetect','t38timeout','tech','TrunkId','ListId','key','Trunk','getFaxAccount','NotifyFaxAccount','../client','Request','name','description','ecm','localstationid','minrate'];(function(_0x4cf128,_0x51ff1a){var _0x222fce=function(_0x1d57c2){while(--_0x1d57c2){_0x4cf128['push'](_0x4cf128['shift']());}};_0x222fce(++_0x51ff1a);}(_0xce6e,0x7e));var _0xece6=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xce6e[_0x3dd15e];return _0x231fd0;};'use strict';var client=require(_0xece6('0x0'));exports['getFaxAccounts']=function(){return function(){return client[_0xece6('0x1')]('GetFaxAccount',{'options':{'raw':![],'attributes':['id',_0xece6('0x2'),_0xece6('0x3'),_0xece6('0x4'),'headerinfo',_0xece6('0x5'),_0xece6('0x6'),_0xece6('0x7'),_0xece6('0x8'),_0xece6('0x9'),_0xece6('0xa'),_0xece6('0xb'),_0xece6('0xc'),_0xece6('0xd'),_0xece6('0xe'),_0xece6('0xf')],'include':[{'model':'Trunk','as':_0xece6('0x10'),'attributes':['id',_0xece6('0x2'),'callerid','active']}]},'log':_0xece6('0x11')});};};exports['notify']=function(_0xffa2c1,_0x73192e){return client[_0xece6('0x1')](_0xece6('0x12'),{'account':{'id':_0xffa2c1},'body':_0x73192e,'log':_0xece6('0x12')});};
\ No newline at end of file
+var _0x7275=['maxrate','t38timeout','TrunkId','key','Trunk','active','getFaxAccount','NotifyFaxAccount','../client','getFaxAccounts','Request','name','ecm','headerinfo','minrate'];(function(_0x534157,_0x5e0173){var _0x2bb356=function(_0x36abf3){while(--_0x36abf3){_0x534157['push'](_0x534157['shift']());}};_0x2bb356(++_0x5e0173);}(_0x7275,0x143));var _0x5727=function(_0xaab140,_0x59c74a){_0xaab140=_0xaab140-0x0;var _0x574a9c=_0x7275[_0xaab140];return _0x574a9c;};'use strict';var client=require(_0x5727('0x0'));exports[_0x5727('0x1')]=function(){return function(){return client[_0x5727('0x2')]('GetFaxAccount',{'options':{'raw':![],'attributes':['id',_0x5727('0x3'),'description',_0x5727('0x4'),_0x5727('0x5'),'localstationid',_0x5727('0x6'),_0x5727('0x7'),'modem','gateway','faxdetect',_0x5727('0x8'),'tech',_0x5727('0x9'),'ListId',_0x5727('0xa')],'include':[{'model':'Trunk','as':_0x5727('0xb'),'attributes':['id',_0x5727('0x3'),'callerid',_0x5727('0xc')]}]},'log':_0x5727('0xd')});};};exports['notify']=function(_0x274678,_0x1626f4){return client['Request'](_0x5727('0xe'),{'account':{'id':_0x274678},'body':_0x1626f4,'log':_0x5727('0xe')});};
\ No newline at end of file