d90e0e957c0abb1976bbf1a89177557a7a1aeed5
[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 _0x07bb=['util','express','fs-extra','../../components/interaction/service','../../config/environment','./userNotification.controller','post','isAuthenticated','sendUserNotification','exports','multer'];(function(_0x25dbd4,_0x359199){var _0x55ca7e=function(_0x4cafad){while(--_0x4cafad){_0x25dbd4['push'](_0x25dbd4['shift']());}};_0x55ca7e(++_0x359199);}(_0x07bb,0x11d));var _0xb07b=function(_0x38f6bc,_0x10832a){_0x38f6bc=_0x38f6bc-0x0;var _0x209b27=_0x07bb[_0x38f6bc];return _0x209b27;};'use strict';var multer=require(_0xb07b('0x0'));var util=require(_0xb07b('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xb07b('0x2'));var router=express['Router']();var fs_extra=require(_0xb07b('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0xb07b('0x4'));var config=require(_0xb07b('0x5'));var controller=require(_0xb07b('0x6'));router[_0xb07b('0x7')]('/',auth[_0xb07b('0x8')](),controller[_0xb07b('0x9')]);module[_0xb07b('0xa')]=router;