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 _0x24ef=['../../../config/logger','preview','lodash','../rpc/faxAccount','error','notify','resolve','catch','[Notify]\x20','util','bluebird'];(function(_0x245334,_0x2aab95){var _0x541a52=function(_0x203a6c){while(--_0x203a6c){_0x245334['push'](_0x245334['shift']());}};_0x541a52(++_0x2aab95);}(_0x24ef,0x127));var _0xf24e=function(_0x579e1c,_0x316b7f){_0x579e1c=_0x579e1c-0x0;var _0x5c32fc=_0x24ef[_0x579e1c];return _0x5c32fc;};'use strict';var util=require(_0xf24e('0x0'));var BPromise=require(_0xf24e('0x1'));var logger=require(_0xf24e('0x2'))(_0xf24e('0x3'));var _=require(_0xf24e('0x4'));var faxAccount=require(_0xf24e('0x5'));function loggerCatch(_0x241db1){return function(_0x584e59){logger[_0xf24e('0x6')](_0x241db1,util['inspect'](_0x584e59,{'showHidden':![],'depth':null}));};}exports[_0xf24e('0x7')]=function(_0x2348cd,_0x4e189f){return BPromise[_0xf24e('0x8')]()['then'](faxAccount['notify'](_0x2348cd,_0x4e189f))[_0xf24e('0x9')](loggerCatch(_0xf24e('0xa')));};