Built motion from commit 47436d59.|2.6.7
[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 _0xb231=['../../config/environment','./userNotification.controller','isAuthenticated','sendUserNotification','multer','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service'];(function(_0x4ee9b1,_0x46328c){var _0x3f3cec=function(_0x3f25a6){while(--_0x3f25a6){_0x4ee9b1['push'](_0x4ee9b1['shift']());}};_0x3f3cec(++_0x46328c);}(_0xb231,0x1b1));var _0x1b23=function(_0x53d982,_0x1cb8ad){_0x53d982=_0x53d982-0x0;var _0x9df76d=_0xb231[_0x53d982];return _0x9df76d;};'use strict';var multer=require(_0x1b23('0x0'));var util=require('util');var path=require(_0x1b23('0x1'));var timeout=require(_0x1b23('0x2'));var express=require(_0x1b23('0x3'));var router=express[_0x1b23('0x4')]();var fs_extra=require(_0x1b23('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x1b23('0x6'));var config=require(_0x1b23('0x7'));var controller=require(_0x1b23('0x8'));router['post']('/',auth[_0x1b23('0x9')](),controller[_0x1b23('0xa')]);module['exports']=router;