Built motion from commit efa66e19.|2.6.22
[motion2.git] / server / services / ami / rpc / faxAccount.js
index 21c7bad..7be7071 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-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
+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