b97f32b8279dad165ec264290cbae71821515214
[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 _0x440c=['Router','../../components/auth/service','../../components/interaction/service','post','sendNotification','exports','multer','util','path','connect-timeout','express'];(function(_0x49472f,_0x4b82f1){var _0x2d5b76=function(_0x134113){while(--_0x134113){_0x49472f['push'](_0x49472f['shift']());}};_0x2d5b76(++_0x4b82f1);}(_0x440c,0x12f));var _0xc440=function(_0x32265d,_0xb67168){_0x32265d=_0x32265d-0x0;var _0x22cae9=_0x440c[_0x32265d];return _0x22cae9;};'use strict';var multer=require(_0xc440('0x0'));var util=require(_0xc440('0x1'));var path=require(_0xc440('0x2'));var timeout=require(_0xc440('0x3'));var express=require(_0xc440('0x4'));var router=express[_0xc440('0x5')]();var auth=require(_0xc440('0x6'));var interaction=require(_0xc440('0x7'));var config=require('../../config/environment');var controller=require('./notification.controller');router[_0xc440('0x8')]('/',auth['isAuthenticated'](),controller[_0xc440('0x9')]);module[_0xc440('0xa')]=router;