Built motion from commit 4d4d9a88.|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 _0x2408=['../../components/interaction/service','../../config/environment','./userNotification.controller','post','sendUserNotification','exports','multer','path','connect-timeout','express','../../components/auth/service'];(function(_0xf4f343,_0x41fe4a){var _0x4cda68=function(_0x3850e6){while(--_0x3850e6){_0xf4f343['push'](_0xf4f343['shift']());}};_0x4cda68(++_0x41fe4a);}(_0x2408,0xa0));var _0x8240=function(_0x327e31,_0x513316){_0x327e31=_0x327e31-0x0;var _0x3dffe9=_0x2408[_0x327e31];return _0x3dffe9;};'use strict';var multer=require(_0x8240('0x0'));var util=require('util');var path=require(_0x8240('0x1'));var timeout=require(_0x8240('0x2'));var express=require(_0x8240('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x8240('0x4'));var interaction=require(_0x8240('0x5'));var config=require(_0x8240('0x6'));var controller=require(_0x8240('0x7'));router[_0x8240('0x8')]('/',auth['isAuthenticated'](),controller[_0x8240('0x9')]);module[_0x8240('0xa')]=router;