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 _0x855e=['sendUserNotification','path','connect-timeout','express','../../components/auth/service','../../config/environment','./userNotification.controller'];(function(_0x51dae4,_0x2811c2){var _0xa6e49f=function(_0x1430e4){while(--_0x1430e4){_0x51dae4['push'](_0x51dae4['shift']());}};_0xa6e49f(++_0x2811c2);}(_0x855e,0x1c1));var _0xe855=function(_0x4f9ae8,_0x4d69fe){_0x4f9ae8=_0x4f9ae8-0x0;var _0x53cce6=_0x855e[_0x4f9ae8];return _0x53cce6;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xe855('0x0'));var timeout=require(_0xe855('0x1'));var express=require(_0xe855('0x2'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xe855('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0xe855('0x4'));var controller=require(_0xe855('0x5'));router['post']('/',auth['isAuthenticated'](),controller[_0xe855('0x6')]);module['exports']=router;