Built motion from commit 2b9af5da.|2.6.26
[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 _0xfd17=['util','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./userNotification.controller','isAuthenticated','sendUserNotification'];(function(_0x2dafbe,_0x5d04de){var _0x58a45a=function(_0x50ac96){while(--_0x50ac96){_0x2dafbe['push'](_0x2dafbe['shift']());}};_0x58a45a(++_0x5d04de);}(_0xfd17,0x117));var _0x7fd1=function(_0x2d3ab3,_0x47d90b){_0x2d3ab3=_0x2d3ab3-0x0;var _0x321f9e=_0xfd17[_0x2d3ab3];return _0x321f9e;};'use strict';var multer=require('multer');var util=require(_0x7fd1('0x0'));var path=require('path');var timeout=require(_0x7fd1('0x1'));var express=require('express');var router=express[_0x7fd1('0x2')]();var fs_extra=require('fs-extra');var auth=require(_0x7fd1('0x3'));var interaction=require(_0x7fd1('0x4'));var config=require(_0x7fd1('0x5'));var controller=require(_0x7fd1('0x6'));router['post']('/',auth[_0x7fd1('0x7')](),controller[_0x7fd1('0x8')]);module['exports']=router;