Built motion from commit (unavailable).|2.5.22
[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 _0x6b34=['../../components/auth/service','../../config/environment','./userNotification.controller','post','sendUserNotification','exports','multer','util','path','connect-timeout','express','Router'];(function(_0x2c91e9,_0x2fb965){var _0x13f0ff=function(_0xb39edf){while(--_0xb39edf){_0x2c91e9['push'](_0x2c91e9['shift']());}};_0x13f0ff(++_0x2fb965);}(_0x6b34,0x8a));var _0x46b3=function(_0x4dfd71,_0x33a01a){_0x4dfd71=_0x4dfd71-0x0;var _0x10c939=_0x6b34[_0x4dfd71];return _0x10c939;};'use strict';var multer=require(_0x46b3('0x0'));var util=require(_0x46b3('0x1'));var path=require(_0x46b3('0x2'));var timeout=require(_0x46b3('0x3'));var express=require(_0x46b3('0x4'));var router=express[_0x46b3('0x5')]();var auth=require(_0x46b3('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x46b3('0x7'));var controller=require(_0x46b3('0x8'));router[_0x46b3('0x9')]('/',auth['isAuthenticated'](),controller[_0x46b3('0xa')]);module[_0x46b3('0xb')]=router;