X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fservices%2Fami%2Frpc%2FfaxAccount.js;h=39607817793fe983909f9c970d0667d4abbb0474;hb=d5b3d400e91cc98c429bfb9d7741cfdb9b495f82;hp=f1b812bbf6e97cd0b7059cfc7e62496eded5cc1b;hpb=5bcfff2cfe490b4ab0d0668e644729ef139af2a3;p=motion2.git diff --git a/server/services/ami/rpc/faxAccount.js b/server/services/ami/rpc/faxAccount.js index f1b812b..3960781 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 _0xd87b=['callerid','getFaxAccount','notify','NotifyFaxAccount','getFaxAccounts','Request','GetFaxAccount','name','description','ecm','headerinfo','localstationid','maxrate','modem','gateway','faxdetect','t38timeout','tech','TrunkId','Trunk'];(function(_0x58851c,_0x2b3293){var _0x45ae04=function(_0x29a3d1){while(--_0x29a3d1){_0x58851c['push'](_0x58851c['shift']());}};_0x45ae04(++_0x2b3293);}(_0xd87b,0xa4));var _0xbd87=function(_0x4b9d9f,_0x165fe){_0x4b9d9f=_0x4b9d9f-0x0;var _0xc050e=_0xd87b[_0x4b9d9f];return _0xc050e;};'use strict';var client=require('../client');exports[_0xbd87('0x0')]=function(){return function(){return client[_0xbd87('0x1')](_0xbd87('0x2'),{'options':{'raw':![],'attributes':['id',_0xbd87('0x3'),_0xbd87('0x4'),_0xbd87('0x5'),_0xbd87('0x6'),_0xbd87('0x7'),'minrate',_0xbd87('0x8'),_0xbd87('0x9'),_0xbd87('0xa'),_0xbd87('0xb'),_0xbd87('0xc'),_0xbd87('0xd'),_0xbd87('0xe'),'ListId','key'],'include':[{'model':_0xbd87('0xf'),'as':_0xbd87('0xf'),'attributes':['id','name',_0xbd87('0x10'),'active']}]},'log':_0xbd87('0x11')});};};exports[_0xbd87('0x12')]=function(_0x269812,_0x589d4e){return client['Request']('NotifyFaxAccount',{'account':{'id':_0x269812},'body':_0x589d4e,'log':_0xbd87('0x13')});}; \ No newline at end of file +var _0xba00=['ListId','key','Trunk','active','getFaxAccount','notify','NotifyFaxAccount','../client','Request','name','description','ecm','headerinfo','localstationid','minrate','maxrate','gateway','t38timeout','tech','TrunkId'];(function(_0x3b380d,_0x4bf247){var _0x54502b=function(_0x35d207){while(--_0x35d207){_0x3b380d['push'](_0x3b380d['shift']());}};_0x54502b(++_0x4bf247);}(_0xba00,0x6b));var _0x0ba0=function(_0x4601d0,_0x10a112){_0x4601d0=_0x4601d0-0x0;var _0x5dedef=_0xba00[_0x4601d0];return _0x5dedef;};'use strict';var client=require(_0x0ba0('0x0'));exports['getFaxAccounts']=function(){return function(){return client[_0x0ba0('0x1')]('GetFaxAccount',{'options':{'raw':![],'attributes':['id',_0x0ba0('0x2'),_0x0ba0('0x3'),_0x0ba0('0x4'),_0x0ba0('0x5'),_0x0ba0('0x6'),_0x0ba0('0x7'),_0x0ba0('0x8'),'modem',_0x0ba0('0x9'),'faxdetect',_0x0ba0('0xa'),_0x0ba0('0xb'),_0x0ba0('0xc'),_0x0ba0('0xd'),_0x0ba0('0xe')],'include':[{'model':_0x0ba0('0xf'),'as':'Trunk','attributes':['id',_0x0ba0('0x2'),'callerid',_0x0ba0('0x10')]}]},'log':_0x0ba0('0x11')});};};exports[_0x0ba0('0x12')]=function(_0x3cc37e,_0x50ec4c){return client[_0x0ba0('0x1')]('NotifyFaxAccount',{'account':{'id':_0x3cc37e},'body':_0x50ec4c,'log':_0x0ba0('0x13')});}; \ No newline at end of file