Built motion from commit 97153652.|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 _0xfc4c=['multer','path','connect-timeout','Router','../../components/auth/service','../../config/environment','./userNotification.controller','post','isAuthenticated','exports'];(function(_0x276fae,_0x1424c1){var _0x132c7e=function(_0x4bf08a){while(--_0x4bf08a){_0x276fae['push'](_0x276fae['shift']());}};_0x132c7e(++_0x1424c1);}(_0xfc4c,0x172));var _0xcfc4=function(_0x1af1a2,_0x1bc86a){_0x1af1a2=_0x1af1a2-0x0;var _0x24e9aa=_0xfc4c[_0x1af1a2];return _0x24e9aa;};'use strict';var multer=require(_0xcfc4('0x0'));var util=require('util');var path=require(_0xcfc4('0x1'));var timeout=require(_0xcfc4('0x2'));var express=require('express');var router=express[_0xcfc4('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xcfc4('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xcfc4('0x5'));var controller=require(_0xcfc4('0x6'));router[_0xcfc4('0x7')]('/',auth[_0xcfc4('0x8')](),controller['sendUserNotification']);module[_0xcfc4('0x9')]=router;