Built motion from commit da617fac.|2.6.6
[motion2.git] / server / services / ami / rpc / faxAccount.js
index 283c151..7c52d6b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf08f=['active','getFaxAccount','NotifyFaxAccount','Request','GetFaxAccount','name','description','ecm','localstationid','minrate','gateway','faxdetect','t38timeout','TrunkId','Trunk','callerid'];(function(_0x2faddb,_0xc18b78){var _0x273c05=function(_0x1a3785){while(--_0x1a3785){_0x2faddb['push'](_0x2faddb['shift']());}};_0x273c05(++_0xc18b78);}(_0xf08f,0x1c3));var _0xff08=function(_0x10b48a,_0x1a0a3f){_0x10b48a=_0x10b48a-0x0;var _0x2c4533=_0xf08f[_0x10b48a];return _0x2c4533;};'use strict';var client=require('../client');exports['getFaxAccounts']=function(){return function(){return client[_0xff08('0x0')](_0xff08('0x1'),{'options':{'raw':![],'attributes':['id',_0xff08('0x2'),_0xff08('0x3'),_0xff08('0x4'),'headerinfo',_0xff08('0x5'),_0xff08('0x6'),'maxrate','modem',_0xff08('0x7'),_0xff08('0x8'),_0xff08('0x9'),'tech',_0xff08('0xa'),'ListId','key'],'include':[{'model':_0xff08('0xb'),'as':_0xff08('0xb'),'attributes':['id','name',_0xff08('0xc'),_0xff08('0xd')]}]},'log':_0xff08('0xe')});};};exports['notify']=function(_0x38f13e,_0x4bffdd){return client[_0xff08('0x0')](_0xff08('0xf'),{'account':{'id':_0x38f13e},'body':_0x4bffdd,'log':_0xff08('0xf')});};
\ No newline at end of file
+var _0xa413=['Request','name','description','localstationid','minrate','maxrate','modem','gateway','faxdetect','t38timeout','tech','TrunkId','ListId','key','Trunk','getFaxAccount','NotifyFaxAccount','../client'];(function(_0x35d59c,_0x341ef9){var _0x18cd27=function(_0x16a9c4){while(--_0x16a9c4){_0x35d59c['push'](_0x35d59c['shift']());}};_0x18cd27(++_0x341ef9);}(_0xa413,0x1e5));var _0x3a41=function(_0x472ef7,_0x3da811){_0x472ef7=_0x472ef7-0x0;var _0x7eaebf=_0xa413[_0x472ef7];return _0x7eaebf;};'use strict';var client=require(_0x3a41('0x0'));exports['getFaxAccounts']=function(){return function(){return client[_0x3a41('0x1')]('GetFaxAccount',{'options':{'raw':![],'attributes':['id',_0x3a41('0x2'),_0x3a41('0x3'),'ecm','headerinfo',_0x3a41('0x4'),_0x3a41('0x5'),_0x3a41('0x6'),_0x3a41('0x7'),_0x3a41('0x8'),_0x3a41('0x9'),_0x3a41('0xa'),_0x3a41('0xb'),_0x3a41('0xc'),_0x3a41('0xd'),_0x3a41('0xe')],'include':[{'model':'Trunk','as':_0x3a41('0xf'),'attributes':['id','name','callerid','active']}]},'log':_0x3a41('0x10')});};};exports['notify']=function(_0x1554ab,_0x503009){return client[_0x3a41('0x1')](_0x3a41('0x11'),{'account':{'id':_0x1554ab},'body':_0x503009,'log':'NotifyFaxAccount'});};
\ No newline at end of file