Built motion from commit 00bf23f6.|2.6.16
[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 _0xd771=['fs-extra','../../components/auth/service','../../components/interaction/service','./userNotification.controller','post','isAuthenticated','sendUserNotification','exports','multer','util','path','express','Router'];(function(_0x4b6b0c,_0x4d0282){var _0x507c47=function(_0x5b9559){while(--_0x5b9559){_0x4b6b0c['push'](_0x4b6b0c['shift']());}};_0x507c47(++_0x4d0282);}(_0xd771,0x1dc));var _0x1d77=function(_0x555f06,_0x4172b8){_0x555f06=_0x555f06-0x0;var _0x1e1102=_0xd771[_0x555f06];return _0x1e1102;};'use strict';var multer=require(_0x1d77('0x0'));var util=require(_0x1d77('0x1'));var path=require(_0x1d77('0x2'));var timeout=require('connect-timeout');var express=require(_0x1d77('0x3'));var router=express[_0x1d77('0x4')]();var fs_extra=require(_0x1d77('0x5'));var auth=require(_0x1d77('0x6'));var interaction=require(_0x1d77('0x7'));var config=require('../../config/environment');var controller=require(_0x1d77('0x8'));router[_0x1d77('0x9')]('/',auth[_0x1d77('0xa')](),controller[_0x1d77('0xb')]);module[_0x1d77('0xc')]=router;