Built motion from commit efa66e19.|2.6.22
[motion2.git] / server / services / ami / rpc / faxAccount.js
index 0413cff..7be7071 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8145=['maxrate','modem','gateway','faxdetect','t38timeout','tech','TrunkId','ListId','key','Trunk','getFaxAccount','notify','NotifyFaxAccount','../client','getFaxAccounts','name','description','ecm','localstationid'];(function(_0x4d7a96,_0x5a651e){var _0x5e50b3=function(_0x13cfb4){while(--_0x13cfb4){_0x4d7a96['push'](_0x4d7a96['shift']());}};_0x5e50b3(++_0x5a651e);}(_0x8145,0xb8));var _0x5814=function(_0x2f8ab1,_0x423b23){_0x2f8ab1=_0x2f8ab1-0x0;var _0x4445c4=_0x8145[_0x2f8ab1];return _0x4445c4;};'use strict';var client=require(_0x5814('0x0'));exports[_0x5814('0x1')]=function(){return function(){return client['Request']('GetFaxAccount',{'options':{'raw':![],'attributes':['id',_0x5814('0x2'),_0x5814('0x3'),_0x5814('0x4'),'headerinfo',_0x5814('0x5'),'minrate',_0x5814('0x6'),_0x5814('0x7'),_0x5814('0x8'),_0x5814('0x9'),_0x5814('0xa'),_0x5814('0xb'),_0x5814('0xc'),_0x5814('0xd'),_0x5814('0xe')],'include':[{'model':_0x5814('0xf'),'as':_0x5814('0xf'),'attributes':['id',_0x5814('0x2'),'callerid','active']}]},'log':_0x5814('0x10')});};};exports[_0x5814('0x11')]=function(_0x481227,_0x127f51){return client['Request'](_0x5814('0x12'),{'account':{'id':_0x481227},'body':_0x127f51,'log':'NotifyFaxAccount'});};
\ 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