Built motion from commit 00bf23f6.|2.6.16
[motion2.git] / server / services / ami / rpc / faxAccount.js
index 283c151..42f4bc8 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf08f=['active','getFaxAccount','NotifyFaxAccount','Request','GetFaxAccount','name','description','ecm','localstationid','minrate','gateway','faxdetect','t38timeout','TrunkId','Trunk','callerid'];(function(_0x2faddb,_0xc18b78){var _0x273c05=function(_0x1a3785){while(--_0x1a3785){_0x2faddb['push'](_0x2faddb['shift']());}};_0x273c05(++_0xc18b78);}(_0xf08f,0x1c3));var _0xff08=function(_0x10b48a,_0x1a0a3f){_0x10b48a=_0x10b48a-0x0;var _0x2c4533=_0xf08f[_0x10b48a];return _0x2c4533;};'use strict';var client=require('../client');exports['getFaxAccounts']=function(){return function(){return client[_0xff08('0x0')](_0xff08('0x1'),{'options':{'raw':![],'attributes':['id',_0xff08('0x2'),_0xff08('0x3'),_0xff08('0x4'),'headerinfo',_0xff08('0x5'),_0xff08('0x6'),'maxrate','modem',_0xff08('0x7'),_0xff08('0x8'),_0xff08('0x9'),'tech',_0xff08('0xa'),'ListId','key'],'include':[{'model':_0xff08('0xb'),'as':_0xff08('0xb'),'attributes':['id','name',_0xff08('0xc'),_0xff08('0xd')]}]},'log':_0xff08('0xe')});};};exports['notify']=function(_0x38f13e,_0x4bffdd){return client[_0xff08('0x0')](_0xff08('0xf'),{'account':{'id':_0x38f13e},'body':_0x4bffdd,'log':_0xff08('0xf')});};
\ No newline at end of file
+var _0x390a=['maxrate','modem','gateway','t38timeout','tech','key','Trunk','name','callerid','notify','NotifyFaxAccount','../client','getFaxAccounts','Request','GetFaxAccount','description','ecm','headerinfo','localstationid'];(function(_0x2cfe01,_0x7b24ea){var _0x1faa10=function(_0x2e30e0){while(--_0x2e30e0){_0x2cfe01['push'](_0x2cfe01['shift']());}};_0x1faa10(++_0x7b24ea);}(_0x390a,0xc9));var _0xa390=function(_0x3f86d2,_0x1e0055){_0x3f86d2=_0x3f86d2-0x0;var _0x3decdf=_0x390a[_0x3f86d2];return _0x3decdf;};'use strict';var client=require(_0xa390('0x0'));exports[_0xa390('0x1')]=function(){return function(){return client[_0xa390('0x2')](_0xa390('0x3'),{'options':{'raw':![],'attributes':['id','name',_0xa390('0x4'),_0xa390('0x5'),_0xa390('0x6'),_0xa390('0x7'),'minrate',_0xa390('0x8'),_0xa390('0x9'),_0xa390('0xa'),'faxdetect',_0xa390('0xb'),_0xa390('0xc'),'TrunkId','ListId',_0xa390('0xd')],'include':[{'model':_0xa390('0xe'),'as':_0xa390('0xe'),'attributes':['id',_0xa390('0xf'),_0xa390('0x10'),'active']}]},'log':'getFaxAccount'});};};exports[_0xa390('0x11')]=function(_0x34f0fe,_0x1ecd8b){return client['Request'](_0xa390('0x12'),{'account':{'id':_0x34f0fe},'body':_0x1ecd8b,'log':_0xa390('0x12')});};
\ No newline at end of file