ead824b0c227c5540e992e6ba159177b3f242ba1
[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 _0x1d01=['sendUserNotification','exports','multer','util','path','express','../../components/interaction/service','./userNotification.controller'];(function(_0x49b9ef,_0x55547f){var _0x4de813=function(_0x4647cb){while(--_0x4647cb){_0x49b9ef['push'](_0x49b9ef['shift']());}};_0x4de813(++_0x55547f);}(_0x1d01,0x1ea));var _0x11d0=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0x1d01[_0x2dafbe];return _0x58a45a;};'use strict';var multer=require(_0x11d0('0x0'));var util=require(_0x11d0('0x1'));var path=require(_0x11d0('0x2'));var timeout=require('connect-timeout');var express=require(_0x11d0('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x11d0('0x4'));var config=require('../../config/environment');var controller=require(_0x11d0('0x5'));router['post']('/',auth['isAuthenticated'](),controller[_0x11d0('0x6')]);module[_0x11d0('0x7')]=router;