f5e2164e88a5eeeb5d75ef15e40d6dc8a039db98
[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 _0x8c22=['exports','multer','util','path','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./userNotification.controller','post','isAuthenticated','sendUserNotification'];(function(_0x190343,_0x42789b){var _0x53556a=function(_0x159fa2){while(--_0x159fa2){_0x190343['push'](_0x190343['shift']());}};_0x53556a(++_0x42789b);}(_0x8c22,0xc4));var _0x28c2=function(_0x4ddfe1,_0x35939d){_0x4ddfe1=_0x4ddfe1-0x0;var _0x4aaf51=_0x8c22[_0x4ddfe1];return _0x4aaf51;};'use strict';var multer=require(_0x28c2('0x0'));var util=require(_0x28c2('0x1'));var path=require(_0x28c2('0x2'));var timeout=require('connect-timeout');var express=require(_0x28c2('0x3'));var router=express['Router']();var fs_extra=require(_0x28c2('0x4'));var auth=require(_0x28c2('0x5'));var interaction=require(_0x28c2('0x6'));var config=require(_0x28c2('0x7'));var controller=require(_0x28c2('0x8'));router[_0x28c2('0x9')]('/',auth[_0x28c2('0xa')](),controller[_0x28c2('0xb')]);module[_0x28c2('0xc')]=router;