1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0xfc2f=['bluebird','../../../config/logger','preview','lodash','../rpc/faxAccount','error','inspect','notify','resolve','then','catch','[Notify]\x20','util'];(function(_0x465a0c,_0x19d4d5){var _0x1e202e=function(_0x27bd8a){while(--_0x27bd8a){_0x465a0c['push'](_0x465a0c['shift']());}};_0x1e202e(++_0x19d4d5);}(_0xfc2f,0x192));var _0xffc2=function(_0xdec27f,_0x4b9e42){_0xdec27f=_0xdec27f-0x0;var _0xc61b1b=_0xfc2f[_0xdec27f];return _0xc61b1b;};'use strict';var util=require(_0xffc2('0x0'));var BPromise=require(_0xffc2('0x1'));var logger=require(_0xffc2('0x2'))(_0xffc2('0x3'));var _=require(_0xffc2('0x4'));var faxAccount=require(_0xffc2('0x5'));function loggerCatch(_0x260cf6){return function(_0x1143ca){logger[_0xffc2('0x6')](_0x260cf6,util[_0xffc2('0x7')](_0x1143ca,{'showHidden':![],'depth':null}));};}exports[_0xffc2('0x8')]=function(_0x5745ca,_0x55e5e0){return BPromise[_0xffc2('0x9')]()[_0xffc2('0xa')](faxAccount[_0xffc2('0x8')](_0x5745ca,_0x55e5e0))[_0xffc2('0xb')](loggerCatch(_0xffc2('0xc')));};