Built motion from commit cb845558.|2.6.34
[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 _0x0613=['isAuthenticated','sendUserNotification','util','path','connect-timeout','express','Router','fs-extra','./userNotification.controller','post'];(function(_0x447ef0,_0x2e686a){var _0xdd0086=function(_0x17ce5c){while(--_0x17ce5c){_0x447ef0['push'](_0x447ef0['shift']());}};_0xdd0086(++_0x2e686a);}(_0x0613,0xe8));var _0x3061=function(_0x4e457b,_0x31b37c){_0x4e457b=_0x4e457b-0x0;var _0x248e7b=_0x0613[_0x4e457b];return _0x248e7b;};'use strict';var multer=require('multer');var util=require(_0x3061('0x0'));var path=require(_0x3061('0x1'));var timeout=require(_0x3061('0x2'));var express=require(_0x3061('0x3'));var router=express[_0x3061('0x4')]();var fs_extra=require(_0x3061('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x3061('0x6'));router[_0x3061('0x7')]('/',auth[_0x3061('0x8')](),controller[_0x3061('0x9')]);module['exports']=router;