c85c20225525b8d001ac84fe6bd0a27809c0a86e
[motion2.git] / server / api / notification / 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 _0x8c9c=['sendNotification','exports','multer','util','connect-timeout','express','Router','./notification.controller','post','isAuthenticated'];(function(_0x1d0d2b,_0x5e7bea){var _0xe171ea=function(_0x22d82b){while(--_0x22d82b){_0x1d0d2b['push'](_0x1d0d2b['shift']());}};_0xe171ea(++_0x5e7bea);}(_0x8c9c,0x1b0));var _0xc8c9=function(_0x3631b4,_0x487377){_0x3631b4=_0x3631b4-0x0;var _0x43b393=_0x8c9c[_0x3631b4];return _0x43b393;};'use strict';var multer=require(_0xc8c9('0x0'));var util=require(_0xc8c9('0x1'));var path=require('path');var timeout=require(_0xc8c9('0x2'));var express=require(_0xc8c9('0x3'));var router=express[_0xc8c9('0x4')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xc8c9('0x5'));router[_0xc8c9('0x6')]('/',auth[_0xc8c9('0x7')](),controller[_0xc8c9('0x8')]);module[_0xc8c9('0x9')]=router;