X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fservices%2Fami%2Frpc%2FfaxAccount.js;h=d421dd26578f0431971b56799ea362fd3f893b02;hb=ebe00679b2d367c1cf2b2b91609ee1ce4bd8fb94;hp=389a79739f3f764545ae8beb0de3b7516f090428;hpb=fb34d7d7b73e912de94d572e15e1910ea03e3516;p=motion2.git diff --git a/server/services/ami/rpc/faxAccount.js b/server/services/ami/rpc/faxAccount.js index 389a797..d421dd2 100644 --- a/server/services/ami/rpc/faxAccount.js +++ b/server/services/ami/rpc/faxAccount.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9148=['name','description','ecm','headerinfo','localstationid','minrate','maxrate','gateway','t38timeout','TrunkId','ListId','key','Trunk','callerid','active','getFaxAccount','notify','../client','getFaxAccounts','Request','GetFaxAccount'];(function(_0x16f8f1,_0x179343){var _0x5d2f45=function(_0x66c090){while(--_0x66c090){_0x16f8f1['push'](_0x16f8f1['shift']());}};_0x5d2f45(++_0x179343);}(_0x9148,0x10d));var _0x8914=function(_0x177787,_0x4cbabd){_0x177787=_0x177787-0x0;var _0x3bb926=_0x9148[_0x177787];return _0x3bb926;};'use strict';var client=require(_0x8914('0x0'));exports[_0x8914('0x1')]=function(){return function(){return client[_0x8914('0x2')](_0x8914('0x3'),{'options':{'raw':![],'attributes':['id',_0x8914('0x4'),_0x8914('0x5'),_0x8914('0x6'),_0x8914('0x7'),_0x8914('0x8'),_0x8914('0x9'),_0x8914('0xa'),'modem',_0x8914('0xb'),'faxdetect',_0x8914('0xc'),'tech',_0x8914('0xd'),_0x8914('0xe'),_0x8914('0xf')],'include':[{'model':_0x8914('0x10'),'as':'Trunk','attributes':['id',_0x8914('0x4'),_0x8914('0x11'),_0x8914('0x12')]}]},'log':_0x8914('0x13')});};};exports[_0x8914('0x14')]=function(_0x569386,_0xfb149e){return client[_0x8914('0x2')]('NotifyFaxAccount',{'account':{'id':_0x569386},'body':_0xfb149e,'log':'NotifyFaxAccount'});}; \ No newline at end of file +var _0xe785=['tech','TrunkId','ListId','Trunk','active','getFaxAccount','Request','NotifyFaxAccount','../client','getFaxAccounts','GetFaxAccount','name','description','ecm','minrate','maxrate','modem','gateway'];(function(_0x5612e2,_0x5e1d19){var _0xd73c13=function(_0x2ee814){while(--_0x2ee814){_0x5612e2['push'](_0x5612e2['shift']());}};_0xd73c13(++_0x5e1d19);}(_0xe785,0x128));var _0x5e78=function(_0x24add7,_0x2f8e80){_0x24add7=_0x24add7-0x0;var _0x5a28bb=_0xe785[_0x24add7];return _0x5a28bb;};'use strict';var client=require(_0x5e78('0x0'));exports[_0x5e78('0x1')]=function(){return function(){return client['Request'](_0x5e78('0x2'),{'options':{'raw':![],'attributes':['id',_0x5e78('0x3'),_0x5e78('0x4'),_0x5e78('0x5'),'headerinfo','localstationid',_0x5e78('0x6'),_0x5e78('0x7'),_0x5e78('0x8'),_0x5e78('0x9'),'faxdetect','t38timeout',_0x5e78('0xa'),_0x5e78('0xb'),_0x5e78('0xc'),'key'],'include':[{'model':_0x5e78('0xd'),'as':'Trunk','attributes':['id',_0x5e78('0x3'),'callerid',_0x5e78('0xe')]}]},'log':_0x5e78('0xf')});};};exports['notify']=function(_0x171425,_0x21daa1){return client[_0x5e78('0x10')](_0x5e78('0x11'),{'account':{'id':_0x171425},'body':_0x21daa1,'log':_0x5e78('0x11')});}; \ No newline at end of file