9d18071add82bc5e257d11fc40229c6f55ae6a58
[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 _0x1aa4=['../../components/auth/service','../../config/environment','isAuthenticated','sendUserNotification','multer','util','path','connect-timeout','express','fs-extra'];(function(_0x4314d7,_0x355218){var _0x5c599b=function(_0x556354){while(--_0x556354){_0x4314d7['push'](_0x4314d7['shift']());}};_0x5c599b(++_0x355218);}(_0x1aa4,0x1c6));var _0x41aa=function(_0x4be8f0,_0x32f7fa){_0x4be8f0=_0x4be8f0-0x0;var _0x27ce4e=_0x1aa4[_0x4be8f0];return _0x27ce4e;};'use strict';var multer=require(_0x41aa('0x0'));var util=require(_0x41aa('0x1'));var path=require(_0x41aa('0x2'));var timeout=require(_0x41aa('0x3'));var express=require(_0x41aa('0x4'));var router=express['Router']();var fs_extra=require(_0x41aa('0x5'));var auth=require(_0x41aa('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x41aa('0x7'));var controller=require('./userNotification.controller');router['post']('/',auth[_0x41aa('0x8')](),controller[_0x41aa('0x9')]);module['exports']=router;