Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / services / ami / rpc / faxAccount.js
index cecaf67..c8df4be 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4f7a=['key','Trunk','callerid','active','getFaxAccount','notify','Request','GetFaxAccount','name','ecm','localstationid','minrate','maxrate','gateway','faxdetect','TrunkId','ListId'];(function(_0x1f36bb,_0x8af718){var _0xaf97fa=function(_0xeca489){while(--_0xeca489){_0x1f36bb['push'](_0x1f36bb['shift']());}};_0xaf97fa(++_0x8af718);}(_0x4f7a,0x105));var _0xa4f7=function(_0x2a7014,_0x3757d6){_0x2a7014=_0x2a7014-0x0;var _0x1bb50c=_0x4f7a[_0x2a7014];return _0x1bb50c;};'use strict';var client=require('../client');exports['getFaxAccounts']=function(){return function(){return client[_0xa4f7('0x0')](_0xa4f7('0x1'),{'options':{'raw':![],'attributes':['id',_0xa4f7('0x2'),'description',_0xa4f7('0x3'),'headerinfo',_0xa4f7('0x4'),_0xa4f7('0x5'),_0xa4f7('0x6'),'modem',_0xa4f7('0x7'),_0xa4f7('0x8'),'t38timeout','tech',_0xa4f7('0x9'),_0xa4f7('0xa'),_0xa4f7('0xb')],'include':[{'model':_0xa4f7('0xc'),'as':_0xa4f7('0xc'),'attributes':['id','name',_0xa4f7('0xd'),_0xa4f7('0xe')]}]},'log':_0xa4f7('0xf')});};};exports[_0xa4f7('0x10')]=function(_0x1f23b9,_0x43ff9e){return client[_0xa4f7('0x0')]('NotifyFaxAccount',{'account':{'id':_0x1f23b9},'body':_0x43ff9e,'log':'NotifyFaxAccount'});};
\ No newline at end of file
+var _0x419f=['name','description','headerinfo','minrate','maxrate','modem','gateway','faxdetect','t38timeout','tech','TrunkId','ListId','Trunk','callerid','active','getFaxAccount','NotifyFaxAccount','../client','getFaxAccounts','Request','GetFaxAccount'];(function(_0x48c615,_0x4cc757){var _0x3d9e22=function(_0x1ee9f2){while(--_0x1ee9f2){_0x48c615['push'](_0x48c615['shift']());}};_0x3d9e22(++_0x4cc757);}(_0x419f,0x176));var _0xf419=function(_0x4b369d,_0x265eb8){_0x4b369d=_0x4b369d-0x0;var _0x571a98=_0x419f[_0x4b369d];return _0x571a98;};'use strict';var client=require(_0xf419('0x0'));exports[_0xf419('0x1')]=function(){return function(){return client[_0xf419('0x2')](_0xf419('0x3'),{'options':{'raw':![],'attributes':['id',_0xf419('0x4'),_0xf419('0x5'),'ecm',_0xf419('0x6'),'localstationid',_0xf419('0x7'),_0xf419('0x8'),_0xf419('0x9'),_0xf419('0xa'),_0xf419('0xb'),_0xf419('0xc'),_0xf419('0xd'),_0xf419('0xe'),_0xf419('0xf'),'key'],'include':[{'model':_0xf419('0x10'),'as':_0xf419('0x10'),'attributes':['id','name',_0xf419('0x11'),_0xf419('0x12')]}]},'log':_0xf419('0x13')});};};exports['notify']=function(_0xf8810d,_0xb17b5e){return client[_0xf419('0x2')](_0xf419('0x14'),{'account':{'id':_0xf8810d},'body':_0xb17b5e,'log':_0xf419('0x14')});};
\ No newline at end of file