96cf6de99b7d580c452ca279288ed43f89a5b8d8
[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 _0x8162=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','post','isAuthenticated','sendUserNotification','exports','util','express'];(function(_0x12ebe0,_0x1cce07){var _0x1ccd93=function(_0x411f74){while(--_0x411f74){_0x12ebe0['push'](_0x12ebe0['shift']());}};_0x1ccd93(++_0x1cce07);}(_0x8162,0x127));var _0x2816=function(_0x2b0084,_0x358502){_0x2b0084=_0x2b0084-0x0;var _0x2ee121=_0x8162[_0x2b0084];return _0x2ee121;};'use strict';var multer=require('multer');var util=require(_0x2816('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x2816('0x1'));var router=express[_0x2816('0x2')]();var fs_extra=require(_0x2816('0x3'));var auth=require(_0x2816('0x4'));var interaction=require(_0x2816('0x5'));var config=require(_0x2816('0x6'));var controller=require('./userNotification.controller');router[_0x2816('0x7')]('/',auth[_0x2816('0x8')](),controller[_0x2816('0x9')]);module[_0x2816('0xa')]=router;