dd34a7b1461a1b28596ee978716b0f68fd25f3af
[motion2.git] / server / api / jscriptyAnswerReport / 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 _0x5419=['post','create','put','update','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','/:id','isAuthenticated','show'];(function(_0x554ffd,_0x6aea22){var _0x29acf0=function(_0x190671){while(--_0x190671){_0x554ffd['push'](_0x554ffd['shift']());}};_0x29acf0(++_0x6aea22);}(_0x5419,0x6a));var _0x9541=function(_0x21273e,_0x29e20f){_0x21273e=_0x21273e-0x0;var _0x380679=_0x5419[_0x21273e];return _0x380679;};'use strict';var multer=require(_0x9541('0x0'));var util=require(_0x9541('0x1'));var path=require(_0x9541('0x2'));var timeout=require(_0x9541('0x3'));var express=require(_0x9541('0x4'));var router=express[_0x9541('0x5')]();var auth=require(_0x9541('0x6'));var interaction=require(_0x9541('0x7'));var config=require(_0x9541('0x8'));var controller=require('./jscriptyAnswerReport.controller');router[_0x9541('0x9')]('/',auth['isAuthenticated'](),controller[_0x9541('0xa')]);router[_0x9541('0x9')]('/describe',auth['isAuthenticated'](),controller['describe']);router[_0x9541('0x9')](_0x9541('0xb'),auth[_0x9541('0xc')](),controller[_0x9541('0xd')]);router[_0x9541('0xe')]('/',auth[_0x9541('0xc')](),controller[_0x9541('0xf')]);router[_0x9541('0x10')](_0x9541('0xb'),auth['isAuthenticated'](),controller[_0x9541('0x11')]);router['delete'](_0x9541('0xb'),auth['isAuthenticated'](),controller[_0x9541('0x12')]);module[_0x9541('0x13')]=router;