Built motion from commit (unavailable).|2.5.4
[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 _0x3721=['describe','/:id','show','post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./jscriptyQuestionReport.controller','isAuthenticated','get','/describe'];(function(_0x2e7c96,_0x27804d){var _0x36008e=function(_0xd03b6b){while(--_0xd03b6b){_0x2e7c96['push'](_0x2e7c96['shift']());}};_0x36008e(++_0x27804d);}(_0x3721,0x13e));var _0x1372=function(_0x5a3ff5,_0x102eea){_0x5a3ff5=_0x5a3ff5-0x0;var _0xe2034a=_0x3721[_0x5a3ff5];return _0xe2034a;};'use strict';var multer=require(_0x1372('0x0'));var util=require(_0x1372('0x1'));var path=require(_0x1372('0x2'));var timeout=require(_0x1372('0x3'));var express=require(_0x1372('0x4'));var router=express[_0x1372('0x5')]();var auth=require(_0x1372('0x6'));var interaction=require(_0x1372('0x7'));var config=require('../../config/environment');var controller=require(_0x1372('0x8'));router['get']('/',auth[_0x1372('0x9')](),controller['index']);router[_0x1372('0xa')](_0x1372('0xb'),auth[_0x1372('0x9')](),controller[_0x1372('0xc')]);router['get'](_0x1372('0xd'),auth['isAuthenticated'](),controller[_0x1372('0xe')]);router[_0x1372('0xf')]('/',auth[_0x1372('0x9')](),controller[_0x1372('0x10')]);router[_0x1372('0x11')](_0x1372('0xd'),auth[_0x1372('0x9')](),controller[_0x1372('0x12')]);router[_0x1372('0x13')]('/:id',auth['isAuthenticated'](),controller[_0x1372('0x14')]);module[_0x1372('0x15')]=router;