X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fservices%2Fami%2Frpc%2FfaxAccount.js;h=0100ee19d4f5e56f142943c26c672dba501bf8cd;hb=08f6e0b86d261e0f7c3417afd107d7f774257198;hp=b556b6952cd19fab2eb5eae17ba05c91cd6567e7;hpb=77cac286a995d5774f6d69ad14d2f583dccfe84b;p=motion2.git diff --git a/server/services/ami/rpc/faxAccount.js b/server/services/ami/rpc/faxAccount.js index b556b69..0100ee1 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 _0x3133=['GetFaxAccount','name','description','ecm','headerinfo','localstationid','maxrate','gateway','faxdetect','TrunkId','ListId','key','Trunk','callerid','active','getFaxAccount','notify','NotifyFaxAccount','../client','getFaxAccounts','Request'];(function(_0x1058ec,_0x486f99){var _0x3b5711=function(_0x4c2295){while(--_0x4c2295){_0x1058ec['push'](_0x1058ec['shift']());}};_0x3b5711(++_0x486f99);}(_0x3133,0x1cb));var _0x3313=function(_0x1a346b,_0x47bfc6){_0x1a346b=_0x1a346b-0x0;var _0x47771c=_0x3133[_0x1a346b];return _0x47771c;};'use strict';var client=require(_0x3313('0x0'));exports[_0x3313('0x1')]=function(){return function(){return client[_0x3313('0x2')](_0x3313('0x3'),{'options':{'raw':![],'attributes':['id',_0x3313('0x4'),_0x3313('0x5'),_0x3313('0x6'),_0x3313('0x7'),_0x3313('0x8'),'minrate',_0x3313('0x9'),'modem',_0x3313('0xa'),_0x3313('0xb'),'t38timeout','tech',_0x3313('0xc'),_0x3313('0xd'),_0x3313('0xe')],'include':[{'model':_0x3313('0xf'),'as':_0x3313('0xf'),'attributes':['id',_0x3313('0x4'),_0x3313('0x10'),_0x3313('0x11')]}]},'log':_0x3313('0x12')});};};exports[_0x3313('0x13')]=function(_0x2e28bb,_0xae9279){return client[_0x3313('0x2')]('NotifyFaxAccount',{'account':{'id':_0x2e28bb},'body':_0xae9279,'log':_0x3313('0x14')});}; \ No newline at end of file +var _0x720c=['callerid','getFaxAccount','notify','NotifyFaxAccount','../client','Request','GetFaxAccount','name','description','headerinfo','localstationid','minrate','maxrate','modem','gateway','faxdetect','tech','TrunkId','ListId','key','Trunk'];(function(_0x507056,_0xe16b72){var _0x4eaecc=function(_0x440b91){while(--_0x440b91){_0x507056['push'](_0x507056['shift']());}};_0x4eaecc(++_0xe16b72);}(_0x720c,0x154));var _0xc720=function(_0x2609c1,_0x595070){_0x2609c1=_0x2609c1-0x0;var _0x21c34a=_0x720c[_0x2609c1];return _0x21c34a;};'use strict';var client=require(_0xc720('0x0'));exports['getFaxAccounts']=function(){return function(){return client[_0xc720('0x1')](_0xc720('0x2'),{'options':{'raw':![],'attributes':['id',_0xc720('0x3'),_0xc720('0x4'),'ecm',_0xc720('0x5'),_0xc720('0x6'),_0xc720('0x7'),_0xc720('0x8'),_0xc720('0x9'),_0xc720('0xa'),_0xc720('0xb'),'t38timeout',_0xc720('0xc'),_0xc720('0xd'),_0xc720('0xe'),_0xc720('0xf')],'include':[{'model':_0xc720('0x10'),'as':'Trunk','attributes':['id','name',_0xc720('0x11'),'active']}]},'log':_0xc720('0x12')});};};exports[_0xc720('0x13')]=function(_0x567713,_0x3c06aa){return client[_0xc720('0x1')](_0xc720('0x14'),{'account':{'id':_0x567713},'body':_0x3c06aa,'log':_0xc720('0x14')});}; \ No newline at end of file