Built motion from commit efa66e19.|2.6.22
[motion2.git] / server / services / ami / rpc / faxAccount.js
index d845696..7be7071 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf767=['getFaxAccount','notify','NotifyFaxAccount','Request','GetFaxAccount','name','description','maxrate','modem','t38timeout','tech','ListId','key','Trunk','callerid','active'];(function(_0x248b72,_0xee1b96){var _0x4f6596=function(_0x5a6fbb){while(--_0x5a6fbb){_0x248b72['push'](_0x248b72['shift']());}};_0x4f6596(++_0xee1b96);}(_0xf767,0x183));var _0x7f76=function(_0x39bc44,_0x1d4373){_0x39bc44=_0x39bc44-0x0;var _0x2916d8=_0xf767[_0x39bc44];return _0x2916d8;};'use strict';var client=require('../client');exports['getFaxAccounts']=function(){return function(){return client[_0x7f76('0x0')](_0x7f76('0x1'),{'options':{'raw':![],'attributes':['id',_0x7f76('0x2'),_0x7f76('0x3'),'ecm','headerinfo','localstationid','minrate',_0x7f76('0x4'),_0x7f76('0x5'),'gateway','faxdetect',_0x7f76('0x6'),_0x7f76('0x7'),'TrunkId',_0x7f76('0x8'),_0x7f76('0x9')],'include':[{'model':'Trunk','as':_0x7f76('0xa'),'attributes':['id',_0x7f76('0x2'),_0x7f76('0xb'),_0x7f76('0xc')]}]},'log':_0x7f76('0xd')});};};exports[_0x7f76('0xe')]=function(_0x1b9b2e,_0x2dfb71){return client[_0x7f76('0x0')]('NotifyFaxAccount',{'account':{'id':_0x1b9b2e},'body':_0x2dfb71,'log':_0x7f76('0xf')});};
\ No newline at end of file
+var _0x22b4=['getFaxAccounts','Request','GetFaxAccount','name','description','headerinfo','localstationid','maxrate','modem','gateway','faxdetect','t38timeout','tech','ListId','Trunk','callerid','active','getFaxAccount','NotifyFaxAccount','../client'];(function(_0x499938,_0x43a55f){var _0x57336d=function(_0x783fc5){while(--_0x783fc5){_0x499938['push'](_0x499938['shift']());}};_0x57336d(++_0x43a55f);}(_0x22b4,0x8b));var _0x422b=function(_0x46d0c9,_0x526bfa){_0x46d0c9=_0x46d0c9-0x0;var _0x174506=_0x22b4[_0x46d0c9];return _0x174506;};'use strict';var client=require(_0x422b('0x0'));exports[_0x422b('0x1')]=function(){return function(){return client[_0x422b('0x2')](_0x422b('0x3'),{'options':{'raw':![],'attributes':['id',_0x422b('0x4'),_0x422b('0x5'),'ecm',_0x422b('0x6'),_0x422b('0x7'),'minrate',_0x422b('0x8'),_0x422b('0x9'),_0x422b('0xa'),_0x422b('0xb'),_0x422b('0xc'),_0x422b('0xd'),'TrunkId',_0x422b('0xe'),'key'],'include':[{'model':_0x422b('0xf'),'as':_0x422b('0xf'),'attributes':['id',_0x422b('0x4'),_0x422b('0x10'),_0x422b('0x11')]}]},'log':_0x422b('0x12')});};};exports['notify']=function(_0x3bfc9a,_0x2a99b6){return client[_0x422b('0x2')](_0x422b('0x13'),{'account':{'id':_0x3bfc9a},'body':_0x2a99b6,'log':_0x422b('0x13')});};
\ No newline at end of file