e29ae9da4afa9f0f2ed539e234108fc44fb3904d
[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 _0xced4=['post','isAuthenticated','sendUserNotification','exports','multer','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./userNotification.controller'];(function(_0x3f9b78,_0x588ee5){var _0x584c20=function(_0x2bd443){while(--_0x2bd443){_0x3f9b78['push'](_0x3f9b78['shift']());}};_0x584c20(++_0x588ee5);}(_0xced4,0x1cc));var _0x4ced=function(_0x4fab09,_0x2e343b){_0x4fab09=_0x4fab09-0x0;var _0xf457df=_0xced4[_0x4fab09];return _0xf457df;};'use strict';var multer=require(_0x4ced('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x4ced('0x1'));var express=require('express');var router=express[_0x4ced('0x2')]();var fs_extra=require(_0x4ced('0x3'));var auth=require(_0x4ced('0x4'));var interaction=require(_0x4ced('0x5'));var config=require(_0x4ced('0x6'));var controller=require(_0x4ced('0x7'));router[_0x4ced('0x8')]('/',auth[_0x4ced('0x9')](),controller[_0x4ced('0xa')]);module[_0x4ced('0xb')]=router;