Built motion from commit ddca4d0d.|2.5.47
[motion2.git] / server / services / ami / rpc / faxAccount.js
index 2a16110..8d11583 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8906=['Request','name','headerinfo','minrate','maxrate','modem','faxdetect','tech','TrunkId','key','Trunk','active','getFaxAccount','NotifyFaxAccount','getFaxAccounts'];(function(_0x1acc2d,_0x597696){var _0xabfa6d=function(_0x41e83c){while(--_0x41e83c){_0x1acc2d['push'](_0x1acc2d['shift']());}};_0xabfa6d(++_0x597696);}(_0x8906,0x149));var _0x6890=function(_0x4f6423,_0x2e311f){_0x4f6423=_0x4f6423-0x0;var _0xfe437=_0x8906[_0x4f6423];return _0xfe437;};'use strict';var client=require('../client');exports[_0x6890('0x0')]=function(){return function(){return client[_0x6890('0x1')]('GetFaxAccount',{'options':{'raw':![],'attributes':['id',_0x6890('0x2'),'description','ecm',_0x6890('0x3'),'localstationid',_0x6890('0x4'),_0x6890('0x5'),_0x6890('0x6'),'gateway',_0x6890('0x7'),'t38timeout',_0x6890('0x8'),_0x6890('0x9'),'ListId',_0x6890('0xa')],'include':[{'model':'Trunk','as':_0x6890('0xb'),'attributes':['id','name','callerid',_0x6890('0xc')]}]},'log':_0x6890('0xd')});};};exports['notify']=function(_0x23a8c7,_0x5ab683){return client[_0x6890('0x1')](_0x6890('0xe'),{'account':{'id':_0x23a8c7},'body':_0x5ab683,'log':_0x6890('0xe')});};
\ No newline at end of file
+var _0x0b0e=['modem','gateway','faxdetect','t38timeout','ListId','key','Trunk','callerid','active','notify','NotifyFaxAccount','../client','Request','name','description','ecm','headerinfo','localstationid','minrate','maxrate'];(function(_0x4f091d,_0x5ab76d){var _0x254ce6=function(_0x408597){while(--_0x408597){_0x4f091d['push'](_0x4f091d['shift']());}};_0x254ce6(++_0x5ab76d);}(_0x0b0e,0x187));var _0xe0b0=function(_0x136a0d,_0x476fe2){_0x136a0d=_0x136a0d-0x0;var _0x212ea5=_0x0b0e[_0x136a0d];return _0x212ea5;};'use strict';var client=require(_0xe0b0('0x0'));exports['getFaxAccounts']=function(){return function(){return client[_0xe0b0('0x1')]('GetFaxAccount',{'options':{'raw':![],'attributes':['id',_0xe0b0('0x2'),_0xe0b0('0x3'),_0xe0b0('0x4'),_0xe0b0('0x5'),_0xe0b0('0x6'),_0xe0b0('0x7'),_0xe0b0('0x8'),_0xe0b0('0x9'),_0xe0b0('0xa'),_0xe0b0('0xb'),_0xe0b0('0xc'),'tech','TrunkId',_0xe0b0('0xd'),_0xe0b0('0xe')],'include':[{'model':_0xe0b0('0xf'),'as':_0xe0b0('0xf'),'attributes':['id','name',_0xe0b0('0x10'),_0xe0b0('0x11')]}]},'log':'getFaxAccount'});};};exports[_0xe0b0('0x12')]=function(_0x2f32b6,_0x574d96){return client[_0xe0b0('0x1')](_0xe0b0('0x13'),{'account':{'id':_0x2f32b6},'body':_0x574d96,'log':_0xe0b0('0x13')});};
\ No newline at end of file