Built motion from commit e02f907f.|2.6.14
[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 _0x6f00=['./userNotification.controller','post','isAuthenticated','sendUserNotification','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0x721f11,_0xec911f){var _0x46c7e4=function(_0x394e39){while(--_0x394e39){_0x721f11['push'](_0x721f11['shift']());}};_0x46c7e4(++_0xec911f);}(_0x6f00,0x163));var _0x06f0=function(_0xbc346f,_0x3db5c0){_0xbc346f=_0xbc346f-0x0;var _0x9f9260=_0x6f00[_0xbc346f];return _0x9f9260;};'use strict';var multer=require(_0x06f0('0x0'));var util=require(_0x06f0('0x1'));var path=require(_0x06f0('0x2'));var timeout=require(_0x06f0('0x3'));var express=require(_0x06f0('0x4'));var router=express[_0x06f0('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x06f0('0x6'));var interaction=require(_0x06f0('0x7'));var config=require(_0x06f0('0x8'));var controller=require(_0x06f0('0x9'));router[_0x06f0('0xa')]('/',auth[_0x06f0('0xb')](),controller[_0x06f0('0xc')]);module['exports']=router;