X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fservices%2Fami%2Frpc%2FfaxAccount.js;h=3705c48c0dc0f0091039b2eb542c9f2799e0c7b2;hb=bc8ba5d49091d4cd92a2c18e276791604cb31450;hp=4511fcea59c102fe9ec9968e919ec0d20d5077e1;hpb=d56da45b6e1f0bbf558177cd907ef61f0b9840c2;p=motion2.git diff --git a/server/services/ami/rpc/faxAccount.js b/server/services/ami/rpc/faxAccount.js index 4511fce..3705c48 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 _0xbbdd=['getFaxAccounts','GetFaxAccount','name','localstationid','modem','gateway','faxdetect','t38timeout','TrunkId','ListId','key','Trunk','callerid','active','getFaxAccount','notify','Request'];(function(_0x228ae6,_0x1f4183){var _0x26d906=function(_0xae8b5d){while(--_0xae8b5d){_0x228ae6['push'](_0x228ae6['shift']());}};_0x26d906(++_0x1f4183);}(_0xbbdd,0x1ba));var _0xdbbd=function(_0x4e7d25,_0x58285f){_0x4e7d25=_0x4e7d25-0x0;var _0x526fe6=_0xbbdd[_0x4e7d25];return _0x526fe6;};'use strict';var client=require('../client');exports[_0xdbbd('0x0')]=function(){return function(){return client['Request'](_0xdbbd('0x1'),{'options':{'raw':![],'attributes':['id',_0xdbbd('0x2'),'description','ecm','headerinfo',_0xdbbd('0x3'),'minrate','maxrate',_0xdbbd('0x4'),_0xdbbd('0x5'),_0xdbbd('0x6'),_0xdbbd('0x7'),'tech',_0xdbbd('0x8'),_0xdbbd('0x9'),_0xdbbd('0xa')],'include':[{'model':_0xdbbd('0xb'),'as':_0xdbbd('0xb'),'attributes':['id',_0xdbbd('0x2'),_0xdbbd('0xc'),_0xdbbd('0xd')]}]},'log':_0xdbbd('0xe')});};};exports[_0xdbbd('0xf')]=function(_0x59c6af,_0x285fc2){return client[_0xdbbd('0x10')]('NotifyFaxAccount',{'account':{'id':_0x59c6af},'body':_0x285fc2,'log':'NotifyFaxAccount'});}; \ No newline at end of file +var _0xb515=['../client','Request','GetFaxAccount','name','description','ecm','headerinfo','localstationid','minrate','modem','gateway','faxdetect','t38timeout','tech','TrunkId','ListId','key','Trunk','callerid','getFaxAccount','notify','NotifyFaxAccount'];(function(_0x3072c1,_0x4e43d6){var _0x298765=function(_0x5c020b){while(--_0x5c020b){_0x3072c1['push'](_0x3072c1['shift']());}};_0x298765(++_0x4e43d6);}(_0xb515,0x1b8));var _0x5b51=function(_0x2f71f6,_0x3a1f4d){_0x2f71f6=_0x2f71f6-0x0;var _0x2b23ea=_0xb515[_0x2f71f6];return _0x2b23ea;};'use strict';var client=require(_0x5b51('0x0'));exports['getFaxAccounts']=function(){return function(){return client[_0x5b51('0x1')](_0x5b51('0x2'),{'options':{'raw':![],'attributes':['id',_0x5b51('0x3'),_0x5b51('0x4'),_0x5b51('0x5'),_0x5b51('0x6'),_0x5b51('0x7'),_0x5b51('0x8'),'maxrate',_0x5b51('0x9'),_0x5b51('0xa'),_0x5b51('0xb'),_0x5b51('0xc'),_0x5b51('0xd'),_0x5b51('0xe'),_0x5b51('0xf'),_0x5b51('0x10')],'include':[{'model':_0x5b51('0x11'),'as':_0x5b51('0x11'),'attributes':['id',_0x5b51('0x3'),_0x5b51('0x12'),'active']}]},'log':_0x5b51('0x13')});};};exports[_0x5b51('0x14')]=function(_0x220f2c,_0x172a62){return client[_0x5b51('0x1')](_0x5b51('0x15'),{'account':{'id':_0x220f2c},'body':_0x172a62,'log':'NotifyFaxAccount'});}; \ No newline at end of file