X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fservices%2Fami%2Ffax%2FrpcDb.js;h=de107f44c038648e96a6ff191848c716f19003d4;hb=04c0f252a7a18de2cd4c2368f646bc7587dfdeaf;hp=4fefa93a562cb5b1ffcf5864023df53337673b07;hpb=bb4ed137b40a5e77cec195be87f1b347330d2766;p=motion2.git diff --git a/server/services/ami/fax/rpcDb.js b/server/services/ami/fax/rpcDb.js index 4fefa93..de107f4 100644 --- a/server/services/ami/fax/rpcDb.js +++ b/server/services/ami/fax/rpcDb.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xc95b=['inspect','notify','resolve','then','catch','util','../../../config/logger','preview','lodash','../rpc/faxAccount','error'];(function(_0x2fad2b,_0xcae30e){var _0x39f1ee=function(_0x4c748d){while(--_0x4c748d){_0x2fad2b['push'](_0x2fad2b['shift']());}};_0x39f1ee(++_0xcae30e);}(_0xc95b,0x1e9));var _0xbc95=function(_0x50c140,_0x52abe1){_0x50c140=_0x50c140-0x0;var _0x2528aa=_0xc95b[_0x50c140];return _0x2528aa;};'use strict';var util=require(_0xbc95('0x0'));var BPromise=require('bluebird');var logger=require(_0xbc95('0x1'))(_0xbc95('0x2'));var _=require(_0xbc95('0x3'));var faxAccount=require(_0xbc95('0x4'));function loggerCatch(_0x2d8d50){return function(_0x4bbd43){logger[_0xbc95('0x5')](_0x2d8d50,util[_0xbc95('0x6')](_0x4bbd43,{'showHidden':![],'depth':null}));};}exports[_0xbc95('0x7')]=function(_0x1c0be3,_0x54d474){return BPromise[_0xbc95('0x8')]()[_0xbc95('0x9')](faxAccount[_0xbc95('0x7')](_0x1c0be3,_0x54d474))[_0xbc95('0xa')](loggerCatch('[Notify]\x20'));}; \ No newline at end of file +var _0x9f38=['lodash','../rpc/faxAccount','error','inspect','notify','resolve','then','catch','[Notify]\x20','bluebird','../../../config/logger'];(function(_0x3786bd,_0x2bb68b){var _0x2a43c5=function(_0x1218b5){while(--_0x1218b5){_0x3786bd['push'](_0x3786bd['shift']());}};_0x2a43c5(++_0x2bb68b);}(_0x9f38,0x169));var _0x89f3=function(_0x4db2ee,_0x249f7f){_0x4db2ee=_0x4db2ee-0x0;var _0x1ceb42=_0x9f38[_0x4db2ee];return _0x1ceb42;};'use strict';var util=require('util');var BPromise=require(_0x89f3('0x0'));var logger=require(_0x89f3('0x1'))('preview');var _=require(_0x89f3('0x2'));var faxAccount=require(_0x89f3('0x3'));function loggerCatch(_0x1b549a){return function(_0x102648){logger[_0x89f3('0x4')](_0x1b549a,util[_0x89f3('0x5')](_0x102648,{'showHidden':![],'depth':null}));};}exports[_0x89f3('0x6')]=function(_0x2ad375,_0xeb5668){return BPromise[_0x89f3('0x7')]()[_0x89f3('0x8')](faxAccount['notify'](_0x2ad375,_0xeb5668))[_0x89f3('0x9')](loggerCatch(_0x89f3('0xa')));}; \ No newline at end of file