Built motion from commit bab6f49e.|2.6.17
[motion2.git] / server / services / ami / rpc / faxAccount.js
index d845696..21c7bad 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 _0xf65d=['ListId','key','Trunk','active','notify','NotifyFaxAccount','../client','Request','GetFaxAccount','name','description','ecm','headerinfo','modem','faxdetect','t38timeout','TrunkId'];(function(_0x618414,_0x1a7a60){var _0x21c19a=function(_0x507b17){while(--_0x507b17){_0x618414['push'](_0x618414['shift']());}};_0x21c19a(++_0x1a7a60);}(_0xf65d,0x9f));var _0xdf65=function(_0x47e70a,_0x1c3714){_0x47e70a=_0x47e70a-0x0;var _0x3a9900=_0xf65d[_0x47e70a];return _0x3a9900;};'use strict';var client=require(_0xdf65('0x0'));exports['getFaxAccounts']=function(){return function(){return client[_0xdf65('0x1')](_0xdf65('0x2'),{'options':{'raw':![],'attributes':['id',_0xdf65('0x3'),_0xdf65('0x4'),_0xdf65('0x5'),_0xdf65('0x6'),'localstationid','minrate','maxrate',_0xdf65('0x7'),'gateway',_0xdf65('0x8'),_0xdf65('0x9'),'tech',_0xdf65('0xa'),_0xdf65('0xb'),_0xdf65('0xc')],'include':[{'model':_0xdf65('0xd'),'as':_0xdf65('0xd'),'attributes':['id',_0xdf65('0x3'),'callerid',_0xdf65('0xe')]}]},'log':'getFaxAccount'});};};exports[_0xdf65('0xf')]=function(_0xd1813e,_0x23f3ba){return client['Request']('NotifyFaxAccount',{'account':{'id':_0xd1813e},'body':_0x23f3ba,'log':_0xdf65('0x10')});};
\ No newline at end of file