417e3b4b29161f7bc37e9261a86e4b7f92e978ba
[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 _0x3f46=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./userNotification.controller','post','isAuthenticated','util','path','connect-timeout'];(function(_0x1b95b7,_0x30827f){var _0x24cc88=function(_0x236f3a){while(--_0x236f3a){_0x1b95b7['push'](_0x1b95b7['shift']());}};_0x24cc88(++_0x30827f);}(_0x3f46,0x151));var _0x63f4=function(_0x67655b,_0x15ff31){_0x67655b=_0x67655b-0x0;var _0x71c09d=_0x3f46[_0x67655b];return _0x71c09d;};'use strict';var multer=require('multer');var util=require(_0x63f4('0x0'));var path=require(_0x63f4('0x1'));var timeout=require(_0x63f4('0x2'));var express=require('express');var router=express[_0x63f4('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x63f4('0x4'));var interaction=require(_0x63f4('0x5'));var config=require(_0x63f4('0x6'));var controller=require(_0x63f4('0x7'));router[_0x63f4('0x8')]('/',auth[_0x63f4('0x9')](),controller['sendUserNotification']);module['exports']=router;