Built motion from commit ded33658aad58fc8de845a8299a9db59a88cc353. Version 3.0.0...
[motion-next.git] / server / services / ami / rpc / faxAccount.js
1 const a1106_0x38fe=['modem','tech','minrate','gateway','active','Request','localstationid','headerinfo','ListId','getFaxAccounts','TrunkId','callerid','maxrate','description','faxdetect','t38timeout','GetFaxAccount','NotifyFaxAccount','Trunk','name'];(function(_0x5d2558,_0x38fe3b){const _0x3f1e53=function(_0x2a4192){while(--_0x2a4192){_0x5d2558['push'](_0x5d2558['shift']());}};_0x3f1e53(++_0x38fe3b);}(a1106_0x38fe,0xd7));const a1106_0x3f1e=function(_0x5d2558,_0x38fe3b){_0x5d2558=_0x5d2558-0x0;let _0x3f1e53=a1106_0x38fe[_0x5d2558];return _0x3f1e53;};const _0x21daa1=a1106_0x3f1e;'use strict';const client=require('../client');exports[_0x21daa1('0xe')]=function(){return function(){const _0x4a6989=a1106_0x3f1e;return client[_0x4a6989('0xa')](_0x4a6989('0x1'),{'options':{'raw':![],'attributes':['id',_0x4a6989('0x4'),_0x4a6989('0x12'),'ecm',_0x4a6989('0xc'),_0x4a6989('0xb'),_0x4a6989('0x7'),_0x4a6989('0x11'),_0x4a6989('0x5'),_0x4a6989('0x8'),_0x4a6989('0x13'),_0x4a6989('0x0'),_0x4a6989('0x6'),_0x4a6989('0xf'),_0x4a6989('0xd'),'key'],'include':[{'model':_0x4a6989('0x3'),'as':_0x4a6989('0x3'),'attributes':['id','name',_0x4a6989('0x10'),_0x4a6989('0x9')]}]},'log':'getFaxAccount'});};},exports['notify']=function(_0x2a4192,_0x33fdfb){const _0x4a6c2a=_0x21daa1;return client['Request'](_0x4a6c2a('0x2'),{'account':{'id':_0x2a4192},'body':_0x33fdfb,'log':_0x4a6c2a('0x2')});};