b9ee8ed1ea8124bfd7a1023eefea52d2b864475f
[motion2.git] / server / api / jscriptyQuestionReport / 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 _0xc593=['show','post','create','update','destroy','exports','multer','util','express','Router','../../components/auth/service','../../config/environment','./jscriptyQuestionReport.controller','get','index','/describe','describe','/:id','isAuthenticated'];(function(_0x9ecc2a,_0x340c53){var _0x1669de=function(_0x379538){while(--_0x379538){_0x9ecc2a['push'](_0x9ecc2a['shift']());}};_0x1669de(++_0x340c53);}(_0xc593,0xfd));var _0x3c59=function(_0x167cc1,_0x56ef5a){_0x167cc1=_0x167cc1-0x0;var _0x10bc4b=_0xc593[_0x167cc1];return _0x10bc4b;};'use strict';var multer=require(_0x3c59('0x0'));var util=require(_0x3c59('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x3c59('0x2'));var router=express[_0x3c59('0x3')]();var auth=require(_0x3c59('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x3c59('0x5'));var controller=require(_0x3c59('0x6'));router[_0x3c59('0x7')]('/',auth['isAuthenticated'](),controller[_0x3c59('0x8')]);router[_0x3c59('0x7')](_0x3c59('0x9'),auth['isAuthenticated'](),controller[_0x3c59('0xa')]);router[_0x3c59('0x7')](_0x3c59('0xb'),auth[_0x3c59('0xc')](),controller[_0x3c59('0xd')]);router[_0x3c59('0xe')]('/',auth['isAuthenticated'](),controller[_0x3c59('0xf')]);router['put'](_0x3c59('0xb'),auth[_0x3c59('0xc')](),controller[_0x3c59('0x10')]);router['delete'](_0x3c59('0xb'),auth[_0x3c59('0xc')](),controller[_0x3c59('0x11')]);module[_0x3c59('0x12')]=router;