Built motion from commit 994c64e1.|2.6.1
[motion2.git] / server / services / ami / rpc / faxAccount.js
index 465ee0a..0784a74 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x3052=['name','description','ecm','headerinfo','localstationid','maxrate','gateway','faxdetect','t38timeout','tech','TrunkId','Trunk','callerid','active','getFaxAccount','NotifyFaxAccount','../client','getFaxAccounts','Request','GetFaxAccount'];(function(_0xe06926,_0x1b6755){var _0x14b28e=function(_0x250f3d){while(--_0x250f3d){_0xe06926['push'](_0xe06926['shift']());}};_0x14b28e(++_0x1b6755);}(_0x3052,0x164));var _0x2305=function(_0x19e35c,_0x29cd1e){_0x19e35c=_0x19e35c-0x0;var _0x3e1fe8=_0x3052[_0x19e35c];return _0x3e1fe8;};'use strict';var client=require(_0x2305('0x0'));exports[_0x2305('0x1')]=function(){return function(){return client[_0x2305('0x2')](_0x2305('0x3'),{'options':{'raw':![],'attributes':['id',_0x2305('0x4'),_0x2305('0x5'),_0x2305('0x6'),_0x2305('0x7'),_0x2305('0x8'),'minrate',_0x2305('0x9'),'modem',_0x2305('0xa'),_0x2305('0xb'),_0x2305('0xc'),_0x2305('0xd'),_0x2305('0xe'),'ListId','key'],'include':[{'model':_0x2305('0xf'),'as':_0x2305('0xf'),'attributes':['id','name',_0x2305('0x10'),_0x2305('0x11')]}]},'log':_0x2305('0x12')});};};exports['notify']=function(_0x5ca2fb,_0x16855c){return client[_0x2305('0x2')](_0x2305('0x13'),{'account':{'id':_0x5ca2fb},'body':_0x16855c,'log':'NotifyFaxAccount'});};
\ No newline at end of file
+var _0x2884=['headerinfo','maxrate','modem','gateway','tech','ListId','key','Trunk','callerid','notify','NotifyFaxAccount','../client','Request','GetFaxAccount','name','ecm'];(function(_0x24b135,_0x2aa165){var _0x56aafd=function(_0xdd7542){while(--_0xdd7542){_0x24b135['push'](_0x24b135['shift']());}};_0x56aafd(++_0x2aa165);}(_0x2884,0x1eb));var _0x4288=function(_0x11fa4b,_0x2e0ec1){_0x11fa4b=_0x11fa4b-0x0;var _0x122a99=_0x2884[_0x11fa4b];return _0x122a99;};'use strict';var client=require(_0x4288('0x0'));exports['getFaxAccounts']=function(){return function(){return client[_0x4288('0x1')](_0x4288('0x2'),{'options':{'raw':![],'attributes':['id',_0x4288('0x3'),'description',_0x4288('0x4'),_0x4288('0x5'),'localstationid','minrate',_0x4288('0x6'),_0x4288('0x7'),_0x4288('0x8'),'faxdetect','t38timeout',_0x4288('0x9'),'TrunkId',_0x4288('0xa'),_0x4288('0xb')],'include':[{'model':'Trunk','as':_0x4288('0xc'),'attributes':['id',_0x4288('0x3'),_0x4288('0xd'),'active']}]},'log':'getFaxAccount'});};};exports[_0x4288('0xe')]=function(_0x42a234,_0x7095f1){return client[_0x4288('0x1')](_0x4288('0xf'),{'account':{'id':_0x42a234},'body':_0x7095f1,'log':_0x4288('0xf')});};
\ No newline at end of file