Built motion from commit 44b1f254.|2.6.26
[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 _0x1808=['exports','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./userNotification.controller','post','isAuthenticated'];(function(_0x4c7fb5,_0x2548ef){var _0x2e10ac=function(_0xf7e27c){while(--_0xf7e27c){_0x4c7fb5['push'](_0x4c7fb5['shift']());}};_0x2e10ac(++_0x2548ef);}(_0x1808,0xf1));var _0x8180=function(_0x23b946,_0x2653e1){_0x23b946=_0x23b946-0x0;var _0xcfad4f=_0x1808[_0x23b946];return _0xcfad4f;};'use strict';var multer=require('multer');var util=require(_0x8180('0x0'));var path=require('path');var timeout=require(_0x8180('0x1'));var express=require(_0x8180('0x2'));var router=express[_0x8180('0x3')]();var fs_extra=require(_0x8180('0x4'));var auth=require(_0x8180('0x5'));var interaction=require(_0x8180('0x6'));var config=require(_0x8180('0x7'));var controller=require(_0x8180('0x8'));router[_0x8180('0x9')]('/',auth[_0x8180('0xa')](),controller['sendUserNotification']);module[_0x8180('0xb')]=router;