e0bfed022b701152a636cf0e37f76172ffe86a9e
[motion2.git] / server / api / userNotification / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x622f=['../../components/interaction/service','./userNotification.controller','post','isAuthenticated','sendUserNotification','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service'];(function(_0xe3b402,_0x362749){var _0x47ebef=function(_0xcc1d4c){while(--_0xcc1d4c){_0xe3b402['push'](_0xe3b402['shift']());}};_0x47ebef(++_0x362749);}(_0x622f,0x18c));var _0xf622=function(_0x599328,_0x45c28d){_0x599328=_0x599328-0x0;var _0x570dc2=_0x622f[_0x599328];return _0x570dc2;};'use strict';var multer=require(_0xf622('0x0'));var util=require('util');var path=require(_0xf622('0x1'));var timeout=require(_0xf622('0x2'));var express=require(_0xf622('0x3'));var router=express[_0xf622('0x4')]();var fs_extra=require(_0xf622('0x5'));var auth=require(_0xf622('0x6'));var interaction=require(_0xf622('0x7'));var config=require('../../config/environment');var controller=require(_0xf622('0x8'));router[_0xf622('0x9')]('/',auth[_0xf622('0xa')](),controller[_0xf622('0xb')]);module[_0xf622('0xc')]=router;