37245908e2fce0268510f355574119cd375004da
[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 _0xfbc8=['post','sendUserNotification','exports','multer','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./userNotification.controller'];(function(_0x4dedd3,_0x175841){var _0x48f768=function(_0x17dff7){while(--_0x17dff7){_0x4dedd3['push'](_0x4dedd3['shift']());}};_0x48f768(++_0x175841);}(_0xfbc8,0x183));var _0x8fbc=function(_0x56756b,_0x3e8cc7){_0x56756b=_0x56756b-0x0;var _0xa3002=_0xfbc8[_0x56756b];return _0xa3002;};'use strict';var multer=require(_0x8fbc('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x8fbc('0x1'));var express=require(_0x8fbc('0x2'));var router=express[_0x8fbc('0x3')]();var fs_extra=require(_0x8fbc('0x4'));var auth=require(_0x8fbc('0x5'));var interaction=require(_0x8fbc('0x6'));var config=require(_0x8fbc('0x7'));var controller=require(_0x8fbc('0x8'));router[_0x8fbc('0x9')]('/',auth['isAuthenticated'](),controller[_0x8fbc('0xa')]);module[_0x8fbc('0xb')]=router;