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 _0xed13=['bluebird','../../../config/logger','preview','lodash','../rpc/faxAccount','error','inspect','notify','resolve','then','catch','[Notify]\x20','util'];(function(_0x5e4690,_0x3c61f2){var _0x3653e7=function(_0x43e688){while(--_0x43e688){_0x5e4690['push'](_0x5e4690['shift']());}};_0x3653e7(++_0x3c61f2);}(_0xed13,0x178));var _0x3ed1=function(_0x562219,_0x538e13){_0x562219=_0x562219-0x0;var _0x208fa5=_0xed13[_0x562219];return _0x208fa5;};'use strict';var util=require(_0x3ed1('0x0'));var BPromise=require(_0x3ed1('0x1'));var logger=require(_0x3ed1('0x2'))(_0x3ed1('0x3'));var _=require(_0x3ed1('0x4'));var faxAccount=require(_0x3ed1('0x5'));function loggerCatch(_0xd354a9){return function(_0x223790){logger[_0x3ed1('0x6')](_0xd354a9,util[_0x3ed1('0x7')](_0x223790,{'showHidden':![],'depth':null}));};}exports[_0x3ed1('0x8')]=function(_0x145c38,_0x217c86){return BPromise[_0x3ed1('0x9')]()[_0x3ed1('0xa')](faxAccount['notify'](_0x145c38,_0x217c86))[_0x3ed1('0xb')](loggerCatch(_0x3ed1('0xc')));};