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 _0x0924=['./userNotification.controller','isAuthenticated','sendUserNotification','multer','path','Router','fs-extra','../../config/environment'];(function(_0xc742da,_0x520607){var _0x18328c=function(_0x394875){while(--_0x394875){_0xc742da['push'](_0xc742da['shift']());}};_0x18328c(++_0x520607);}(_0x0924,0x17b));var _0x4092=function(_0x5b4a06,_0x2734e7){_0x5b4a06=_0x5b4a06-0x0;var _0x1cf5e5=_0x0924[_0x5b4a06];return _0x1cf5e5;};'use strict';var multer=require(_0x4092('0x0'));var util=require('util');var path=require(_0x4092('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x4092('0x2')]();var fs_extra=require(_0x4092('0x3'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x4092('0x4'));var controller=require(_0x4092('0x5'));router['post']('/',auth[_0x4092('0x6')](),controller[_0x4092('0x7')]);module['exports']=router;