Built motion from commit 00bf23f6.|2.6.16
[motion2.git] / server / services / ami / rpc / faxAccount.js
index d845696..42f4bc8 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 _0x390a=['maxrate','modem','gateway','t38timeout','tech','key','Trunk','name','callerid','notify','NotifyFaxAccount','../client','getFaxAccounts','Request','GetFaxAccount','description','ecm','headerinfo','localstationid'];(function(_0x2cfe01,_0x7b24ea){var _0x1faa10=function(_0x2e30e0){while(--_0x2e30e0){_0x2cfe01['push'](_0x2cfe01['shift']());}};_0x1faa10(++_0x7b24ea);}(_0x390a,0xc9));var _0xa390=function(_0x3f86d2,_0x1e0055){_0x3f86d2=_0x3f86d2-0x0;var _0x3decdf=_0x390a[_0x3f86d2];return _0x3decdf;};'use strict';var client=require(_0xa390('0x0'));exports[_0xa390('0x1')]=function(){return function(){return client[_0xa390('0x2')](_0xa390('0x3'),{'options':{'raw':![],'attributes':['id','name',_0xa390('0x4'),_0xa390('0x5'),_0xa390('0x6'),_0xa390('0x7'),'minrate',_0xa390('0x8'),_0xa390('0x9'),_0xa390('0xa'),'faxdetect',_0xa390('0xb'),_0xa390('0xc'),'TrunkId','ListId',_0xa390('0xd')],'include':[{'model':_0xa390('0xe'),'as':_0xa390('0xe'),'attributes':['id',_0xa390('0xf'),_0xa390('0x10'),'active']}]},'log':'getFaxAccount'});};};exports[_0xa390('0x11')]=function(_0x34f0fe,_0x1ecd8b){return client['Request'](_0xa390('0x12'),{'account':{'id':_0x34f0fe},'body':_0x1ecd8b,'log':_0xa390('0x12')});};
\ No newline at end of file