Built motion from commit bab6f49e.|2.6.17
[motion2.git] / server / services / ami / rpc / faxAccount.js
index 0e22c41..21c7bad 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7275=['maxrate','t38timeout','TrunkId','key','Trunk','active','getFaxAccount','NotifyFaxAccount','../client','getFaxAccounts','Request','name','ecm','headerinfo','minrate'];(function(_0x534157,_0x5e0173){var _0x2bb356=function(_0x36abf3){while(--_0x36abf3){_0x534157['push'](_0x534157['shift']());}};_0x2bb356(++_0x5e0173);}(_0x7275,0x143));var _0x5727=function(_0xaab140,_0x59c74a){_0xaab140=_0xaab140-0x0;var _0x574a9c=_0x7275[_0xaab140];return _0x574a9c;};'use strict';var client=require(_0x5727('0x0'));exports[_0x5727('0x1')]=function(){return function(){return client[_0x5727('0x2')]('GetFaxAccount',{'options':{'raw':![],'attributes':['id',_0x5727('0x3'),'description',_0x5727('0x4'),_0x5727('0x5'),'localstationid',_0x5727('0x6'),_0x5727('0x7'),'modem','gateway','faxdetect',_0x5727('0x8'),'tech',_0x5727('0x9'),'ListId',_0x5727('0xa')],'include':[{'model':'Trunk','as':_0x5727('0xb'),'attributes':['id',_0x5727('0x3'),'callerid',_0x5727('0xc')]}]},'log':_0x5727('0xd')});};};exports['notify']=function(_0x274678,_0x1626f4){return client['Request'](_0x5727('0xe'),{'account':{'id':_0x274678},'body':_0x1626f4,'log':_0x5727('0xe')});};
\ 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