Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / services / ami / rpc / faxAccount.js
index d845696..c8df4be 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 _0x419f=['name','description','headerinfo','minrate','maxrate','modem','gateway','faxdetect','t38timeout','tech','TrunkId','ListId','Trunk','callerid','active','getFaxAccount','NotifyFaxAccount','../client','getFaxAccounts','Request','GetFaxAccount'];(function(_0x48c615,_0x4cc757){var _0x3d9e22=function(_0x1ee9f2){while(--_0x1ee9f2){_0x48c615['push'](_0x48c615['shift']());}};_0x3d9e22(++_0x4cc757);}(_0x419f,0x176));var _0xf419=function(_0x4b369d,_0x265eb8){_0x4b369d=_0x4b369d-0x0;var _0x571a98=_0x419f[_0x4b369d];return _0x571a98;};'use strict';var client=require(_0xf419('0x0'));exports[_0xf419('0x1')]=function(){return function(){return client[_0xf419('0x2')](_0xf419('0x3'),{'options':{'raw':![],'attributes':['id',_0xf419('0x4'),_0xf419('0x5'),'ecm',_0xf419('0x6'),'localstationid',_0xf419('0x7'),_0xf419('0x8'),_0xf419('0x9'),_0xf419('0xa'),_0xf419('0xb'),_0xf419('0xc'),_0xf419('0xd'),_0xf419('0xe'),_0xf419('0xf'),'key'],'include':[{'model':_0xf419('0x10'),'as':_0xf419('0x10'),'attributes':['id','name',_0xf419('0x11'),_0xf419('0x12')]}]},'log':_0xf419('0x13')});};};exports['notify']=function(_0xf8810d,_0xb17b5e){return client[_0xf419('0x2')](_0xf419('0x14'),{'account':{'id':_0xf8810d},'body':_0xb17b5e,'log':_0xf419('0x14')});};
\ No newline at end of file