fa3188f4d6197bb16bec5421406bd1a50a579e18
[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 _0xb4a3=['util','connect-timeout','Router','fs-extra','../../components/auth/service','../../config/environment','post','isAuthenticated','sendUserNotification','exports','multer'];(function(_0x2e6dc9,_0x4fa2e1){var _0x26029d=function(_0x1d85cc){while(--_0x1d85cc){_0x2e6dc9['push'](_0x2e6dc9['shift']());}};_0x26029d(++_0x4fa2e1);}(_0xb4a3,0xf1));var _0x3b4a=function(_0x348652,_0x1ab849){_0x348652=_0x348652-0x0;var _0x18a9ea=_0xb4a3[_0x348652];return _0x18a9ea;};'use strict';var multer=require(_0x3b4a('0x0'));var util=require(_0x3b4a('0x1'));var path=require('path');var timeout=require(_0x3b4a('0x2'));var express=require('express');var router=express[_0x3b4a('0x3')]();var fs_extra=require(_0x3b4a('0x4'));var auth=require(_0x3b4a('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x3b4a('0x6'));var controller=require('./userNotification.controller');router[_0x3b4a('0x7')]('/',auth[_0x3b4a('0x8')](),controller[_0x3b4a('0x9')]);module[_0x3b4a('0xa')]=router;